初始提交
diff --git a/tomcat-uid/LICENSE b/tomcat-uid/LICENSE
new file mode 100644
index 0000000..d8e4ac9
--- /dev/null
+++ b/tomcat-uid/LICENSE
@@ -0,0 +1,1042 @@
+

+                                 Apache License

+                           Version 2.0, January 2004

+                        http://www.apache.org/licenses/

+

+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

+

+   1. Definitions.

+

+      "License" shall mean the terms and conditions for use, reproduction,

+      and distribution as defined by Sections 1 through 9 of this document.

+

+      "Licensor" shall mean the copyright owner or entity authorized by

+      the copyright owner that is granting the License.

+

+      "Legal Entity" shall mean the union of the acting entity and all

+      other entities that control, are controlled by, or are under common

+      control with that entity. For the purposes of this definition,

+      "control" means (i) the power, direct or indirect, to cause the

+      direction or management of such entity, whether by contract or

+      otherwise, or (ii) ownership of fifty percent (50%) or more of the

+      outstanding shares, or (iii) beneficial ownership of such entity.

+

+      "You" (or "Your") shall mean an individual or Legal Entity

+      exercising permissions granted by this License.

+

+      "Source" form shall mean the preferred form for making modifications,

+      including but not limited to software source code, documentation

+      source, and configuration files.

+

+      "Object" form shall mean any form resulting from mechanical

+      transformation or translation of a Source form, including but

+      not limited to compiled object code, generated documentation,

+      and conversions to other media types.

+

+      "Work" shall mean the work of authorship, whether in Source or

+      Object form, made available under the License, as indicated by a

+      copyright notice that is included in or attached to the work

+      (an example is provided in the Appendix below).

+

+      "Derivative Works" shall mean any work, whether in Source or Object

+      form, that is based on (or derived from) the Work and for which the

+      editorial revisions, annotations, elaborations, or other modifications

+      represent, as a whole, an original work of authorship. For the purposes

+      of this License, Derivative Works shall not include works that remain

+      separable from, or merely link (or bind by name) to the interfaces of,

+      the Work and Derivative Works thereof.

+

+      "Contribution" shall mean any work of authorship, including

+      the original version of the Work and any modifications or additions

+      to that Work or Derivative Works thereof, that is intentionally

+      submitted to Licensor for inclusion in the Work by the copyright owner

+      or by an individual or Legal Entity authorized to submit on behalf of

+      the copyright owner. For the purposes of this definition, "submitted"

+      means any form of electronic, verbal, or written communication sent

+      to the Licensor or its representatives, including but not limited to

+      communication on electronic mailing lists, source code control systems,

+      and issue tracking systems that are managed by, or on behalf of, the

+      Licensor for the purpose of discussing and improving the Work, but

+      excluding communication that is conspicuously marked or otherwise

+      designated in writing by the copyright owner as "Not a Contribution."

+

+      "Contributor" shall mean Licensor and any individual or Legal Entity

+      on behalf of whom a Contribution has been received by Licensor and

+      subsequently incorporated within the Work.

+

+   2. Grant of Copyright License. Subject to the terms and conditions of

+      this License, each Contributor hereby grants to You a perpetual,

+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable

+      copyright license to reproduce, prepare Derivative Works of,

+      publicly display, publicly perform, sublicense, and distribute the

+      Work and such Derivative Works in Source or Object form.

+

+   3. Grant of Patent License. Subject to the terms and conditions of

+      this License, each Contributor hereby grants to You a perpetual,

+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable

+      (except as stated in this section) patent license to make, have made,

+      use, offer to sell, sell, import, and otherwise transfer the Work,

+      where such license applies only to those patent claims licensable

+      by such Contributor that are necessarily infringed by their

+      Contribution(s) alone or by combination of their Contribution(s)

+      with the Work to which such Contribution(s) was submitted. If You

+      institute patent litigation against any entity (including a

+      cross-claim or counterclaim in a lawsuit) alleging that the Work

+      or a Contribution incorporated within the Work constitutes direct

+      or contributory patent infringement, then any patent licenses

+      granted to You under this License for that Work shall terminate

+      as of the date such litigation is filed.

+

+   4. Redistribution. You may reproduce and distribute copies of the

+      Work or Derivative Works thereof in any medium, with or without

+      modifications, and in Source or Object form, provided that You

+      meet the following conditions:

+

+      (a) You must give any other recipients of the Work or

+          Derivative Works a copy of this License; and

+

+      (b) You must cause any modified files to carry prominent notices

+          stating that You changed the files; and

+

+      (c) You must retain, in the Source form of any Derivative Works

+          that You distribute, all copyright, patent, trademark, and

+          attribution notices from the Source form of the Work,

+          excluding those notices that do not pertain to any part of

+          the Derivative Works; and

+

+      (d) If the Work includes a "NOTICE" text file as part of its

+          distribution, then any Derivative Works that You distribute must

+          include a readable copy of the attribution notices contained

+          within such NOTICE file, excluding those notices that do not

+          pertain to any part of the Derivative Works, in at least one

+          of the following places: within a NOTICE text file distributed

+          as part of the Derivative Works; within the Source form or

+          documentation, if provided along with the Derivative Works; or,

+          within a display generated by the Derivative Works, if and

+          wherever such third-party notices normally appear. The contents

+          of the NOTICE file are for informational purposes only and

+          do not modify the License. You may add Your own attribution

+          notices within Derivative Works that You distribute, alongside

+          or as an addendum to the NOTICE text from the Work, provided

+          that such additional attribution notices cannot be construed

+          as modifying the License.

+

+      You may add Your own copyright statement to Your modifications and

+      may provide additional or different license terms and conditions

+      for use, reproduction, or distribution of Your modifications, or

+      for any such Derivative Works as a whole, provided Your use,

+      reproduction, and distribution of the Work otherwise complies with

+      the conditions stated in this License.

+

+   5. Submission of Contributions. Unless You explicitly state otherwise,

+      any Contribution intentionally submitted for inclusion in the Work

+      by You to the Licensor shall be under the terms and conditions of

+      this License, without any additional terms or conditions.

+      Notwithstanding the above, nothing herein shall supersede or modify

+      the terms of any separate license agreement you may have executed

+      with Licensor regarding such Contributions.

+

+   6. Trademarks. This License does not grant permission to use the trade

+      names, trademarks, service marks, or product names of the Licensor,

+      except as required for reasonable and customary use in describing the

+      origin of the Work and reproducing the content of the NOTICE file.

+

+   7. Disclaimer of Warranty. Unless required by applicable law or

+      agreed to in writing, Licensor provides the Work (and each

+      Contributor provides its Contributions) on an "AS IS" BASIS,

+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or

+      implied, including, without limitation, any warranties or conditions

+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A

+      PARTICULAR PURPOSE. You are solely responsible for determining the

+      appropriateness of using or redistributing the Work and assume any

+      risks associated with Your exercise of permissions under this License.

+

+   8. Limitation of Liability. In no event and under no legal theory,

+      whether in tort (including negligence), contract, or otherwise,

+      unless required by applicable law (such as deliberate and grossly

+      negligent acts) or agreed to in writing, shall any Contributor be

+      liable to You for damages, including any direct, indirect, special,

+      incidental, or consequential damages of any character arising as a

+      result of this License or out of the use or inability to use the

+      Work (including but not limited to damages for loss of goodwill,

+      work stoppage, computer failure or malfunction, or any and all

+      other commercial damages or losses), even if such Contributor

+      has been advised of the possibility of such damages.

+

+   9. Accepting Warranty or Additional Liability. While redistributing

+      the Work or Derivative Works thereof, You may choose to offer,

+      and charge a fee for, acceptance of support, warranty, indemnity,

+      or other liability obligations and/or rights consistent with this

+      License. However, in accepting such obligations, You may act only

+      on Your own behalf and on Your sole responsibility, not on behalf

+      of any other Contributor, and only if You agree to indemnify,

+      defend, and hold each Contributor harmless for any liability

+      incurred by, or claims asserted against, such Contributor by reason

+      of your accepting any such warranty or additional liability.

+

+   END OF TERMS AND CONDITIONS

+

+   APPENDIX: How to apply the Apache License to your work.

+

+      To apply the Apache License to your work, attach the following

+      boilerplate notice, with the fields enclosed by brackets "[]"

+      replaced with your own identifying information. (Don't include

+      the brackets!)  The text should be enclosed in the appropriate

+      comment syntax for the file format. We also recommend that a

+      file or class name and description of purpose be included on the

+      same "printed page" as the copyright notice for easier

+      identification within third-party archives.

+

+   Copyright [yyyy] [name of copyright owner]

+

+   Licensed under the Apache License, Version 2.0 (the "License");

+   you may not use this file except in compliance with the License.

+   You may obtain a copy of the License at

+

+       http://www.apache.org/licenses/LICENSE-2.0

+

+   Unless required by applicable law or agreed to in writing, software

+   distributed under the License is distributed on an "AS IS" BASIS,

+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+   See the License for the specific language governing permissions and

+   limitations under the License.

+

+

+

+APACHE TOMCAT SUBCOMPONENTS: 

+

+Apache Tomcat includes a number of subcomponents with separate copyright notices

+and license terms. Your use of these subcomponents is subject to the terms and

+conditions of the following licenses. 

+

+

+For the Eclipse JDT Java compiler:

+

+Eclipse Public License - v 1.0

+

+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC

+LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM

+CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

+

+1. DEFINITIONS

+

+"Contribution" means:

+

+a) in the case of the initial Contributor, the initial code and documentation

+distributed under this Agreement, and

+

+b) in the case of each subsequent Contributor:

+

+i) changes to the Program, and

+

+ii) additions to the Program;

+

+where such changes and/or additions to the Program originate from and are

+distributed by that particular Contributor. A Contribution 'originates' from a

+Contributor if it was added to the Program by such Contributor itself or anyone

+acting on such Contributor's behalf. Contributions do not include additions to

+the Program which: (i) are separate modules of software distributed in

+conjunction with the Program under their own license agreement, and (ii) are not

+derivative works of the Program.

+

+"Contributor" means any person or entity that distributes the Program.

+

+"Licensed Patents" mean patent claims licensable by a Contributor which are

+necessarily infringed by the use or sale of its Contribution alone or when

+combined with the Program.

+

+"Program" means the Contributions distributed in accordance with this Agreement.

+

+"Recipient" means anyone who receives the Program under this Agreement,

+including all Contributors.

+

+2. GRANT OF RIGHTS

+

+a) Subject to the terms of this Agreement, each Contributor hereby grants

+Recipient a non-exclusive, worldwide, royalty-free copyright license to

+reproduce, prepare derivative works of, publicly display, publicly perform,

+distribute and sublicense the Contribution of such Contributor, if any, and such

+derivative works, in source code and object code form.

+

+b) Subject to the terms of this Agreement, each Contributor hereby grants

+Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed

+Patents to make, use, sell, offer to sell, import and otherwise transfer the

+Contribution of such Contributor, if any, in source code and object code form.

+This patent license shall apply to the combination of the Contribution and the

+Program if, at the time the Contribution is added by the Contributor, such

+addition of the Contribution causes such combination to be covered by the

+Licensed Patents. The patent license shall not apply to any other combinations

+which include the Contribution. No hardware per se is licensed hereunder.

+

+c) Recipient understands that although each Contributor grants the licenses to

+its Contributions set forth herein, no assurances are provided by any

+Contributor that the Program does not infringe the patent or other intellectual

+property rights of any other entity. Each Contributor disclaims any liability to

+Recipient for claims brought by any other entity based on infringement of

+intellectual property rights or otherwise. As a condition to exercising the

+rights and licenses granted hereunder, each Recipient hereby assumes sole

+responsibility to secure any other intellectual property rights needed, if any.

+For example, if a third party patent license is required to allow Recipient to

+distribute the Program, it is Recipient's responsibility to acquire that license

+before distributing the Program.

+

+d) Each Contributor represents that to its knowledge it has sufficient copyright

+rights in its Contribution, if any, to grant the copyright license set forth in

+this Agreement.

+

+3. REQUIREMENTS

+

+A Contributor may choose to distribute the Program in object code form under its

+own license agreement, provided that:

+

+a) it complies with the terms and conditions of this Agreement; and

+

+b) its license agreement:

+

+i) effectively disclaims on behalf of all Contributors all warranties and

+conditions, express and implied, including warranties or conditions of title and

+non-infringement, and implied warranties or conditions of merchantability and

+fitness for a particular purpose;

+

+ii) effectively excludes on behalf of all Contributors all liability for

+damages, including direct, indirect, special, incidental and consequential

+damages, such as lost profits;

+

+iii) states that any provisions which differ from this Agreement are offered by

+that Contributor alone and not by any other party; and

+

+iv) states that source code for the Program is available from such Contributor,

+and informs licensees how to obtain it in a reasonable manner on or through a

+medium customarily used for software exchange.

+

+When the Program is made available in source code form:

+

+a) it must be made available under this Agreement; and

+

+b) a copy of this Agreement must be included with each copy of the Program.

+

+Contributors may not remove or alter any copyright notices contained within the

+Program.

+

+Each Contributor must identify itself as the originator of its Contribution, if

+any, in a manner that reasonably allows subsequent Recipients to identify the

+originator of the Contribution.

+

+4. COMMERCIAL DISTRIBUTION

+

+Commercial distributors of software may accept certain responsibilities with

+respect to end users, business partners and the like. While this license is

+intended to facilitate the commercial use of the Program, the Contributor who

+includes the Program in a commercial product offering should do so in a manner

+which does not create potential liability for other Contributors. Therefore, if

+a Contributor includes the Program in a commercial product offering, such

+Contributor ("Commercial Contributor") hereby agrees to defend and indemnify

+every other Contributor ("Indemnified Contributor") against any losses, damages

+and costs (collectively "Losses") arising from claims, lawsuits and other legal

+actions brought by a third party against the Indemnified Contributor to the

+extent caused by the acts or omissions of such Commercial Contributor in

+connection with its distribution of the Program in a commercial product

+offering. The obligations in this section do not apply to any claims or Losses

+relating to any actual or alleged intellectual property infringement. In order

+to qualify, an Indemnified Contributor must: a) promptly notify the Commercial

+Contributor in writing of such claim, and b) allow the Commercial Contributor

+to control, and cooperate with the Commercial Contributor in, the defense and

+any related settlement negotiations. The Indemnified Contributor may

+participate in any such claim at its own expense.

+

+For example, a Contributor might include the Program in a commercial product

+offering, Product X. That Contributor is then a Commercial Contributor. If that

+Commercial Contributor then makes performance claims, or offers warranties

+related to Product X, those performance claims and warranties are such

+Commercial Contributor's responsibility alone. Under this section, the

+Commercial Contributor would have to defend claims against the other

+Contributors related to those performance claims and warranties, and if a court

+requires any other Contributor to pay any damages as a result, the Commercial

+Contributor must pay those damages.

+

+5. NO WARRANTY

+

+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN

+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR

+IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,

+NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each

+Recipient is solely responsible for determining the appropriateness of using and

+distributing the Program and assumes all risks associated with its exercise of

+rights under this Agreement , including but not limited to the risks and costs

+of program errors, compliance with applicable laws, damage to or loss of data,

+programs or equipment, and unavailability or interruption of operations.

+

+6. DISCLAIMER OF LIABILITY

+

+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY

+CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,

+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST

+PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,

+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY

+OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS

+GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

+

+7. GENERAL

+

+If any provision of this Agreement is invalid or unenforceable under applicable

+law, it shall not affect the validity or enforceability of the remainder of the

+terms of this Agreement, and without further action by the parties hereto, such

+provision shall be reformed to the minimum extent necessary to make such

+provision valid and enforceable.

+

+If Recipient institutes patent litigation against any entity (including a

+cross-claim or counterclaim in a lawsuit) alleging that the Program itself

+(excluding combinations of the Program with other software or hardware)

+infringes such Recipient's patent(s), then such Recipient's rights granted under

+Section 2(b) shall terminate as of the date such litigation is filed.

+

+All Recipient's rights under this Agreement shall terminate if it fails to

+comply with any of the material terms or conditions of this Agreement and does

+not cure such failure in a reasonable period of time after becoming aware of

+such noncompliance. If all Recipient's rights under this Agreement terminate,

+Recipient agrees to cease use and distribution of the Program as soon as

+reasonably practicable. However, Recipient's obligations under this Agreement

+and any licenses granted by Recipient relating to the Program shall continue and

+survive.

+

+Everyone is permitted to copy and distribute copies of this Agreement, but in

+order to avoid inconsistency the Agreement is copyrighted and may only be

+modified in the following manner. The Agreement Steward reserves the right to

+publish new versions (including revisions) of this Agreement from time to time.

+No one other than the Agreement Steward has the right to modify this Agreement.

+The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation

+may assign the responsibility to serve as the Agreement Steward to a suitable

+separate entity. Each new version of the Agreement will be given a

+distinguishing version number. The Program (including Contributions) may always

+be distributed subject to the version of the Agreement under which it was

+received. In addition, after a new version of the Agreement is published,

+Contributor may elect to distribute the Program (including its Contributions)

+under the new version. Except as expressly stated in Sections 2(a) and 2(b)

+above, Recipient receives no rights or licenses to the intellectual property of

+any Contributor under this Agreement, whether expressly, by implication,

+estoppel or otherwise. All rights in the Program not expressly granted under

+this Agreement are reserved.

+

+This Agreement is governed by the laws of the State of New York and the

+intellectual property laws of the United States of America. No party to this

+Agreement will bring a legal action under this Agreement more than one year

+after the cause of action arose. Each party waives its rights to a jury trial in

+any resulting litigation.

+

+

+For the Windows Installer component:

+

+    * All NSIS source code, plug-ins, documentation, examples, header files and

+       graphics, with the exception of the compression modules and where

+       otherwise noted, are licensed under the zlib/libpng license.

+    * The zlib compression module for NSIS is licensed under the zlib/libpng

+       license.

+    * The bzip2 compression module for NSIS is licensed under the bzip2 license.

+    * The lzma compression module for NSIS is licensed under the Common Public

+       License version 1.0. 

+

+zlib/libpng license

+

+This software is provided 'as-is', without any express or implied warranty. In

+no event will the authors be held liable for any damages arising from the use of

+this software.

+

+Permission is granted to anyone to use this software for any purpose, including

+commercial applications, and to alter it and redistribute it freely, subject to

+the following restrictions:

+

+   1. The origin of this software must not be misrepresented; you must not claim

+       that you wrote the original software. If you use this software in a

+       product, an acknowledgment in the product documentation would be

+       appreciated but is not required.

+   2. Altered source versions must be plainly marked as such, and must not be

+       misrepresented as being the original software.

+   3. This notice may not be removed or altered from any source distribution. 

+

+bzip2 license

+

+Redistribution and use in source and binary forms, with or without modification,

+are permitted provided that the following conditions are met:

+

+   1. Redistributions of source code must retain the above copyright notice,

+       this list of conditions and the following disclaimer.

+   2. The origin of this software must not be misrepresented; you must not claim

+       that you wrote the original software. If you use this software in a

+       product, an acknowledgment in the product documentation would be

+       appreciated but is not required.

+   3. Altered source versions must be plainly marked as such, and must not be

+       misrepresented as being the original software.

+   4. The name of the author may not be used to endorse or promote products

+       derived from this software without specific prior written permission. 

+

+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS AND ANY EXPRESS OR IMPLIED

+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF

+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT

+SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,

+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT

+OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS

+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN

+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING

+IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY

+OF SUCH DAMAGE.

+

+Julian Seward, Cambridge, UK.

+

+jseward@acm.org

+Common Public License version 1.0

+

+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC

+LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM

+CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

+

+1. DEFINITIONS

+

+"Contribution" means:

+

+a) in the case of the initial Contributor, the initial code and documentation

+distributed under this Agreement, and b) in the case of each subsequent

+Contributor:

+

+i) changes to the Program, and

+

+ii) additions to the Program;

+

+where such changes and/or additions to the Program originate from and are

+distributed by that particular Contributor. A Contribution 'originates' from a

+Contributor if it was added to the Program by such Contributor itself or anyone

+acting on such Contributor's behalf. Contributions do not include additions to

+the Program which: (i) are separate modules of software distributed in

+conjunction with the Program under their own license agreement, and (ii) are not

+derivative works of the Program.

+

+"Contributor" means any person or entity that distributes the Program.

+

+"Licensed Patents " mean patent claims licensable by a Contributor which are

+necessarily infringed by the use or sale of its Contribution alone or when

+combined with the Program.

+

+"Program" means the Contributions distributed in accordance with this Agreement.

+

+"Recipient" means anyone who receives the Program under this Agreement,

+including all Contributors.

+

+2. GRANT OF RIGHTS

+

+a) Subject to the terms of this Agreement, each Contributor hereby grants

+Recipient a non-exclusive, worldwide, royalty-free copyright license to

+reproduce, prepare derivative works of, publicly display, publicly perform,

+distribute and sublicense the Contribution of such Contributor, if any, and such

+derivative works, in source code and object code form.

+

+b) Subject to the terms of this Agreement, each Contributor hereby grants

+Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed

+Patents to make, use, sell, offer to sell, import and otherwise transfer the

+Contribution of such Contributor, if any, in source code and object code form.

+This patent license shall apply to the combination of the Contribution and the

+Program if, at the time the Contribution is added by the Contributor, such

+addition of the Contribution causes such combination to be covered by the

+Licensed Patents. The patent license shall not apply to any other combinations

+which include the Contribution. No hardware per se is licensed hereunder.

+

+c) Recipient understands that although each Contributor grants the licenses to

+its Contributions set forth herein, no assurances are provided by any

+Contributor that the Program does not infringe the patent or other intellectual

+property rights of any other entity. Each Contributor disclaims any liability to

+Recipient for claims brought by any other entity based on infringement of

+intellectual property rights or otherwise. As a condition to exercising the

+rights and licenses granted hereunder, each Recipient hereby assumes sole

+responsibility to secure any other intellectual property rights needed, if any.

+For example, if a third party patent license is required to allow Recipient to

+distribute the Program, it is Recipient's responsibility to acquire that license

+before distributing the Program.

+

+d) Each Contributor represents that to its knowledge it has sufficient copyright

+rights in its Contribution, if any, to grant the copyright license set forth in

+this Agreement.

+

+3. REQUIREMENTS

+

+A Contributor may choose to distribute the Program in object code form under its

+own license agreement, provided that:

+

+a) it complies with the terms and conditions of this Agreement; and

+

+b) its license agreement:

+

+i) effectively disclaims on behalf of all Contributors all warranties and

+conditions, express and implied, including warranties or conditions of title and

+non-infringement, and implied warranties or conditions of merchantability and

+fitness for a particular purpose;

+

+ii) effectively excludes on behalf of all Contributors all liability for

+damages, including direct, indirect, special, incidental and consequential

+damages, such as lost profits;

+

+iii) states that any provisions which differ from this Agreement are offered by

+that Contributor alone and not by any other party; and

+

+iv) states that source code for the Program is available from such Contributor,

+and informs licensees how to obtain it in a reasonable manner on or through a

+medium customarily used for software exchange.

+

+When the Program is made available in source code form:

+

+a) it must be made available under this Agreement; and

+

+b) a copy of this Agreement must be included with each copy of the Program.

+

+Contributors may not remove or alter any copyright notices contained within the

+Program.

+

+Each Contributor must identify itself as the originator of its Contribution, if

+any, in a manner that reasonably allows subsequent Recipients to identify the

+originator of the Contribution.

+

+4. COMMERCIAL DISTRIBUTION

+

+Commercial distributors of software may accept certain responsibilities with

+respect to end users, business partners and the like. While this license is

+intended to facilitate the commercial use of the Program, the Contributor who

+includes the Program in a commercial product offering should do so in a manner

+which does not create potential liability for other Contributors. Therefore, if

+a Contributor includes the Program in a commercial product offering, such

+Contributor ("Commercial Contributor") hereby agrees to defend and indemnify

+every other Contributor ("Indemnified Contributor") against any losses, damages

+and costs (collectively "Losses") arising from claims, lawsuits and other legal

+actions brought by a third party against the Indemnified Contributor to the

+extent caused by the acts or omissions of such Commercial Contributor in

+connection with its distribution of the Program in a commercial product

+offering. The obligations in this section do not apply to any claims or Losses

+relating to any actual or alleged intellectual property infringement. In order

+to qualify, an Indemnified Contributor must: a) promptly notify the Commercial

+Contributor in writing of such claim, and b) allow the Commercial Contributor to

+control, and cooperate with the Commercial Contributor in, the defense and any

+related settlement negotiations. The Indemnified Contributor may participate in

+any such claim at its own expense.

+

+For example, a Contributor might include the Program in a commercial product

+offering, Product X. That Contributor is then a Commercial Contributor. If that

+Commercial Contributor then makes performance claims, or offers warranties

+related to Product X, those performance claims and warranties are such

+Commercial Contributor's responsibility alone. Under this section, the

+Commercial Contributor would have to defend claims against the other

+Contributors related to those performance claims and warranties, and if a court

+requires any other Contributor to pay any damages as a result, the Commercial

+Contributor must pay those damages.

+

+5. NO WARRANTY

+

+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN

+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR

+IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,

+NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each

+Recipient is solely responsible for determining the appropriateness of using and

+distributing the Program and assumes all risks associated with its exercise of

+rights under this Agreement, including but not limited to the risks and costs of

+program errors, compliance with applicable laws, damage to or loss of data,

+programs or equipment, and unavailability or interruption of operations.

+

+6. DISCLAIMER OF LIABILITY

+

+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY

+CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,

+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST

+PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,

+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY

+OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS

+GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

+

+7. GENERAL

+

+If any provision of this Agreement is invalid or unenforceable under applicable

+law, it shall not affect the validity or enforceability of the remainder of the

+terms of this Agreement, and without further action by the parties hereto, such

+provision shall be reformed to the minimum extent necessary to make such

+provision valid and enforceable.

+

+If Recipient institutes patent litigation against a Contributor with respect to

+a patent applicable to software (including a cross-claim or counterclaim in a

+lawsuit), then any patent licenses granted by that Contributor to such Recipient

+under this Agreement shall terminate as of the date such litigation is filed. In

+addition, if Recipient institutes patent litigation against any entity

+(including a cross-claim or counterclaim in a lawsuit) alleging that the Program

+itself (excluding combinations of the Program with other software or hardware)

+infringes such Recipient's patent(s), then such Recipient's rights granted under

+Section 2(b) shall terminate as of the date such litigation is filed.

+

+All Recipient's rights under this Agreement shall terminate if it fails to

+comply with any of the material terms or conditions of this Agreement and does

+not cure such failure in a reasonable period of time after becoming aware of

+such noncompliance. If all Recipient's rights under this Agreement terminate,

+Recipient agrees to cease use and distribution of the Program as soon as

+reasonably practicable. However, Recipient's obligations under this Agreement

+and any licenses granted by Recipient relating to the Program shall continue and

+survive.

+

+Everyone is permitted to copy and distribute copies of this Agreement, but in

+order to avoid inconsistency the Agreement is copyrighted and may only be

+modified in the following manner. The Agreement Steward reserves the right to

+publish new versions (including revisions) of this Agreement from time to time.

+No one other than the Agreement Steward has the right to modify this Agreement.

+IBM is the initial Agreement Steward. IBM may assign the responsibility to serve

+as the Agreement Steward to a suitable separate entity. Each new version of the

+Agreement will be given a distinguishing version number. The Program (including

+Contributions) may always be distributed subject to the version of the Agreement

+under which it was received. In addition, after a new version of the Agreement

+is published, Contributor may elect to distribute the Program (including its

+Contributions) under the new version. Except as expressly stated in Sections

+2(a) and 2(b) above, Recipient receives no rights or licenses to the

+intellectual property of any Contributor under this Agreement, whether

+expressly, by implication, estoppel or otherwise. All rights in the Program not

+expressly granted under this Agreement are reserved.

+

+This Agreement is governed by the laws of the State of New York and the

+intellectual property laws of the United States of America. No party to this

+Agreement will bring a legal action under this Agreement more than one year

+after the cause of action arose. Each party waives its rights to a jury trial in

+any resulting litigation.

+

+Special exception for LZMA compression module

+

+Igor Pavlov and Amir Szekely, the authors of the LZMA compression module for

+NSIS, expressly permit you to statically or dynamically link your code (or bind

+by name) to the files from the LZMA compression module for NSIS without

+subjecting your linked code to the terms of the Common Public license version

+1.0. Any modifications or additions to files from the LZMA compression module

+for NSIS, however, are subject to the terms of the Common Public License version

+1.0.

+

+

+For the following XML Schemas for Java EE Deployment Descriptors:

+ - javaee_5.xsd

+ - javaee_web_services_1_2.xsd

+ - javaee_web_services_client_1_2.xsd

+

+COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0

+

+1. Definitions.

+

+   1.1. Contributor. means each individual or entity that creates or contributes

+        to the creation of Modifications.

+

+   1.2. Contributor Version. means the combination of the Original Software,

+        prior Modifications used by a Contributor (if any), and the

+        Modifications made by that particular Contributor.

+

+   1.3. Covered Software. means (a) the Original Software, or (b) Modifications,

+        or (c) the combination of files containing Original Software with files

+        containing Modifications, in each case including portions thereof.

+

+   1.4. Executable. means the Covered Software in any form other than Source

+        Code.

+

+   1.5. Initial Developer. means the individual or entity that first makes

+        Original Software available under this License.

+

+   1.6. Larger Work. means a work which combines Covered Software or portions

+        thereof with code not governed by the terms of this License.

+

+   1.7. License. means this document.

+

+   1.8. Licensable. means having the right to grant, to the maximum extent

+        possible, whether at the time of the initial grant or subsequently

+        acquired, any and all of the rights conveyed herein.

+

+   1.9. Modifications. means the Source Code and Executable form of any of the

+        following:

+

+        A. Any file that results from an addition to, deletion from or

+           modification of the contents of a file containing Original Software

+           or previous Modifications;

+

+        B. Any new file that contains any part of the Original Software or

+           previous Modification; or

+

+        C. Any new file that is contributed or otherwise made available under

+           the terms of this License.

+

+   1.10. Original Software. means the Source Code and Executable form of

+         computer software code that is originally released under this License.

+

+   1.11. Patent Claims. means any patent claim(s), now owned or hereafter

+         acquired, including without limitation, method, process, and apparatus

+         claims, in any patent Licensable by grantor.

+

+   1.12. Source Code. means (a) the common form of computer software code in

+         which modifications are made and (b) associated documentation included

+         in or with such code.

+

+   1.13. You. (or .Your.) means an individual or a legal entity exercising

+         rights under, and complying with all of the terms of, this License. For

+         legal entities, .You. includes any entity which controls, is controlled

+         by, or is under common control with You. For purposes of this

+         definition, .control. means (a) the power, direct or indirect, to cause

+         the direction or management of such entity, whether by contract or

+         otherwise, or (b) ownership of more than fifty percent (50%) of the

+         outstanding shares or beneficial ownership of such entity.

+

+2. License Grants.

+

+      2.1. The Initial Developer Grant.

+

+      Conditioned upon Your compliance with Section 3.1 below and subject to

+      third party intellectual property claims, the Initial Developer hereby

+      grants You a world-wide, royalty-free, non-exclusive license:

+

+        (a) under intellectual property rights (other than patent or trademark)

+            Licensable by Initial Developer, to use, reproduce, modify, display,

+            perform, sublicense and distribute the Original Software (or

+            portions thereof), with or without Modifications, and/or as part of

+            a Larger Work; and

+

+        (b) under Patent Claims infringed by the making, using or selling of

+            Original Software, to make, have made, use, practice, sell, and

+            offer for sale, and/or otherwise dispose of the Original Software

+            (or portions thereof).

+

+        (c) The licenses granted in Sections 2.1(a) and (b) are effective on the

+            date Initial Developer first distributes or otherwise makes the

+            Original Software available to a third party under the terms of this

+            License.

+

+        (d) Notwithstanding Section 2.1(b) above, no patent license is granted:

+            (1) for code that You delete from the Original Software, or (2) for

+            infringements caused by: (i) the modification of the Original

+            Software, or (ii) the combination of the Original Software with

+            other software or devices.

+

+    2.2. Contributor Grant.

+

+    Conditioned upon Your compliance with Section 3.1 below and subject to third

+    party intellectual property claims, each Contributor hereby grants You a

+    world-wide, royalty-free, non-exclusive license:

+

+        (a) under intellectual property rights (other than patent or trademark)

+            Licensable by Contributor to use, reproduce, modify, display,

+            perform, sublicense and distribute the Modifications created by such

+            Contributor (or portions thereof), either on an unmodified basis,

+            with other Modifications, as Covered Software and/or as part of a

+            Larger Work; and

+

+        (b) under Patent Claims infringed by the making, using, or selling of

+            Modifications made by that Contributor either alone and/or in

+            combination with its Contributor Version (or portions of such

+            combination), to make, use, sell, offer for sale, have made, and/or

+            otherwise dispose of: (1) Modifications made by that Contributor (or

+            portions thereof); and (2) the combination of Modifications made by

+            that Contributor with its Contributor Version (or portions of such

+            combination).

+

+        (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on

+            the date Contributor first distributes or otherwise makes the

+            Modifications available to a third party.

+

+        (d) Notwithstanding Section 2.2(b) above, no patent license is granted:

+            (1) for any code that Contributor has deleted from the Contributor

+            Version; (2) for infringements caused by: (i) third party

+            modifications of Contributor Version, or (ii) the combination of

+            Modifications made by that Contributor with other software (except

+            as part of the Contributor Version) or other devices; or (3) under

+            Patent Claims infringed by Covered Software in the absence of

+            Modifications made by that Contributor.

+

+3. Distribution Obligations.

+

+      3.1. Availability of Source Code.

+      Any Covered Software that You distribute or otherwise make available in

+      Executable form must also be made available in Source Code form and that

+      Source Code form must be distributed only under the terms of this License.

+      You must include a copy of this License with every copy of the Source Code

+      form of the Covered Software You distribute or otherwise make available.

+      You must inform recipients of any such Covered Software in Executable form

+      as to how they can obtain such Covered Software in Source Code form in a

+      reasonable manner on or through a medium customarily used for software

+      exchange.

+

+      3.2. Modifications.

+      The Modifications that You create or to which You contribute are governed

+      by the terms of this License. You represent that You believe Your

+      Modifications are Your original creation(s) and/or You have sufficient

+      rights to grant the rights conveyed by this License.

+

+      3.3. Required Notices.

+      You must include a notice in each of Your Modifications that identifies

+      You as the Contributor of the Modification. You may not remove or alter

+      any copyright, patent or trademark notices contained within the Covered

+      Software, or any notices of licensing or any descriptive text giving

+      attribution to any Contributor or the Initial Developer.

+

+      3.4. Application of Additional Terms.

+      You may not offer or impose any terms on any Covered Software in Source

+      Code form that alters or restricts the applicable version of this License

+      or the recipients. rights hereunder. You may choose to offer, and to

+      charge a fee for, warranty, support, indemnity or liability obligations to

+      one or more recipients of Covered Software. However, you may do so only on

+      Your own behalf, and not on behalf of the Initial Developer or any

+      Contributor. You must make it absolutely clear that any such warranty,

+      support, indemnity or liability obligation is offered by You alone, and

+      You hereby agree to indemnify the Initial Developer and every Contributor

+      for any liability incurred by the Initial Developer or such Contributor as

+      a result of warranty, support, indemnity or liability terms You offer.

+

+      3.5. Distribution of Executable Versions.

+      You may distribute the Executable form of the Covered Software under the

+      terms of this License or under the terms of a license of Your choice,

+      which may contain terms different from this License, provided that You are

+      in compliance with the terms of this License and that the license for the

+      Executable form does not attempt to limit or alter the recipient.s rights

+      in the Source Code form from the rights set forth in this License. If You

+      distribute the Covered Software in Executable form under a different

+      license, You must make it absolutely clear that any terms which differ

+      from this License are offered by You alone, not by the Initial Developer

+      or Contributor. You hereby agree to indemnify the Initial Developer and

+      every Contributor for any liability incurred by the Initial Developer or

+      such Contributor as a result of any such terms You offer.

+

+      3.6. Larger Works.

+      You may create a Larger Work by combining Covered Software with other code

+      not governed by the terms of this License and distribute the Larger Work

+      as a single product. In such a case, You must make sure the requirements

+      of this License are fulfilled for the Covered Software.

+

+4. Versions of the License.

+

+      4.1. New Versions.

+      Sun Microsystems, Inc. is the initial license steward and may publish

+      revised and/or new versions of this License from time to time. Each

+      version will be given a distinguishing version number. Except as provided

+      in Section 4.3, no one other than the license steward has the right to

+      modify this License.

+

+      4.2. Effect of New Versions.

+      You may always continue to use, distribute or otherwise make the Covered

+      Software available under the terms of the version of the License under

+      which You originally received the Covered Software. If the Initial

+      Developer includes a notice in the Original Software prohibiting it from

+      being distributed or otherwise made available under any subsequent version

+      of the License, You must distribute and make the Covered Software

+      available under the terms of the version of the License under which You

+      originally received the Covered Software. Otherwise, You may also choose

+      to use, distribute or otherwise make the Covered Software available under

+      the terms of any subsequent version of the License published by the

+      license steward.

+

+      4.3. Modified Versions.

+      When You are an Initial Developer and You want to create a new license for

+      Your Original Software, You may create and use a modified version of this

+      License if You: (a) rename the license and remove any references to the

+      name of the license steward (except to note that the license differs from

+      this License); and (b) otherwise make it clear that the license contains

+      terms which differ from this License.

+

+5. DISCLAIMER OF WARRANTY.

+

+   COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN .AS IS. BASIS, WITHOUT

+   WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT

+   LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS,

+   MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK

+   AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD

+   ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL

+   DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY

+   SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN

+   ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED

+   HEREUNDER EXCEPT UNDER THIS DISCLAIMER.

+

+6. TERMINATION.

+

+      6.1. This License and the rights granted hereunder will terminate

+           automatically if You fail to comply with terms herein and fail to

+           cure such breach within 30 days of becoming aware of the breach.

+           Provisions which, by their nature, must remain in effect beyond the

+           termination of this License shall survive.

+

+      6.2. If You assert a patent infringement claim (excluding declaratory

+           judgment actions) against Initial Developer or a Contributor (the

+           Initial Developer or Contributor against whom You assert such claim

+           is referred to as .Participant.) alleging that the Participant

+           Software (meaning the Contributor Version where the Participant is a

+           Contributor or the Original Software where the Participant is the

+           Initial Developer) directly or indirectly infringes any patent, then

+           any and all rights granted directly or indirectly to You by such

+           Participant, the Initial Developer (if the Initial Developer is not

+           the Participant) and all Contributors under Sections 2.1 and/or 2.2

+           of this License shall, upon 60 days notice from Participant terminate

+           prospectively and automatically at the expiration of such 60 day

+           notice period, unless if within such 60 day period You withdraw Your

+           claim with respect to the Participant Software against such

+           Participant either unilaterally or pursuant to a written agreement

+           with Participant.

+

+      6.3. In the event of termination under Sections 6.1 or 6.2 above, all end

+           user licenses that have been validly granted by You or any

+           distributor hereunder prior to termination (excluding licenses

+           granted to You by any distributor) shall survive termination.

+

+7. LIMITATION OF LIABILITY.

+

+   UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING

+   NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY

+   OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF

+   ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL,

+   INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT

+   LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE,

+   COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR

+   LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF

+   SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR

+   DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY.S NEGLIGENCE TO THE EXTENT

+   APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE

+   EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS

+   EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.

+

+8. U.S. GOVERNMENT END USERS.

+

+   The Covered Software is a .commercial item,. as that term is defined in 48

+   C.F.R. 2.101 (Oct. 1995), consisting of .commercial computer software. (as

+   that term is defined at 48 C.F.R. ? 252.227-7014(a)(1)) and commercial

+   computer software documentation. as such terms are used in 48 C.F.R. 12.212

+   (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1

+   through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered

+   Software with only those rights set forth herein. This U.S. Government Rights

+   clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or

+   provision that addresses Government rights in computer software under this

+   License.

+

+9. MISCELLANEOUS.

+

+   This License represents the complete agreement concerning subject matter

+   hereof. If any provision of this License is held to be unenforceable, such

+   provision shall be reformed only to the extent necessary to make it

+   enforceable. This License shall be governed by the law of the jurisdiction

+   specified in a notice contained within the Original Software (except to the

+   extent applicable law, if any, provides otherwise), excluding such

+   jurisdiction's conflict-of-law provisions. Any litigation relating to this

+   License shall be subject to the jurisdiction of the courts located in the

+   jurisdiction and venue specified in a notice contained within the Original

+   Software, with the losing party responsible for costs, including, without

+   limitation, court costs and reasonable attorneys. fees and expenses. The

+   application of the United Nations Convention on Contracts for the

+   International Sale of Goods is expressly excluded. Any law or regulation

+   which provides that the language of a contract shall be construed against

+   the drafter shall not apply to this License. You agree that You alone are

+   responsible for compliance with the United States export administration

+   regulations (and the export control laws and regulation of any other

+   countries) when You use, distribute or otherwise make available any Covered

+   Software.

+

+10. RESPONSIBILITY FOR CLAIMS.

+

+   As between Initial Developer and the Contributors, each party is responsible

+   for claims and damages arising, directly or indirectly, out of its

+   utilization of rights under this License and You agree to work with Initial

+   Developer and Contributors to distribute such responsibility on an equitable

+   basis. Nothing herein is intended or shall be deemed to constitute any

+   admission of liability.

+

+   NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION

+   LICENSE (CDDL)

+

+   The code released under the CDDL shall be governed by the laws of the State

+   of California (excluding conflict-of-law provisions). Any litigation relating

+   to this License shall be subject to the jurisdiction of the Federal Courts of

+   the Northern District of California and the state courts of the State of

+   California, with venue lying in Santa Clara County, California.

diff --git a/tomcat-uid/NOTICE b/tomcat-uid/NOTICE
new file mode 100644
index 0000000..ea95f62
--- /dev/null
+++ b/tomcat-uid/NOTICE
@@ -0,0 +1,22 @@
+Apache Tomcat

+Copyright 1999-2014 The Apache Software Foundation

+

+This product includes software developed at

+The Apache Software Foundation (http://www.apache.org/).

+

+The Windows Installer is built with the Nullsoft

+Scriptable Install Sysem (NSIS), which is

+open source software.  The original software and

+related information is available at

+http://nsis.sourceforge.net.

+

+Java compilation software for JSP pages is provided by Eclipse, 

+which is open source software.  The original software and 

+related information is available at

+http://www.eclipse.org.

+

+The original XML Schemas for Java EE Deployment Descriptors:

+ - javaee_5.xsd

+ - javaee_web_services_1_2.xsd

+ - javaee_web_services_client_1_2.xsd

+may be obtained from http://java.sun.com/xml/ns/javaee/

diff --git a/tomcat-uid/RELEASE-NOTES b/tomcat-uid/RELEASE-NOTES
new file mode 100644
index 0000000..ef65d5b
--- /dev/null
+++ b/tomcat-uid/RELEASE-NOTES
@@ -0,0 +1,232 @@
+================================================================================

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+================================================================================

+

+

+                     Apache Tomcat Version 6.0.39

+                            Release Notes

+

+

+=============================

+KNOWN ISSUES IN THIS RELEASE:

+=============================

+

+* Dependency Changes

+* JNI Based Applications

+* Bundled APIs

+* Web application reloading and static fields in shared libraries

+* Tomcat on Linux

+* Enabling SSI and CGI Support

+* Security manager URLs

+* Symlinking static resources

+* Enabling invoker servlet

+* Viewing the Tomcat Change Log

+* Cryptographic software notice

+* When all else fails

+

+

+===================

+Dependency Changes:

+===================

+Tomcat 6.0 is designed to run on Java SE 5.0 and later.

+

+In addition, Tomcat 6.0 uses the Eclipse JDT Java compiler for compiling

+JSP pages.  This means you no longer need to have the complete

+Java Development Kit (JDK) to run Tomcat, but a Java Runtime Environment

+(JRE) is sufficient.  The Eclipse JDT Java compiler is bundled with the 

+binary Tomcat distributions.  Tomcat can also be configured to use the

+compiler from the JDK to compile JSPs, or any other Java compiler supported 

+by Apache Ant.

+

+

+=======================

+JNI Based Applications:

+=======================

+Applications that require native libraries must ensure that the libraries have

+been loaded prior to use.  Typically, this is done with a call like:

+

+  static {

+    System.loadLibrary("path-to-library-file");

+  }

+

+in some class.  However, the application must also ensure that the library is

+not loaded more than once.  If the above code were placed in a class inside

+the web application (i.e. under /WEB-INF/classes or /WEB-INF/lib), and the

+application were reloaded, the loadLibrary() call would be attempted a second

+time.

+

+To avoid this problem, place classes that load native libraries outside of the

+web application, and ensure that the loadLibrary() call is executed only once

+during the lifetime of a particular JVM.

+

+

+=============

+Bundled APIs:

+=============

+A standard installation of Tomcat 6.0 makes all of the following APIs available

+for use by web applications (by placing them in "lib"):

+* annotations-api.jar (Annotations package)

+* catalina.jar (Tomcat Catalina implementation)

+* catalina-ant.jar (Tomcat Catalina Ant tasks)

+* catalina-ha.jar (High availability package)

+* catalina-tribes.jar (Group communication)

+* ecj-@JDT_VERSION@.jar (Eclipse JDT Java compiler)

+* el-api.jar (EL 2.1 API)

+* jasper.jar (Jasper 2 Compiler and Runtime)

+* jasper-el.jar (Jasper 2 EL implementation)

+* jsp-api.jar (JSP 2.1 API)

+* servlet-api.jar (Servlet 2.5 API)

+* tomcat-coyote.jar (Tomcat connectors and utility classes)

+* tomcat-dbcp.jar (package renamed database connection pool based on Commons DBCP)

+

+You can make additional APIs available to all of your web applications by

+putting unpacked classes into a "classes" directory (not created by default),

+or by placing them in JAR files in the "lib" directory.

+

+To override the XML parser implementation or interfaces, use the endorsed

+mechanism of the JVM. The default configuration defines JARs located in 

+"endorsed" as endorsed.

+

+

+================================================================

+Web application reloading and static fields in shared libraries:

+================================================================

+Some shared libraries (many are part of the JDK) keep references to objects

+instantiated by the web application. To avoid class loading related problems

+(ClassCastExceptions, messages indicating that the classloader

+is stopped, etc.), the shared libraries state should be reinitialized.

+

+Something which might help is to avoid putting classes which would be

+referenced by a shared static field in the web application classloader,

+and putting them in the shared classloader instead (JARs should be put in the

+"lib" folder, and classes should be put in the "classes" folder).

+

+

+================

+Tomcat on Linux:

+================

+GLIBC 2.2 / Linux 2.4 users should define an environment variable:

+export LD_ASSUME_KERNEL=2.2.5

+

+Redhat Linux 9.0 users should use the following setting to avoid

+stability problems:

+export LD_ASSUME_KERNEL=2.4.1

+

+There are some Linux bugs reported against the NIO sendfile behavior, make sure you

+have a JDK that is up to date, or disable sendfile behavior in the Connector.<br/>

+6427312: (fc) FileChannel.transferTo() throws IOException "system call interrupted"<br/>

+5103988: (fc) FileChannel.transferTo should return -1 for EAGAIN instead throws IOException<br/>

+6253145: (fc) FileChannel.transferTo on Linux fails when going beyond 2GB boundary<br/>

+6470086: (fc) FileChannel.transferTo(2147483647, 1, channel) cause "Value too large" exception<br/>

+

+

+=============================

+Enabling SSI and CGI Support:

+=============================

+Because of the security risks associated with CGI and SSI available

+to web applications, these features are disabled by default.  

+

+To enable and configure CGI support, please see the cgi-howto.html page.

+

+To enable and configue SSI support, please see the ssi-howto.html page.

+

+

+======================

+Security manager URLs:

+======================

+In order to grant security permissions to JARs located inside the

+web application repository, use URLs of of the following format

+in your policy file:

+

+file:${catalina.base}/webapps/examples/WEB-INF/lib/driver.jar

+

+

+============================

+Symlinking static resources:

+============================

+By default, Unix symlinks will not work when used in a web application to link

+resources located outside the web application root directory.

+

+This behavior is optional, and the "allowLinking" flag may be used to disable

+the check.

+

+

+=========================

+Enabling invoker servlet:

+=========================

+Starting with Tomcat 4.1.12, the invoker servlet is no longer available by

+default in all webapps. Enabling it for all webapps is possible by editing

+$CATALINA_HOME/conf/web.xml to uncomment the "/servlet/*" servlet-mapping

+definition.

+

+Using the invoker servlet in a production environment is not recommended and

+is unsupported.  More details are available on the Tomcat FAQ at

+http://tomcat.apache.org/faq/misc.html#invoker.

+

+

+==============================

+Viewing the Tomcat Change Log:

+==============================

+See changelog.html in this directory.

+

+

+============================================

+Multi-byte charset handling bug in Java 1.5:

+============================================

+Public versions of Sun/Oracle Java 1.5 are known to have a nasty bug in

+implementation of Charset.decode() method for certain character sets.

+

+For details, test and a list of affected character sets see:

+

+http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6196991

+https://issues.apache.org/bugzilla/show_bug.cgi?id=52579

+

+The UTF-8 charset is not affected by this issue.

+

+

+=============================

+Cryptographic software notice

+=============================

+This distribution includes cryptographic software.  The country in 

+which you currently reside may have restrictions on the import, 

+possession, use, and/or re-export to another country, of 

+encryption software.  BEFORE using any encryption software, please 

+check your country's laws, regulations and policies concerning the

+import, possession, or use, and re-export of encryption software, to 

+see if this is permitted.  See <http://www.wassenaar.org/> for more

+information.

+

+The U.S. Government Department of Commerce, Bureau of Industry and

+Security (BIS), has classified this software as Export Commodity 

+Control Number (ECCN) 5D002.C.1, which includes information security

+software using or performing cryptographic functions with asymmetric

+algorithms.  The form and manner of this Apache Software Foundation

+distribution makes it eligible for export under the License Exception

+ENC Technology Software Unrestricted (TSU) exception (see the BIS 

+Export Administration Regulations, Section 740.13) for both object 

+code and source code.

+

+The following provides more details on the included cryptographic

+software:

+  - Tomcat includes code designed to work with JSSE

+  - Tomcat includes code designed to work with OpenSSL

+

+

+====================

+When all else fails:

+====================

+See the FAQ

+http://tomcat.apache.org/faq/

diff --git a/tomcat-uid/RUNNING.txt b/tomcat-uid/RUNNING.txt
new file mode 100644
index 0000000..9e43e5d
--- /dev/null
+++ b/tomcat-uid/RUNNING.txt
@@ -0,0 +1,478 @@
+================================================================================

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+================================================================================

+

+            ===================================================

+            Running The Apache Tomcat 6.0 Servlet/JSP Container

+            ===================================================

+

+Apache Tomcat 6.0 requires a Java Standard Edition Runtime

+Environment (JRE) version 5.0 or later.

+

+=============================

+Running With JRE 5.0 Or Later

+=============================

+

+(1) Download and Install a Java SE Runtime Environment (JRE)

+

+(1.1) Download a Java SE Runtime Environment (JRE),

+      release version 5.0 or later, from

+      http://www.oracle.com/technetwork/java/javase/downloads/index.html

+

+(1.2) Install the JRE according to the instructions included with the

+      release.

+

+      You may also use a full Java Development Kit (JDK) rather than just

+      a JRE.

+

+

+(2) Download and Install Apache Tomcat

+

+(2.1) Download a binary distribution of Tomcat from:

+

+      http://tomcat.apache.org/

+

+(2.2) Unpack the binary distribution so that it resides in its own

+      directory (conventionally named "apache-tomcat-[version]").

+

+      For the purposes of the remainder of this document, the name

+      "CATALINA_HOME" is used to refer to the full pathname of that

+      directory.

+

+NOTE:  As an alternative to downloading a binary distribution, you can

+create your own from the Tomcat source code, as described in

+"BUILDING.txt".  You can either

+

+  a)  Do the full "release" build and find the created distribution in the

+      "output/release" directory and then proceed with unpacking as above, or

+

+  b)  Do a simple build and use the "output/build" directory as

+      "CATALINA_HOME".  Be warned that there are some differences between the

+      contents of the "output/build" directory and a full "release"

+      distribution.

+

+

+(3) Configure Environment Variables

+

+Tomcat is a Java application and does not use environment variables. The

+variables are used by the Tomcat startup scripts. The scripts use the variables

+to prepare the command that starts Tomcat.

+

+(3.1) Set CATALINA_HOME (required) and CATALINA_BASE (optional)

+

+The CATALINA_HOME environment variable should be set to the location of the

+root directory of the "binary" distribution of Tomcat.

+

+An example was given in (2.2) above.

+

+The Tomcat startup scripts have some logic to set this variable

+automatically if it is absent, based on the location of the startup script

+in *nix and on the current directory in Windows. That logic might not work

+in all circumstances, so setting the variable explicitly is recommended.

+

+The CATALINA_BASE environment variable specifies location of the root

+directory of the "active configuration" of Tomcat. It is optional. It

+defaults to be equal to CATALINA_HOME.

+

+Using distinct values for the CATALINA_HOME and CATALINA_BASE variables is

+recommended to simplify further upgrades and maintenance. It is documented

+in the "Multiple Tomcat Instances" section below.

+

+

+(3.2) Set JRE_HOME or JAVA_HOME (required)

+

+These variables are used to specify location of a Java Runtime

+Environment or of a Java Development Kit that is used to start Tomcat.

+

+The JRE_HOME variable is used to specify location of a JRE. The JAVA_HOME

+variable is used to specify location of a JDK.

+

+Using JAVA_HOME provides access to certain additional startup options that

+are not allowed when JRE_HOME is used.

+

+If both JRE_HOME and JAVA_HOME are specified, JRE_HOME is used.

+

+The recommended place to specify these variables is a "setenv" script. See

+below.

+

+

+(3.3) Other variables (optional)

+

+Other environment variables exist, besides the four described above.

+See the comments at the top of catalina.bat or catalina.sh scripts for

+the list and a description of each of them.

+

+One frequently used variable is CATALINA_OPTS. It allows specification of

+additional options for the java command that starts Tomcat.

+

+See the Java documentation for the options that affect the Java Runtime

+Environment.

+

+See the "System Properties" page in the Tomcat Configuration Reference for

+the system properties that are specific to Tomcat.

+

+A similar variable is JAVA_OPTS. It is used less frequently. It allows

+specification of options that are used both to start and to stop Tomcat as well

+as for other commands.

+

+Note: Do not use JAVA_OPTS to specify memory limits. You do not need much

+memory for a small process that is used to stop Tomcat. Those settings

+belong to CATALINA_OPTS.

+

+Another frequently used variable is CATALINA_PID (on *nix only). It

+specifies the location of the file where process id of the forked Tomcat

+java process will be written. This setting is optional. It will enable the

+following features:

+

+ *  better protection against duplicate start attempts and

+ *  allows forceful termination of Tomcat process when it does not react to

+    the standard shutdown command.

+

+

+(3.4) Using the "setenv" script (optional, recommended)

+

+Apart from CATALINA_HOME and CATALINA_BASE, all environment variables can

+be specified in the "setenv" script. The script is placed either into

+CATALINA_BASE/bin or into CATALINA_HOME/bin directory and is named

+setenv.bat (on Windows) or setenv.sh (on *nix). The file has to be

+readable.

+

+By default the setenv script file is absent. If the script file is present

+both in CATALINA_BASE and in CATALINA_HOME, the one in CATALINA_BASE is

+preferred.

+

+For example, to configure the JRE_HOME and CATALINA_PID variables you can

+create the following script file:

+

+On Windows, %CATALINA_BASE%\bin\setenv.bat:

+

+  set "JRE_HOME=%ProgramFiles%\Java\jre6"

+  exit /b 0

+

+On *nix, $CATALINA_BASE/bin/setenv.sh:

+

+  JRE_HOME=/usr/java/latest

+  CATALINA_PID="$CATALINA_BASE/tomcat.pid"

+

+

+The CATALINA_HOME and CATALINA_BASE variables cannot be configured in the

+setenv script, because they are used to locate that file.

+

+All the environment variables described here and the "setenv" script are

+used only if you use the standard scripts to launch Tomcat. For example, if

+you have installed Tomcat as a service on Windows, the service wrapper

+launches Java directly and does not use the script files.

+

+

+(4) Start Up Tomcat

+

+(4.1) Tomcat can be started by executing one of the following commands:

+

+  On Windows:

+

+      %CATALINA_HOME%\bin\startup.bat

+

+    or

+

+      %CATALINA_HOME%\bin\catalina.bat start

+

+  On *nix:

+

+      $CATALINA_HOME/bin/startup.sh

+

+    or

+

+      $CATALINA_HOME/bin/catalina.sh start

+

+(4.2) After startup, the default web applications included with Tomcat will be

+      available by visiting:

+

+      http://localhost:8080/

+

+(4.3) Further information about configuring and running Tomcat can be found in

+      the documentation included here, as well as on the Tomcat web site:

+

+      http://tomcat.apache.org/

+

+

+(5) Shut Down Tomcat

+

+(5.1) Tomcat can be shut down by executing one of the following commands:

+

+  On Windows:

+

+      %CATALINA_HOME%\bin\shutdown.bat

+

+    or

+

+      %CATALINA_HOME%\bin\catalina.bat stop

+

+  On *nix:

+

+      $CATALINA_HOME/bin/shutdown.sh

+

+    or

+

+      $CATALINA_HOME/bin/catalina.sh stop

+

+==================================================

+Advanced Configuration - Multiple Tomcat Instances

+==================================================

+

+In many circumstances, it is desirable to have a single copy of a Tomcat

+binary distribution shared among multiple users on the same server.  To make

+this possible, you can set the CATALINA_BASE environment variable to the

+directory that contains the files for your 'personal' Tomcat instance.

+

+When running with a separate CATALINA_HOME and CATALINA_BASE, the files

+and directories are split as following:

+

+In CATALINA_BASE:

+

+ * bin  - Only the following files:

+

+           * setenv.sh (*nix) or setenv.bat (Windows),

+           * tomcat-juli.jar

+

+          The setenv scripts were described above. The tomcat-juli library

+          is documented in the Logging chapter in the User Guide.

+

+ * conf - Server configuration files (including server.xml)

+

+ * lib  - Libraries and classes, as explained below

+

+ * logs - Log and output files

+

+ * webapps - Automatically loaded web applications

+

+ * work - Temporary working directories for web applications

+

+ * temp - Directory used by the JVM for temporary files (java.io.tmpdir)

+

+

+In CATALINA_HOME:

+

+ * bin  - Startup and shutdown scripts

+

+          The following files will be used only if they are absent in

+          CATALINA_BASE/bin:

+

+          setenv.sh (*nix), setenv.bat (Windows), tomcat-juli.jar

+

+ * lib  - Libraries and classes, as explained below

+

+ * endorsed - Libraries that override standard "Endorsed Standards"

+              libraries provided by JRE. See Classloading documentation

+              in the User Guide for details.

+

+              By default this "endorsed" directory is absent.

+

+In the default configuration the JAR libraries and classes both in

+CATALINA_BASE/lib and in CATALINA_HOME/lib will be added to the common

+classpath, but the ones in CATALINA_BASE will be added first and thus will

+be searched first.

+

+The idea is that you may leave the standard Tomcat libraries in

+CATALINA_HOME/lib and add other ones such as database drivers into

+CATALINA_BASE/lib.

+

+In general it is advised to never share libraries between web applications,

+but put them into WEB-INF/lib directories inside the applications. See

+Classloading documentation in the User Guide for details.

+

+

+It might be useful to note that the values of CATALINA_HOME and

+CATALINA_BASE can be referenced in the XML configuration files processed

+by Tomcat as ${catalina.home} and ${catalina.base} respectively.

+

+For example, the standard manager web application can be kept in

+CATALINA_HOME/webapps/manager and loaded into CATALINA_BASE by using

+the following trick:

+

+ * Copy the CATALINA_HOME/webapps/manager/META-INF/context.xml

+   file as CATALINA_BASE/conf/Catalina/localhost/manager.xml

+

+ * Add docBase attribute as shown below.

+

+The file will look like the following:

+

+  <?xml version="1.0" encoding="UTF-8"?>

+  <Context docBase="${catalina.home}/webapps/manager"

+    antiResourceLocking="false" privileged="true" useHttpOnly="true" >

+    <Valve className="org.apache.catalina.valves.RemoteAddrValve"

+         allow="127\.0\.0\.1" />

+  </Context>

+

+See Deployer chapter in User Guide and Context and Host chapters in the

+Configuration Reference for more information on contexts and web

+application deployment.

+

+

+================

+Troubleshooting

+================

+

+There are only really 2 things likely to go wrong during the stand-alone

+Tomcat install:

+

+(1) The most common hiccup is when another web server (or any process for that

+    matter) has laid claim to port 8080.  This is the default HTTP port that

+    Tomcat attempts to bind to at startup.  To change this, open the file:

+

+       $CATALINA_HOME/conf/server.xml

+

+    and search for '8080'.  Change it to a port that isn't in use, and is

+    greater than 1024, as ports less than or equal to 1024 require superuser

+    access to bind under UNIX.

+

+    Restart Tomcat and you're in business.  Be sure that you replace the "8080"

+    in the URL you're using to access Tomcat.  For example, if you change the

+    port to 1977, you would request the URL http://localhost:1977/ in your

+    browser.

+

+(2) The 'localhost' machine isn't found.  This could happen if you're behind a

+    proxy.  If that's the case, make sure the proxy configuration for your

+    browser knows that you shouldn't be going through the proxy to access the

+    "localhost".

+

+    In Firefox, this is under Tools/Preferences -> Advanced/Network ->

+    Connection -> Settings..., and in Internet Explorer it is Tools ->

+    Internet Options -> Connections -> LAN Settings.

+

+

+====================

+Optional Components

+====================

+

+The following optional components may be included with the Apache Tomcat binary

+distribution. If they are not included, you can install them separately.

+

+ 1. Apache Tomcat Native library

+

+ 2. Apache Commons Daemon service launcher

+

+Both of them are implemented in C language and as such have to be compiled

+into binary code. The binary code will be specific for a platform and CPU

+architecture and it must match the Java Runtime Environment executables

+that will be used to launch Tomcat.

+

+The Windows-specific binary distributions of Apache Tomcat include binary

+files for these components. On other platforms you would have to look for

+binary versions elsewhere or compile them yourself.

+

+If you are new to Tomcat, do not bother with these components to start with.

+If you do use them, do not forget to read their documentation.

+

+

+Apache Tomcat Native library

+-----------------------------

+

+It is a library that allows to use the "Apr" variant of HTTP and AJP

+protocol connectors in Apache Tomcat. It is built around OpenSSL and Apache

+Portable Runtime (APR) libraries. Those are the same libraries as used by

+Apache HTTPD Server project.

+

+This feature was especially important in the old days when Java performance

+was poor. It is less important nowadays, but it is still used and respected

+by many. See Tomcat documentation for more details.

+

+For further reading:

+

+ - Apache Tomcat documentation

+

+    * Documentation for APR/Native library in the Tomcat User's Guide

+

+      http://tomcat.apache.org/tomcat-6.0-doc/apr.html

+

+    * Documentation for the HTTP and AJP protocol connectors in the Tomcat

+      Configuration Reference

+

+      http://tomcat.apache.org/tomcat-6.0-doc/config/http.html

+

+      http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html

+

+ - Apache Tomcat Native project home

+

+      http://tomcat.apache.org/native-doc/

+

+ - Other projects

+

+    * OpenSSL

+

+      http://openssl.org/

+

+    * Apache Portable Runtime

+

+      http://apr.apache.org/

+

+    * Apache HTTP Server

+

+      http://httpd.apache.org/

+

+To disable Apache Tomcat Native library:

+

+ - To disable Apache Tomcat Native library when it is installed, or

+ - To remove the warning that is logged during Tomcat startup when the

+   library is not installed:

+

+   Edit the "conf/server.xml" file and remove "AprLifecycleListener" from

+   it.

+

+The binary file of Apache Tomcat Native library is usually named

+

+  - "tcnative-1.dll" on Windows

+  - "libtcnative-1.so" on *nix systems

+

+

+Apache Commons Daemon

+----------------------

+

+Apache Commons Daemon project provides wrappers that can be used to

+install Apache Tomcat as a service on Windows or as a daemon on *nix

+systems.

+

+The Windows-specific implementation of Apache Commons Daemon is called

+"procrun". The *nix-specific one is called "jsvc".

+

+For further reading:

+

+ - Apache Commons Daemon project

+

+      http://commons.apache.org/daemon/

+

+ - Apache Tomcat documentation

+

+    * Installing Apache Tomcat

+

+      http://tomcat.apache.org/tomcat-6.0-doc/setup.html

+

+    * Windows service HOW-TO

+

+      http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html

+

+The binary files of Apache Commons Daemon in Apache Tomcat distributions

+for Windows are named:

+

+  - "tomcat6.exe"

+  - "tomcat6w.exe"

+

+These files are renamed copies of "prunsrv.exe" and "prunmgr.exe" from

+Apache Commons Daemon distribution. The file names have a meaning: they are

+used as the service name to register the service in Windows, as well as the

+key name to store distinct configuration for this installation of

+"procrun". If you would like to install several instances of Tomcat 6.0

+in parallel, you have to further rename those files, using the same naming

+scheme.

diff --git a/tomcat-uid/bin/bootstrap.jar b/tomcat-uid/bin/bootstrap.jar
new file mode 100644
index 0000000..c9e6af9
--- /dev/null
+++ b/tomcat-uid/bin/bootstrap.jar
Binary files differ
diff --git a/tomcat-uid/bin/catalina-tasks.xml b/tomcat-uid/bin/catalina-tasks.xml
new file mode 100644
index 0000000..3554a2f
--- /dev/null
+++ b/tomcat-uid/bin/catalina-tasks.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0"?>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<!--

+  XML file for importing Catalina ant tasks.

+  <import file="${catalina.home}/bin/catalina-tasks.xml"/>

+-->

+

+<project name="catalina-tasks">

+  <description>Catalina Ant Manager, JMX and JSPC Tasks</description>

+  <!-- set catalina.home if it's not already set -->

+  <dirname property="catalina.home.bin.dir" file="${ant.file.catalina-tasks}"/>

+  <property name="catalina.home" value="${catalina.home.bin.dir}/.."/>

+  <taskdef resource="org/apache/catalina/ant/catalina.tasks">

+    <classpath>

+      <fileset file="${catalina.home}/bin/tomcat-juli.jar"/>

+      <fileset file="${catalina.home}/lib/jasper.jar"/>

+      <fileset file="${catalina.home}/lib/jasper-el.jar"/>

+      <fileset file="${catalina.home}/lib/el-api.jar"/>

+      <fileset file="${catalina.home}/lib/jsp-api.jar"/>

+      <fileset file="${catalina.home}/lib/servlet-api.jar"/>

+      <fileset file="${catalina.home}/lib/catalina-ant.jar"/>

+    </classpath>

+  </taskdef>

+  <taskdef resource="org/apache/catalina/ant/jmx/jmxaccessor.tasks">

+    <classpath>

+      <fileset file="${catalina.home}/lib/catalina-ant.jar"/>

+    </classpath>

+  </taskdef>

+  <typedef

+        name="jmxEquals"

+        classname="org.apache.catalina.ant.jmx.JMXAccessorEqualsCondition">

+    <classpath>

+      <fileset file="${catalina.home}/lib/catalina-ant.jar"/>

+    </classpath>

+  </typedef>

+  <typedef

+        name="jmxCondition"

+        classname="org.apache.catalina.ant.jmx.JMXAccessorCondition">

+    <classpath>

+      <fileset file="${catalina.home}/lib/catalina-ant.jar"/>

+    </classpath>

+  </typedef>

+</project>

diff --git a/tomcat-uid/bin/catalina.bat b/tomcat-uid/bin/catalina.bat
new file mode 100644
index 0000000..122b085
--- /dev/null
+++ b/tomcat-uid/bin/catalina.bat
@@ -0,0 +1,282 @@
+@echo off

+rem Licensed to the Apache Software Foundation (ASF) under one or more

+rem contributor license agreements.  See the NOTICE file distributed with

+rem this work for additional information regarding copyright ownership.

+rem The ASF licenses this file to You under the Apache License, Version 2.0

+rem (the "License"); you may not use this file except in compliance with

+rem the License.  You may obtain a copy of the License at

+rem

+rem     http://www.apache.org/licenses/LICENSE-2.0

+rem

+rem Unless required by applicable law or agreed to in writing, software

+rem distributed under the License is distributed on an "AS IS" BASIS,

+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+rem See the License for the specific language governing permissions and

+rem limitations under the License.

+

+if "%OS%" == "Windows_NT" setlocal

+rem ---------------------------------------------------------------------------

+rem Start/Stop Script for the CATALINA Server

+rem

+rem Environment Variable Prerequisites

+rem

+rem   CATALINA_HOME   May point at your Catalina "build" directory.

+rem

+rem   CATALINA_BASE   (Optional) Base directory for resolving dynamic portions

+rem                   of a Catalina installation.  If not present, resolves to

+rem                   the same directory that CATALINA_HOME points to.

+rem

+rem   CATALINA_OPTS   (Optional) Java runtime options used when the "start",

+rem                   or "run" command is executed.

+rem

+rem   CATALINA_TMPDIR (Optional) Directory path location of temporary directory

+rem                   the JVM should use (java.io.tmpdir).  Defaults to

+rem                   %CATALINA_BASE%\temp.

+rem

+rem   JAVA_HOME       Must point at your Java Development Kit installation.

+rem                   Required to run the with the "debug" argument.

+rem

+rem   JRE_HOME        Must point at your Java Runtime installation.

+rem                   Defaults to JAVA_HOME if empty.

+rem

+rem   JAVA_OPTS       (Optional) Java runtime options used when the "start",

+rem                   "stop", or "run" command is executed.

+rem

+rem   JAVA_ENDORSED_DIRS (Optional) Lists of of semi-colon separated directories

+rem                   containing some jars in order to allow replacement of APIs 

+rem                   created outside of the JCP (i.e. DOM and SAX from W3C). 

+rem                   It can also be used to update the XML parser implementation.

+rem                   Defaults to $CATALINA_HOME/endorsed.

+rem

+rem   JPDA_TRANSPORT  (Optional) JPDA transport used when the "jpda start"

+rem                   command is executed. The default is "dt_socket".

+rem

+rem   JPDA_ADDRESS    (Optional) Java runtime options used when the "jpda start"

+rem                   command is executed. The default is 8000.

+rem

+rem   JPDA_SUSPEND    (Optional) Java runtime options used when the "jpda start"

+rem                   command is executed. Specifies whether JVM should suspend

+rem                   execution immediately after startup. Default is "n".

+rem

+rem   JPDA_OPTS       (Optional) Java runtime options used when the "jpda start"

+rem                   command is executed. If used, JPDA_TRANSPORT, JPDA_ADDRESS,

+rem                   and JPDA_SUSPEND are ignored. Thus, all required jpda

+rem                   options MUST be specified. The default is:

+rem

+rem                   -agentlib:jdwp=transport=%JPDA_TRANSPORT%,

+rem                       address=%JPDA_ADDRESS%,server=y,suspend=%JPDA_SUSPEND%

+rem

+rem   LOGGING_CONFIG  (Optional) Override Tomcat's logging config file

+rem                   Example (all one line)

+rem                   set LOGGING_CONFIG="-Djava.util.logging.config.file=%CATALINA_BASE%\conf\logging.properties"

+rem

+rem   LOGGING_MANAGER (Optional) Override Tomcat's logging manager 

+rem                   Example (all one line)

+rem                   set LOGGING_MANAGER="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"

+rem

+rem   TITLE           (Optional) Specify the title of Tomcat window. The default

+rem                   TITLE is Tomcat if it's not specified.

+rem                   Example (all one line)

+rem                   set TITLE=Tomcat.Cluster#1.Server#1 [%DATE% %TIME%]

+rem ---------------------------------------------------------------------------

+

+rem Guess CATALINA_HOME if not defined

+set "CURRENT_DIR=%cd%"

+if not "%CATALINA_HOME%" == "" goto gotHome

+set "CATALINA_HOME=%CURRENT_DIR%"

+if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome

+cd ..

+set "CATALINA_HOME=%cd%"

+cd "%CURRENT_DIR%"

+:gotHome

+if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome

+echo The CATALINA_HOME environment variable is not defined correctly

+echo This environment variable is needed to run this program

+goto end

+:okHome

+

+rem Copy CATALINA_BASE from CATALINA_HOME if not defined

+if not "%CATALINA_BASE%" == "" goto gotBase

+set "CATALINA_BASE=%CATALINA_HOME%"

+:gotBase

+

+rem Ensure that any user defined CLASSPATH variables are not used on startup,

+rem but allow them to be specified in setenv.bat, in rare case when it is needed.

+set CLASSPATH=

+

+rem Get standard environment variables

+if not exist "%CATALINA_BASE%\bin\setenv.bat" goto checkSetenvHome

+call "%CATALINA_BASE%\bin\setenv.bat"

+goto setenvDone

+:checkSetenvHome

+if exist "%CATALINA_HOME%\bin\setenv.bat" call "%CATALINA_HOME%\bin\setenv.bat"

+:setenvDone

+

+rem Get standard Java environment variables

+if exist "%CATALINA_HOME%\bin\setclasspath.bat" goto okSetclasspath

+echo Cannot find "%CATALINA_HOME%\bin\setclasspath.bat"

+echo This file is needed to run this program

+goto end

+:okSetclasspath

+set "BASEDIR=%CATALINA_HOME%"

+call "%CATALINA_HOME%\bin\setclasspath.bat" %1

+if errorlevel 1 goto end

+

+if not "%CATALINA_TMPDIR%" == "" goto gotTmpdir

+set "CATALINA_TMPDIR=%CATALINA_BASE%\temp"

+:gotTmpdir

+

+rem Add tomcat-juli.jar and bootstrap.jar to classpath

+rem tomcat-juli.jar can be over-ridden per instance

+rem Note that there are no quotes as we do not want to introduce random

+rem quotes into the CLASSPATH

+if "%CLASSPATH%" == "" goto emptyClasspath

+set "CLASSPATH=%CLASSPATH%;"

+:emptyClasspath

+if "%CATALINA_BASE%" == "%CATALINA_HOME%" goto juliClasspathHome

+if not exist "%CATALINA_BASE%\bin\tomcat-juli.jar" goto juliClasspathHome

+set "CLASSPATH=%CLASSPATH%%CATALINA_BASE%\bin\tomcat-juli.jar;%CATALINA_HOME%\bin\bootstrap.jar"

+goto juliClasspathDone

+:juliClasspathHome

+set "CLASSPATH=%CLASSPATH%%CATALINA_HOME%\bin\bootstrap.jar"

+:juliClasspathDone

+

+if not "%LOGGING_CONFIG%" == "" goto noJuliConfig

+set LOGGING_CONFIG=-Dnop

+if not exist "%CATALINA_BASE%\conf\logging.properties" goto noJuliConfig

+set LOGGING_CONFIG=-Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties"

+:noJuliConfig

+set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%

+

+if not "%LOGGING_MANAGER%" == "" goto noJuliManager

+set LOGGING_MANAGER=-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

+:noJuliManager

+set JAVA_OPTS=%JAVA_OPTS% %LOGGING_MANAGER%

+

+rem ----- Execute The Requested Command ---------------------------------------

+

+echo Using CATALINA_BASE:   "%CATALINA_BASE%"

+echo Using CATALINA_HOME:   "%CATALINA_HOME%"

+echo Using CATALINA_TMPDIR: "%CATALINA_TMPDIR%"

+if ""%1"" == ""debug"" goto use_jdk

+echo Using JRE_HOME:        "%JRE_HOME%"

+goto java_dir_displayed

+:use_jdk

+echo Using JAVA_HOME:       "%JAVA_HOME%"

+:java_dir_displayed

+echo Using CLASSPATH:       "%CLASSPATH%"

+

+set _EXECJAVA=%_RUNJAVA%

+set MAINCLASS=org.apache.catalina.startup.Bootstrap

+set ACTION=start

+set SECURITY_POLICY_FILE=

+set DEBUG_OPTS=

+set JPDA=

+

+if not ""%1"" == ""jpda"" goto noJpda

+set JPDA=jpda

+if not "%JPDA_TRANSPORT%" == "" goto gotJpdaTransport

+set JPDA_TRANSPORT=dt_socket

+:gotJpdaTransport

+if not "%JPDA_ADDRESS%" == "" goto gotJpdaAddress

+set JPDA_ADDRESS=8000

+:gotJpdaAddress

+if not "%JPDA_SUSPEND%" == "" goto gotJpdaSuspend

+set JPDA_SUSPEND=n

+:gotJpdaSuspend

+if not "%JPDA_OPTS%" == "" goto gotJpdaOpts

+set JPDA_OPTS=-agentlib:jdwp=transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=%JPDA_SUSPEND%

+:gotJpdaOpts

+shift

+:noJpda

+

+if ""%1"" == ""debug"" goto doDebug

+if ""%1"" == ""run"" goto doRun

+if ""%1"" == ""start"" goto doStart

+if ""%1"" == ""stop"" goto doStop

+if ""%1"" == ""version"" goto doVersion

+

+echo Usage:  catalina ( commands ... )

+echo commands:

+echo   debug             Start Catalina in a debugger

+echo   debug -security   Debug Catalina with a security manager

+echo   jpda start        Start Catalina under JPDA debugger

+echo   run               Start Catalina in the current window

+echo   run -security     Start in the current window with security manager

+echo   start             Start Catalina in a separate window

+echo   start -security   Start in a separate window with security manager

+echo   stop              Stop Catalina

+echo   version           What version of tomcat are you running?

+goto end

+

+:doDebug

+shift

+set _EXECJAVA=%_RUNJDB%

+set DEBUG_OPTS=-sourcepath "%CATALINA_HOME%\..\..\java"

+if not ""%1"" == ""-security"" goto execCmd

+shift

+echo Using Security Manager

+set "SECURITY_POLICY_FILE=%CATALINA_BASE%\conf\catalina.policy"

+goto execCmd

+

+:doRun

+shift

+if not ""%1"" == ""-security"" goto execCmd

+shift

+echo Using Security Manager

+set "SECURITY_POLICY_FILE=%CATALINA_BASE%\conf\catalina.policy"

+goto execCmd

+

+:doStart

+shift

+if not "%OS%" == "Windows_NT" goto noTitle

+if "%TITLE%" == "" set TITLE=Tomcat

+set _EXECJAVA=start "%TITLE%" %_RUNJAVA%

+goto gotTitle

+:noTitle

+set _EXECJAVA=start %_RUNJAVA%

+:gotTitle

+if not ""%1"" == ""-security"" goto execCmd

+shift

+echo Using Security Manager

+set "SECURITY_POLICY_FILE=%CATALINA_BASE%\conf\catalina.policy"

+goto execCmd

+

+:doStop

+shift

+set ACTION=stop

+set CATALINA_OPTS=

+goto execCmd

+

+:doVersion

+%_EXECJAVA% -classpath "%CATALINA_HOME%\lib\catalina.jar" org.apache.catalina.util.ServerInfo

+goto end

+

+

+:execCmd

+rem Get remaining unshifted command line arguments and save them in the

+set CMD_LINE_ARGS=

+:setArgs

+if ""%1""=="""" goto doneSetArgs

+set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1

+shift

+goto setArgs

+:doneSetArgs

+

+rem Execute Java with the applicable properties

+if not "%JPDA%" == "" goto doJpda

+if not "%SECURITY_POLICY_FILE%" == "" goto doSecurity

+%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%

+goto end

+:doSecurity

+%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Djava.security.manager -Djava.security.policy=="%SECURITY_POLICY_FILE%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%

+goto end

+:doJpda

+if not "%SECURITY_POLICY_FILE%" == "" goto doSecurityJpda

+%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %JPDA_OPTS% %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%

+goto end

+:doSecurityJpda

+%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %JPDA_OPTS% %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Djava.security.manager -Djava.security.policy=="%SECURITY_POLICY_FILE%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%

+goto end

+

+:end

diff --git a/tomcat-uid/bin/catalina.sh b/tomcat-uid/bin/catalina.sh
new file mode 100644
index 0000000..45ac16d
--- /dev/null
+++ b/tomcat-uid/bin/catalina.sh
@@ -0,0 +1,502 @@
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# -----------------------------------------------------------------------------
+# Start/Stop Script for the CATALINA Server
+#
+# Environment Variable Prerequisites
+#
+#   CATALINA_HOME   May point at your Catalina "build" directory.
+#
+#   CATALINA_BASE   (Optional) Base directory for resolving dynamic portions
+#                   of a Catalina installation.  If not present, resolves to
+#                   the same directory that CATALINA_HOME points to.
+#
+#   CATALINA_OUT    (Optional) Full path to a file where stdout and stderr
+#                   will be redirected.
+#                   Default is $CATALINA_BASE/logs/catalina.out
+#
+#   CATALINA_OPTS   (Optional) Java runtime options used when the "start",
+#                   or "run" command is executed.
+#
+#   CATALINA_TMPDIR (Optional) Directory path location of temporary directory
+#                   the JVM should use (java.io.tmpdir).  Defaults to
+#                   $CATALINA_BASE/temp.
+#
+#   JAVA_HOME       Must point at your Java Development Kit installation.
+#                   Required to run the with the "debug" argument.
+#
+#   JRE_HOME        Must point at your Java Development Kit installation.
+#                   Defaults to JAVA_HOME if empty.
+#
+#   JAVA_OPTS       (Optional) Java runtime options used when the "start",
+#                   "stop", or "run" command is executed.
+#
+#   JAVA_ENDORSED_DIRS (Optional) Lists of of colon separated directories
+#                   containing some jars in order to allow replacement of APIs
+#                   created outside of the JCP (i.e. DOM and SAX from W3C).
+#                   It can also be used to update the XML parser implementation.
+#                   Defaults to $CATALINA_HOME/endorsed.
+#
+#   JPDA_TRANSPORT  (Optional) JPDA transport used when the "jpda start"
+#                   command is executed. The default is "dt_socket".
+#
+#   JPDA_ADDRESS    (Optional) Java runtime options used when the "jpda start"
+#                   command is executed. The default is 8000.
+#
+#   JPDA_SUSPEND    (Optional) Java runtime options used when the "jpda start"
+#                   command is executed. Specifies whether JVM should suspend
+#                   execution immediately after startup. Default is "n".
+#
+#   JPDA_OPTS       (Optional) Java runtime options used when the "jpda start"
+#                   command is executed. If used, JPDA_TRANSPORT, JPDA_ADDRESS,
+#                   and JPDA_SUSPEND are ignored. Thus, all required jpda
+#                   options MUST be specified. The default is:
+#
+#                   -agentlib:jdwp=transport=$JPDA_TRANSPORT,
+#                       address=$JPDA_ADDRESS,server=y,suspend=$JPDA_SUSPEND
+#
+#   CATALINA_PID    (Optional) Path of the file which should contains the pid
+#                   of catalina startup java process, when start (fork) is used
+#
+#   LOGGING_CONFIG  (Optional) Override Tomcat's logging config file
+#                   Example (all one line)
+#                   LOGGING_CONFIG="-Djava.util.logging.config.file=$CATALINA_BASE/conf/logging.properties"
+#
+#   LOGGING_MANAGER (Optional) Override Tomcat's logging manager
+#                   Example (all one line)
+#                   LOGGING_MANAGER="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
+# -----------------------------------------------------------------------------
+
+# OS specific support.  $var _must_ be set to either true or false.
+cygwin=false
+os400=false
+darwin=false
+case "`uname`" in
+CYGWIN*) cygwin=true;;
+OS400*) os400=true;;
+Darwin*) darwin=true;;
+esac
+
+# resolve links - $0 may be a softlink
+PRG="$0"
+
+while [ -h "$PRG" ]; do
+  ls=`ls -ld "$PRG"`
+  link=`expr "$ls" : '.*-> \(.*\)$'`
+  if expr "$link" : '/.*' > /dev/null; then
+    PRG="$link"
+  else
+    PRG=`dirname "$PRG"`/"$link"
+  fi
+done
+
+# Get standard environment variables
+PRGDIR=`dirname "$PRG"`
+
+# Only set CATALINA_HOME if not already set
+[ -z "$CATALINA_HOME" ] && CATALINA_HOME=`cd "$PRGDIR/.." >/dev/null; pwd`
+
+# Copy CATALINA_BASE from CATALINA_HOME if not already set
+[ -z "$CATALINA_BASE" ] && CATALINA_BASE="$CATALINA_HOME"
+
+# Ensure that any user defined CLASSPATH variables are not used on startup,
+# but allow them to be specified in setenv.sh, in rare case when it is needed.
+CLASSPATH=
+
+if [ -r "$CATALINA_BASE/bin/setenv.sh" ]; then
+  . "$CATALINA_BASE/bin/setenv.sh"
+elif [ -r "$CATALINA_HOME/bin/setenv.sh" ]; then
+  . "$CATALINA_HOME/bin/setenv.sh"
+fi
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin; then
+  [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+  [ -n "$JRE_HOME" ] && JRE_HOME=`cygpath --unix "$JRE_HOME"`
+  [ -n "$CATALINA_HOME" ] && CATALINA_HOME=`cygpath --unix "$CATALINA_HOME"`
+  [ -n "$CATALINA_BASE" ] && CATALINA_BASE=`cygpath --unix "$CATALINA_BASE"`
+  [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
+fi
+
+# For OS400
+if $os400; then
+  # Set job priority to standard for interactive (interactive - 6) by using
+  # the interactive priority - 6, the helper threads that respond to requests
+  # will be running at the same priority as interactive jobs.
+  COMMAND='chgjob job('$JOBNAME') runpty(6)'
+  system $COMMAND
+
+  # Enable multi threading
+  export QIBM_MULTI_THREADED=Y
+fi
+
+# Get standard Java environment variables
+if $os400; then
+  # -r will Only work on the os400 if the files are:
+  # 1. owned by the user
+  # 2. owned by the PRIMARY group of the user
+  # this will not work if the user belongs in secondary groups
+  BASEDIR="$CATALINA_HOME"
+  . "$CATALINA_HOME"/bin/setclasspath.sh
+else
+  if [ -r "$CATALINA_HOME"/bin/setclasspath.sh ]; then
+    BASEDIR="$CATALINA_HOME"
+    . "$CATALINA_HOME"/bin/setclasspath.sh
+  else
+    echo "Cannot find $CATALINA_HOME/bin/setclasspath.sh"
+    echo "This file is needed to run this program"
+    exit 1
+  fi
+fi
+
+if [ -z "$CATALINA_BASE" ] ; then
+  CATALINA_BASE="$CATALINA_HOME"
+fi
+
+# Add tomcat-juli.jar and bootstrap.jar to classpath
+# tomcat-juli.jar can be over-ridden per instance
+if [ ! -z "$CLASSPATH" ] ; then
+  CLASSPATH="$CLASSPATH":
+fi
+if [ "$CATALINA_BASE" != "$CATALINA_HOME" ] && [ -r "$CATALINA_BASE/bin/tomcat-juli.jar" ] ; then
+  CLASSPATH="$CLASSPATH""$CATALINA_BASE"/bin/tomcat-juli.jar:"$CATALINA_HOME"/bin/bootstrap.jar
+else
+  CLASSPATH="$CLASSPATH""$CATALINA_HOME"/bin/bootstrap.jar
+fi
+
+if [ -z "$CATALINA_OUT" ] ; then
+  CATALINA_OUT="$CATALINA_BASE"/logs/catalina.out
+fi
+
+if [ -z "$CATALINA_TMPDIR" ] ; then
+  # Define the java.io.tmpdir to use for Catalina
+  CATALINA_TMPDIR="$CATALINA_BASE"/temp
+fi
+
+# Bugzilla 37848: When no TTY is available, don't output to console
+have_tty=0
+if [ "`tty`" != "not a tty" ]; then
+    have_tty=1
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+  JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
+  JRE_HOME=`cygpath --absolute --windows "$JRE_HOME"`
+  CATALINA_HOME=`cygpath --absolute --windows "$CATALINA_HOME"`
+  CATALINA_BASE=`cygpath --absolute --windows "$CATALINA_BASE"`
+  CATALINA_TMPDIR=`cygpath --absolute --windows "$CATALINA_TMPDIR"`
+  CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
+  JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
+fi
+
+# Set juli LogManager config file if it is present and an override has not been issued
+if [ -z "$LOGGING_CONFIG" ]; then
+  if [ -r "$CATALINA_BASE"/conf/logging.properties ]; then
+    LOGGING_CONFIG="-Djava.util.logging.config.file=$CATALINA_BASE/conf/logging.properties"
+  else
+    # Bugzilla 45585
+    LOGGING_CONFIG="-Dnop"
+  fi
+fi
+
+if [ -z "$LOGGING_MANAGER" ]; then
+  LOGGING_MANAGER="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
+fi
+
+# ----- Execute The Requested Command -----------------------------------------
+
+# Bugzilla 37848: only output this if we have a TTY
+if [ $have_tty -eq 1 ]; then
+  echo "Using CATALINA_BASE:   $CATALINA_BASE"
+  echo "Using CATALINA_HOME:   $CATALINA_HOME"
+  echo "Using CATALINA_TMPDIR: $CATALINA_TMPDIR"
+  if [ "$1" = "debug" ] ; then
+    echo "Using JAVA_HOME:       $JAVA_HOME"
+  else
+    echo "Using JRE_HOME:        $JRE_HOME"
+  fi
+  echo "Using CLASSPATH:       $CLASSPATH"
+  if [ ! -z "$CATALINA_PID" ]; then
+    echo "Using CATALINA_PID:    $CATALINA_PID"
+  fi
+fi
+
+if [ "$1" = "jpda" ] ; then
+  if [ -z "$JPDA_TRANSPORT" ]; then
+    JPDA_TRANSPORT="dt_socket"
+  fi
+  if [ -z "$JPDA_ADDRESS" ]; then
+    JPDA_ADDRESS="8000"
+  fi
+  if [ -z "$JPDA_SUSPEND" ]; then
+    JPDA_SUSPEND="n"
+  fi
+  if [ -z "$JPDA_OPTS" ]; then
+    JPDA_OPTS="-agentlib:jdwp=transport=$JPDA_TRANSPORT,address=$JPDA_ADDRESS,server=y,suspend=$JPDA_SUSPEND"
+  fi
+  CATALINA_OPTS="$CATALINA_OPTS $JPDA_OPTS"
+  shift
+fi
+
+if [ "$1" = "debug" ] ; then
+  if $os400; then
+    echo "Debug command not available on OS400"
+    exit 1
+  else
+    shift
+    if [ "$1" = "-security" ] ; then
+      if [ $have_tty -eq 1 ]; then
+        echo "Using Security Manager"
+      fi
+      shift
+      exec "$_RUNJDB" "$LOGGING_CONFIG" $LOGGING_MANAGER $JAVA_OPTS $CATALINA_OPTS \
+        -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
+        -sourcepath "$CATALINA_HOME"/../../java \
+        -Djava.security.manager \
+        -Djava.security.policy=="$CATALINA_BASE"/conf/catalina.policy \
+        -Dcatalina.base="$CATALINA_BASE" \
+        -Dcatalina.home="$CATALINA_HOME" \
+        -Djava.io.tmpdir="$CATALINA_TMPDIR" \
+        org.apache.catalina.startup.Bootstrap "$@" start
+    else
+      exec "$_RUNJDB" "$LOGGING_CONFIG" $LOGGING_MANAGER $JAVA_OPTS $CATALINA_OPTS \
+        -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
+        -sourcepath "$CATALINA_HOME"/../../java \
+        -Dcatalina.base="$CATALINA_BASE" \
+        -Dcatalina.home="$CATALINA_HOME" \
+        -Djava.io.tmpdir="$CATALINA_TMPDIR" \
+        org.apache.catalina.startup.Bootstrap "$@" start
+    fi
+  fi
+
+elif [ "$1" = "run" ]; then
+
+  shift
+  if [ "$1" = "-security" ] ; then
+    if [ $have_tty -eq 1 ]; then
+      echo "Using Security Manager"
+    fi
+    shift
+    exec "$_RUNJAVA" "$LOGGING_CONFIG" $LOGGING_MANAGER $JAVA_OPTS $CATALINA_OPTS \
+      -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
+      -Djava.security.manager \
+      -Djava.security.policy=="$CATALINA_BASE"/conf/catalina.policy \
+      -Dcatalina.base="$CATALINA_BASE" \
+      -Dcatalina.home="$CATALINA_HOME" \
+      -Djava.io.tmpdir="$CATALINA_TMPDIR" \
+      org.apache.catalina.startup.Bootstrap "$@" start
+  else
+    exec "$_RUNJAVA" "$LOGGING_CONFIG" $LOGGING_MANAGER $JAVA_OPTS $CATALINA_OPTS \
+      -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
+      -Dcatalina.base="$CATALINA_BASE" \
+      -Dcatalina.home="$CATALINA_HOME" \
+      -Djava.io.tmpdir="$CATALINA_TMPDIR" \
+      org.apache.catalina.startup.Bootstrap "$@" start
+  fi
+
+elif [ "$1" = "start" ] ; then
+
+  if [ ! -z "$CATALINA_PID" ]; then
+    if [ -f "$CATALINA_PID" ]; then
+      if [ -s "$CATALINA_PID" ]; then
+        echo "Existing PID file found during start."
+        if [ -r "$CATALINA_PID" ]; then
+          PID=`cat "$CATALINA_PID"`
+          ps -p $PID >/dev/null 2>&1
+          if [ $? -eq 0 ] ; then
+            echo "Tomcat appears to still be running with PID $PID. Start aborted."
+            exit 1
+          else
+            echo "Removing/clearing stale PID file."
+            rm -f "$CATALINA_PID" >/dev/null 2>&1
+            if [ $? != 0 ]; then
+              if [ -w "$CATALINA_PID" ]; then
+                cat /dev/null > "$CATALINA_PID"
+              else
+                echo "Unable to remove or clear stale PID file. Start aborted."
+                exit 1
+              fi
+            fi
+          fi
+        else
+          echo "Unable to read PID file. Start aborted."
+          exit 1
+        fi
+      else
+        rm -f "$CATALINA_PID" >/dev/null 2>&1
+        if [ $? != 0 ]; then
+          if [ ! -w "$CATALINA_PID" ]; then
+            echo "Unable to remove or write to empty PID file. Start aborted."
+            exit 1
+          fi
+        fi
+      fi
+    fi
+  fi
+
+  shift
+  touch "$CATALINA_OUT"
+  if [ "$1" = "-security" ] ; then
+    if [ $have_tty -eq 1 ]; then
+      echo "Using Security Manager"
+    fi
+    shift
+    "$_RUNJAVA" "$LOGGING_CONFIG" $LOGGING_MANAGER $JAVA_OPTS $CATALINA_OPTS \
+      -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
+      -Djava.security.manager \
+      -Djava.security.policy=="$CATALINA_BASE"/conf/catalina.policy \
+      -Dcatalina.base="$CATALINA_BASE" \
+      -Dcatalina.home="$CATALINA_HOME" \
+      -Djava.io.tmpdir="$CATALINA_TMPDIR" \
+      org.apache.catalina.startup.Bootstrap "$@" start \
+      >> "$CATALINA_OUT" 2>&1 &
+
+  else
+    "$_RUNJAVA" "$LOGGING_CONFIG" $LOGGING_MANAGER $JAVA_OPTS $CATALINA_OPTS \
+      -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
+      -Dcatalina.base="$CATALINA_BASE" \
+      -Dcatalina.home="$CATALINA_HOME" \
+      -Djava.io.tmpdir="$CATALINA_TMPDIR" \
+      org.apache.catalina.startup.Bootstrap "$@" start \
+      >> "$CATALINA_OUT" 2>&1 &
+
+  fi
+
+  if [ ! -z "$CATALINA_PID" ]; then
+    echo $! > "$CATALINA_PID"
+  fi
+
+elif [ "$1" = "stop" ] ; then
+
+  shift
+
+  SLEEP=5
+  if [ ! -z "$1" ]; then
+    echo $1 | grep "[^0-9]" >/dev/null 2>&1
+    if [ $? -gt 0 ]; then
+      SLEEP=$1
+      shift
+    fi
+  fi
+
+  FORCE=0
+  if [ "$1" = "-force" ]; then
+    shift
+    FORCE=1
+  fi
+
+  if [ ! -z "$CATALINA_PID" ]; then
+    if [ -f "$CATALINA_PID" ]; then
+      if [ -s "$CATALINA_PID" ]; then
+        kill -0 `cat "$CATALINA_PID"` >/dev/null 2>&1
+        if [ $? -gt 0 ]; then
+          echo "PID file found but no matching process was found. Stop aborted."
+          exit 1
+        fi
+      else
+        echo "PID file is empty and has been ignored."
+      fi
+    else
+      echo "\$CATALINA_PID was set but the specified file does not exist. Is Tomcat running? Stop aborted."
+      exit 1
+    fi
+  fi
+  
+  "$_RUNJAVA" $LOGGING_MANAGER $JAVA_OPTS \
+    -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
+    -Dcatalina.base="$CATALINA_BASE" \
+    -Dcatalina.home="$CATALINA_HOME" \
+    -Djava.io.tmpdir="$CATALINA_TMPDIR" \
+    org.apache.catalina.startup.Bootstrap "$@" stop
+
+  if [ ! -z "$CATALINA_PID" ]; then
+    if [ -f "$CATALINA_PID" ]; then
+      while [ $SLEEP -ge 0 ]; do
+        kill -0 `cat "$CATALINA_PID"` >/dev/null 2>&1
+        if [ $? -gt 0 ]; then
+          rm -f "$CATALINA_PID" >/dev/null 2>&1
+          if [ $? != 0 ]; then
+            if [ -w "$CATALINA_PID" ]; then
+              cat /dev/null > "$CATALINA_PID"
+            else
+              echo "Tomcat stopped but the PID file could not be removed or cleared."
+            fi
+          fi
+          break
+        fi
+        if [ $SLEEP -gt 0 ]; then
+          sleep 1
+        fi
+        if [ $SLEEP -eq 0 ]; then
+          if [ $FORCE -eq 0 ]; then
+            echo "Tomcat did not stop in time. PID file was not removed."
+          fi
+        fi
+        SLEEP=`expr $SLEEP - 1 `
+      done
+    fi
+  fi
+
+  if [ $FORCE -eq 1 ]; then
+    if [ -z "$CATALINA_PID" ]; then
+      echo "Kill failed: \$CATALINA_PID not set"
+    else
+      if [ -f "$CATALINA_PID" ]; then
+        PID=`cat "$CATALINA_PID"`
+        echo "Killing Tomcat with the PID: $PID"
+        kill -9 $PID
+        rm -f "$CATALINA_PID" >/dev/null 2>&1
+        if [ $? != 0 ]; then
+          echo "Tomcat was killed but the PID file could not be removed."
+        fi
+      fi
+    fi
+  fi
+
+elif [ "$1" = "version" ] ; then
+
+    "$_RUNJAVA"   \
+      -classpath "$CATALINA_HOME/lib/catalina.jar" \
+      org.apache.catalina.util.ServerInfo
+
+else
+
+  echo "Usage: catalina.sh ( commands ... )"
+  echo "commands:"
+  if $os400; then
+    echo "  debug             Start Catalina in a debugger (not available on OS400)"
+    echo "  debug -security   Debug Catalina with a security manager (not available on OS400)"
+  else
+    echo "  debug             Start Catalina in a debugger"
+    echo "  debug -security   Debug Catalina with a security manager"
+  fi
+  echo "  jpda start        Start Catalina under JPDA debugger"
+  echo "  run               Start Catalina in the current window"
+  echo "  run -security     Start in the current window with security manager"
+  echo "  start             Start Catalina in a separate window"
+  echo "  start -security   Start in a separate window with security manager"
+  echo "  stop              Stop Catalina, waiting up to 5 seconds for the process to end"
+  echo "  stop n            Stop Catalina, waiting up to n seconds for the process to end"
+  echo "  stop -force       Stop Catalina, wait up to 5 seconds and then use kill -KILL if still running"
+  echo "  stop n -force     Stop Catalina, wait up to n seconds and then use kill -KILL if still running"
+  echo "  version           What version of tomcat are you running?"
+  echo "Note: Waiting for the process to end and use of the -force option require that \$CATALINA_PID is defined"
+  exit 1
+
+fi
diff --git a/tomcat-uid/bin/commons-daemon-native.tar.gz b/tomcat-uid/bin/commons-daemon-native.tar.gz
new file mode 100644
index 0000000..6d25918
--- /dev/null
+++ b/tomcat-uid/bin/commons-daemon-native.tar.gz
Binary files differ
diff --git a/tomcat-uid/bin/commons-daemon.jar b/tomcat-uid/bin/commons-daemon.jar
new file mode 100644
index 0000000..2b6b9c6
--- /dev/null
+++ b/tomcat-uid/bin/commons-daemon.jar
Binary files differ
diff --git a/tomcat-uid/bin/cpappend.bat b/tomcat-uid/bin/cpappend.bat
new file mode 100644
index 0000000..455e832
--- /dev/null
+++ b/tomcat-uid/bin/cpappend.bat
@@ -0,0 +1,33 @@
+@echo off

+rem Licensed to the Apache Software Foundation (ASF) under one or more

+rem contributor license agreements.  See the NOTICE file distributed with

+rem this work for additional information regarding copyright ownership.

+rem The ASF licenses this file to You under the Apache License, Version 2.0

+rem (the "License"); you may not use this file except in compliance with

+rem the License.  You may obtain a copy of the License at

+rem

+rem     http://www.apache.org/licenses/LICENSE-2.0

+rem

+rem Unless required by applicable law or agreed to in writing, software

+rem distributed under the License is distributed on an "AS IS" BASIS,

+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+rem See the License for the specific language governing permissions and

+rem limitations under the License.

+

+rem ---------------------------------------------------------------------------

+rem Append to CLASSPATH

+rem ---------------------------------------------------------------------------

+

+rem Process the first argument

+if ""%1"" == """" goto end

+set CLASSPATH=%CLASSPATH%;%1

+shift

+

+rem Process the remaining arguments

+:setArgs

+if ""%1"" == """" goto doneSetArgs

+set CLASSPATH=%CLASSPATH% %1

+shift

+goto setArgs

+:doneSetArgs

+:end

diff --git a/tomcat-uid/bin/daemon.sh b/tomcat-uid/bin/daemon.sh
new file mode 100644
index 0000000..fc18f76
--- /dev/null
+++ b/tomcat-uid/bin/daemon.sh
@@ -0,0 +1,244 @@
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# -----------------------------------------------------------------------------
+# Commons Daemon wrapper script.
+# -----------------------------------------------------------------------------
+#
+# resolve links - $0 may be a softlink
+ARG0="$0"
+while [ -h "$ARG0" ]; do
+  ls=`ls -ld "$ARG0"`
+  link=`expr "$ls" : '.*-> \(.*\)$'`
+  if expr "$link" : '/.*' > /dev/null; then
+    ARG0="$link"
+  else
+    ARG0="`dirname $ARG0`/$link"
+  fi
+done
+DIRNAME="`dirname $ARG0`"
+PROGRAM="`basename $ARG0`"
+while [ ".$1" != . ]
+do
+  case "$1" in
+    --java-home )
+        JAVA_HOME="$2"
+        shift; shift;
+        continue
+    ;;
+    --catalina-home )
+        CATALINA_HOME="$2"
+        shift; shift;
+        continue
+    ;;
+    --catalina-base )
+        CATALINA_BASE="$2"
+        shift; shift;
+        continue
+    ;;
+    --catalina-pid )
+        CATALINA_PID="$2"
+        shift; shift;
+        continue
+    ;;
+    --tomcat-user )
+        TOMCAT_USER="$2"
+        shift; shift;
+        continue
+    ;;
+    --service-start-wait-time )
+        SERVICE_START_WAIT_TIME="$2"
+        shift; shift;
+        continue
+    ;;
+    * )
+        break
+    ;;
+  esac
+done
+# OS specific support (must be 'true' or 'false').
+cygwin=false;
+darwin=false;
+case "`uname`" in
+    CYGWIN*)
+        cygwin=true
+        ;;
+    Darwin*)
+        darwin=true
+        ;;
+esac
+
+# Use the maximum available, or set MAX_FD != -1 to use that
+test ".$MAX_FD" = . && MAX_FD="maximum"
+# Setup parameters for running the jsvc
+#
+test ".$TOMCAT_USER" = . && TOMCAT_USER=tomcat
+# Set JAVA_HOME to working JDK or JRE
+# JAVA_HOME=/opt/jdk-1.6.0.22
+# If not set we'll try to guess the JAVA_HOME
+# from java binary if on the PATH
+#
+if [ -z "$JAVA_HOME" ]; then
+    JAVA_BIN="`which java 2>/dev/null || type java 2>&1`"
+    test -x "$JAVA_BIN" && JAVA_HOME="`dirname $JAVA_BIN`"
+    test ".$JAVA_HOME" != . && JAVA_HOME=`cd "$JAVA_HOME/.." >/dev/null; pwd`
+else
+    JAVA_BIN="$JAVA_HOME/bin/java"
+fi
+
+# Only set CATALINA_HOME if not already set
+test ".$CATALINA_HOME" = . && CATALINA_HOME=`cd "$DIRNAME/.." >/dev/null; pwd`
+test ".$CATALINA_BASE" = . && CATALINA_BASE="$CATALINA_HOME"
+test ".$CATALINA_MAIN" = . && CATALINA_MAIN=org.apache.catalina.startup.Bootstrap
+test ".$JSVC" = . && JSVC="$CATALINA_BASE/bin/jsvc"
+# Set the default service-start wait time if necessary
+test ".$SERVICE_START_WAIT_TIME" = . && SERVICE_START_WAIT_TIME=10
+
+# Ensure that any user defined CLASSPATH variables are not used on startup,
+# but allow them to be specified in setenv.sh, in rare case when it is needed.
+CLASSPATH=
+JAVA_OPTS=
+if [ -r "$CATALINA_BASE/bin/setenv.sh" ]; then
+  . "$CATALINA_BASE/bin/setenv.sh"
+elif [ -r "$CATALINA_HOME/bin/setenv.sh" ]; then
+  . "$CATALINA_HOME/bin/setenv.sh"
+fi
+
+# Add on extra jar files to CLASSPATH
+# tomcat-juli.jar can be over-ridden per instance
+test ".$CLASSPATH" != . && CLASSPATH="${CLASSPATH}:"
+if [ "$CATALINA_BASE" != "$CATALINA_HOME" ] && [ -r "$CATALINA_BASE/bin/tomcat-juli.jar" ] ; then
+  CLASSPATH="$CLASSPATH$CATALINA_BASE/bin/tomcat-juli.jar:$CATALINA_HOME/bin/commons-daemon.jar:$CATALINA_HOME/bin/bootstrap.jar"
+else
+  CLASSPATH="$CLASSPATH$CATALINA_HOME/bin/commons-daemon.jar:$CATALINA_HOME/bin/bootstrap.jar"
+fi
+
+test ".$CATALINA_OUT" = . && CATALINA_OUT="$CATALINA_BASE/logs/catalina-daemon.out"
+test ".$CATALINA_TMP" = . && CATALINA_TMP="$CATALINA_BASE/temp"
+
+# Set juli LogManager config file if it is present and an override has not been issued
+if [ -z "$LOGGING_CONFIG" ]; then
+  if [ -r "$CATALINA_BASE/conf/logging.properties" ]; then
+    LOGGING_CONFIG="-Djava.util.logging.config.file=$CATALINA_BASE/conf/logging.properties"
+  else
+    # Bugzilla 45585
+    LOGGING_CONFIG="-Dnop"
+  fi
+fi
+
+test ".$LOGGING_MANAGER" = . && LOGGING_MANAGER="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
+JAVA_OPTS="$JAVA_OPTS $LOGGING_MANAGER"
+
+# Set -pidfile
+test ".$CATALINA_PID" = . && CATALINA_PID="$CATALINA_BASE/logs/catalina-daemon.pid"
+
+# Increase the maximum file descriptors if we can
+if [ "$cygwin" = "false" ]; then
+    MAX_FD_LIMIT=`ulimit -H -n`
+    if [ "$?" -eq 0 ]; then
+        # Darwin does not allow RLIMIT_INFINITY on file soft limit
+        if [ "$darwin" = "true" -a "$MAX_FD_LIMIT" = "unlimited" ]; then
+            MAX_FD_LIMIT=`/usr/sbin/sysctl -n kern.maxfilesperproc`
+        fi
+        test ".$MAX_FD" = ".maximum" && MAX_FD="$MAX_FD_LIMIT"
+        ulimit -n $MAX_FD
+        if [ "$?" -ne 0 ]; then
+            echo "$PROGRAM: Could not set maximum file descriptor limit: $MAX_FD"
+        fi
+    else
+        echo "$PROGRAM: Could not query system maximum file descriptor limit: $MAX_FD_LIMIT"
+    fi
+fi
+
+# ----- Execute The Requested Command -----------------------------------------
+case "$1" in
+    run     )
+      shift
+      "$JSVC" $* \
+      $JSVC_OPTS \
+      -java-home "$JAVA_HOME" \
+      -pidfile "$CATALINA_PID" \
+      -wait "$SERVICE_START_WAIT_TIME" \
+      -nodetach \
+      -outfile "&1" \
+      -errfile "&2" \
+      -classpath "$CLASSPATH" \
+      "$LOGGING_CONFIG" $JAVA_OPTS $CATALINA_OPTS \
+      -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" \
+      -Dcatalina.base="$CATALINA_BASE" \
+      -Dcatalina.home="$CATALINA_HOME" \
+      -Djava.io.tmpdir="$CATALINA_TMP" \
+      $CATALINA_MAIN
+      exit $?
+    ;;
+    start   )
+      "$JSVC" $JSVC_OPTS \
+      -java-home "$JAVA_HOME" \
+      -user $TOMCAT_USER \
+      -pidfile "$CATALINA_PID" \
+      -wait "$SERVICE_START_WAIT_TIME" \
+      -outfile "$CATALINA_OUT" \
+      -errfile "&1" \
+      -classpath "$CLASSPATH" \
+      "$LOGGING_CONFIG" $JAVA_OPTS $CATALINA_OPTS \
+      -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" \
+      -Dcatalina.base="$CATALINA_BASE" \
+      -Dcatalina.home="$CATALINA_HOME" \
+      -Djava.io.tmpdir="$CATALINA_TMP" \
+      $CATALINA_MAIN
+      exit $?
+    ;;
+    stop    )
+      "$JSVC" $JSVC_OPTS \
+      -stop \
+      -pidfile "$CATALINA_PID" \
+      -classpath "$CLASSPATH" \
+      -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" \
+      -Dcatalina.base="$CATALINA_BASE" \
+      -Dcatalina.home="$CATALINA_HOME" \
+      -Djava.io.tmpdir="$CATALINA_TMP" \
+      $CATALINA_MAIN
+      exit $?
+    ;;
+    version  )
+      "$JSVC" \
+      -java-home "$JAVA_HOME" \
+      -pidfile "$CATALINA_PID" \
+      -classpath "$CLASSPATH" \
+      -errfile "&2" \
+      -version \
+      -check \
+      $CATALINA_MAIN
+      if [ "$?" = 0 ]; then
+        "$JAVA_BIN" \
+        -classpath "$CATALINA_HOME/lib/catalina.jar" \
+        org.apache.catalina.util.ServerInfo
+      fi
+      exit $?
+    ;;
+    *       )
+      echo "Unknown command: \`$1'"
+      echo "Usage: $PROGRAM ( commands ... )"
+      echo "commands:"
+      echo "  run               Start Tomcat without detaching from console"
+      echo "  start             Start Tomcat"
+      echo "  stop              Stop Tomcat"
+      echo "  version           What version of commons daemon and Tomcat"
+      echo "                    are you running?"
+      exit 1
+    ;;
+esac
diff --git a/tomcat-uid/bin/digest.bat b/tomcat-uid/bin/digest.bat
new file mode 100644
index 0000000..fbc36d3
--- /dev/null
+++ b/tomcat-uid/bin/digest.bat
@@ -0,0 +1,54 @@
+@echo off

+rem Licensed to the Apache Software Foundation (ASF) under one or more

+rem contributor license agreements.  See the NOTICE file distributed with

+rem this work for additional information regarding copyright ownership.

+rem The ASF licenses this file to You under the Apache License, Version 2.0

+rem (the "License"); you may not use this file except in compliance with

+rem the License.  You may obtain a copy of the License at

+rem

+rem     http://www.apache.org/licenses/LICENSE-2.0

+rem

+rem Unless required by applicable law or agreed to in writing, software

+rem distributed under the License is distributed on an "AS IS" BASIS,

+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+rem See the License for the specific language governing permissions and

+rem limitations under the License.

+

+if "%OS%" == "Windows_NT" setlocal

+rem ---------------------------------------------------------------------------

+rem Script to digest password using the algorithm specified

+rem ---------------------------------------------------------------------------

+

+rem Guess CATALINA_HOME if not defined

+if not "%CATALINA_HOME%" == "" goto gotHome

+set CATALINA_HOME=.

+if exist "%CATALINA_HOME%\bin\tool-wrapper.bat" goto okHome

+set CATALINA_HOME=..

+:gotHome

+if exist "%CATALINA_HOME%\bin\tool-wrapper.bat" goto okHome

+echo The CATALINA_HOME environment variable is not defined correctly

+echo This environment variable is needed to run this program

+goto end

+:okHome

+

+set "EXECUTABLE=%CATALINA_HOME%\bin\tool-wrapper.bat"

+

+rem Check that target executable exists

+if exist "%EXECUTABLE%" goto okExec

+echo Cannot find "%EXECUTABLE%"

+echo This file is needed to run this program

+goto end

+:okExec

+

+rem Get remaining unshifted command line arguments and save them in the

+set CMD_LINE_ARGS=

+:setArgs

+if ""%1""=="""" goto doneSetArgs

+set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1

+shift

+goto setArgs

+:doneSetArgs

+

+call "%EXECUTABLE%" -server org.apache.catalina.realm.RealmBase %CMD_LINE_ARGS%

+

+:end

diff --git a/tomcat-uid/bin/digest.sh b/tomcat-uid/bin/digest.sh
new file mode 100644
index 0000000..1b5d5e7
--- /dev/null
+++ b/tomcat-uid/bin/digest.sh
@@ -0,0 +1,46 @@
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# -----------------------------------------------------------------------------
+# Script to digest password using the algorithm specified
+# -----------------------------------------------------------------------------
+
+# resolve links - $0 may be a softlink
+PRG="$0"
+
+while [ -h "$PRG" ] ; do
+  ls=`ls -ld "$PRG"`
+  link=`expr "$ls" : '.*-> \(.*\)$'`
+  if expr "$link" : '/.*' > /dev/null; then
+    PRG="$link"
+  else
+    PRG=`dirname "$PRG"`/"$link"
+  fi
+done
+ 
+PRGDIR=`dirname "$PRG"`
+EXECUTABLE=tool-wrapper.sh
+
+# Check that target executable exists
+if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
+  echo "Cannot find $PRGDIR/$EXECUTABLE"
+  echo "The file is absent or does not have execute permission"
+  echo "This file is needed to run this program"
+  exit 1
+fi
+
+exec "$PRGDIR"/"$EXECUTABLE" -server org.apache.catalina.realm.RealmBase "$@"
diff --git a/tomcat-uid/bin/setclasspath.bat b/tomcat-uid/bin/setclasspath.bat
new file mode 100644
index 0000000..360b9e4
--- /dev/null
+++ b/tomcat-uid/bin/setclasspath.bat
@@ -0,0 +1,80 @@
+@echo off

+rem Licensed to the Apache Software Foundation (ASF) under one or more

+rem contributor license agreements.  See the NOTICE file distributed with

+rem this work for additional information regarding copyright ownership.

+rem The ASF licenses this file to You under the Apache License, Version 2.0

+rem (the "License"); you may not use this file except in compliance with

+rem the License.  You may obtain a copy of the License at

+rem

+rem     http://www.apache.org/licenses/LICENSE-2.0

+rem

+rem Unless required by applicable law or agreed to in writing, software

+rem distributed under the License is distributed on an "AS IS" BASIS,

+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+rem See the License for the specific language governing permissions and

+rem limitations under the License.

+

+rem ---------------------------------------------------------------------------

+rem Set CLASSPATH and Java options

+rem ---------------------------------------------------------------------------

+

+rem Make sure prerequisite environment variables are set

+if not "%JAVA_HOME%" == "" goto gotJdkHome

+if not "%JRE_HOME%" == "" goto gotJreHome

+echo Neither the JAVA_HOME nor the JRE_HOME environment variable is defined

+echo At least one of these environment variable is needed to run this program

+goto exit

+

+:gotJreHome

+if not exist "%JRE_HOME%\bin\java.exe" goto noJavaHome

+if not exist "%JRE_HOME%\bin\javaw.exe" goto noJavaHome

+if not ""%1"" == ""debug"" goto okJavaHome

+echo JAVA_HOME should point to a JDK in order to run in debug mode.

+goto exit

+

+:gotJdkHome

+if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome

+if not exist "%JAVA_HOME%\bin\javaw.exe" goto noJavaHome

+if not exist "%JAVA_HOME%\bin\jdb.exe" goto noJavaHome

+if not exist "%JAVA_HOME%\bin\javac.exe" goto noJavaHome

+if not "%JRE_HOME%" == "" goto okJavaHome

+set "JRE_HOME=%JAVA_HOME%"

+goto okJavaHome

+

+:noJavaHome

+echo The JAVA_HOME environment variable is not defined correctly

+echo This environment variable is needed to run this program

+echo NB: JAVA_HOME should point to a JDK not a JRE

+goto exit

+:okJavaHome

+

+if not "%BASEDIR%" == "" goto gotBasedir

+echo The BASEDIR environment variable is not defined

+echo This environment variable is needed to run this program

+goto exit

+:gotBasedir

+if exist "%BASEDIR%\bin\setclasspath.bat" goto okBasedir

+echo The BASEDIR environment variable is not defined correctly

+echo This environment variable is needed to run this program

+goto exit

+:okBasedir

+

+rem Don't override the endorsed dir if the user has set it previously

+if not "%JAVA_ENDORSED_DIRS%" == "" goto gotEndorseddir

+rem Set the default -Djava.endorsed.dirs argument

+set "JAVA_ENDORSED_DIRS=%BASEDIR%\endorsed"

+:gotEndorseddir

+

+rem Set standard command for invoking Java.

+rem Note that NT requires a window name argument when using start.

+rem Also note the quoting as JAVA_HOME may contain spaces.

+set _RUNJAVA="%JRE_HOME%\bin\java"

+set _RUNJDB="%JAVA_HOME%\bin\jdb"

+

+goto end

+

+:exit

+exit /b 1

+

+:end

+exit /b 0

diff --git a/tomcat-uid/bin/setclasspath.sh b/tomcat-uid/bin/setclasspath.sh
new file mode 100644
index 0000000..590fd6e
--- /dev/null
+++ b/tomcat-uid/bin/setclasspath.sh
@@ -0,0 +1,117 @@
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# -----------------------------------------------------------------------------
+#  Set CLASSPATH and Java options
+# -----------------------------------------------------------------------------
+
+# Make sure prerequisite environment variables are set
+if [ -z "$JAVA_HOME" -a -z "$JRE_HOME" ]; then
+  if $darwin; then
+    # Bugzilla 54390
+    if [ -x '/usr/libexec/java_home' ] ; then
+      export JAVA_HOME=`/usr/libexec/java_home`
+    # Bugzilla 37284 (reviewed).
+    elif [ -d "/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home" ]; then
+      export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home"
+    fi
+  else
+    JAVA_PATH=`which java 2>/dev/null`
+    if [ "x$JAVA_PATH" != "x" ]; then
+      JAVA_PATH=`dirname $JAVA_PATH 2>/dev/null`
+      JRE_HOME=`dirname $JAVA_PATH 2>/dev/null`
+    fi
+    if [ "x$JRE_HOME" = "x" ]; then
+      # XXX: Should we try other locations?
+      if [ -x /usr/bin/java ]; then
+        JRE_HOME=/usr
+      fi
+    fi
+  fi
+  if [ -z "$JAVA_HOME" -a -z "$JRE_HOME" ]; then
+    echo "Neither the JAVA_HOME nor the JRE_HOME environment variable is defined"
+    echo "At least one of these environment variable is needed to run this program"
+    exit 1
+  fi
+fi
+if [ -z "$JAVA_HOME" -a "$1" = "debug" ]; then
+  echo "JAVA_HOME should point to a JDK in order to run in debug mode."
+  exit 1
+fi
+if [ -z "$JRE_HOME" ]; then
+  JRE_HOME="$JAVA_HOME"
+fi
+
+# If we're running under jdb, we need a full jdk.
+if [ "$1" = "debug" ] ; then
+  if [ "$os400" = "true" ]; then
+    if [ ! -x "$JAVA_HOME"/bin/java -o ! -x "$JAVA_HOME"/bin/javac ]; then
+      echo "The JAVA_HOME environment variable is not defined correctly"
+      echo "This environment variable is needed to run this program"
+      echo "NB: JAVA_HOME should point to a JDK not a JRE"
+      exit 1
+    fi
+  else
+    if [ ! -x "$JAVA_HOME"/bin/java -o ! -x "$JAVA_HOME"/bin/jdb -o ! -x "$JAVA_HOME"/bin/javac ]; then
+      echo "The JAVA_HOME environment variable is not defined correctly"
+      echo "This environment variable is needed to run this program"
+      echo "NB: JAVA_HOME should point to a JDK not a JRE"
+      exit 1
+    fi
+  fi
+fi
+if [ -z "$BASEDIR" ]; then
+  echo "The BASEDIR environment variable is not defined"
+  echo "This environment variable is needed to run this program"
+  exit 1
+fi
+if [ ! -x "$BASEDIR"/bin/setclasspath.sh ]; then
+  if $os400; then
+    # -x will Only work on the os400 if the files are:
+    # 1. owned by the user
+    # 2. owned by the PRIMARY group of the user
+    # this will not work if the user belongs in secondary groups
+    eval
+  else
+    echo "The BASEDIR environment variable is not defined correctly"
+    echo "This environment variable is needed to run this program"
+    exit 1
+  fi
+fi
+
+# Don't override the endorsed dir if the user has set it previously
+if [ -z "$JAVA_ENDORSED_DIRS" ]; then
+  # Set the default -Djava.endorsed.dirs argument
+  JAVA_ENDORSED_DIRS="$BASEDIR"/endorsed
+fi
+
+# OSX hack to CLASSPATH
+JIKESPATH=
+if [ `uname -s` = "Darwin" ]; then
+  OSXHACK="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes"
+  if [ -d "$OSXHACK" ]; then
+    for i in "$OSXHACK"/*.jar; do
+      JIKESPATH="$JIKESPATH":"$i"
+    done
+  fi
+fi
+
+# Set standard commands for invoking Java.
+_RUNJAVA="$JRE_HOME"/bin/java
+if [ "$os400" != "true" ]; then
+  _RUNJDB="$JAVA_HOME"/bin/jdb
+fi
diff --git a/tomcat-uid/bin/shutdown.bat b/tomcat-uid/bin/shutdown.bat
new file mode 100644
index 0000000..d4a0335
--- /dev/null
+++ b/tomcat-uid/bin/shutdown.bat
@@ -0,0 +1,57 @@
+@echo off

+rem Licensed to the Apache Software Foundation (ASF) under one or more

+rem contributor license agreements.  See the NOTICE file distributed with

+rem this work for additional information regarding copyright ownership.

+rem The ASF licenses this file to You under the Apache License, Version 2.0

+rem (the "License"); you may not use this file except in compliance with

+rem the License.  You may obtain a copy of the License at

+rem

+rem     http://www.apache.org/licenses/LICENSE-2.0

+rem

+rem Unless required by applicable law or agreed to in writing, software

+rem distributed under the License is distributed on an "AS IS" BASIS,

+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+rem See the License for the specific language governing permissions and

+rem limitations under the License.

+

+if "%OS%" == "Windows_NT" setlocal

+rem ---------------------------------------------------------------------------

+rem Stop script for the CATALINA Server

+rem ---------------------------------------------------------------------------

+

+rem Guess CATALINA_HOME if not defined

+set "CURRENT_DIR=%cd%"

+if not "%CATALINA_HOME%" == "" goto gotHome

+set "CATALINA_HOME=%CURRENT_DIR%"

+if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome

+cd ..

+set "CATALINA_HOME=%cd%"

+cd "%CURRENT_DIR%"

+:gotHome

+if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome

+echo The CATALINA_HOME environment variable is not defined correctly

+echo This environment variable is needed to run this program

+goto end

+:okHome

+

+set "EXECUTABLE=%CATALINA_HOME%\bin\catalina.bat"

+

+rem Check that target executable exists

+if exist "%EXECUTABLE%" goto okExec

+echo Cannot find "%EXECUTABLE%"

+echo This file is needed to run this program

+goto end

+:okExec

+

+rem Get remaining unshifted command line arguments and save them in the

+set CMD_LINE_ARGS=

+:setArgs

+if ""%1""=="""" goto doneSetArgs

+set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1

+shift

+goto setArgs

+:doneSetArgs

+

+call "%EXECUTABLE%" stop %CMD_LINE_ARGS%

+

+:end

diff --git a/tomcat-uid/bin/shutdown.sh b/tomcat-uid/bin/shutdown.sh
new file mode 100644
index 0000000..e454500
--- /dev/null
+++ b/tomcat-uid/bin/shutdown.sh
@@ -0,0 +1,46 @@
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# -----------------------------------------------------------------------------
+# Stop script for the CATALINA Server
+# -----------------------------------------------------------------------------
+
+# resolve links - $0 may be a softlink
+PRG="$0"
+
+while [ -h "$PRG" ] ; do
+  ls=`ls -ld "$PRG"`
+  link=`expr "$ls" : '.*-> \(.*\)$'`
+  if expr "$link" : '/.*' > /dev/null; then
+    PRG="$link"
+  else
+    PRG=`dirname "$PRG"`/"$link"
+  fi
+done
+ 
+PRGDIR=`dirname "$PRG"`
+EXECUTABLE=catalina.sh
+
+# Check that target executable exists
+if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
+  echo "Cannot find $PRGDIR/$EXECUTABLE"
+  echo "The file is absent or does not have execute permission"
+  echo "This file is needed to run this program"
+  exit 1
+fi
+
+exec "$PRGDIR"/"$EXECUTABLE" stop "$@"
diff --git a/tomcat-uid/bin/startup.bat b/tomcat-uid/bin/startup.bat
new file mode 100644
index 0000000..179e245
--- /dev/null
+++ b/tomcat-uid/bin/startup.bat
@@ -0,0 +1,57 @@
+@echo off

+rem Licensed to the Apache Software Foundation (ASF) under one or more

+rem contributor license agreements.  See the NOTICE file distributed with

+rem this work for additional information regarding copyright ownership.

+rem The ASF licenses this file to You under the Apache License, Version 2.0

+rem (the "License"); you may not use this file except in compliance with

+rem the License.  You may obtain a copy of the License at

+rem

+rem     http://www.apache.org/licenses/LICENSE-2.0

+rem

+rem Unless required by applicable law or agreed to in writing, software

+rem distributed under the License is distributed on an "AS IS" BASIS,

+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+rem See the License for the specific language governing permissions and

+rem limitations under the License.

+

+if "%OS%" == "Windows_NT" setlocal

+rem ---------------------------------------------------------------------------

+rem Start script for the CATALINA Server

+rem ---------------------------------------------------------------------------

+

+rem Guess CATALINA_HOME if not defined

+set "CURRENT_DIR=%cd%"

+if not "%CATALINA_HOME%" == "" goto gotHome

+set "CATALINA_HOME=%CURRENT_DIR%"

+if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome

+cd ..

+set "CATALINA_HOME=%cd%"

+cd "%CURRENT_DIR%"

+:gotHome

+if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome

+echo The CATALINA_HOME environment variable is not defined correctly

+echo This environment variable is needed to run this program

+goto end

+:okHome

+

+set "EXECUTABLE=%CATALINA_HOME%\bin\catalina.bat"

+

+rem Check that target executable exists

+if exist "%EXECUTABLE%" goto okExec

+echo Cannot find "%EXECUTABLE%"

+echo This file is needed to run this program

+goto end

+:okExec

+

+rem Get remaining unshifted command line arguments and save them in the

+set CMD_LINE_ARGS=

+:setArgs

+if ""%1""=="""" goto doneSetArgs

+set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1

+shift

+goto setArgs

+:doneSetArgs

+

+call "%EXECUTABLE%" start %CMD_LINE_ARGS%

+

+:end

diff --git a/tomcat-uid/bin/startup.sh b/tomcat-uid/bin/startup.sh
new file mode 100644
index 0000000..3a68fe8
--- /dev/null
+++ b/tomcat-uid/bin/startup.sh
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# -----------------------------------------------------------------------------
+# Start Script for the CATALINA Server
+# -----------------------------------------------------------------------------
+
+# Better OS/400 detection: see Bugzilla 31132
+os400=false
+darwin=false
+case "`uname`" in
+CYGWIN*) cygwin=true;;
+OS400*) os400=true;;
+Darwin*) darwin=true;;
+esac
+
+# resolve links - $0 may be a softlink
+PRG="$0"
+
+while [ -h "$PRG" ] ; do
+  ls=`ls -ld "$PRG"`
+  link=`expr "$ls" : '.*-> \(.*\)$'`
+  if expr "$link" : '/.*' > /dev/null; then
+    PRG="$link"
+  else
+    PRG=`dirname "$PRG"`/"$link"
+  fi
+done
+ 
+PRGDIR=`dirname "$PRG"`
+EXECUTABLE=catalina.sh
+
+# Check that target executable exists
+if $os400; then
+  # -x will Only work on the os400 if the files are: 
+  # 1. owned by the user
+  # 2. owned by the PRIMARY group of the user
+  # this will not work if the user belongs in secondary groups
+  eval
+else
+  if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
+    echo "Cannot find $PRGDIR/$EXECUTABLE"
+    echo "The file is absent or does not have execute permission"
+    echo "This file is needed to run this program"
+    exit 1
+  fi
+fi 
+
+exec "$PRGDIR"/"$EXECUTABLE" start "$@"
diff --git a/tomcat-uid/bin/tomcat-juli.jar b/tomcat-uid/bin/tomcat-juli.jar
new file mode 100644
index 0000000..ee62416
--- /dev/null
+++ b/tomcat-uid/bin/tomcat-juli.jar
Binary files differ
diff --git a/tomcat-uid/bin/tomcat-native.tar.gz b/tomcat-uid/bin/tomcat-native.tar.gz
new file mode 100644
index 0000000..a764da7
--- /dev/null
+++ b/tomcat-uid/bin/tomcat-native.tar.gz
Binary files differ
diff --git a/tomcat-uid/bin/tool-wrapper.bat b/tomcat-uid/bin/tool-wrapper.bat
new file mode 100644
index 0000000..7b88835
--- /dev/null
+++ b/tomcat-uid/bin/tool-wrapper.bat
@@ -0,0 +1,83 @@
+@echo off

+rem Licensed to the Apache Software Foundation (ASF) under one or more

+rem contributor license agreements.  See the NOTICE file distributed with

+rem this work for additional information regarding copyright ownership.

+rem The ASF licenses this file to You under the Apache License, Version 2.0

+rem (the "License"); you may not use this file except in compliance with

+rem the License.  You may obtain a copy of the License at

+rem

+rem     http://www.apache.org/licenses/LICENSE-2.0

+rem

+rem Unless required by applicable law or agreed to in writing, software

+rem distributed under the License is distributed on an "AS IS" BASIS,

+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+rem See the License for the specific language governing permissions and

+rem limitations under the License.

+

+if "%OS%" == "Windows_NT" setlocal

+rem ---------------------------------------------------------------------------

+rem Wrapper script for command line tools

+rem

+rem Environment Variable Prerequisites

+rem

+rem   CATALINA_HOME May point at your Catalina "build" directory.

+rem

+rem   TOOL_OPTS     (Optional) Java runtime options used when the "start",

+rem                 "stop", or "run" command is executed.

+rem

+rem   JAVA_HOME     Must point at your Java Development Kit installation.

+rem

+rem   JAVA_OPTS     (Optional) Java runtime options used when the "start",

+rem                 "stop", or "run" command is executed.

+rem ---------------------------------------------------------------------------

+

+rem Guess CATALINA_HOME if not defined

+if not "%CATALINA_HOME%" == "" goto gotHome

+set CATALINA_HOME=.

+if exist "%CATALINA_HOME%\bin\tool-wrapper.bat" goto okHome

+set CATALINA_HOME=..

+:gotHome

+if exist "%CATALINA_HOME%\bin\tool-wrapper.bat" goto okHome

+echo The CATALINA_HOME environment variable is not defined correctly

+echo This environment variable is needed to run this program

+goto end

+:okHome

+

+rem Ensure that any user defined CLASSPATH variables are not used on startup,

+rem but allow them to be specified in setenv.bat, in rare case when it is needed.

+set CLASSPATH=

+

+rem Get standard environment variables

+if exist "%CATALINA_HOME%\bin\setenv.bat" call "%CATALINA_HOME%\bin\setenv.bat"

+

+rem Get standard Java environment variables

+if exist "%CATALINA_HOME%\bin\setclasspath.bat" goto okSetclasspath

+echo Cannot find "%CATALINA_HOME%\bin\setclasspath.bat"

+echo This file is needed to run this program

+goto end

+:okSetclasspath

+set "BASEDIR=%CATALINA_HOME%"

+call "%CATALINA_HOME%\bin\setclasspath.bat"

+

+rem Add on extra jar files to CLASSPATH

+rem Note that there are no quotes as we do not want to introduce random

+rem quotes into the CLASSPATH

+if "%CLASSPATH%" == "" goto noclasspath

+set "CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\bin\bootstrap.jar;%BASEDIR%\lib\servlet-api.jar"

+goto okclasspath

+:noclasspath

+set "CLASSPATH=%CATALINA_HOME%\bin\bootstrap.jar;%BASEDIR%\lib\servlet-api.jar"

+:okclasspath

+

+rem Get remaining unshifted command line arguments and save them in the

+set CMD_LINE_ARGS=

+:setArgs

+if ""%1""=="""" goto doneSetArgs

+set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1

+shift

+goto setArgs

+:doneSetArgs

+

+%_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%

+

+:end

diff --git a/tomcat-uid/bin/tool-wrapper.sh b/tomcat-uid/bin/tool-wrapper.sh
new file mode 100644
index 0000000..71c1de4
--- /dev/null
+++ b/tomcat-uid/bin/tool-wrapper.sh
@@ -0,0 +1,97 @@
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# -----------------------------------------------------------------------------
+# Wrapper script for command line tools
+#
+# Environment Variable Prerequisites
+#
+#   CATALINA_HOME May point at your Catalina "build" directory.
+#
+#   TOOL_OPTS     (Optional) Java runtime options used when the "start",
+#                 "stop", or "run" command is executed.
+#
+#   JAVA_HOME     Must point at your Java Development Kit installation.
+#
+#   JAVA_OPTS     (Optional) Java runtime options used when the "start",
+#                 "stop", or "run" command is executed.
+# -----------------------------------------------------------------------------
+
+# OS specific support.  $var _must_ be set to either true or false.
+cygwin=false
+case "`uname`" in
+CYGWIN*) cygwin=true;;
+esac
+
+# resolve links - $0 may be a softlink
+PRG="$0"
+
+while [ -h "$PRG" ]; do
+  ls=`ls -ld "$PRG"`
+  link=`expr "$ls" : '.*-> \(.*\)$'`
+  if expr "$link" : '/.*' > /dev/null; then
+    PRG="$link"
+  else
+    PRG=`dirname "$PRG"`/"$link"
+  fi
+done
+
+# Get standard environment variables
+PRGDIR=`dirname "$PRG"`
+CATALINA_HOME=`cd "$PRGDIR/.." >/dev/null; pwd`
+
+# Ensure that any user defined CLASSPATH variables are not used on startup,
+# but allow them to be specified in setenv.sh, in rare case when it is needed.
+CLASSPATH=
+
+if [ -r "$CATALINA_HOME"/bin/setenv.sh ]; then
+  . "$CATALINA_HOME"/bin/setenv.sh
+fi
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin; then
+  [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+  [ -n "$CATALINA_HOME" ] && CATALINA_HOME=`cygpath --unix "$CATALINA_HOME"`
+  [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
+fi
+
+# Get standard Java environment variables
+if [ -r "$CATALINA_HOME"/bin/setclasspath.sh ]; then
+  BASEDIR="$CATALINA_HOME"
+  . "$CATALINA_HOME"/bin/setclasspath.sh
+else
+  echo "Cannot find $CATALINA_HOME/bin/setclasspath.sh"
+  echo "This file is needed to run this program"
+  exit 1
+fi
+
+# Add on extra jar files to CLASSPATH
+CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/bin/bootstrap.jar:"$BASEDIR"/lib/servlet-api.jar
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+  JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
+  CATALINA_HOME=`cygpath --path --windows "$CATALINA_HOME"`
+  CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
+fi
+
+# ----- Execute The Requested Command -----------------------------------------
+
+exec "$_RUNJAVA" $JAVA_OPTS $TOOL_OPTS \
+  -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
+  -Dcatalina.home="$CATALINA_HOME" \
+  org.apache.catalina.startup.Tool "$@"
diff --git a/tomcat-uid/bin/version.bat b/tomcat-uid/bin/version.bat
new file mode 100644
index 0000000..e190c23
--- /dev/null
+++ b/tomcat-uid/bin/version.bat
@@ -0,0 +1,57 @@
+@echo off

+rem Licensed to the Apache Software Foundation (ASF) under one or more

+rem contributor license agreements.  See the NOTICE file distributed with

+rem this work for additional information regarding copyright ownership.

+rem The ASF licenses this file to You under the Apache License, Version 2.0

+rem (the "License"); you may not use this file except in compliance with

+rem the License.  You may obtain a copy of the License at

+rem

+rem     http://www.apache.org/licenses/LICENSE-2.0

+rem

+rem Unless required by applicable law or agreed to in writing, software

+rem distributed under the License is distributed on an "AS IS" BASIS,

+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+rem See the License for the specific language governing permissions and

+rem limitations under the License.

+

+if "%OS%" == "Windows_NT" setlocal

+rem ---------------------------------------------------------------------------

+rem Version script for the CATALINA Server

+rem ---------------------------------------------------------------------------

+

+rem Guess CATALINA_HOME if not defined

+set "CURRENT_DIR=%cd%"

+if not "%CATALINA_HOME%" == "" goto gotHome

+set "CATALINA_HOME=%CURRENT_DIR%"

+if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome

+cd ..

+set "CATALINA_HOME=%cd%"

+cd "%CURRENT_DIR%"

+:gotHome

+if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome

+echo The CATALINA_HOME environment variable is not defined correctly

+echo This environment variable is needed to run this program

+goto end

+:okHome

+

+set "EXECUTABLE=%CATALINA_HOME%\bin\catalina.bat"

+

+rem Check that target executable exists

+if exist "%EXECUTABLE%" goto okExec

+echo Cannot find "%EXECUTABLE%"

+echo This file is needed to run this program

+goto end

+:okExec

+

+rem Get remaining unshifted command line arguments and save them in the

+set CMD_LINE_ARGS=

+:setArgs

+if ""%1""=="""" goto doneSetArgs

+set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1

+shift

+goto setArgs

+:doneSetArgs

+

+call "%EXECUTABLE%" version %CMD_LINE_ARGS%

+

+:end

diff --git a/tomcat-uid/bin/version.sh b/tomcat-uid/bin/version.sh
new file mode 100644
index 0000000..6723161
--- /dev/null
+++ b/tomcat-uid/bin/version.sh
@@ -0,0 +1,46 @@
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# -----------------------------------------------------------------------------
+# Version Script for the CATALINA Server
+# -----------------------------------------------------------------------------
+
+# resolve links - $0 may be a softlink
+PRG="$0"
+
+while [ -h "$PRG" ] ; do
+  ls=`ls -ld "$PRG"`
+  link=`expr "$ls" : '.*-> \(.*\)$'`
+  if expr "$link" : '/.*' > /dev/null; then
+    PRG="$link"
+  else
+    PRG=`dirname "$PRG"`/"$link"
+  fi
+done
+
+PRGDIR=`dirname "$PRG"`
+EXECUTABLE=catalina.sh
+
+# Check that target executable exists
+if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
+  echo "Cannot find $PRGDIR/$EXECUTABLE"
+  echo "The file is absent or does not have execute permission"
+  echo "This file is needed to run this program"
+  exit 1
+fi
+
+exec "$PRGDIR"/"$EXECUTABLE" version "$@"
diff --git a/tomcat-uid/conf/catalina.policy b/tomcat-uid/conf/catalina.policy
new file mode 100644
index 0000000..b6369ae
--- /dev/null
+++ b/tomcat-uid/conf/catalina.policy
@@ -0,0 +1,220 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more

+// contributor license agreements.  See the NOTICE file distributed with

+// this work for additional information regarding copyright ownership.

+// The ASF licenses this file to You under the Apache License, Version 2.0

+// (the "License"); you may not use this file except in compliance with

+// the License.  You may obtain a copy of the License at

+//

+//     http://www.apache.org/licenses/LICENSE-2.0

+//

+// Unless required by applicable law or agreed to in writing, software

+// distributed under the License is distributed on an "AS IS" BASIS,

+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+// See the License for the specific language governing permissions and

+// limitations under the License.

+

+// ============================================================================

+// catalina.policy - Security Policy Permissions for Tomcat 6

+//

+// This file contains a default set of security policies to be enforced (by the

+// JVM) when Catalina is executed with the "-security" option.  In addition

+// to the permissions granted here, the following additional permissions are

+// granted to the codebase specific to each web application:

+//

+// * Read access to its document root directory

+// * Read, write and delete access to its working directory

+// ============================================================================

+

+

+// ========== SYSTEM CODE PERMISSIONS =========================================

+

+

+// These permissions apply to javac

+grant codeBase "file:${java.home}/lib/-" {

+        permission java.security.AllPermission;

+};

+

+// These permissions apply to all shared system extensions

+grant codeBase "file:${java.home}/jre/lib/ext/-" {

+        permission java.security.AllPermission;

+};

+

+// These permissions apply to javac when ${java.home] points at $JAVA_HOME/jre

+grant codeBase "file:${java.home}/../lib/-" {

+        permission java.security.AllPermission;

+};

+

+// These permissions apply to all shared system extensions when

+// ${java.home} points at $JAVA_HOME/jre

+grant codeBase "file:${java.home}/lib/ext/-" {

+        permission java.security.AllPermission;

+};

+

+

+// ========== CATALINA CODE PERMISSIONS =======================================

+

+

+// These permissions apply to the daemon code

+grant codeBase "file:${catalina.home}/bin/commons-daemon.jar" {

+        permission java.security.AllPermission;

+};

+

+// These permissions apply to the logging API

+// Note: If tomcat-juli.jar is in ${catalina.base} and not in ${catalina.home},

+// update this section accordingly.

+//  grant codeBase "file:${catalina.base}/bin/tomcat-juli.jar" {..}

+grant codeBase "file:${catalina.home}/bin/tomcat-juli.jar" {

+        permission java.io.FilePermission

+         "${java.home}${file.separator}lib${file.separator}logging.properties", "read"; 

+

+        permission java.io.FilePermission

+         "${catalina.base}${file.separator}conf${file.separator}logging.properties", "read";

+        permission java.io.FilePermission

+         "${catalina.base}${file.separator}logs", "read, write";

+        permission java.io.FilePermission

+         "${catalina.base}${file.separator}logs${file.separator}*", "read, write";

+

+        permission java.lang.RuntimePermission "shutdownHooks";

+        permission java.lang.RuntimePermission "getClassLoader";

+        permission java.lang.RuntimePermission "setContextClassLoader";

+

+        permission java.util.logging.LoggingPermission "control";

+

+        permission java.util.PropertyPermission "java.util.logging.config.class", "read";

+        permission java.util.PropertyPermission "java.util.logging.config.file", "read";

+        permission java.util.PropertyPermission "catalina.base", "read";

+

+        // Note: To enable per context logging configuration, permit read access to

+        // the appropriate file. Be sure that the logging configuration is

+        // secure before enabling such access.

+        // E.g. for the examples web application (uncomment and unwrap

+        // the following to be on a single line):

+        // permission java.io.FilePermission "${catalina.base}${file.separator}

+        //  webapps${file.separator}examples${file.separator}WEB-INF

+        //  ${file.separator}classes${file.separator}logging.properties", "read";

+};

+

+// These permissions apply to the server startup code

+grant codeBase "file:${catalina.home}/bin/bootstrap.jar" {

+        permission java.security.AllPermission;

+};

+

+// These permissions apply to the servlet API classes

+// and those that are shared across all class loaders

+// located in the "lib" directory

+grant codeBase "file:${catalina.home}/lib/-" {

+        permission java.security.AllPermission;

+};

+

+

+// If using a per instance lib directory, i.e. ${catalina.base}/lib,

+// then the following permission will need to be uncommented

+// grant codeBase "file:${catalina.base}/lib/-" {

+//         permission java.security.AllPermission;

+// };

+

+

+// ========== WEB APPLICATION PERMISSIONS =====================================

+

+

+// These permissions are granted by default to all web applications

+// In addition, a web application will be given a read FilePermission

+// and JndiPermission for all files and directories in its document root.

+grant { 

+    // Required for JNDI lookup of named JDBC DataSource's and

+    // javamail named MimePart DataSource used to send mail

+    permission java.util.PropertyPermission "java.home", "read";

+    permission java.util.PropertyPermission "java.naming.*", "read";

+    permission java.util.PropertyPermission "javax.sql.*", "read";

+

+    // OS Specific properties to allow read access

+    permission java.util.PropertyPermission "os.name", "read";

+    permission java.util.PropertyPermission "os.version", "read";

+    permission java.util.PropertyPermission "os.arch", "read";

+    permission java.util.PropertyPermission "file.separator", "read";

+    permission java.util.PropertyPermission "path.separator", "read";

+    permission java.util.PropertyPermission "line.separator", "read";

+

+    // JVM properties to allow read access

+    permission java.util.PropertyPermission "java.version", "read";

+    permission java.util.PropertyPermission "java.vendor", "read";

+    permission java.util.PropertyPermission "java.vendor.url", "read";

+    permission java.util.PropertyPermission "java.class.version", "read";

+    permission java.util.PropertyPermission "java.specification.version", "read";

+    permission java.util.PropertyPermission "java.specification.vendor", "read";

+    permission java.util.PropertyPermission "java.specification.name", "read";

+

+    permission java.util.PropertyPermission "java.vm.specification.version", "read";

+    permission java.util.PropertyPermission "java.vm.specification.vendor", "read";

+    permission java.util.PropertyPermission "java.vm.specification.name", "read";

+    permission java.util.PropertyPermission "java.vm.version", "read";

+    permission java.util.PropertyPermission "java.vm.vendor", "read";

+    permission java.util.PropertyPermission "java.vm.name", "read";

+

+    // Required for OpenJMX

+    permission java.lang.RuntimePermission "getAttribute";

+

+    // Allow read of JAXP compliant XML parser debug

+    permission java.util.PropertyPermission "jaxp.debug", "read";

+

+    // Precompiled JSPs need access to these packages.

+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.el";

+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime";

+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime.*";

+    

+    // Precompiled JSPs need access to these system properties.

+    permission java.util.PropertyPermission

+     "org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER", "read";

+    permission java.util.PropertyPermission "org.apache.el.parser.COERCE_TO_ZERO", "read";

+};

+

+

+// The Manager application needs access to the following packages to support the

+// session display functionality. These settings support the following

+// configurations:

+// - default CATALINA_HOME == CATALINA_BASE

+// - CATALINA_HOME != CATALINA_BASE, per instance Manager in CATALINA_BASE

+// - CATALINA_HOME != CATALINA_BASE, shared Manager in CATALINA_HOME

+grant codeBase "file:${catalina.base}/webapps/manager/-" {

+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina";

+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager";

+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager.util";

+};

+grant codeBase "file:${catalina.home}/webapps/manager/-" {

+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina";

+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager";

+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager.util";

+};

+

+// You can assign additional permissions to particular web applications by

+// adding additional "grant" entries here, based on the code base for that

+// application, /WEB-INF/classes/, or /WEB-INF/lib/ jar files.

+//

+// Different permissions can be granted to JSP pages, classes loaded from

+// the /WEB-INF/classes/ directory, all jar files in the /WEB-INF/lib/

+// directory, or even to individual jar files in the /WEB-INF/lib/ directory.

+//

+// For instance, assume that the standard "examples" application

+// included a JDBC driver that needed to establish a network connection to the

+// corresponding database and used the scrape taglib to get the weather from

+// the NOAA web server.  You might create a "grant" entries like this:

+//

+// The permissions granted to the context root directory apply to JSP pages.

+// grant codeBase "file:${catalina.base}/webapps/examples/-" {

+//      permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";

+//      permission java.net.SocketPermission "*.noaa.gov:80", "connect";

+// };

+//

+// The permissions granted to the context WEB-INF/classes directory

+// grant codeBase "file:${catalina.base}/webapps/examples/WEB-INF/classes/-" {

+// };

+//

+// The permission granted to your JDBC driver

+// grant codeBase "jar:file:${catalina.base}/webapps/examples/WEB-INF/lib/driver.jar!/-" {

+//      permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";

+// };

+// The permission granted to the scrape taglib

+// grant codeBase "jar:file:${catalina.base}/webapps/examples/WEB-INF/lib/scrape.jar!/-" {

+//      permission java.net.SocketPermission "*.noaa.gov:80", "connect";

+// };

+

diff --git a/tomcat-uid/conf/catalina.properties b/tomcat-uid/conf/catalina.properties
new file mode 100644
index 0000000..4cb90ce
--- /dev/null
+++ b/tomcat-uid/conf/catalina.properties
@@ -0,0 +1,81 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more

+# contributor license agreements.  See the NOTICE file distributed with

+# this work for additional information regarding copyright ownership.

+# The ASF licenses this file to You under the Apache License, Version 2.0

+# (the "License"); you may not use this file except in compliance with

+# the License.  You may obtain a copy of the License at

+#

+#     http://www.apache.org/licenses/LICENSE-2.0

+#

+# Unless required by applicable law or agreed to in writing, software

+# distributed under the License is distributed on an "AS IS" BASIS,

+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+# See the License for the specific language governing permissions and

+# limitations under the License.

+

+#

+# List of comma-separated packages that start with or equal this string

+# will cause a security exception to be thrown when

+# passed to checkPackageAccess unless the

+# corresponding RuntimePermission ("accessClassInPackage."+package) has

+# been granted.

+package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.

+#

+# List of comma-separated packages that start with or equal this string

+# will cause a security exception to be thrown when

+# passed to checkPackageDefinition unless the

+# corresponding RuntimePermission ("defineClassInPackage."+package) has

+# been granted.

+#

+# by default, no packages are restricted for definition, and none of

+# the class loaders supplied with the JDK call checkPackageDefinition.

+#

+package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.

+

+#

+#

+# List of comma-separated paths defining the contents of the "common" 

+# classloader. Prefixes should be used to define what is the repository type.

+# Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.

+# If left as blank,the JVM system loader will be used as Catalina's "common" 

+# loader.

+# Examples:

+#     "foo": Add this folder as a class repository

+#     "foo/*.jar": Add all the JARs of the specified folder as class 

+#                  repositories

+#     "foo/bar.jar": Add bar.jar as a class repository

+common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar

+

+#

+# List of comma-separated paths defining the contents of the "server" 

+# classloader. Prefixes should be used to define what is the repository type.

+# Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.

+# If left as blank, the "common" loader will be used as Catalina's "server" 

+# loader.

+# Examples:

+#     "foo": Add this folder as a class repository

+#     "foo/*.jar": Add all the JARs of the specified folder as class 

+#                  repositories

+#     "foo/bar.jar": Add bar.jar as a class repository

+server.loader=

+

+#

+# List of comma-separated paths defining the contents of the "shared" 

+# classloader. Prefixes should be used to define what is the repository type.

+# Path may be relative to the CATALINA_BASE path or absolute. If left as blank,

+# the "common" loader will be used as Catalina's "shared" loader.

+# Examples:

+#     "foo": Add this folder as a class repository

+#     "foo/*.jar": Add all the JARs of the specified folder as class 

+#                  repositories

+#     "foo/bar.jar": Add bar.jar as a class repository 

+# Please note that for single jars, e.g. bar.jar, you need the URL form

+# starting with file:.

+shared.loader=

+

+#

+# String cache configuration.

+tomcat.util.buf.StringCache.byte.enabled=true

+#tomcat.util.buf.StringCache.char.enabled=true

+#tomcat.util.buf.StringCache.trainThreshold=500000

+#tomcat.util.buf.StringCache.cacheSize=5000

diff --git a/tomcat-uid/conf/context.xml b/tomcat-uid/conf/context.xml
new file mode 100644
index 0000000..ff6aac5
--- /dev/null
+++ b/tomcat-uid/conf/context.xml
@@ -0,0 +1,51 @@
+<?xml version='1.0' encoding='utf-8'?>

+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<!-- The contents of this file will be loaded for each web application -->

+<Context>

+

+    <!-- Default set of monitored resources -->

+    <WatchedResource>WEB-INF/web.xml</WatchedResource>

+	

+    <!-- Uncomment this to disable session persistence across Tomcat restarts -->

+    <!--

+    <Manager pathname="" />

+    -->

+

+    <!-- Uncomment this to enable Comet connection tacking (provides events

+         on session expiration as well as webapp lifecycle) -->

+    <!--

+    <Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />

+    -->

+	

+	<Resource name="jdbc/uidman"

+		auth="Container"

+		description="DB Connection"

+		type="javax.sql.DataSource"

+		driverClassName="oracle.jdbc.driver.OracleDriver"

+		url="jdbc:oracle:thin:@localhost:1521:dev"

+		username="uniauth" 

+		password="kingstar"

+		maxIdle="20"

+		maxWait="4000"

+		maxActive="50"

+		removeAbandoned="true"

+		removeAbandonedTimeout="180"

+		logAbandoned="true"

+		factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory" />

+

+</Context>
\ No newline at end of file
diff --git a/tomcat-uid/conf/logging.properties b/tomcat-uid/conf/logging.properties
new file mode 100644
index 0000000..4558185
--- /dev/null
+++ b/tomcat-uid/conf/logging.properties
@@ -0,0 +1,64 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more

+# contributor license agreements.  See the NOTICE file distributed with

+# this work for additional information regarding copyright ownership.

+# The ASF licenses this file to You under the Apache License, Version 2.0

+# (the "License"); you may not use this file except in compliance with

+# the License.  You may obtain a copy of the License at

+#

+#     http://www.apache.org/licenses/LICENSE-2.0

+#

+# Unless required by applicable law or agreed to in writing, software

+# distributed under the License is distributed on an "AS IS" BASIS,

+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+# See the License for the specific language governing permissions and

+# limitations under the License.

+

+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

+

+.handlers = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler

+

+############################################################

+# Handler specific properties.

+# Describes specific configuration info for Handlers.

+############################################################

+

+1catalina.org.apache.juli.FileHandler.level = FINE

+1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs

+1catalina.org.apache.juli.FileHandler.prefix = catalina.

+

+2localhost.org.apache.juli.FileHandler.level = FINE

+2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs

+2localhost.org.apache.juli.FileHandler.prefix = localhost.

+

+3manager.org.apache.juli.FileHandler.level = FINE

+3manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs

+3manager.org.apache.juli.FileHandler.prefix = manager.

+

+4host-manager.org.apache.juli.FileHandler.level = FINE

+4host-manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs

+4host-manager.org.apache.juli.FileHandler.prefix = host-manager.

+

+java.util.logging.ConsoleHandler.level = FINE

+java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter

+

+

+############################################################

+# Facility specific properties.

+# Provides extra control for each logger.

+############################################################

+

+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO

+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 2localhost.org.apache.juli.FileHandler

+

+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level = INFO

+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers = 3manager.org.apache.juli.FileHandler

+

+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].level = INFO

+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].handlers = 4host-manager.org.apache.juli.FileHandler

+

+# For example, to log debug messages in ContextConfig and HostConfig

+# classes and to log only warnings and errors in other

+# org.apache.catalina.** classes, uncomment these lines:

+#org.apache.catalina.startup.ContextConfig.level = FINE

+#org.apache.catalina.startup.HostConfig.level = FINE

+#org.apache.catalina.level = WARNING

diff --git a/tomcat-uid/conf/server.xml b/tomcat-uid/conf/server.xml
new file mode 100644
index 0000000..870256e
--- /dev/null
+++ b/tomcat-uid/conf/server.xml
@@ -0,0 +1,149 @@
+<?xml version='1.0' encoding='utf-8'?>

+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<!-- Note:  A "Server" is not itself a "Container", so you may not

+     define subcomponents such as "Valves" at this level.

+     Documentation at /docs/config/server.html

+ -->

+<Server port="8805" shutdown="SHUTDOWN">

+

+  <!--APR library loader. Documentation at /docs/apr.html -->

+  <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />

+  <!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->

+  <Listener className="org.apache.catalina.core.JasperListener" />

+  <!-- Prevent memory leaks due to use of particular java/javax APIs-->

+  <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />

+  <!-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html -->

+  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />

+  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />

+

+  <!-- Global JNDI resources

+       Documentation at /docs/jndi-resources-howto.html

+  -->

+  <GlobalNamingResources>

+    <!-- Editable user database that can also be used by

+         UserDatabaseRealm to authenticate users

+    -->

+    <Resource name="UserDatabase" auth="Container"

+              type="org.apache.catalina.UserDatabase"

+              description="User database that can be updated and saved"

+              factory="org.apache.catalina.users.MemoryUserDatabaseFactory"

+              pathname="conf/tomcat-users.xml" />

+  </GlobalNamingResources>

+

+  <!-- A "Service" is a collection of one or more "Connectors" that share

+       a single "Container" Note:  A "Service" is not itself a "Container", 

+       so you may not define subcomponents such as "Valves" at this level.

+       Documentation at /docs/config/service.html

+   -->

+  <Service name="Catalina">

+  

+    <!--The connectors can use a shared executor, you can define one or more named thread pools-->

+    <!--

+    -->

+    <Executor name="tomcatThreadPool" namePrefix="catalina-exec-" 

+        maxThreads="5000" minSpareThreads="400"/>

+    

+    

+    <!-- A "Connector" represents an endpoint by which requests are received

+         and responses are returned. Documentation at :

+         Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)

+         Java AJP  Connector: /docs/config/ajp.html

+         APR (HTTP/AJP) Connector: /docs/apr.html

+         Define a non-SSL HTTP/1.1 Connector on port 8080

+    -->

+    <Connector executor="tomcatThreadPool"

+               port="8800" protocol="HTTP/1.1" 

+               connectionTimeout="20000" 

+               redirectPort="8443" />

+    <!-- A "Connector" using the shared thread pool-->

+    <!--

+    <Connector executor="tomcatThreadPool"

+               port="8080" protocol="HTTP/1.1" 

+               connectionTimeout="20000" 

+               redirectPort="8443" />

+    -->           

+    <!-- Define a SSL HTTP/1.1 Connector on port 8443

+         This connector uses the JSSE configuration, when using APR, the 

+         connector should be using the OpenSSL style configuration

+         described in the APR documentation -->

+    <!--

+    <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"

+               maxThreads="150" scheme="https" secure="true"

+               clientAuth="false" sslProtocol="TLS" />

+    -->

+

+    <!-- Define an AJP 1.3 Connector on port 8009 -->

+    <Connector port="8809" protocol="AJP/1.3" redirectPort="8443" executor="tomcatThreadPool" />

+

+

+    <!-- An Engine represents the entry point (within Catalina) that processes

+         every request.  The Engine implementation for Tomcat stand alone

+         analyzes the HTTP headers included with the request, and passes them

+         on to the appropriate Host (virtual host).

+         Documentation at /docs/config/engine.html -->

+

+    <!-- You should set jvmRoute to support load-balancing via AJP ie :

+    <Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">         

+    --> 

+    <Engine name="Catalina" defaultHost="localhost">

+

+      <!--For clustering, please take a look at documentation at:

+          /docs/cluster-howto.html  (simple how to)

+          /docs/config/cluster.html (reference documentation) -->

+      <!--

+      <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>

+      -->        

+

+      <!-- The request dumper valve dumps useful debugging information about

+           the request and response data received and sent by Tomcat.

+           Documentation at: /docs/config/valve.html -->

+      <!--

+      <Valve className="org.apache.catalina.valves.RequestDumperValve"/>

+      -->

+

+      <!-- This Realm uses the UserDatabase configured in the global JNDI

+           resources under the key "UserDatabase".  Any edits

+           that are performed against this UserDatabase are immediately

+           available for use by the Realm.  -->

+      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"

+             resourceName="UserDatabase"/>

+

+      <!-- Define the default virtual host

+           Note: XML Schema validation will not work with Xerces 2.2.

+       -->

+      <Host name="localhost"  appBase="webapps"

+            unpackWARs="true" autoDeploy="false"

+            xmlValidation="false" xmlNamespaceAware="false">

+

+        <!-- SingleSignOn valve, share authentication between web applications

+             Documentation at: /docs/config/valve.html -->

+        <!--

+        <Valve className="org.apache.catalina.authenticator.SingleSignOn" />

+        -->

+

+        <!-- Access log processes all example.

+             Documentation at: /docs/config/valve.html -->

+        <!--

+        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"  

+               prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>

+        -->

+

+      </Host>

+    </Engine>

+  </Service>

+</Server>

diff --git a/tomcat-uid/conf/tomcat-users.xml b/tomcat-uid/conf/tomcat-users.xml
new file mode 100644
index 0000000..34e268d
--- /dev/null
+++ b/tomcat-uid/conf/tomcat-users.xml
@@ -0,0 +1,36 @@
+<?xml version='1.0' encoding='utf-8'?>

+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<tomcat-users>

+<!--

+  NOTE:  By default, no user is included in the "manager-gui" role required

+  to operate the "/manager/html" web application.  If you wish to use this app,

+  you must define such a user - the username and password are arbitrary.

+-->

+<!--

+  NOTE:  The sample user and role entries below are wrapped in a comment

+  and thus are ignored when reading this file. Do not forget to remove

+  <!.. ..> that surrounds them.

+-->

+<!--

+  <role rolename="tomcat"/>

+  <role rolename="role1"/>

+  <user username="tomcat" password="tomcat" roles="tomcat"/>

+  <user username="both" password="tomcat" roles="tomcat,role1"/>

+  <user username="role1" password="tomcat" roles="role1"/>

+-->

+</tomcat-users>

diff --git a/tomcat-uid/conf/web.xml b/tomcat-uid/conf/web.xml
new file mode 100644
index 0000000..e1ec6f2
--- /dev/null
+++ b/tomcat-uid/conf/web.xml
@@ -0,0 +1,4639 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>

+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<web-app xmlns="http://java.sun.com/xml/ns/javaee"

+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

+    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"

+    version="2.5">

+

+  <!-- ======================== Introduction ============================== -->

+  <!-- This document defines default values for *all* web applications      -->

+  <!-- loaded into this instance of Tomcat.  As each application is         -->

+  <!-- deployed, this file is processed, followed by the                    -->

+  <!-- "/WEB-INF/web.xml" deployment descriptor from your own               -->

+  <!-- applications.                                                        -->

+  <!--                                                                      -->

+  <!-- WARNING:  Do not configure application-specific resources here!      -->

+  <!-- They should go in the "/WEB-INF/web.xml" file in your application.   -->

+

+

+  <!-- ================== Built In Servlet Definitions ==================== -->

+

+

+  <!-- The default servlet for all web applications, that serves static     -->

+  <!-- resources.  It processes all requests that are not mapped to other   -->

+  <!-- servlets with servlet mappings (defined either here or in your own   -->

+  <!-- web.xml file).  This servlet supports the following initialization   -->

+  <!-- parameters (default values are in square brackets):                  -->

+  <!--                                                                      -->

+  <!--   debug               Debugging detail level for messages logged     -->

+  <!--                       by this servlet.  [0]                          -->

+  <!--                                                                      -->

+  <!--   fileEncoding        Encoding to be used to read static resources   -->

+  <!--                       [platform default]                             -->

+  <!--                                                                      -->

+  <!--   input               Input buffer size (in bytes) when reading      -->

+  <!--                       resources to be served.  [2048]                -->

+  <!--                                                                      -->

+  <!--   listings            Should directory listings be produced if there -->

+  <!--                       is no welcome file in this directory?  [false] -->

+  <!--                       WARNING: Listings for directories with many    -->

+  <!--                       entries can be slow and may consume            -->

+  <!--                       significant proportions of server resources.   -->

+  <!--                                                                      -->

+  <!--   output              Output buffer size (in bytes) when writing     -->

+  <!--                       resources to be served.  [2048]                -->

+  <!--                                                                      -->

+  <!--   readonly            Is this context "read only", so HTTP           -->

+  <!--                       commands like PUT and DELETE are               -->

+  <!--                       rejected?  [true]                              -->

+  <!--                                                                      -->

+  <!--   readmeFile          File name to display with the directory        -->

+  <!--                       contents. [null]                               -->

+  <!--                                                                      -->

+  <!--   sendfileSize        If the connector used supports sendfile, this  -->

+  <!--                       represents the minimal file size in KB for     -->

+  <!--                       which sendfile will be used. Use a negative    -->

+  <!--                       value to always disable sendfile.  [48]        -->

+  <!--                                                                      -->

+  <!--   useAcceptRanges     Should the Accept-Ranges header be included    -->

+  <!--                       in responses where appropriate? [true]         -->

+  <!--                                                                      -->

+  <!--  For directory listing customization. Checks localXsltFile, then     -->

+  <!--  globalXsltFile, then defaults to original behavior.                 -->

+  <!--                                                                      -->

+  <!--   localXsltFile       Make directory listings an XML doc and         -->

+  <!--                       pass the result to this style sheet residing   -->

+  <!--                       in that directory. This overrides              -->

+  <!--                       contextXsltFile and globalXsltFile[null]       -->

+  <!--                                                                      -->

+  <!--   contextXsltFile     Make directory listings an XML doc and         -->

+  <!--                       pass the result to this style sheet which is   -->

+  <!--                       relative to the context root. This overrides   -->

+  <!--                       globalXsltFile[null]                           -->

+  <!--                                                                      -->

+  <!--   globalXsltFile      Site wide configuration version of             -->

+  <!--                       localXsltFile This argument is expected        -->

+  <!--                       to be a physical file. [null]                  -->

+  <!--                                                                      -->

+  <!--                                                                      -->

+

+    <servlet>

+        <servlet-name>default</servlet-name>

+        <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>

+        <init-param>

+            <param-name>debug</param-name>

+            <param-value>0</param-value>

+        </init-param>

+        <init-param>

+            <param-name>listings</param-name>

+            <param-value>false</param-value>

+        </init-param>

+        <load-on-startup>1</load-on-startup>

+    </servlet>

+

+

+  <!-- This servlet has been deprecated due to security concerns. Servlets  -->

+  <!-- should be explicitly mapped in web.xml                               -->

+  <!--                                                                      -->

+  <!-- The "invoker" servlet, which executes anonymous servlet classes      -->

+  <!-- that have not been defined in a web.xml file.  Traditionally, this   -->

+  <!-- servlet is mapped to the URL pattern "/servlet/*", but you can map   -->

+  <!-- it to other patterns as well.  The extra path info portion of such a -->

+  <!-- request must be the fully qualified class name of a Java class that  -->

+  <!-- implements Servlet (or extends HttpServlet), or the servlet name     -->

+  <!-- of an existing servlet definition.     This servlet supports the     -->

+  <!-- following initialization parameters (default values are in square    -->

+  <!-- brackets):                                                           -->

+  <!--                                                                      -->

+  <!--   debug               Debugging detail level for messages logged     -->

+  <!--                       by this servlet.  [0]                          -->

+

+<!--

+    <servlet>

+        <servlet-name>invoker</servlet-name>

+        <servlet-class>

+          org.apache.catalina.servlets.InvokerServlet

+        </servlet-class>

+        <init-param>

+            <param-name>debug</param-name>

+            <param-value>0</param-value>

+        </init-param>

+        <load-on-startup>2</load-on-startup>

+    </servlet>

+-->

+

+

+  <!-- The JSP page compiler and execution servlet, which is the mechanism  -->

+  <!-- used by Tomcat to support JSP pages.  Traditionally, this servlet    -->

+  <!-- is mapped to the URL pattern "*.jsp".  This servlet supports the     -->

+  <!-- following initialization parameters (default values are in square    -->

+  <!-- brackets):                                                           -->

+  <!--                                                                      -->

+  <!--   checkInterval       If development is false and checkInterval is   -->

+  <!--                       greater than zero, background compilations are -->

+  <!--                       enabled. checkInterval is the time in seconds  -->

+  <!--                       between checks to see if a JSP page (and its   -->

+  <!--                       dependent files) needs to  be recompiled. [0]  -->

+  <!--                                                                      -->

+  <!--   classdebuginfo      Should the class file be compiled with         -->

+  <!--                       debugging information?  [true]                 -->

+  <!--                                                                      -->

+  <!--   classpath           What class path should I use while compiling   -->

+  <!--                       generated servlets?  [Created dynamically      -->

+  <!--                       based on the current web application]          -->

+  <!--                                                                      -->

+  <!--   compiler            Which compiler Ant should use to compile JSP   -->

+  <!--                       pages.  See the jasper documentation for more  -->

+  <!--                       information.                                   -->

+  <!--                                                                      -->

+  <!--   compilerSourceVM    Compiler source VM. [1.5]                      -->

+  <!--                                                                      -->

+  <!--   compilerTargetVM    Compiler target VM. [1.5]                      -->  

+  <!--                                                                      -->

+  <!--   development         Is Jasper used in development mode? If true,   -->

+  <!--                       the frequency at which JSPs are checked for    -->

+  <!--                       modification may be specified via the          -->

+  <!--                       modificationTestInterval parameter. [true]     -->

+  <!--                                                                      -->

+  <!--   displaySourceFragment                                              -->

+  <!--                       Should a source fragment be included in        -->

+  <!--                       exception messages? [true]                     -->

+  <!--                                                                      -->

+  <!--   dumpSmap            Should the SMAP info for JSR45 debugging be    -->

+  <!--                       dumped to a file? [false]                      -->

+  <!--                       False if suppressSmap is true                  -->

+  <!--                                                                      -->

+  <!--   enablePooling       Determines whether tag handler pooling is      -->

+  <!--                       enabled. This is a compilation option. It will -->

+  <!--                       not alter the behaviour of JSPs that have      -->

+  <!--                       already been compiled. [true]                  -->

+  <!--                                                                      -->

+  <!--   engineOptionsClass  Allows specifying the Options class used to    -->

+  <!--                       configure Jasper. If not present, the default  -->

+  <!--                       EmbeddedServletOptions will be used.           -->

+  <!--                                                                      -->

+  <!--   errorOnUseBeanInvalidClassAttribute                                -->

+  <!--                       Should Jasper issue an error when the value of -->

+  <!--                       the class attribute in an useBean action is    -->

+  <!--                       not a valid bean class?  [true]                -->

+  <!--                                                                      -->

+  <!--   fork                Tell Ant to fork compiles of JSP pages so that -->

+  <!--                       a separate JVM is used for JSP page compiles   -->

+  <!--                       from the one Tomcat is running in. [true]      -->

+  <!--                                                                      -->

+  <!--   genStringAsCharArray                                               -->

+  <!--                       Should text strings be generated as char       -->

+  <!--                       arrays, to improve performance in some cases?  -->

+  <!--                       [false]                                        -->

+  <!--                                                                      -->

+  <!--   ieClassId           The class-id value to be sent to Internet      -->

+  <!--                       Explorer when using <jsp:plugin> tags.         -->

+  <!--                       [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93]   -->

+  <!--                                                                      -->

+  <!--   javaEncoding        Java file encoding to use for generating java  -->

+  <!--                       source files. [UTF8]                           -->

+  <!--                                                                      -->

+  <!--   keepgenerated       Should we keep the generated Java source code  -->

+  <!--                       for each page instead of deleting it? [true]   -->

+  <!--                                                                      -->

+  <!--   mappedfile          Should we generate static content with one     -->

+  <!--                       print statement per input line, to ease        -->

+  <!--                       debugging?  [true]                             -->

+  <!--                                                                      -->

+  <!--   modificationTestInterval                                           -->

+  <!--                       Causes a JSP (and its dependent files) to not  -->

+  <!--                       be checked for modification during the         -->

+  <!--                       specified time interval (in seconds) from the  -->

+  <!--                       last time the JSP was checked for              -->

+  <!--                       modification. A value of 0 will cause the JSP  -->

+  <!--                       to be checked on every access.                 -->

+  <!--                       Used in development mode only. [4]             -->

+  <!--                                                                      -->

+  <!--   recompileOnFail     If a JSP compilation fails should the          -->

+  <!--                       modificationTestInterval be ignored and the    -->

+  <!--                       next access trigger a re-compilation attempt?  -->

+  <!--                       Used in development mode only and is disabled  -->

+  <!--                       by default as compilation may be expensive and -->

+  <!--                       could lead to excessive resource usage.        -->

+  <!--                       [false]                                        -->

+  <!--                                                                      -->

+  <!--   scratchdir          What scratch directory should we use when      -->

+  <!--                       compiling JSP pages?  [default work directory  -->

+  <!--                       for the current web application]               -->

+  <!--                                                                      -->

+  <!--   suppressSmap        Should the generation of SMAP info for JSR45   -->

+  <!--                       debugging be suppressed?  [false]              -->

+  <!--                                                                      -->

+  <!--   trimSpaces          Should white spaces in template text between   -->

+  <!--                       actions or directives be trimmed?  [false]     -->

+  <!--                                                                      -->

+  <!--   xpoweredBy          Determines whether X-Powered-By response       -->

+  <!--                       header is added by generated servlet  [false]  -->

+  <!--                                                                      -->

+  <!-- If you wish to use Jikes to compile JSP pages:                       -->

+  <!--   Please see the "Using Jikes" section of the Jasper-HowTo           -->

+  <!--   page in the Tomcat documentation.                                  -->

+

+    <servlet>

+        <servlet-name>jsp</servlet-name>

+        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>

+        <init-param>

+            <param-name>fork</param-name>

+            <param-value>false</param-value>

+        </init-param>

+        <init-param>

+            <param-name>xpoweredBy</param-name>

+            <param-value>false</param-value>

+        </init-param>

+        <load-on-startup>3</load-on-startup>

+    </servlet>

+

+

+  <!-- NOTE: An SSI Filter is also available as an alternative SSI          -->

+  <!-- implementation. Use either the Servlet or the Filter but NOT both.   -->

+  <!--                                                                      -->

+  <!-- Server Side Includes processing servlet, which processes SSI         -->

+  <!-- directives in HTML pages consistent with similar support in web      -->

+  <!-- servers like Apache.  Traditionally, this servlet is mapped to the   -->

+  <!-- URL pattern "*.shtml".  This servlet supports the following          -->

+  <!-- initialization parameters (default values are in square brackets):   -->

+  <!--                                                                      -->

+  <!--   buffered            Should output from this servlet be buffered?   -->

+  <!--                       (0=false, 1=true)  [0]                         -->

+  <!--                                                                      -->

+  <!--   debug               Debugging detail level for messages logged     -->

+  <!--                       by this servlet.  [0]                          -->

+  <!--                                                                      -->

+  <!--   expires             The number of seconds before a page with SSI   -->

+  <!--                       directives will expire.  [No default]          -->

+  <!--                                                                      -->

+  <!--   isVirtualWebappRelative                                            -->

+  <!--                       Should "virtual" paths be interpreted as       -->

+  <!--                       relative to the context root, instead of       -->

+  <!--                       the server root? [false]                       -->

+  <!--                                                                      -->

+  <!--   inputEncoding       The encoding to assume for SSI resources if    -->

+  <!--                       one is not available from the resource.        -->

+  <!--                       [Platform default]                             -->

+  <!--                                                                      -->

+  <!--   outputEncoding      The encoding to use for the page that results  -->

+  <!--                       from the SSI processing. [UTF-8]               -->

+  <!--                                                                      -->

+  <!--   allowExec           Is use of the exec command enabled? [false]    -->

+

+<!--

+    <servlet>

+        <servlet-name>ssi</servlet-name>

+        <servlet-class>

+          org.apache.catalina.ssi.SSIServlet

+        </servlet-class>

+        <init-param>

+          <param-name>buffered</param-name>

+          <param-value>1</param-value>

+        </init-param>

+        <init-param>

+          <param-name>debug</param-name>

+          <param-value>0</param-value>

+        </init-param>

+        <init-param>

+          <param-name>expires</param-name>

+          <param-value>666</param-value>

+        </init-param>

+        <init-param>

+          <param-name>isVirtualWebappRelative</param-name>

+          <param-value>false</param-value>

+        </init-param>

+        <load-on-startup>4</load-on-startup>

+    </servlet>

+-->

+

+

+  <!-- Common Gateway Includes (CGI) processing servlet, which supports     -->

+  <!-- execution of external applications that conform to the CGI spec      -->

+  <!-- requirements.  Typically, this servlet is mapped to the URL pattern  -->

+  <!-- "/cgi-bin/*", which means that any CGI applications that are         -->

+  <!-- executed must be present within the web application.  This servlet   -->

+  <!-- supports the following initialization parameters (default values     -->

+  <!-- are in square brackets):                                             -->

+  <!--                                                                      -->

+  <!--   cgiPathPrefix        The CGI search path will start at             -->

+  <!--                        webAppRootDir + File.separator + this prefix. -->

+  <!--                        [WEB-INF/cgi]                                 -->

+  <!--                                                                      -->

+  <!--   debug                Debugging detail level for messages logged    -->

+  <!--                        by this servlet.  [0]                         -->

+  <!--                                                                      -->

+  <!--   executable           Name of the executable used to run the        -->

+  <!--                        script. [perl]                                -->

+  <!--                                                                      -->

+  <!--   parameterEncoding    Name of parameter encoding to be used with    -->

+  <!--                        CGI servlet.                                  -->

+  <!--                        [System.getProperty("file.encoding","UTF-8")] -->

+  <!--                                                                      -->

+  <!--   passShellEnvironment Should the shell environment variables (if    -->

+  <!--                        any) be passed to the CGI script? [false]     -->

+  <!--                                                                      -->

+  <!--   stderrTimeout        The time (in milliseconds) to wait for the    -->

+  <!--                        reading of stderr to complete before          -->

+  <!--                        terminating the CGI process. [2000]           -->

+

+<!--

+    <servlet>

+        <servlet-name>cgi</servlet-name>

+        <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>

+        <init-param>

+          <param-name>debug</param-name>

+          <param-value>0</param-value>

+        </init-param>

+        <init-param>

+          <param-name>cgiPathPrefix</param-name>

+          <param-value>WEB-INF/cgi</param-value>

+        </init-param>

+         <load-on-startup>5</load-on-startup>

+    </servlet>

+-->

+

+

+  <!-- ================ Built In Servlet Mappings ========================= -->

+

+

+  <!-- The servlet mappings for the built in servlets defined above.  Note  -->

+  <!-- that, by default, the CGI and SSI servlets are *not* mapped.  You    -->

+  <!-- must uncomment these mappings (or add them to your application's own -->

+  <!-- web.xml deployment descriptor) to enable these services              -->

+

+    <!-- The mapping for the default servlet -->

+    <servlet-mapping>

+        <servlet-name>default</servlet-name>

+        <url-pattern>/</url-pattern>

+    </servlet-mapping>

+

+    <!-- The mapping for the deprecated invoker servlet -->

+<!--

+    <servlet-mapping>

+        <servlet-name>invoker</servlet-name>

+        <url-pattern>/servlet/*</url-pattern>

+    </servlet-mapping>

+-->

+

+    <!-- The mapping for the JSP servlet -->

+    <servlet-mapping>

+        <servlet-name>jsp</servlet-name>

+        <url-pattern>*.jsp</url-pattern>

+    </servlet-mapping>

+

+    <servlet-mapping>

+        <servlet-name>jsp</servlet-name>

+        <url-pattern>*.jspx</url-pattern>

+    </servlet-mapping>

+

+    <!-- The mapping for the SSI servlet -->

+<!--

+    <servlet-mapping>

+        <servlet-name>ssi</servlet-name>

+        <url-pattern>*.shtml</url-pattern>

+    </servlet-mapping>

+-->

+

+    <!-- The mapping for the CGI Gateway servlet -->

+

+<!--

+    <servlet-mapping>

+        <servlet-name>cgi</servlet-name>

+        <url-pattern>/cgi-bin/*</url-pattern>

+    </servlet-mapping>

+-->

+

+

+  <!-- ================== Built In Filter Definitions ===================== -->

+

+

+  <!-- A filter that sets character encoding that is used to decode -->

+  <!-- parameters in a POST request -->

+<!--

+    <filter>

+        <filter-name>setCharacterEncodingFilter</filter-name>

+        <filter-class>org.apache.catalina.filters.SetCharacterEncodingFilter</filter-class>

+        <init-param>

+            <param-name>encoding</param-name>

+            <param-value>UTF-8</param-value>

+        </init-param>

+    </filter>

+-->

+

+

+  <!-- A filter that triggers request parameters parsing and rejects the    -->

+  <!-- request if some parameters were skipped because of parsing errors or -->

+  <!-- request size limitations.                                            -->

+<!--

+    <filter>

+        <filter-name>failedRequestFilter</filter-name>

+        <filter-class>

+          org.apache.catalina.filters.FailedRequestFilter

+        </filter-class>

+    </filter>

+-->

+

+

+  <!-- NOTE: An SSI Servlet is also available as an alternative SSI         -->

+  <!-- implementation. Use either the Servlet or the Filter but NOT both.   -->

+  <!--                                                                      -->

+  <!-- Server Side Includes processing filter, which processes SSI          -->

+  <!-- directives in HTML pages consistent with similar support in web      -->

+  <!-- servers like Apache.  Traditionally, this filter is mapped to the    -->

+  <!-- URL pattern "*.shtml", though it can be mapped to "*" as it will     -->

+  <!-- selectively enable/disable SSI processing based on mime types. For   -->

+  <!-- this to work you will need to uncomment the .shtml mime type         -->

+  <!-- definition towards the bottom of this file.                          -->

+  <!-- The contentType init param allows you to apply SSI processing to JSP -->

+  <!-- pages, javascript, or any other content you wish.  This filter       -->

+  <!-- supports the following initialization parameters (default values are -->

+  <!-- in square brackets):                                                 -->

+  <!--                                                                      -->

+  <!--   contentType         A regex pattern that must be matched before    -->

+  <!--                       SSI processing is applied.                     -->

+  <!--                       [text/x-server-parsed-html(;.*)?]              -->

+  <!--                                                                      -->

+  <!--   debug               Debugging detail level for messages logged     -->

+  <!--                       by this servlet.  [0]                          -->

+  <!--                                                                      -->

+  <!--   expires             The number of seconds before a page with SSI   -->

+  <!--                       directives will expire.  [No default]          -->

+  <!--                                                                      -->

+  <!--   isVirtualWebappRelative                                            -->

+  <!--                       Should "virtual" paths be interpreted as       -->

+  <!--                       relative to the context root, instead of       -->

+  <!--                       the server root? [false]                       -->

+  <!--                                                                      -->

+  <!--   allowExec           Is use of the exec command enabled? [false]    -->

+

+<!--

+    <filter>

+        <filter-name>ssi</filter-name>

+        <filter-class>

+          org.apache.catalina.ssi.SSIFilter

+        </filter-class>

+        <init-param>

+          <param-name>contentType</param-name>

+          <param-value>text/x-server-parsed-html(;.*)?</param-value>

+        </init-param>

+        <init-param>

+          <param-name>debug</param-name>

+          <param-value>0</param-value>

+        </init-param>

+        <init-param>

+          <param-name>expires</param-name>

+          <param-value>666</param-value>

+        </init-param>

+        <init-param>

+          <param-name>isVirtualWebappRelative</param-name>

+          <param-value>false</param-value>

+        </init-param>

+    </filter>

+-->

+

+

+  <!-- ==================== Built In Filter Mappings ====================== -->

+

+  <!-- The mapping for the Set Character Encoding Filter -->

+<!--

+    <filter-mapping>

+        <filter-name>setCharacterEncodingFilter</filter-name>

+        <url-pattern>/*</url-pattern>

+    </filter-mapping>

+-->

+

+  <!-- The mapping for the Failed Request Filter -->

+<!--

+    <filter-mapping>

+        <filter-name>failedRequestFilter</filter-name>

+        <url-pattern>/*</url-pattern>

+    </filter-mapping>

+-->

+

+  <!-- The mapping for the SSI Filter -->

+<!--

+    <filter-mapping>

+        <filter-name>ssi</filter-name>

+        <url-pattern>*.shtml</url-pattern>

+    </filter-mapping>

+-->

+

+

+  <!-- ==================== Default Session Configuration ================= -->

+  <!-- You can set the default session timeout (in minutes) for all newly   -->

+  <!-- created sessions by modifying the value below.                       -->

+

+    <session-config>

+        <session-timeout>30</session-timeout>

+    </session-config>

+

+

+  <!-- ===================== Default MIME Type Mappings =================== -->

+  <!-- When serving static resources, Tomcat will automatically generate    -->

+  <!-- a "Content-Type" header based on the resource's filename extension,  -->

+  <!-- based on these mappings.  Additional mappings can be added here (to  -->

+  <!-- apply to all web applications), or in your own application's web.xml -->

+  <!-- deployment descriptor.                                               -->

+

+    <mime-mapping>

+        <extension>123</extension>

+        <mime-type>application/vnd.lotus-1-2-3</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>3dml</extension>

+        <mime-type>text/vnd.in3d.3dml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>3ds</extension>

+        <mime-type>image/x-3ds</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>3g2</extension>

+        <mime-type>video/3gpp2</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>3gp</extension>

+        <mime-type>video/3gpp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>7z</extension>

+        <mime-type>application/x-7z-compressed</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>aab</extension>

+        <mime-type>application/x-authorware-bin</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>aac</extension>

+        <mime-type>audio/x-aac</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>aam</extension>

+        <mime-type>application/x-authorware-map</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>aas</extension>

+        <mime-type>application/x-authorware-seg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>abs</extension>

+        <mime-type>audio/x-mpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>abw</extension>

+        <mime-type>application/x-abiword</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ac</extension>

+        <mime-type>application/pkix-attr-cert</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>acc</extension>

+        <mime-type>application/vnd.americandynamics.acc</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ace</extension>

+        <mime-type>application/x-ace-compressed</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>acu</extension>

+        <mime-type>application/vnd.acucobol</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>acutc</extension>

+        <mime-type>application/vnd.acucorp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>adp</extension>

+        <mime-type>audio/adpcm</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>aep</extension>

+        <mime-type>application/vnd.audiograph</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>afm</extension>

+        <mime-type>application/x-font-type1</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>afp</extension>

+        <mime-type>application/vnd.ibm.modcap</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ahead</extension>

+        <mime-type>application/vnd.ahead.space</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ai</extension>

+        <mime-type>application/postscript</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>aif</extension>

+        <mime-type>audio/x-aiff</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>aifc</extension>

+        <mime-type>audio/x-aiff</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>aiff</extension>

+        <mime-type>audio/x-aiff</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>aim</extension>

+        <mime-type>application/x-aim</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>air</extension>

+        <mime-type>application/vnd.adobe.air-application-installer-package+zip</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ait</extension>

+        <mime-type>application/vnd.dvb.ait</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ami</extension>

+        <mime-type>application/vnd.amiga.ami</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>anx</extension>

+        <mime-type>application/annodex</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>apk</extension>

+        <mime-type>application/vnd.android.package-archive</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>appcache</extension>

+        <mime-type>text/cache-manifest</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>application</extension>

+        <mime-type>application/x-ms-application</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>apr</extension>

+        <mime-type>application/vnd.lotus-approach</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>arc</extension>

+        <mime-type>application/x-freearc</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>art</extension>

+        <mime-type>image/x-jg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>asc</extension>

+        <mime-type>application/pgp-signature</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>asf</extension>

+        <mime-type>video/x-ms-asf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>asm</extension>

+        <mime-type>text/x-asm</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>aso</extension>

+        <mime-type>application/vnd.accpac.simply.aso</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>asx</extension>

+        <mime-type>video/x-ms-asf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>atc</extension>

+        <mime-type>application/vnd.acucorp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>atom</extension>

+        <mime-type>application/atom+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>atomcat</extension>

+        <mime-type>application/atomcat+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>atomsvc</extension>

+        <mime-type>application/atomsvc+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>atx</extension>

+        <mime-type>application/vnd.antix.game-component</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>au</extension>

+        <mime-type>audio/basic</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>avi</extension>

+        <mime-type>video/x-msvideo</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>avx</extension>

+        <mime-type>video/x-rad-screenplay</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>aw</extension>

+        <mime-type>application/applixware</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>axa</extension>

+        <mime-type>audio/annodex</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>axv</extension>

+        <mime-type>video/annodex</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>azf</extension>

+        <mime-type>application/vnd.airzip.filesecure.azf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>azs</extension>

+        <mime-type>application/vnd.airzip.filesecure.azs</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>azw</extension>

+        <mime-type>application/vnd.amazon.ebook</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>bat</extension>

+        <mime-type>application/x-msdownload</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>bcpio</extension>

+        <mime-type>application/x-bcpio</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>bdf</extension>

+        <mime-type>application/x-font-bdf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>bdm</extension>

+        <mime-type>application/vnd.syncml.dm+wbxml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>bed</extension>

+        <mime-type>application/vnd.realvnc.bed</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>bh2</extension>

+        <mime-type>application/vnd.fujitsu.oasysprs</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>bin</extension>

+        <mime-type>application/octet-stream</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>blb</extension>

+        <mime-type>application/x-blorb</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>blorb</extension>

+        <mime-type>application/x-blorb</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>bmi</extension>

+        <mime-type>application/vnd.bmi</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>bmp</extension>

+        <mime-type>image/bmp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>body</extension>

+        <mime-type>text/html</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>book</extension>

+        <mime-type>application/vnd.framemaker</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>box</extension>

+        <mime-type>application/vnd.previewsystems.box</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>boz</extension>

+        <mime-type>application/x-bzip2</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>bpk</extension>

+        <mime-type>application/octet-stream</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>btif</extension>

+        <mime-type>image/prs.btif</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>bz</extension>

+        <mime-type>application/x-bzip</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>bz2</extension>

+        <mime-type>application/x-bzip2</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>c</extension>

+        <mime-type>text/x-c</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>c11amc</extension>

+        <mime-type>application/vnd.cluetrust.cartomobile-config</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>c11amz</extension>

+        <mime-type>application/vnd.cluetrust.cartomobile-config-pkg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>c4d</extension>

+        <mime-type>application/vnd.clonk.c4group</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>c4f</extension>

+        <mime-type>application/vnd.clonk.c4group</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>c4g</extension>

+        <mime-type>application/vnd.clonk.c4group</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>c4p</extension>

+        <mime-type>application/vnd.clonk.c4group</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>c4u</extension>

+        <mime-type>application/vnd.clonk.c4group</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cab</extension>

+        <mime-type>application/vnd.ms-cab-compressed</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>caf</extension>

+        <mime-type>audio/x-caf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cap</extension>

+        <mime-type>application/vnd.tcpdump.pcap</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>car</extension>

+        <mime-type>application/vnd.curl.car</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cat</extension>

+        <mime-type>application/vnd.ms-pki.seccat</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cb7</extension>

+        <mime-type>application/x-cbr</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cba</extension>

+        <mime-type>application/x-cbr</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cbr</extension>

+        <mime-type>application/x-cbr</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cbt</extension>

+        <mime-type>application/x-cbr</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cbz</extension>

+        <mime-type>application/x-cbr</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cc</extension>

+        <mime-type>text/x-c</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cct</extension>

+        <mime-type>application/x-director</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ccxml</extension>

+        <mime-type>application/ccxml+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cdbcmsg</extension>

+        <mime-type>application/vnd.contact.cmsg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cdf</extension>

+        <mime-type>application/x-cdf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cdkey</extension>

+        <mime-type>application/vnd.mediastation.cdkey</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cdmia</extension>

+        <mime-type>application/cdmi-capability</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cdmic</extension>

+        <mime-type>application/cdmi-container</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cdmid</extension>

+        <mime-type>application/cdmi-domain</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cdmio</extension>

+        <mime-type>application/cdmi-object</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cdmiq</extension>

+        <mime-type>application/cdmi-queue</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cdx</extension>

+        <mime-type>chemical/x-cdx</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cdxml</extension>

+        <mime-type>application/vnd.chemdraw+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cdy</extension>

+        <mime-type>application/vnd.cinderella</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cer</extension>

+        <mime-type>application/pkix-cert</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cfs</extension>

+        <mime-type>application/x-cfs-compressed</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cgm</extension>

+        <mime-type>image/cgm</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>chat</extension>

+        <mime-type>application/x-chat</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>chm</extension>

+        <mime-type>application/vnd.ms-htmlhelp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>chrt</extension>

+        <mime-type>application/vnd.kde.kchart</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cif</extension>

+        <mime-type>chemical/x-cif</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cii</extension>

+        <mime-type>application/vnd.anser-web-certificate-issue-initiation</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cil</extension>

+        <mime-type>application/vnd.ms-artgalry</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cla</extension>

+        <mime-type>application/vnd.claymore</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>class</extension>

+        <mime-type>application/java</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>clkk</extension>

+        <mime-type>application/vnd.crick.clicker.keyboard</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>clkp</extension>

+        <mime-type>application/vnd.crick.clicker.palette</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>clkt</extension>

+        <mime-type>application/vnd.crick.clicker.template</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>clkw</extension>

+        <mime-type>application/vnd.crick.clicker.wordbank</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>clkx</extension>

+        <mime-type>application/vnd.crick.clicker</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>clp</extension>

+        <mime-type>application/x-msclip</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cmc</extension>

+        <mime-type>application/vnd.cosmocaller</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cmdf</extension>

+        <mime-type>chemical/x-cmdf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cml</extension>

+        <mime-type>chemical/x-cml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cmp</extension>

+        <mime-type>application/vnd.yellowriver-custom-menu</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cmx</extension>

+        <mime-type>image/x-cmx</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cod</extension>

+        <mime-type>application/vnd.rim.cod</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>com</extension>

+        <mime-type>application/x-msdownload</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>conf</extension>

+        <mime-type>text/plain</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cpio</extension>

+        <mime-type>application/x-cpio</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cpp</extension>

+        <mime-type>text/x-c</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cpt</extension>

+        <mime-type>application/mac-compactpro</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>crd</extension>

+        <mime-type>application/x-mscardfile</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>crl</extension>

+        <mime-type>application/pkix-crl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>crt</extension>

+        <mime-type>application/x-x509-ca-cert</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cryptonote</extension>

+        <mime-type>application/vnd.rig.cryptonote</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>csh</extension>

+        <mime-type>application/x-csh</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>csml</extension>

+        <mime-type>chemical/x-csml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>csp</extension>

+        <mime-type>application/vnd.commonspace</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>css</extension>

+        <mime-type>text/css</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cst</extension>

+        <mime-type>application/x-director</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>csv</extension>

+        <mime-type>text/csv</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cu</extension>

+        <mime-type>application/cu-seeme</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>curl</extension>

+        <mime-type>text/vnd.curl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cww</extension>

+        <mime-type>application/prs.cww</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cxt</extension>

+        <mime-type>application/x-director</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>cxx</extension>

+        <mime-type>text/x-c</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dae</extension>

+        <mime-type>model/vnd.collada+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>daf</extension>

+        <mime-type>application/vnd.mobius.daf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dart</extension>

+        <mime-type>application/vnd.dart</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dataless</extension>

+        <mime-type>application/vnd.fdsn.seed</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>davmount</extension>

+        <mime-type>application/davmount+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dbk</extension>

+        <mime-type>application/docbook+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dcr</extension>

+        <mime-type>application/x-director</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dcurl</extension>

+        <mime-type>text/vnd.curl.dcurl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dd2</extension>

+        <mime-type>application/vnd.oma.dd2+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ddd</extension>

+        <mime-type>application/vnd.fujixerox.ddd</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>deb</extension>

+        <mime-type>application/x-debian-package</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>def</extension>

+        <mime-type>text/plain</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>deploy</extension>

+        <mime-type>application/octet-stream</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>der</extension>

+        <mime-type>application/x-x509-ca-cert</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dfac</extension>

+        <mime-type>application/vnd.dreamfactory</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dgc</extension>

+        <mime-type>application/x-dgc-compressed</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dib</extension>

+        <mime-type>image/bmp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dic</extension>

+        <mime-type>text/x-c</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dir</extension>

+        <mime-type>application/x-director</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dis</extension>

+        <mime-type>application/vnd.mobius.dis</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dist</extension>

+        <mime-type>application/octet-stream</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>distz</extension>

+        <mime-type>application/octet-stream</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>djv</extension>

+        <mime-type>image/vnd.djvu</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>djvu</extension>

+        <mime-type>image/vnd.djvu</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dll</extension>

+        <mime-type>application/x-msdownload</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dmg</extension>

+        <mime-type>application/x-apple-diskimage</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dmp</extension>

+        <mime-type>application/vnd.tcpdump.pcap</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dms</extension>

+        <mime-type>application/octet-stream</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dna</extension>

+        <mime-type>application/vnd.dna</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>doc</extension>

+        <mime-type>application/msword</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>docm</extension>

+        <mime-type>application/vnd.ms-word.document.macroenabled.12</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>docx</extension>

+        <mime-type>application/vnd.openxmlformats-officedocument.wordprocessingml.document</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dot</extension>

+        <mime-type>application/msword</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dotm</extension>

+        <mime-type>application/vnd.ms-word.template.macroenabled.12</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dotx</extension>

+        <mime-type>application/vnd.openxmlformats-officedocument.wordprocessingml.template</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dp</extension>

+        <mime-type>application/vnd.osgi.dp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dpg</extension>

+        <mime-type>application/vnd.dpgraph</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dra</extension>

+        <mime-type>audio/vnd.dra</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dsc</extension>

+        <mime-type>text/prs.lines.tag</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dssc</extension>

+        <mime-type>application/dssc+der</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dtb</extension>

+        <mime-type>application/x-dtbook+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dtd</extension>

+        <mime-type>application/xml-dtd</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dts</extension>

+        <mime-type>audio/vnd.dts</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dtshd</extension>

+        <mime-type>audio/vnd.dts.hd</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dump</extension>

+        <mime-type>application/octet-stream</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dv</extension>

+        <mime-type>video/x-dv</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dvb</extension>

+        <mime-type>video/vnd.dvb.file</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dvi</extension>

+        <mime-type>application/x-dvi</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dwf</extension>

+        <mime-type>model/vnd.dwf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dwg</extension>

+        <mime-type>image/vnd.dwg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dxf</extension>

+        <mime-type>image/vnd.dxf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dxp</extension>

+        <mime-type>application/vnd.spotfire.dxp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>dxr</extension>

+        <mime-type>application/x-director</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ecelp4800</extension>

+        <mime-type>audio/vnd.nuera.ecelp4800</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ecelp7470</extension>

+        <mime-type>audio/vnd.nuera.ecelp7470</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ecelp9600</extension>

+        <mime-type>audio/vnd.nuera.ecelp9600</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ecma</extension>

+        <mime-type>application/ecmascript</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>edm</extension>

+        <mime-type>application/vnd.novadigm.edm</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>edx</extension>

+        <mime-type>application/vnd.novadigm.edx</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>efif</extension>

+        <mime-type>application/vnd.picsel</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ei6</extension>

+        <mime-type>application/vnd.pg.osasli</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>elc</extension>

+        <mime-type>application/octet-stream</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>emf</extension>

+        <mime-type>application/x-msmetafile</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>eml</extension>

+        <mime-type>message/rfc822</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>emma</extension>

+        <mime-type>application/emma+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>emz</extension>

+        <mime-type>application/x-msmetafile</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>eol</extension>

+        <mime-type>audio/vnd.digital-winds</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>eot</extension>

+        <mime-type>application/vnd.ms-fontobject</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>eps</extension>

+        <mime-type>application/postscript</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>epub</extension>

+        <mime-type>application/epub+zip</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>es3</extension>

+        <mime-type>application/vnd.eszigno3+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>esa</extension>

+        <mime-type>application/vnd.osgi.subsystem</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>esf</extension>

+        <mime-type>application/vnd.epson.esf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>et3</extension>

+        <mime-type>application/vnd.eszigno3+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>etx</extension>

+        <mime-type>text/x-setext</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>eva</extension>

+        <mime-type>application/x-eva</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>evy</extension>

+        <mime-type>application/x-envoy</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>exe</extension>

+        <mime-type>application/octet-stream</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>exi</extension>

+        <mime-type>application/exi</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ext</extension>

+        <mime-type>application/vnd.novadigm.ext</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ez</extension>

+        <mime-type>application/andrew-inset</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ez2</extension>

+        <mime-type>application/vnd.ezpix-album</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ez3</extension>

+        <mime-type>application/vnd.ezpix-package</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>f</extension>

+        <mime-type>text/x-fortran</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>f4v</extension>

+        <mime-type>video/x-f4v</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>f77</extension>

+        <mime-type>text/x-fortran</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>f90</extension>

+        <mime-type>text/x-fortran</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fbs</extension>

+        <mime-type>image/vnd.fastbidsheet</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fcdt</extension>

+        <mime-type>application/vnd.adobe.formscentral.fcdt</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fcs</extension>

+        <mime-type>application/vnd.isac.fcs</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fdf</extension>

+        <mime-type>application/vnd.fdf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fe_launch</extension>

+        <mime-type>application/vnd.denovo.fcselayout-link</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fg5</extension>

+        <mime-type>application/vnd.fujitsu.oasysgp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fgd</extension>

+        <mime-type>application/x-director</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fh</extension>

+        <mime-type>image/x-freehand</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fh4</extension>

+        <mime-type>image/x-freehand</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fh5</extension>

+        <mime-type>image/x-freehand</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fh7</extension>

+        <mime-type>image/x-freehand</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fhc</extension>

+        <mime-type>image/x-freehand</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fig</extension>

+        <mime-type>application/x-xfig</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>flac</extension>

+        <mime-type>audio/flac</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fli</extension>

+        <mime-type>video/x-fli</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>flo</extension>

+        <mime-type>application/vnd.micrografx.flo</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>flv</extension>

+        <mime-type>video/x-flv</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>flw</extension>

+        <mime-type>application/vnd.kde.kivio</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>flx</extension>

+        <mime-type>text/vnd.fmi.flexstor</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fly</extension>

+        <mime-type>text/vnd.fly</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fm</extension>

+        <mime-type>application/vnd.framemaker</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fnc</extension>

+        <mime-type>application/vnd.frogans.fnc</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>for</extension>

+        <mime-type>text/x-fortran</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fpx</extension>

+        <mime-type>image/vnd.fpx</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>frame</extension>

+        <mime-type>application/vnd.framemaker</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fsc</extension>

+        <mime-type>application/vnd.fsc.weblaunch</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fst</extension>

+        <mime-type>image/vnd.fst</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ftc</extension>

+        <mime-type>application/vnd.fluxtime.clip</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fti</extension>

+        <mime-type>application/vnd.anser-web-funds-transfer-initiation</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fvt</extension>

+        <mime-type>video/vnd.fvt</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fxp</extension>

+        <mime-type>application/vnd.adobe.fxp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fxpl</extension>

+        <mime-type>application/vnd.adobe.fxp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>fzs</extension>

+        <mime-type>application/vnd.fuzzysheet</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>g2w</extension>

+        <mime-type>application/vnd.geoplan</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>g3</extension>

+        <mime-type>image/g3fax</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>g3w</extension>

+        <mime-type>application/vnd.geospace</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gac</extension>

+        <mime-type>application/vnd.groove-account</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gam</extension>

+        <mime-type>application/x-tads</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gbr</extension>

+        <mime-type>application/rpki-ghostbusters</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gca</extension>

+        <mime-type>application/x-gca-compressed</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gdl</extension>

+        <mime-type>model/vnd.gdl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>geo</extension>

+        <mime-type>application/vnd.dynageo</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gex</extension>

+        <mime-type>application/vnd.geometry-explorer</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ggb</extension>

+        <mime-type>application/vnd.geogebra.file</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ggt</extension>

+        <mime-type>application/vnd.geogebra.tool</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ghf</extension>

+        <mime-type>application/vnd.groove-help</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gif</extension>

+        <mime-type>image/gif</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gim</extension>

+        <mime-type>application/vnd.groove-identity-message</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gml</extension>

+        <mime-type>application/gml+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gmx</extension>

+        <mime-type>application/vnd.gmx</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gnumeric</extension>

+        <mime-type>application/x-gnumeric</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gph</extension>

+        <mime-type>application/vnd.flographit</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gpx</extension>

+        <mime-type>application/gpx+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gqf</extension>

+        <mime-type>application/vnd.grafeq</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gqs</extension>

+        <mime-type>application/vnd.grafeq</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gram</extension>

+        <mime-type>application/srgs</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gramps</extension>

+        <mime-type>application/x-gramps-xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gre</extension>

+        <mime-type>application/vnd.geometry-explorer</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>grv</extension>

+        <mime-type>application/vnd.groove-injector</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>grxml</extension>

+        <mime-type>application/srgs+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gsf</extension>

+        <mime-type>application/x-font-ghostscript</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gtar</extension>

+        <mime-type>application/x-gtar</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gtm</extension>

+        <mime-type>application/vnd.groove-tool-message</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gtw</extension>

+        <mime-type>model/vnd.gtw</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gv</extension>

+        <mime-type>text/vnd.graphviz</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gxf</extension>

+        <mime-type>application/gxf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gxt</extension>

+        <mime-type>application/vnd.geonext</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>gz</extension>

+        <mime-type>application/x-gzip</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>h</extension>

+        <mime-type>text/x-c</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>h261</extension>

+        <mime-type>video/h261</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>h263</extension>

+        <mime-type>video/h263</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>h264</extension>

+        <mime-type>video/h264</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>hal</extension>

+        <mime-type>application/vnd.hal+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>hbci</extension>

+        <mime-type>application/vnd.hbci</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>hdf</extension>

+        <mime-type>application/x-hdf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>hh</extension>

+        <mime-type>text/x-c</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>hlp</extension>

+        <mime-type>application/winhlp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>hpgl</extension>

+        <mime-type>application/vnd.hp-hpgl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>hpid</extension>

+        <mime-type>application/vnd.hp-hpid</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>hps</extension>

+        <mime-type>application/vnd.hp-hps</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>hqx</extension>

+        <mime-type>application/mac-binhex40</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>htc</extension>

+        <mime-type>text/x-component</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>htke</extension>

+        <mime-type>application/vnd.kenameaapp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>htm</extension>

+        <mime-type>text/html</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>html</extension>

+        <mime-type>text/html</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>hvd</extension>

+        <mime-type>application/vnd.yamaha.hv-dic</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>hvp</extension>

+        <mime-type>application/vnd.yamaha.hv-voice</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>hvs</extension>

+        <mime-type>application/vnd.yamaha.hv-script</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>i2g</extension>

+        <mime-type>application/vnd.intergeo</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>icc</extension>

+        <mime-type>application/vnd.iccprofile</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ice</extension>

+        <mime-type>x-conference/x-cooltalk</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>icm</extension>

+        <mime-type>application/vnd.iccprofile</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ico</extension>

+        <mime-type>image/x-icon</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ics</extension>

+        <mime-type>text/calendar</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ief</extension>

+        <mime-type>image/ief</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ifb</extension>

+        <mime-type>text/calendar</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ifm</extension>

+        <mime-type>application/vnd.shana.informed.formdata</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>iges</extension>

+        <mime-type>model/iges</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>igl</extension>

+        <mime-type>application/vnd.igloader</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>igm</extension>

+        <mime-type>application/vnd.insors.igm</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>igs</extension>

+        <mime-type>model/iges</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>igx</extension>

+        <mime-type>application/vnd.micrografx.igx</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>iif</extension>

+        <mime-type>application/vnd.shana.informed.interchange</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>imp</extension>

+        <mime-type>application/vnd.accpac.simply.imp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ims</extension>

+        <mime-type>application/vnd.ms-ims</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>in</extension>

+        <mime-type>text/plain</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ink</extension>

+        <mime-type>application/inkml+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>inkml</extension>

+        <mime-type>application/inkml+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>install</extension>

+        <mime-type>application/x-install-instructions</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>iota</extension>

+        <mime-type>application/vnd.astraea-software.iota</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ipfix</extension>

+        <mime-type>application/ipfix</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ipk</extension>

+        <mime-type>application/vnd.shana.informed.package</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>irm</extension>

+        <mime-type>application/vnd.ibm.rights-management</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>irp</extension>

+        <mime-type>application/vnd.irepository.package+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>iso</extension>

+        <mime-type>application/x-iso9660-image</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>itp</extension>

+        <mime-type>application/vnd.shana.informed.formtemplate</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ivp</extension>

+        <mime-type>application/vnd.immervision-ivp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ivu</extension>

+        <mime-type>application/vnd.immervision-ivu</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>jad</extension>

+        <mime-type>text/vnd.sun.j2me.app-descriptor</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>jam</extension>

+        <mime-type>application/vnd.jam</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>jar</extension>

+        <mime-type>application/java-archive</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>java</extension>

+        <mime-type>text/x-java-source</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>jisp</extension>

+        <mime-type>application/vnd.jisp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>jlt</extension>

+        <mime-type>application/vnd.hp-jlyt</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>jnlp</extension>

+        <mime-type>application/x-java-jnlp-file</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>joda</extension>

+        <mime-type>application/vnd.joost.joda-archive</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>jpe</extension>

+        <mime-type>image/jpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>jpeg</extension>

+        <mime-type>image/jpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>jpg</extension>

+        <mime-type>image/jpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>jpgm</extension>

+        <mime-type>video/jpm</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>jpgv</extension>

+        <mime-type>video/jpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>jpm</extension>

+        <mime-type>video/jpm</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>js</extension>

+        <mime-type>application/javascript</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>jsf</extension>

+        <mime-type>text/plain</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>json</extension>

+        <mime-type>application/json</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>jsonml</extension>

+        <mime-type>application/jsonml+json</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>jspf</extension>

+        <mime-type>text/plain</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>kar</extension>

+        <mime-type>audio/midi</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>karbon</extension>

+        <mime-type>application/vnd.kde.karbon</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>kfo</extension>

+        <mime-type>application/vnd.kde.kformula</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>kia</extension>

+        <mime-type>application/vnd.kidspiration</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>kml</extension>

+        <mime-type>application/vnd.google-earth.kml+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>kmz</extension>

+        <mime-type>application/vnd.google-earth.kmz</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>kne</extension>

+        <mime-type>application/vnd.kinar</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>knp</extension>

+        <mime-type>application/vnd.kinar</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>kon</extension>

+        <mime-type>application/vnd.kde.kontour</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>kpr</extension>

+        <mime-type>application/vnd.kde.kpresenter</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>kpt</extension>

+        <mime-type>application/vnd.kde.kpresenter</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>kpxx</extension>

+        <mime-type>application/vnd.ds-keypoint</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ksp</extension>

+        <mime-type>application/vnd.kde.kspread</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ktr</extension>

+        <mime-type>application/vnd.kahootz</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ktx</extension>

+        <mime-type>image/ktx</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ktz</extension>

+        <mime-type>application/vnd.kahootz</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>kwd</extension>

+        <mime-type>application/vnd.kde.kword</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>kwt</extension>

+        <mime-type>application/vnd.kde.kword</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>lasxml</extension>

+        <mime-type>application/vnd.las.las+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>latex</extension>

+        <mime-type>application/x-latex</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>lbd</extension>

+        <mime-type>application/vnd.llamagraphics.life-balance.desktop</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>lbe</extension>

+        <mime-type>application/vnd.llamagraphics.life-balance.exchange+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>les</extension>

+        <mime-type>application/vnd.hhe.lesson-player</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>lha</extension>

+        <mime-type>application/x-lzh-compressed</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>link66</extension>

+        <mime-type>application/vnd.route66.link66+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>list</extension>

+        <mime-type>text/plain</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>list3820</extension>

+        <mime-type>application/vnd.ibm.modcap</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>listafp</extension>

+        <mime-type>application/vnd.ibm.modcap</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>lnk</extension>

+        <mime-type>application/x-ms-shortcut</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>log</extension>

+        <mime-type>text/plain</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>lostxml</extension>

+        <mime-type>application/lost+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>lrf</extension>

+        <mime-type>application/octet-stream</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>lrm</extension>

+        <mime-type>application/vnd.ms-lrm</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ltf</extension>

+        <mime-type>application/vnd.frogans.ltf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>lvp</extension>

+        <mime-type>audio/vnd.lucent.voice</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>lwp</extension>

+        <mime-type>application/vnd.lotus-wordpro</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>lzh</extension>

+        <mime-type>application/x-lzh-compressed</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>m13</extension>

+        <mime-type>application/x-msmediaview</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>m14</extension>

+        <mime-type>application/x-msmediaview</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>m1v</extension>

+        <mime-type>video/mpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>m21</extension>

+        <mime-type>application/mp21</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>m2a</extension>

+        <mime-type>audio/mpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>m2v</extension>

+        <mime-type>video/mpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>m3a</extension>

+        <mime-type>audio/mpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>m3u</extension>

+        <mime-type>audio/x-mpegurl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>m3u8</extension>

+        <mime-type>application/vnd.apple.mpegurl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>m4a</extension>

+        <mime-type>audio/mp4</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>m4b</extension>

+        <mime-type>audio/mp4</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>m4r</extension>

+        <mime-type>audio/mp4</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>m4u</extension>

+        <mime-type>video/vnd.mpegurl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>m4v</extension>

+        <mime-type>video/mp4</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ma</extension>

+        <mime-type>application/mathematica</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mac</extension>

+        <mime-type>image/x-macpaint</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mads</extension>

+        <mime-type>application/mads+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mag</extension>

+        <mime-type>application/vnd.ecowin.chart</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>maker</extension>

+        <mime-type>application/vnd.framemaker</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>man</extension>

+        <mime-type>text/troff</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mar</extension>

+        <mime-type>application/octet-stream</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mathml</extension>

+        <mime-type>application/mathml+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mb</extension>

+        <mime-type>application/mathematica</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mbk</extension>

+        <mime-type>application/vnd.mobius.mbk</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mbox</extension>

+        <mime-type>application/mbox</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mc1</extension>

+        <mime-type>application/vnd.medcalcdata</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mcd</extension>

+        <mime-type>application/vnd.mcd</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mcurl</extension>

+        <mime-type>text/vnd.curl.mcurl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mdb</extension>

+        <mime-type>application/x-msaccess</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mdi</extension>

+        <mime-type>image/vnd.ms-modi</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>me</extension>

+        <mime-type>text/troff</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mesh</extension>

+        <mime-type>model/mesh</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>meta4</extension>

+        <mime-type>application/metalink4+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>metalink</extension>

+        <mime-type>application/metalink+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mets</extension>

+        <mime-type>application/mets+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mfm</extension>

+        <mime-type>application/vnd.mfmp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mft</extension>

+        <mime-type>application/rpki-manifest</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mgp</extension>

+        <mime-type>application/vnd.osgeo.mapguide.package</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mgz</extension>

+        <mime-type>application/vnd.proteus.magazine</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mid</extension>

+        <mime-type>audio/midi</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>midi</extension>

+        <mime-type>audio/midi</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mie</extension>

+        <mime-type>application/x-mie</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mif</extension>

+        <mime-type>application/x-mif</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mime</extension>

+        <mime-type>message/rfc822</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mj2</extension>

+        <mime-type>video/mj2</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mjp2</extension>

+        <mime-type>video/mj2</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mk3d</extension>

+        <mime-type>video/x-matroska</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mka</extension>

+        <mime-type>audio/x-matroska</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mks</extension>

+        <mime-type>video/x-matroska</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mkv</extension>

+        <mime-type>video/x-matroska</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mlp</extension>

+        <mime-type>application/vnd.dolby.mlp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mmd</extension>

+        <mime-type>application/vnd.chipnuts.karaoke-mmd</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mmf</extension>

+        <mime-type>application/vnd.smaf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mmr</extension>

+        <mime-type>image/vnd.fujixerox.edmics-mmr</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mng</extension>

+        <mime-type>video/x-mng</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mny</extension>

+        <mime-type>application/x-msmoney</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mobi</extension>

+        <mime-type>application/x-mobipocket-ebook</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mods</extension>

+        <mime-type>application/mods+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mov</extension>

+        <mime-type>video/quicktime</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>movie</extension>

+        <mime-type>video/x-sgi-movie</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mp1</extension>

+        <mime-type>audio/mpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mp2</extension>

+        <mime-type>audio/mpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mp21</extension>

+        <mime-type>application/mp21</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mp2a</extension>

+        <mime-type>audio/mpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mp3</extension>

+        <mime-type>audio/mpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mp4</extension>

+        <mime-type>video/mp4</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mp4a</extension>

+        <mime-type>audio/mp4</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mp4s</extension>

+        <mime-type>application/mp4</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mp4v</extension>

+        <mime-type>video/mp4</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mpa</extension>

+        <mime-type>audio/mpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mpc</extension>

+        <mime-type>application/vnd.mophun.certificate</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mpe</extension>

+        <mime-type>video/mpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mpeg</extension>

+        <mime-type>video/mpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mpega</extension>

+        <mime-type>audio/x-mpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mpg</extension>

+        <mime-type>video/mpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mpg4</extension>

+        <mime-type>video/mp4</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mpga</extension>

+        <mime-type>audio/mpeg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mpkg</extension>

+        <mime-type>application/vnd.apple.installer+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mpm</extension>

+        <mime-type>application/vnd.blueice.multipass</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mpn</extension>

+        <mime-type>application/vnd.mophun.application</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mpp</extension>

+        <mime-type>application/vnd.ms-project</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mpt</extension>

+        <mime-type>application/vnd.ms-project</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mpv2</extension>

+        <mime-type>video/mpeg2</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mpy</extension>

+        <mime-type>application/vnd.ibm.minipay</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mqy</extension>

+        <mime-type>application/vnd.mobius.mqy</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mrc</extension>

+        <mime-type>application/marc</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mrcx</extension>

+        <mime-type>application/marcxml+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ms</extension>

+        <mime-type>text/troff</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mscml</extension>

+        <mime-type>application/mediaservercontrol+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mseed</extension>

+        <mime-type>application/vnd.fdsn.mseed</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mseq</extension>

+        <mime-type>application/vnd.mseq</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>msf</extension>

+        <mime-type>application/vnd.epson.msf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>msh</extension>

+        <mime-type>model/mesh</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>msi</extension>

+        <mime-type>application/x-msdownload</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>msl</extension>

+        <mime-type>application/vnd.mobius.msl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>msty</extension>

+        <mime-type>application/vnd.muvee.style</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mts</extension>

+        <mime-type>model/vnd.mts</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mus</extension>

+        <mime-type>application/vnd.musician</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>musicxml</extension>

+        <mime-type>application/vnd.recordare.musicxml+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mvb</extension>

+        <mime-type>application/x-msmediaview</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mwf</extension>

+        <mime-type>application/vnd.mfer</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mxf</extension>

+        <mime-type>application/mxf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mxl</extension>

+        <mime-type>application/vnd.recordare.musicxml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mxml</extension>

+        <mime-type>application/xv+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mxs</extension>

+        <mime-type>application/vnd.triscape.mxs</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>mxu</extension>

+        <mime-type>video/vnd.mpegurl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>n-gage</extension>

+        <mime-type>application/vnd.nokia.n-gage.symbian.install</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>n3</extension>

+        <mime-type>text/n3</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>nb</extension>

+        <mime-type>application/mathematica</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>nbp</extension>

+        <mime-type>application/vnd.wolfram.player</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>nc</extension>

+        <mime-type>application/x-netcdf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ncx</extension>

+        <mime-type>application/x-dtbncx+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>nfo</extension>

+        <mime-type>text/x-nfo</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ngdat</extension>

+        <mime-type>application/vnd.nokia.n-gage.data</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>nitf</extension>

+        <mime-type>application/vnd.nitf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>nlu</extension>

+        <mime-type>application/vnd.neurolanguage.nlu</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>nml</extension>

+        <mime-type>application/vnd.enliven</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>nnd</extension>

+        <mime-type>application/vnd.noblenet-directory</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>nns</extension>

+        <mime-type>application/vnd.noblenet-sealer</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>nnw</extension>

+        <mime-type>application/vnd.noblenet-web</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>npx</extension>

+        <mime-type>image/vnd.net-fpx</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>nsc</extension>

+        <mime-type>application/x-conference</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>nsf</extension>

+        <mime-type>application/vnd.lotus-notes</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ntf</extension>

+        <mime-type>application/vnd.nitf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>nzb</extension>

+        <mime-type>application/x-nzb</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>oa2</extension>

+        <mime-type>application/vnd.fujitsu.oasys2</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>oa3</extension>

+        <mime-type>application/vnd.fujitsu.oasys3</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>oas</extension>

+        <mime-type>application/vnd.fujitsu.oasys</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>obd</extension>

+        <mime-type>application/x-msbinder</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>obj</extension>

+        <mime-type>application/x-tgif</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>oda</extension>

+        <mime-type>application/oda</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- OpenDocument Database -->

+        <extension>odb</extension>

+        <mime-type>application/vnd.oasis.opendocument.database</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- OpenDocument Chart -->

+        <extension>odc</extension>

+        <mime-type>application/vnd.oasis.opendocument.chart</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- OpenDocument Formula -->

+        <extension>odf</extension>

+        <mime-type>application/vnd.oasis.opendocument.formula</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>odft</extension>

+        <mime-type>application/vnd.oasis.opendocument.formula-template</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- OpenDocument Drawing -->

+        <extension>odg</extension>

+        <mime-type>application/vnd.oasis.opendocument.graphics</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- OpenDocument Image -->

+        <extension>odi</extension>

+        <mime-type>application/vnd.oasis.opendocument.image</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- OpenDocument Master Document -->

+        <extension>odm</extension>

+        <mime-type>application/vnd.oasis.opendocument.text-master</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- OpenDocument Presentation -->

+        <extension>odp</extension>

+        <mime-type>application/vnd.oasis.opendocument.presentation</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- OpenDocument Spreadsheet -->

+        <extension>ods</extension>

+        <mime-type>application/vnd.oasis.opendocument.spreadsheet</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- OpenDocument Text -->

+        <extension>odt</extension>

+        <mime-type>application/vnd.oasis.opendocument.text</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>oga</extension>

+        <mime-type>audio/ogg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ogg</extension>

+        <mime-type>audio/ogg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ogv</extension>

+        <mime-type>video/ogg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- xiph mime types -->

+        <extension>ogx</extension>

+        <mime-type>application/ogg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>omdoc</extension>

+        <mime-type>application/omdoc+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>onepkg</extension>

+        <mime-type>application/onenote</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>onetmp</extension>

+        <mime-type>application/onenote</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>onetoc</extension>

+        <mime-type>application/onenote</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>onetoc2</extension>

+        <mime-type>application/onenote</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>opf</extension>

+        <mime-type>application/oebps-package+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>opml</extension>

+        <mime-type>text/x-opml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>oprc</extension>

+        <mime-type>application/vnd.palm</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>org</extension>

+        <mime-type>application/vnd.lotus-organizer</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>osf</extension>

+        <mime-type>application/vnd.yamaha.openscoreformat</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>osfpvg</extension>

+        <mime-type>application/vnd.yamaha.openscoreformat.osfpvg+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>otc</extension>

+        <mime-type>application/vnd.oasis.opendocument.chart-template</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>otf</extension>

+        <mime-type>application/x-font-otf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- OpenDocument Drawing Template -->

+        <extension>otg</extension>

+        <mime-type>application/vnd.oasis.opendocument.graphics-template</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- HTML Document Template -->

+        <extension>oth</extension>

+        <mime-type>application/vnd.oasis.opendocument.text-web</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>oti</extension>

+        <mime-type>application/vnd.oasis.opendocument.image-template</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- OpenDocument Presentation Template -->

+        <extension>otp</extension>

+        <mime-type>application/vnd.oasis.opendocument.presentation-template</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- OpenDocument Spreadsheet Template -->

+        <extension>ots</extension>

+        <mime-type>application/vnd.oasis.opendocument.spreadsheet-template</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- OpenDocument Text Template -->

+        <extension>ott</extension>

+        <mime-type>application/vnd.oasis.opendocument.text-template</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>oxps</extension>

+        <mime-type>application/oxps</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>oxt</extension>

+        <mime-type>application/vnd.openofficeorg.extension</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>p</extension>

+        <mime-type>text/x-pascal</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>p10</extension>

+        <mime-type>application/pkcs10</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>p12</extension>

+        <mime-type>application/x-pkcs12</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>p7b</extension>

+        <mime-type>application/x-pkcs7-certificates</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>p7c</extension>

+        <mime-type>application/pkcs7-mime</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>p7m</extension>

+        <mime-type>application/pkcs7-mime</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>p7r</extension>

+        <mime-type>application/x-pkcs7-certreqresp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>p7s</extension>

+        <mime-type>application/pkcs7-signature</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>p8</extension>

+        <mime-type>application/pkcs8</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pas</extension>

+        <mime-type>text/x-pascal</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>paw</extension>

+        <mime-type>application/vnd.pawaafile</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pbd</extension>

+        <mime-type>application/vnd.powerbuilder6</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pbm</extension>

+        <mime-type>image/x-portable-bitmap</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pcap</extension>

+        <mime-type>application/vnd.tcpdump.pcap</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pcf</extension>

+        <mime-type>application/x-font-pcf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pcl</extension>

+        <mime-type>application/vnd.hp-pcl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pclxl</extension>

+        <mime-type>application/vnd.hp-pclxl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pct</extension>

+        <mime-type>image/pict</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pcurl</extension>

+        <mime-type>application/vnd.curl.pcurl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pcx</extension>

+        <mime-type>image/x-pcx</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pdb</extension>

+        <mime-type>application/vnd.palm</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pdf</extension>

+        <mime-type>application/pdf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pfa</extension>

+        <mime-type>application/x-font-type1</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pfb</extension>

+        <mime-type>application/x-font-type1</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pfm</extension>

+        <mime-type>application/x-font-type1</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pfr</extension>

+        <mime-type>application/font-tdpfr</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pfx</extension>

+        <mime-type>application/x-pkcs12</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pgm</extension>

+        <mime-type>image/x-portable-graymap</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pgn</extension>

+        <mime-type>application/x-chess-pgn</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pgp</extension>

+        <mime-type>application/pgp-encrypted</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pic</extension>

+        <mime-type>image/pict</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pict</extension>

+        <mime-type>image/pict</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pkg</extension>

+        <mime-type>application/octet-stream</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pki</extension>

+        <mime-type>application/pkixcmp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pkipath</extension>

+        <mime-type>application/pkix-pkipath</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>plb</extension>

+        <mime-type>application/vnd.3gpp.pic-bw-large</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>plc</extension>

+        <mime-type>application/vnd.mobius.plc</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>plf</extension>

+        <mime-type>application/vnd.pocketlearn</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pls</extension>

+        <mime-type>audio/x-scpls</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pml</extension>

+        <mime-type>application/vnd.ctc-posml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>png</extension>

+        <mime-type>image/png</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pnm</extension>

+        <mime-type>image/x-portable-anymap</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pnt</extension>

+        <mime-type>image/x-macpaint</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>portpkg</extension>

+        <mime-type>application/vnd.macports.portpkg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pot</extension>

+        <mime-type>application/vnd.ms-powerpoint</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>potm</extension>

+        <mime-type>application/vnd.ms-powerpoint.template.macroenabled.12</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>potx</extension>

+        <mime-type>application/vnd.openxmlformats-officedocument.presentationml.template</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ppam</extension>

+        <mime-type>application/vnd.ms-powerpoint.addin.macroenabled.12</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ppd</extension>

+        <mime-type>application/vnd.cups-ppd</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ppm</extension>

+        <mime-type>image/x-portable-pixmap</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pps</extension>

+        <mime-type>application/vnd.ms-powerpoint</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ppsm</extension>

+        <mime-type>application/vnd.ms-powerpoint.slideshow.macroenabled.12</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ppsx</extension>

+        <mime-type>application/vnd.openxmlformats-officedocument.presentationml.slideshow</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ppt</extension>

+        <mime-type>application/vnd.ms-powerpoint</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pptm</extension>

+        <mime-type>application/vnd.ms-powerpoint.presentation.macroenabled.12</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pptx</extension>

+        <mime-type>application/vnd.openxmlformats-officedocument.presentationml.presentation</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pqa</extension>

+        <mime-type>application/vnd.palm</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>prc</extension>

+        <mime-type>application/x-mobipocket-ebook</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pre</extension>

+        <mime-type>application/vnd.lotus-freelance</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>prf</extension>

+        <mime-type>application/pics-rules</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ps</extension>

+        <mime-type>application/postscript</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>psb</extension>

+        <mime-type>application/vnd.3gpp.pic-bw-small</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>psd</extension>

+        <mime-type>image/vnd.adobe.photoshop</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>psf</extension>

+        <mime-type>application/x-font-linux-psf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pskcxml</extension>

+        <mime-type>application/pskc+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ptid</extension>

+        <mime-type>application/vnd.pvi.ptid1</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pub</extension>

+        <mime-type>application/x-mspublisher</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pvb</extension>

+        <mime-type>application/vnd.3gpp.pic-bw-var</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pwn</extension>

+        <mime-type>application/vnd.3m.post-it-notes</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pya</extension>

+        <mime-type>audio/vnd.ms-playready.media.pya</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>pyv</extension>

+        <mime-type>video/vnd.ms-playready.media.pyv</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>qam</extension>

+        <mime-type>application/vnd.epson.quickanime</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>qbo</extension>

+        <mime-type>application/vnd.intu.qbo</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>qfx</extension>

+        <mime-type>application/vnd.intu.qfx</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>qps</extension>

+        <mime-type>application/vnd.publishare-delta-tree</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>qt</extension>

+        <mime-type>video/quicktime</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>qti</extension>

+        <mime-type>image/x-quicktime</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>qtif</extension>

+        <mime-type>image/x-quicktime</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>qwd</extension>

+        <mime-type>application/vnd.quark.quarkxpress</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>qwt</extension>

+        <mime-type>application/vnd.quark.quarkxpress</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>qxb</extension>

+        <mime-type>application/vnd.quark.quarkxpress</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>qxd</extension>

+        <mime-type>application/vnd.quark.quarkxpress</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>qxl</extension>

+        <mime-type>application/vnd.quark.quarkxpress</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>qxt</extension>

+        <mime-type>application/vnd.quark.quarkxpress</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ra</extension>

+        <mime-type>audio/x-pn-realaudio</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ram</extension>

+        <mime-type>audio/x-pn-realaudio</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rar</extension>

+        <mime-type>application/x-rar-compressed</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ras</extension>

+        <mime-type>image/x-cmu-raster</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rcprofile</extension>

+        <mime-type>application/vnd.ipunplugged.rcprofile</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rdf</extension>

+        <mime-type>application/rdf+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rdz</extension>

+        <mime-type>application/vnd.data-vision.rdz</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rep</extension>

+        <mime-type>application/vnd.businessobjects</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>res</extension>

+        <mime-type>application/x-dtbresource+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rgb</extension>

+        <mime-type>image/x-rgb</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rif</extension>

+        <mime-type>application/reginfo+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rip</extension>

+        <mime-type>audio/vnd.rip</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ris</extension>

+        <mime-type>application/x-research-info-systems</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rl</extension>

+        <mime-type>application/resource-lists+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rlc</extension>

+        <mime-type>image/vnd.fujixerox.edmics-rlc</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rld</extension>

+        <mime-type>application/resource-lists-diff+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rm</extension>

+        <mime-type>application/vnd.rn-realmedia</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rmi</extension>

+        <mime-type>audio/midi</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rmp</extension>

+        <mime-type>audio/x-pn-realaudio-plugin</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rms</extension>

+        <mime-type>application/vnd.jcp.javame.midlet-rms</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rmvb</extension>

+        <mime-type>application/vnd.rn-realmedia-vbr</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rnc</extension>

+        <mime-type>application/relax-ng-compact-syntax</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>roa</extension>

+        <mime-type>application/rpki-roa</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>roff</extension>

+        <mime-type>text/troff</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rp9</extension>

+        <mime-type>application/vnd.cloanto.rp9</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rpss</extension>

+        <mime-type>application/vnd.nokia.radio-presets</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rpst</extension>

+        <mime-type>application/vnd.nokia.radio-preset</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rq</extension>

+        <mime-type>application/sparql-query</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rs</extension>

+        <mime-type>application/rls-services+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rsd</extension>

+        <mime-type>application/rsd+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rss</extension>

+        <mime-type>application/rss+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rtf</extension>

+        <mime-type>application/rtf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>rtx</extension>

+        <mime-type>text/richtext</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>s</extension>

+        <mime-type>text/x-asm</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>s3m</extension>

+        <mime-type>audio/s3m</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>saf</extension>

+        <mime-type>application/vnd.yamaha.smaf-audio</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sbml</extension>

+        <mime-type>application/sbml+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sc</extension>

+        <mime-type>application/vnd.ibm.secure-container</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>scd</extension>

+        <mime-type>application/x-msschedule</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>scm</extension>

+        <mime-type>application/vnd.lotus-screencam</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>scq</extension>

+        <mime-type>application/scvp-cv-request</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>scs</extension>

+        <mime-type>application/scvp-cv-response</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>scurl</extension>

+        <mime-type>text/vnd.curl.scurl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sda</extension>

+        <mime-type>application/vnd.stardivision.draw</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sdc</extension>

+        <mime-type>application/vnd.stardivision.calc</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sdd</extension>

+        <mime-type>application/vnd.stardivision.impress</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sdkd</extension>

+        <mime-type>application/vnd.solent.sdkm+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sdkm</extension>

+        <mime-type>application/vnd.solent.sdkm+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sdp</extension>

+        <mime-type>application/sdp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sdw</extension>

+        <mime-type>application/vnd.stardivision.writer</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>see</extension>

+        <mime-type>application/vnd.seemail</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>seed</extension>

+        <mime-type>application/vnd.fdsn.seed</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sema</extension>

+        <mime-type>application/vnd.sema</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>semd</extension>

+        <mime-type>application/vnd.semd</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>semf</extension>

+        <mime-type>application/vnd.semf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ser</extension>

+        <mime-type>application/java-serialized-object</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>setpay</extension>

+        <mime-type>application/set-payment-initiation</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>setreg</extension>

+        <mime-type>application/set-registration-initiation</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sfd-hdstx</extension>

+        <mime-type>application/vnd.hydrostatix.sof-data</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sfs</extension>

+        <mime-type>application/vnd.spotfire.sfs</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sfv</extension>

+        <mime-type>text/x-sfv</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sgi</extension>

+        <mime-type>image/sgi</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sgl</extension>

+        <mime-type>application/vnd.stardivision.writer-global</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sgm</extension>

+        <mime-type>text/sgml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sgml</extension>

+        <mime-type>text/sgml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sh</extension>

+        <mime-type>application/x-sh</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>shar</extension>

+        <mime-type>application/x-shar</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>shf</extension>

+        <mime-type>application/shf+xml</mime-type>

+    </mime-mapping>

+    <!--

+    <mime-mapping>

+        <extension>shtml</extension>

+        <mime-type>text/x-server-parsed-html</mime-type>

+    </mime-mapping>

+    -->

+    <mime-mapping>

+        <extension>sid</extension>

+        <mime-type>image/x-mrsid-image</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sig</extension>

+        <mime-type>application/pgp-signature</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sil</extension>

+        <mime-type>audio/silk</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>silo</extension>

+        <mime-type>model/mesh</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sis</extension>

+        <mime-type>application/vnd.symbian.install</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sisx</extension>

+        <mime-type>application/vnd.symbian.install</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sit</extension>

+        <mime-type>application/x-stuffit</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sitx</extension>

+        <mime-type>application/x-stuffitx</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>skd</extension>

+        <mime-type>application/vnd.koan</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>skm</extension>

+        <mime-type>application/vnd.koan</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>skp</extension>

+        <mime-type>application/vnd.koan</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>skt</extension>

+        <mime-type>application/vnd.koan</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sldm</extension>

+        <mime-type>application/vnd.ms-powerpoint.slide.macroenabled.12</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sldx</extension>

+        <mime-type>application/vnd.openxmlformats-officedocument.presentationml.slide</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>slt</extension>

+        <mime-type>application/vnd.epson.salt</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sm</extension>

+        <mime-type>application/vnd.stepmania.stepchart</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>smf</extension>

+        <mime-type>application/vnd.stardivision.math</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>smi</extension>

+        <mime-type>application/smil+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>smil</extension>

+        <mime-type>application/smil+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>smv</extension>

+        <mime-type>video/x-smv</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>smzip</extension>

+        <mime-type>application/vnd.stepmania.package</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>snd</extension>

+        <mime-type>audio/basic</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>snf</extension>

+        <mime-type>application/x-font-snf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>so</extension>

+        <mime-type>application/octet-stream</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>spc</extension>

+        <mime-type>application/x-pkcs7-certificates</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>spf</extension>

+        <mime-type>application/vnd.yamaha.smaf-phrase</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>spl</extension>

+        <mime-type>application/x-futuresplash</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>spot</extension>

+        <mime-type>text/vnd.in3d.spot</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>spp</extension>

+        <mime-type>application/scvp-vp-response</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>spq</extension>

+        <mime-type>application/scvp-vp-request</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>spx</extension>

+        <mime-type>audio/ogg</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sql</extension>

+        <mime-type>application/x-sql</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>src</extension>

+        <mime-type>application/x-wais-source</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>srt</extension>

+        <mime-type>application/x-subrip</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sru</extension>

+        <mime-type>application/sru+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>srx</extension>

+        <mime-type>application/sparql-results+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ssdl</extension>

+        <mime-type>application/ssdl+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sse</extension>

+        <mime-type>application/vnd.kodak-descriptor</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ssf</extension>

+        <mime-type>application/vnd.epson.ssf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ssml</extension>

+        <mime-type>application/ssml+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>st</extension>

+        <mime-type>application/vnd.sailingtracker.track</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>stc</extension>

+        <mime-type>application/vnd.sun.xml.calc.template</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>std</extension>

+        <mime-type>application/vnd.sun.xml.draw.template</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>stf</extension>

+        <mime-type>application/vnd.wt.stf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sti</extension>

+        <mime-type>application/vnd.sun.xml.impress.template</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>stk</extension>

+        <mime-type>application/hyperstudio</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>stl</extension>

+        <mime-type>application/vnd.ms-pki.stl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>str</extension>

+        <mime-type>application/vnd.pg.format</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>stw</extension>

+        <mime-type>application/vnd.sun.xml.writer.template</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sub</extension>

+        <mime-type>text/vnd.dvb.subtitle</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sus</extension>

+        <mime-type>application/vnd.sus-calendar</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>susp</extension>

+        <mime-type>application/vnd.sus-calendar</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sv4cpio</extension>

+        <mime-type>application/x-sv4cpio</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sv4crc</extension>

+        <mime-type>application/x-sv4crc</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>svc</extension>

+        <mime-type>application/vnd.dvb.service</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>svd</extension>

+        <mime-type>application/vnd.svd</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>svg</extension>

+        <mime-type>image/svg+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>svgz</extension>

+        <mime-type>image/svg+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>swa</extension>

+        <mime-type>application/x-director</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>swf</extension>

+        <mime-type>application/x-shockwave-flash</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>swi</extension>

+        <mime-type>application/vnd.aristanetworks.swi</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sxc</extension>

+        <mime-type>application/vnd.sun.xml.calc</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sxd</extension>

+        <mime-type>application/vnd.sun.xml.draw</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sxg</extension>

+        <mime-type>application/vnd.sun.xml.writer.global</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sxi</extension>

+        <mime-type>application/vnd.sun.xml.impress</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sxm</extension>

+        <mime-type>application/vnd.sun.xml.math</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>sxw</extension>

+        <mime-type>application/vnd.sun.xml.writer</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>t</extension>

+        <mime-type>text/troff</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>t3</extension>

+        <mime-type>application/x-t3vm-image</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>taglet</extension>

+        <mime-type>application/vnd.mynfc</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>tao</extension>

+        <mime-type>application/vnd.tao.intent-module-archive</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>tar</extension>

+        <mime-type>application/x-tar</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>tcap</extension>

+        <mime-type>application/vnd.3gpp2.tcap</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>tcl</extension>

+        <mime-type>application/x-tcl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>teacher</extension>

+        <mime-type>application/vnd.smart.teacher</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>tei</extension>

+        <mime-type>application/tei+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>teicorpus</extension>

+        <mime-type>application/tei+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>tex</extension>

+        <mime-type>application/x-tex</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>texi</extension>

+        <mime-type>application/x-texinfo</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>texinfo</extension>

+        <mime-type>application/x-texinfo</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>text</extension>

+        <mime-type>text/plain</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>tfi</extension>

+        <mime-type>application/thraud+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>tfm</extension>

+        <mime-type>application/x-tex-tfm</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>tga</extension>

+        <mime-type>image/x-tga</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>thmx</extension>

+        <mime-type>application/vnd.ms-officetheme</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>tif</extension>

+        <mime-type>image/tiff</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>tiff</extension>

+        <mime-type>image/tiff</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>tmo</extension>

+        <mime-type>application/vnd.tmobile-livetv</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>torrent</extension>

+        <mime-type>application/x-bittorrent</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>tpl</extension>

+        <mime-type>application/vnd.groove-tool-template</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>tpt</extension>

+        <mime-type>application/vnd.trid.tpt</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>tr</extension>

+        <mime-type>text/troff</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>tra</extension>

+        <mime-type>application/vnd.trueapp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>trm</extension>

+        <mime-type>application/x-msterminal</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>tsd</extension>

+        <mime-type>application/timestamped-data</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>tsv</extension>

+        <mime-type>text/tab-separated-values</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ttc</extension>

+        <mime-type>application/x-font-ttf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ttf</extension>

+        <mime-type>application/x-font-ttf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ttl</extension>

+        <mime-type>text/turtle</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>twd</extension>

+        <mime-type>application/vnd.simtech-mindmapper</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>twds</extension>

+        <mime-type>application/vnd.simtech-mindmapper</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>txd</extension>

+        <mime-type>application/vnd.genomatix.tuxedo</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>txf</extension>

+        <mime-type>application/vnd.mobius.txf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>txt</extension>

+        <mime-type>text/plain</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>u32</extension>

+        <mime-type>application/x-authorware-bin</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>udeb</extension>

+        <mime-type>application/x-debian-package</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ufd</extension>

+        <mime-type>application/vnd.ufdl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ufdl</extension>

+        <mime-type>application/vnd.ufdl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ulw</extension>

+        <mime-type>audio/basic</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ulx</extension>

+        <mime-type>application/x-glulx</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>umj</extension>

+        <mime-type>application/vnd.umajin</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>unityweb</extension>

+        <mime-type>application/vnd.unity</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uoml</extension>

+        <mime-type>application/vnd.uoml+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uri</extension>

+        <mime-type>text/uri-list</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uris</extension>

+        <mime-type>text/uri-list</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>urls</extension>

+        <mime-type>text/uri-list</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>ustar</extension>

+        <mime-type>application/x-ustar</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>utz</extension>

+        <mime-type>application/vnd.uiq.theme</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uu</extension>

+        <mime-type>text/x-uuencode</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uva</extension>

+        <mime-type>audio/vnd.dece.audio</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvd</extension>

+        <mime-type>application/vnd.dece.data</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvf</extension>

+        <mime-type>application/vnd.dece.data</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvg</extension>

+        <mime-type>image/vnd.dece.graphic</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvh</extension>

+        <mime-type>video/vnd.dece.hd</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvi</extension>

+        <mime-type>image/vnd.dece.graphic</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvm</extension>

+        <mime-type>video/vnd.dece.mobile</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvp</extension>

+        <mime-type>video/vnd.dece.pd</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvs</extension>

+        <mime-type>video/vnd.dece.sd</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvt</extension>

+        <mime-type>application/vnd.dece.ttml+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvu</extension>

+        <mime-type>video/vnd.uvvu.mp4</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvv</extension>

+        <mime-type>video/vnd.dece.video</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvva</extension>

+        <mime-type>audio/vnd.dece.audio</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvvd</extension>

+        <mime-type>application/vnd.dece.data</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvvf</extension>

+        <mime-type>application/vnd.dece.data</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvvg</extension>

+        <mime-type>image/vnd.dece.graphic</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvvh</extension>

+        <mime-type>video/vnd.dece.hd</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvvi</extension>

+        <mime-type>image/vnd.dece.graphic</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvvm</extension>

+        <mime-type>video/vnd.dece.mobile</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvvp</extension>

+        <mime-type>video/vnd.dece.pd</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvvs</extension>

+        <mime-type>video/vnd.dece.sd</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvvt</extension>

+        <mime-type>application/vnd.dece.ttml+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvvu</extension>

+        <mime-type>video/vnd.uvvu.mp4</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvvv</extension>

+        <mime-type>video/vnd.dece.video</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvvx</extension>

+        <mime-type>application/vnd.dece.unspecified</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvvz</extension>

+        <mime-type>application/vnd.dece.zip</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvx</extension>

+        <mime-type>application/vnd.dece.unspecified</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>uvz</extension>

+        <mime-type>application/vnd.dece.zip</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>vcard</extension>

+        <mime-type>text/vcard</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>vcd</extension>

+        <mime-type>application/x-cdlink</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>vcf</extension>

+        <mime-type>text/x-vcard</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>vcg</extension>

+        <mime-type>application/vnd.groove-vcard</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>vcs</extension>

+        <mime-type>text/x-vcalendar</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>vcx</extension>

+        <mime-type>application/vnd.vcx</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>vis</extension>

+        <mime-type>application/vnd.visionary</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>viv</extension>

+        <mime-type>video/vnd.vivo</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>vob</extension>

+        <mime-type>video/x-ms-vob</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>vor</extension>

+        <mime-type>application/vnd.stardivision.writer</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>vox</extension>

+        <mime-type>application/x-authorware-bin</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>vrml</extension>

+        <mime-type>model/vrml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>vsd</extension>

+        <mime-type>application/vnd.visio</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>vsf</extension>

+        <mime-type>application/vnd.vsf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>vss</extension>

+        <mime-type>application/vnd.visio</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>vst</extension>

+        <mime-type>application/vnd.visio</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>vsw</extension>

+        <mime-type>application/vnd.visio</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>vtu</extension>

+        <mime-type>model/vnd.vtu</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>vxml</extension>

+        <mime-type>application/voicexml+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>w3d</extension>

+        <mime-type>application/x-director</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wad</extension>

+        <mime-type>application/x-doom</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wav</extension>

+        <mime-type>audio/x-wav</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wax</extension>

+        <mime-type>audio/x-ms-wax</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- Wireless Bitmap -->

+        <extension>wbmp</extension>

+        <mime-type>image/vnd.wap.wbmp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wbs</extension>

+        <mime-type>application/vnd.criticaltools.wbs+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wbxml</extension>

+        <mime-type>application/vnd.wap.wbxml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wcm</extension>

+        <mime-type>application/vnd.ms-works</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wdb</extension>

+        <mime-type>application/vnd.ms-works</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wdp</extension>

+        <mime-type>image/vnd.ms-photo</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>weba</extension>

+        <mime-type>audio/webm</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>webm</extension>

+        <mime-type>video/webm</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>webp</extension>

+        <mime-type>image/webp</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wg</extension>

+        <mime-type>application/vnd.pmi.widget</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wgt</extension>

+        <mime-type>application/widget</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wks</extension>

+        <mime-type>application/vnd.ms-works</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wm</extension>

+        <mime-type>video/x-ms-wm</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wma</extension>

+        <mime-type>audio/x-ms-wma</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wmd</extension>

+        <mime-type>application/x-ms-wmd</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wmf</extension>

+        <mime-type>application/x-msmetafile</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- WML Source -->

+        <extension>wml</extension>

+        <mime-type>text/vnd.wap.wml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- Compiled WML -->

+        <extension>wmlc</extension>

+        <mime-type>application/vnd.wap.wmlc</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- WML Script Source -->

+        <extension>wmls</extension>

+        <mime-type>text/vnd.wap.wmlscript</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <!-- Compiled WML Script -->

+        <extension>wmlsc</extension>

+        <mime-type>application/vnd.wap.wmlscriptc</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wmv</extension>

+        <mime-type>video/x-ms-wmv</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wmx</extension>

+        <mime-type>video/x-ms-wmx</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wmz</extension>

+        <mime-type>application/x-msmetafile</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>woff</extension>

+        <mime-type>application/x-font-woff</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wpd</extension>

+        <mime-type>application/vnd.wordperfect</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wpl</extension>

+        <mime-type>application/vnd.ms-wpl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wps</extension>

+        <mime-type>application/vnd.ms-works</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wqd</extension>

+        <mime-type>application/vnd.wqd</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wri</extension>

+        <mime-type>application/x-mswrite</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wrl</extension>

+        <mime-type>model/vrml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wsdl</extension>

+        <mime-type>application/wsdl+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wspolicy</extension>

+        <mime-type>application/wspolicy+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wtb</extension>

+        <mime-type>application/vnd.webturbo</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>wvx</extension>

+        <mime-type>video/x-ms-wvx</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>x32</extension>

+        <mime-type>application/x-authorware-bin</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>x3d</extension>

+        <mime-type>model/x3d+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>x3db</extension>

+        <mime-type>model/x3d+binary</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>x3dbz</extension>

+        <mime-type>model/x3d+binary</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>x3dv</extension>

+        <mime-type>model/x3d+vrml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>x3dvz</extension>

+        <mime-type>model/x3d+vrml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>x3dz</extension>

+        <mime-type>model/x3d+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xaml</extension>

+        <mime-type>application/xaml+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xap</extension>

+        <mime-type>application/x-silverlight-app</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xar</extension>

+        <mime-type>application/vnd.xara</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xbap</extension>

+        <mime-type>application/x-ms-xbap</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xbd</extension>

+        <mime-type>application/vnd.fujixerox.docuworks.binder</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xbm</extension>

+        <mime-type>image/x-xbitmap</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xdf</extension>

+        <mime-type>application/xcap-diff+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xdm</extension>

+        <mime-type>application/vnd.syncml.dm+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xdp</extension>

+        <mime-type>application/vnd.adobe.xdp+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xdssc</extension>

+        <mime-type>application/dssc+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xdw</extension>

+        <mime-type>application/vnd.fujixerox.docuworks</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xenc</extension>

+        <mime-type>application/xenc+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xer</extension>

+        <mime-type>application/patch-ops-error+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xfdf</extension>

+        <mime-type>application/vnd.adobe.xfdf</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xfdl</extension>

+        <mime-type>application/vnd.xfdl</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xht</extension>

+        <mime-type>application/xhtml+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xhtml</extension>

+        <mime-type>application/xhtml+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xhvml</extension>

+        <mime-type>application/xv+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xif</extension>

+        <mime-type>image/vnd.xiff</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xla</extension>

+        <mime-type>application/vnd.ms-excel</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xlam</extension>

+        <mime-type>application/vnd.ms-excel.addin.macroenabled.12</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xlc</extension>

+        <mime-type>application/vnd.ms-excel</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xlf</extension>

+        <mime-type>application/x-xliff+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xlm</extension>

+        <mime-type>application/vnd.ms-excel</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xls</extension>

+        <mime-type>application/vnd.ms-excel</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xlsb</extension>

+        <mime-type>application/vnd.ms-excel.sheet.binary.macroenabled.12</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xlsm</extension>

+        <mime-type>application/vnd.ms-excel.sheet.macroenabled.12</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xlsx</extension>

+        <mime-type>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xlt</extension>

+        <mime-type>application/vnd.ms-excel</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xltm</extension>

+        <mime-type>application/vnd.ms-excel.template.macroenabled.12</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xltx</extension>

+        <mime-type>application/vnd.openxmlformats-officedocument.spreadsheetml.template</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xlw</extension>

+        <mime-type>application/vnd.ms-excel</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xm</extension>

+        <mime-type>audio/xm</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xml</extension>

+        <mime-type>application/xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xo</extension>

+        <mime-type>application/vnd.olpc-sugar</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xop</extension>

+        <mime-type>application/xop+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xpi</extension>

+        <mime-type>application/x-xpinstall</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xpl</extension>

+        <mime-type>application/xproc+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xpm</extension>

+        <mime-type>image/x-xpixmap</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xpr</extension>

+        <mime-type>application/vnd.is-xpr</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xps</extension>

+        <mime-type>application/vnd.ms-xpsdocument</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xpw</extension>

+        <mime-type>application/vnd.intercon.formnet</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xpx</extension>

+        <mime-type>application/vnd.intercon.formnet</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xsl</extension>

+        <mime-type>application/xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xslt</extension>

+        <mime-type>application/xslt+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xsm</extension>

+        <mime-type>application/vnd.syncml+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xspf</extension>

+        <mime-type>application/xspf+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xul</extension>

+        <mime-type>application/vnd.mozilla.xul+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xvm</extension>

+        <mime-type>application/xv+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xvml</extension>

+        <mime-type>application/xv+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xwd</extension>

+        <mime-type>image/x-xwindowdump</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xyz</extension>

+        <mime-type>chemical/x-xyz</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>xz</extension>

+        <mime-type>application/x-xz</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>yang</extension>

+        <mime-type>application/yang</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>yin</extension>

+        <mime-type>application/yin+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>z</extension>

+        <mime-type>application/x-compress</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>Z</extension>

+        <mime-type>application/x-compress</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>z1</extension>

+        <mime-type>application/x-zmachine</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>z2</extension>

+        <mime-type>application/x-zmachine</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>z3</extension>

+        <mime-type>application/x-zmachine</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>z4</extension>

+        <mime-type>application/x-zmachine</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>z5</extension>

+        <mime-type>application/x-zmachine</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>z6</extension>

+        <mime-type>application/x-zmachine</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>z7</extension>

+        <mime-type>application/x-zmachine</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>z8</extension>

+        <mime-type>application/x-zmachine</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>zaz</extension>

+        <mime-type>application/vnd.zzazz.deck+xml</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>zip</extension>

+        <mime-type>application/zip</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>zir</extension>

+        <mime-type>application/vnd.zul</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>zirz</extension>

+        <mime-type>application/vnd.zul</mime-type>

+    </mime-mapping>

+    <mime-mapping>

+        <extension>zmm</extension>

+        <mime-type>application/vnd.handheld-entertainment+xml</mime-type>

+    </mime-mapping>

+

+  <!-- ==================== Default Welcome File List ===================== -->

+  <!-- When a request URI refers to a directory, the default servlet looks  -->

+  <!-- for a "welcome file" within that directory and, if present,          -->

+  <!-- to the corresponding resource URI for display.  If no welcome file   -->

+  <!-- is present, the default servlet either serves a directory listing,   -->

+  <!-- or returns a 404 status, depending on how it is configured.          -->

+  <!--                                                                      -->

+  <!-- If you define welcome files in your own application's web.xml        -->

+  <!-- deployment descriptor, that list *replaces* the list configured      -->

+  <!-- here, so be sure that you include any of the default values that     -->

+  <!-- you wish to include.                                                 -->

+

+    <welcome-file-list>

+        <welcome-file>index.html</welcome-file>

+        <welcome-file>index.htm</welcome-file>

+        <welcome-file>index.jsp</welcome-file>

+    </welcome-file-list>

+

+</web-app>

diff --git a/tomcat-uid/lib/annotations-api.jar b/tomcat-uid/lib/annotations-api.jar
new file mode 100644
index 0000000..b611f6d
--- /dev/null
+++ b/tomcat-uid/lib/annotations-api.jar
Binary files differ
diff --git a/tomcat-uid/lib/catalina-ant.jar b/tomcat-uid/lib/catalina-ant.jar
new file mode 100644
index 0000000..4a143b3
--- /dev/null
+++ b/tomcat-uid/lib/catalina-ant.jar
Binary files differ
diff --git a/tomcat-uid/lib/catalina-ha.jar b/tomcat-uid/lib/catalina-ha.jar
new file mode 100644
index 0000000..4770e36
--- /dev/null
+++ b/tomcat-uid/lib/catalina-ha.jar
Binary files differ
diff --git a/tomcat-uid/lib/catalina-tribes.jar b/tomcat-uid/lib/catalina-tribes.jar
new file mode 100644
index 0000000..46b4526
--- /dev/null
+++ b/tomcat-uid/lib/catalina-tribes.jar
Binary files differ
diff --git a/tomcat-uid/lib/catalina.jar b/tomcat-uid/lib/catalina.jar
new file mode 100644
index 0000000..bae1aa0
--- /dev/null
+++ b/tomcat-uid/lib/catalina.jar
Binary files differ
diff --git a/tomcat-uid/lib/ecj-4.3.1.jar b/tomcat-uid/lib/ecj-4.3.1.jar
new file mode 100644
index 0000000..dc07007
--- /dev/null
+++ b/tomcat-uid/lib/ecj-4.3.1.jar
Binary files differ
diff --git a/tomcat-uid/lib/el-api.jar b/tomcat-uid/lib/el-api.jar
new file mode 100644
index 0000000..5b9172a
--- /dev/null
+++ b/tomcat-uid/lib/el-api.jar
Binary files differ
diff --git a/tomcat-uid/lib/jasper-el.jar b/tomcat-uid/lib/jasper-el.jar
new file mode 100644
index 0000000..af84e1b
--- /dev/null
+++ b/tomcat-uid/lib/jasper-el.jar
Binary files differ
diff --git a/tomcat-uid/lib/jasper.jar b/tomcat-uid/lib/jasper.jar
new file mode 100644
index 0000000..780a886
--- /dev/null
+++ b/tomcat-uid/lib/jasper.jar
Binary files differ
diff --git a/tomcat-uid/lib/jsp-api.jar b/tomcat-uid/lib/jsp-api.jar
new file mode 100644
index 0000000..b8713db
--- /dev/null
+++ b/tomcat-uid/lib/jsp-api.jar
Binary files differ
diff --git a/tomcat-uid/lib/servlet-api.jar b/tomcat-uid/lib/servlet-api.jar
new file mode 100644
index 0000000..a77dd48
--- /dev/null
+++ b/tomcat-uid/lib/servlet-api.jar
Binary files differ
diff --git a/tomcat-uid/lib/tomcat-coyote.jar b/tomcat-uid/lib/tomcat-coyote.jar
new file mode 100644
index 0000000..024a043
--- /dev/null
+++ b/tomcat-uid/lib/tomcat-coyote.jar
Binary files differ
diff --git a/tomcat-uid/lib/tomcat-dbcp.jar b/tomcat-uid/lib/tomcat-dbcp.jar
new file mode 100644
index 0000000..5839a92
--- /dev/null
+++ b/tomcat-uid/lib/tomcat-dbcp.jar
Binary files differ
diff --git a/tomcat-uid/lib/tomcat-i18n-es.jar b/tomcat-uid/lib/tomcat-i18n-es.jar
new file mode 100644
index 0000000..816319c
--- /dev/null
+++ b/tomcat-uid/lib/tomcat-i18n-es.jar
Binary files differ
diff --git a/tomcat-uid/lib/tomcat-i18n-fr.jar b/tomcat-uid/lib/tomcat-i18n-fr.jar
new file mode 100644
index 0000000..649e3b3
--- /dev/null
+++ b/tomcat-uid/lib/tomcat-i18n-fr.jar
Binary files differ
diff --git a/tomcat-uid/lib/tomcat-i18n-ja.jar b/tomcat-uid/lib/tomcat-i18n-ja.jar
new file mode 100644
index 0000000..11e12a2
--- /dev/null
+++ b/tomcat-uid/lib/tomcat-i18n-ja.jar
Binary files differ
diff --git a/tomcat-uid/logs/LOGS b/tomcat-uid/logs/LOGS
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tomcat-uid/logs/LOGS
diff --git a/tomcat-uid/temp/safeToDelete.tmp b/tomcat-uid/temp/safeToDelete.tmp
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tomcat-uid/temp/safeToDelete.tmp
diff --git a/tomcat-uid/webapps/ROOT/RELEASE-NOTES.txt b/tomcat-uid/webapps/ROOT/RELEASE-NOTES.txt
new file mode 100644
index 0000000..5ef623a
--- /dev/null
+++ b/tomcat-uid/webapps/ROOT/RELEASE-NOTES.txt
@@ -0,0 +1,232 @@
+================================================================================

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+================================================================================

+

+

+                     Apache Tomcat Version 6.0.39

+                            Release Notes

+

+

+=============================

+KNOWN ISSUES IN THIS RELEASE:

+=============================

+

+* Dependency Changes

+* JNI Based Applications

+* Bundled APIs

+* Web application reloading and static fields in shared libraries

+* Tomcat on Linux

+* Enabling SSI and CGI Support

+* Security manager URLs

+* Symlinking static resources

+* Enabling invoker servlet

+* Viewing the Tomcat Change Log

+* Cryptographic software notice

+* When all else fails

+

+

+===================

+Dependency Changes:

+===================

+Tomcat 6.0 is designed to run on Java SE 5.0 and later.

+

+In addition, Tomcat 6.0 uses the Eclipse JDT Java compiler for compiling

+JSP pages.  This means you no longer need to have the complete

+Java Development Kit (JDK) to run Tomcat, but a Java Runtime Environment

+(JRE) is sufficient.  The Eclipse JDT Java compiler is bundled with the 

+binary Tomcat distributions.  Tomcat can also be configured to use the

+compiler from the JDK to compile JSPs, or any other Java compiler supported 

+by Apache Ant.

+

+

+=======================

+JNI Based Applications:

+=======================

+Applications that require native libraries must ensure that the libraries have

+been loaded prior to use.  Typically, this is done with a call like:

+

+  static {

+    System.loadLibrary("path-to-library-file");

+  }

+

+in some class.  However, the application must also ensure that the library is

+not loaded more than once.  If the above code were placed in a class inside

+the web application (i.e. under /WEB-INF/classes or /WEB-INF/lib), and the

+application were reloaded, the loadLibrary() call would be attempted a second

+time.

+

+To avoid this problem, place classes that load native libraries outside of the

+web application, and ensure that the loadLibrary() call is executed only once

+during the lifetime of a particular JVM.

+

+

+=============

+Bundled APIs:

+=============

+A standard installation of Tomcat 6.0 makes all of the following APIs available

+for use by web applications (by placing them in "lib"):

+* annotations-api.jar (Annotations package)

+* catalina.jar (Tomcat Catalina implementation)

+* catalina-ant.jar (Tomcat Catalina Ant tasks)

+* catalina-ha.jar (High availability package)

+* catalina-tribes.jar (Group communication)

+* ecj-4.3.1.jar (Eclipse JDT Java compiler)

+* el-api.jar (EL 2.1 API)

+* jasper.jar (Jasper 2 Compiler and Runtime)

+* jasper-el.jar (Jasper 2 EL implementation)

+* jsp-api.jar (JSP 2.1 API)

+* servlet-api.jar (Servlet 2.5 API)

+* tomcat-coyote.jar (Tomcat connectors and utility classes)

+* tomcat-dbcp.jar (package renamed database connection pool based on Commons DBCP)

+

+You can make additional APIs available to all of your web applications by

+putting unpacked classes into a "classes" directory (not created by default),

+or by placing them in JAR files in the "lib" directory.

+

+To override the XML parser implementation or interfaces, use the endorsed

+mechanism of the JVM. The default configuration defines JARs located in 

+"endorsed" as endorsed.

+

+

+================================================================

+Web application reloading and static fields in shared libraries:

+================================================================

+Some shared libraries (many are part of the JDK) keep references to objects

+instantiated by the web application. To avoid class loading related problems

+(ClassCastExceptions, messages indicating that the classloader

+is stopped, etc.), the shared libraries state should be reinitialized.

+

+Something which might help is to avoid putting classes which would be

+referenced by a shared static field in the web application classloader,

+and putting them in the shared classloader instead (JARs should be put in the

+"lib" folder, and classes should be put in the "classes" folder).

+

+

+================

+Tomcat on Linux:

+================

+GLIBC 2.2 / Linux 2.4 users should define an environment variable:

+export LD_ASSUME_KERNEL=2.2.5

+

+Redhat Linux 9.0 users should use the following setting to avoid

+stability problems:

+export LD_ASSUME_KERNEL=2.4.1

+

+There are some Linux bugs reported against the NIO sendfile behavior, make sure you

+have a JDK that is up to date, or disable sendfile behavior in the Connector.<br/>

+6427312: (fc) FileChannel.transferTo() throws IOException "system call interrupted"<br/>

+5103988: (fc) FileChannel.transferTo should return -1 for EAGAIN instead throws IOException<br/>

+6253145: (fc) FileChannel.transferTo on Linux fails when going beyond 2GB boundary<br/>

+6470086: (fc) FileChannel.transferTo(2147483647, 1, channel) cause "Value too large" exception<br/>

+

+

+=============================

+Enabling SSI and CGI Support:

+=============================

+Because of the security risks associated with CGI and SSI available

+to web applications, these features are disabled by default.  

+

+To enable and configure CGI support, please see the cgi-howto.html page.

+

+To enable and configue SSI support, please see the ssi-howto.html page.

+

+

+======================

+Security manager URLs:

+======================

+In order to grant security permissions to JARs located inside the

+web application repository, use URLs of of the following format

+in your policy file:

+

+file:${catalina.base}/webapps/examples/WEB-INF/lib/driver.jar

+

+

+============================

+Symlinking static resources:

+============================

+By default, Unix symlinks will not work when used in a web application to link

+resources located outside the web application root directory.

+

+This behavior is optional, and the "allowLinking" flag may be used to disable

+the check.

+

+

+=========================

+Enabling invoker servlet:

+=========================

+Starting with Tomcat 4.1.12, the invoker servlet is no longer available by

+default in all webapps. Enabling it for all webapps is possible by editing

+$CATALINA_HOME/conf/web.xml to uncomment the "/servlet/*" servlet-mapping

+definition.

+

+Using the invoker servlet in a production environment is not recommended and

+is unsupported.  More details are available on the Tomcat FAQ at

+http://tomcat.apache.org/faq/misc.html#invoker.

+

+

+==============================

+Viewing the Tomcat Change Log:

+==============================

+See changelog.html in this directory.

+

+

+============================================

+Multi-byte charset handling bug in Java 1.5:

+============================================

+Public versions of Sun/Oracle Java 1.5 are known to have a nasty bug in

+implementation of Charset.decode() method for certain character sets.

+

+For details, test and a list of affected character sets see:

+

+http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6196991

+https://issues.apache.org/bugzilla/show_bug.cgi?id=52579

+

+The UTF-8 charset is not affected by this issue.

+

+

+=============================

+Cryptographic software notice

+=============================

+This distribution includes cryptographic software.  The country in 

+which you currently reside may have restrictions on the import, 

+possession, use, and/or re-export to another country, of 

+encryption software.  BEFORE using any encryption software, please 

+check your country's laws, regulations and policies concerning the

+import, possession, or use, and re-export of encryption software, to 

+see if this is permitted.  See <http://www.wassenaar.org/> for more

+information.

+

+The U.S. Government Department of Commerce, Bureau of Industry and

+Security (BIS), has classified this software as Export Commodity 

+Control Number (ECCN) 5D002.C.1, which includes information security

+software using or performing cryptographic functions with asymmetric

+algorithms.  The form and manner of this Apache Software Foundation

+distribution makes it eligible for export under the License Exception

+ENC Technology Software Unrestricted (TSU) exception (see the BIS 

+Export Administration Regulations, Section 740.13) for both object 

+code and source code.

+

+The following provides more details on the included cryptographic

+software:

+  - Tomcat includes code designed to work with JSSE

+  - Tomcat includes code designed to work with OpenSSL

+

+

+====================

+When all else fails:

+====================

+See the FAQ

+http://tomcat.apache.org/faq/

diff --git a/tomcat-uid/webapps/ROOT/WEB-INF/web.xml b/tomcat-uid/webapps/ROOT/WEB-INF/web.xml
new file mode 100644
index 0000000..2cb7c2c
--- /dev/null
+++ b/tomcat-uid/webapps/ROOT/WEB-INF/web.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<web-app xmlns="http://java.sun.com/xml/ns/javaee"

+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

+   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"

+   version="2.5">

+

+  <display-name>Welcome to Tomcat</display-name>

+  <description>

+     Welcome to Tomcat

+  </description>

+

+</web-app>

diff --git a/tomcat-uid/webapps/ROOT/asf-logo-wide.gif b/tomcat-uid/webapps/ROOT/asf-logo-wide.gif
new file mode 100644
index 0000000..b240328
--- /dev/null
+++ b/tomcat-uid/webapps/ROOT/asf-logo-wide.gif
Binary files differ
diff --git a/tomcat-uid/webapps/ROOT/build.xml b/tomcat-uid/webapps/ROOT/build.xml
new file mode 100644
index 0000000..871daa7
--- /dev/null
+++ b/tomcat-uid/webapps/ROOT/build.xml
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<project name="ROOT" default="build-main" basedir=".">

+

+

+  <!-- ===================== Initialize Property Values =================== -->

+

+  <!-- See "build.properties.sample" in the top level directory for all     -->

+  <!-- property values you must customize for successful building!!!        -->

+  <property file="build.properties"/>

+  <property file="../build.properties"/>

+  <property file="../../build.properties"/>

+  <property file="${user.home}/build.properties"/>

+

+  <property name="build.compiler"  value="modern"/>

+  <property name="webapps.build"   value="../build"/>

+  <property name="webapps.dist"    value="../dist"/>

+  <property name="webapp.name"     value="ROOT"/>

+

+

+  <!-- =================== BUILD: Create Directories ====================== -->

+  <target name="build-prepare">

+    <mkdir dir="${webapps.build}"/>

+    <mkdir dir="${webapps.build}/${webapp.name}"/>

+  </target>

+

+

+  <!-- ================ BUILD: Copy Static Files ========================== -->

+  <target name="build-static" depends="build-prepare">

+    <copy todir="${webapps.build}/${webapp.name}">

+      <fileset dir=".">

+        <exclude name="build.*"/>

+      </fileset>

+    </copy>

+  </target>

+

+

+  <!-- ================= BUILD: Compile Server Components ================= -->

+  <target name="build-main" depends="build-static"/>

+

+

+  <!-- ==================== BUILD: Rebuild Everything ===================== -->

+  <target name="all" depends="build-clean,build-main"

+   description="Clean and build ROOT webapp"/>

+

+

+  <!-- ======================= BUILD: Clean Directory ===================== -->

+  <target name="build-clean">

+    <delete dir="${webapps.build}/${webapp.name}"/>

+  </target>

+

+

+  <!-- ======================= DIST: Create Directories =================== -->

+  <target name="dist-prepare">

+    <mkdir dir="${webapps.dist}"/>

+  </target>

+

+

+  <!-- ======================= DIST: Create Distribution Files ============ -->

+  <target name="dist" depends="build-main,dist-prepare"

+   description="Create ROOT webapp binary distribution">

+      <jar   jarfile="${webapps.dist}/${webapp.name}.war"

+             basedir="${webapps.build}/${webapp.name}" includes="**"/>

+  </target>

+

+

+  <!-- ======================= DIST: Clean Directory ====================== -->

+  <target name="dist-clean">

+    <delete dir="${webapps.dist}/${webapp.name}"/>

+  </target>

+

+

+  <!-- ====================== Convenient Synonyms ========================= -->

+  <target name="clean" depends="build-clean,dist-clean"

+   description="Clean build and dist directories"/>

+

+

+</project>

diff --git a/tomcat-uid/webapps/ROOT/favicon.ico b/tomcat-uid/webapps/ROOT/favicon.ico
new file mode 100644
index 0000000..6c5bd2c
--- /dev/null
+++ b/tomcat-uid/webapps/ROOT/favicon.ico
Binary files differ
diff --git a/tomcat-uid/webapps/ROOT/index.html b/tomcat-uid/webapps/ROOT/index.html
new file mode 100644
index 0000000..383f0fa
--- /dev/null
+++ b/tomcat-uid/webapps/ROOT/index.html
@@ -0,0 +1,208 @@
+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<?xml version="1.0" encoding="ISO-8859-1"?>

+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

+   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

+    <head>

+    <title>Apache Tomcat</title>

+    <style type="text/css">

+    /*<![CDATA[*/

+      body {

+          color: #000000;

+          background-color: #FFFFFF;

+          font-family: Arial, "Times New Roman", Times, serif;

+          margin: 10px 0px;

+      }

+

+    img {

+       border: none;

+    }

+

+    a:link, a:visited {

+        color: blue

+    }

+

+    th {

+        font-family: Verdana, "Times New Roman", Times, serif;

+        font-size: 110%;

+        font-weight: normal;

+        font-style: italic;

+        background: #D2A41C;

+        text-align: left;

+    }

+

+    td {

+        color: #000000;

+        font-family: Arial, Helvetica, sans-serif;

+    }

+

+    td.menu {

+        background: #FFDC75;

+    }

+

+    .center {

+        text-align: center;

+    }

+

+    .code {

+        color: #000000;

+        font-family: "Courier New", Courier, monospace;

+        font-size: 110%;

+        margin-left: 2.5em;

+    }

+

+     #banner {

+        margin-bottom: 12px;

+     }

+

+     p#congrats {

+         margin-top: 0;

+         font-weight: bold;

+         text-align: center;

+     }

+

+     p#footer {

+         text-align: right;

+         font-size: 80%;

+     }

+     /*]]>*/

+   </style>

+</head>

+

+<body>

+

+<!-- Header -->

+<table id="banner" width="100%">

+    <tr>

+      <td align="left" style="width:130px">

+        <a href="http://tomcat.apache.org/">

+          <img src="tomcat.gif" height="92" width="130" alt="The Mighty Tomcat - MEOW!"/>

+        </a>

+      </td>

+      <td align="left" valign="top"><b>Apache Tomcat</b></td>

+      <td align="right">

+        <a href="http://www.apache.org/">

+          <img src="asf-logo-wide.gif" height="51" width="537" alt="The Apache Software Foundation"/>

+        </a>

+       </td>

+     </tr>

+</table>

+

+<table>

+    <tr>

+

+        <!-- Table of Contents -->

+        <td valign="top">

+            <table width="100%" border="1" cellspacing="0" cellpadding="3">

+                <tr>

+                  <th>Administration</th>

+                </tr>

+                <tr>

+                  <td class="menu">

+                    <a href="/manager/status">Status</a><br/>

+                    <a href="/manager/html">Tomcat&nbsp;Manager</a><br/>

+                    &nbsp;

+                  </td>

+                </tr>

+            </table>

+            <br />

+            <table width="100%" border="1" cellspacing="0" cellpadding="3">

+                <tr>

+                  <th>Documentation</th>

+                </tr>

+                <tr>

+                  <td class="menu">

+                    <a href="RELEASE-NOTES.txt">Release&nbsp;Notes</a><br/>

+                    <a href="/docs/changelog.html">Change&nbsp;Log</a><br/>

+                    <a href="/docs">Tomcat&nbsp;Documentation</a><br/>

+                    &nbsp;

+                    </td>

+                </tr>

+            </table>

+            <br/>

+            <table width="100%" border="1" cellspacing="0" cellpadding="3">

+                <tr>

+                  <th>Tomcat Online</th>

+                </tr>

+                <tr>

+                  <td class="menu">

+                    <a href="http://tomcat.apache.org/">Home&nbsp;Page</a><br/>

+                    <a href="http://tomcat.apache.org/faq/">FAQ</a><br/>

+                    <a href="http://tomcat.apache.org/bugreport.html">Bug&nbsp;Database</a><br/>

+                    <a href="http://mail-archives.apache.org/mod_mbox/tomcat-users/">Users&nbsp;Mailing&nbsp;List</a><br/>

+                    <a href="http://mail-archives.apache.org/mod_mbox/tomcat-dev/">Developers&nbsp;Mailing&nbsp;List</a><br/>

+                    <a href="irc://irc.freenode.net/#tomcat">IRC</a><br/>

+                    &nbsp;

+                  </td>

+                </tr>

+            </table>

+            <br/>

+            <table width="100%" border="1" cellspacing="0" cellpadding="3">

+                <tr>

+                  <th>Miscellaneous</th>

+                </tr>

+                <tr>

+                  <td class="menu">

+                    <a href="/examples/servlets/">Servlets Examples</a><br/>

+                    <a href="/examples/jsp/">JSP Examples</a><br/>

+                    <a href="http://wiki.apache.org/tomcat/Specifications">Specifications</a><br/>

+                        &nbsp;

+                  </td>

+                </tr>

+            </table>

+        </td>

+

+        <td style="width:20px">&nbsp;</td>

+

+        <!-- Body -->

+        <td align="left" valign="top">

+          <p id="congrats">If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!</p>

+

+          <p>As you may have guessed by now, this is the default Tomcat home page. It can be found on the local filesystem at:</p>

+          <p class="code">$CATALINA_HOME/webapps/ROOT/index.html</p>

+

+          <p>where "$CATALINA_HOME" is the root of the Tomcat installation directory. If you're seeing this page, and you don't think you should be, then you're either a user who has arrived at new installation of Tomcat, or you're an administrator who hasn't got his/her setup quite right. Providing the latter is the case, please refer to the <a href="/docs">Tomcat Documentation</a> for more detailed setup and administration information than is found in the INSTALL file.</p>

+

+            <p><b>NOTE: For security reasons, using the manager webapp

+            is restricted to users with certain roles such as "manager-gui".</b>

+            Users are defined in <code>$CATALINA_HOME/conf/tomcat-users.xml</code>.</p>

+

+            <p>Included with this release are a host of sample Servlets and JSPs (with associated source code), extensive documentation, and an introductory guide to developing web applications.</p>

+

+            <p>Tomcat mailing lists are available at the Tomcat project web site:</p>

+

+           <ul>

+               <li><b><a href="http://tomcat.apache.org/lists.html#tomcat-users">tomcat-users</a></b> for general questions related to configuring and using Tomcat</li>

+               <li><b><a href="http://tomcat.apache.org/lists.html#tomcat-dev">tomcat-dev</a></b> for developers working on Tomcat</li>

+           </ul>

+

+            <p>Thanks for using Tomcat!</p>

+

+            <p id="footer"><img src="tomcat-power.gif" width="77" height="80" alt="Powered by Tomcat"/><br/>

+            &nbsp;

+

+            Copyright &copy; 1999-2014 Apache Software Foundation<br/>

+            All Rights Reserved

+            </p>

+        </td>

+

+    </tr>

+</table>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/ROOT/index.jsp b/tomcat-uid/webapps/ROOT/index.jsp
new file mode 100644
index 0000000..8828d20
--- /dev/null
+++ b/tomcat-uid/webapps/ROOT/index.jsp
@@ -0,0 +1,209 @@
+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<?xml version="1.0" encoding="ISO-8859-1"?>

+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

+   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

+<%@ page session="false" %>

+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

+    <head>

+    <title><%= application.getServerInfo() %></title>

+    <style type="text/css">

+    /*<![CDATA[*/

+      body {

+          color: #000000;

+          background-color: #FFFFFF;

+          font-family: Arial, "Times New Roman", Times, serif;

+          margin: 10px 0px;

+      }

+

+    img {

+       border: none;

+    }

+

+    a:link, a:visited {

+        color: blue

+    }

+

+    th {

+        font-family: Verdana, "Times New Roman", Times, serif;

+        font-size: 110%;

+        font-weight: normal;

+        font-style: italic;

+        background: #D2A41C;

+        text-align: left;

+    }

+

+    td {

+        color: #000000;

+        font-family: Arial, Helvetica, sans-serif;

+    }

+

+    td.menu {

+        background: #FFDC75;

+    }

+

+    .center {

+        text-align: center;

+    }

+

+    .code {

+        color: #000000;

+        font-family: "Courier New", Courier, monospace;

+        font-size: 110%;

+        margin-left: 2.5em;

+    }

+

+     #banner {

+        margin-bottom: 12px;

+     }

+

+     p#congrats {

+         margin-top: 0;

+         font-weight: bold;

+         text-align: center;

+     }

+

+     p#footer {

+         text-align: right;

+         font-size: 80%;

+     }

+     /*]]>*/

+   </style>

+</head>

+

+<body>

+

+<!-- Header -->

+<table id="banner" width="100%">

+    <tr>

+      <td align="left" style="width:130px">

+        <a href="http://tomcat.apache.org/">

+          <img src="tomcat.gif" height="92" width="130" alt="The Mighty Tomcat - MEOW!"/>

+        </a>

+      </td>

+      <td align="left" valign="top"><b><%= application.getServerInfo() %></b></td>

+      <td align="right">

+        <a href="http://www.apache.org/">

+          <img src="asf-logo-wide.gif" height="51" width="537" alt="The Apache Software Foundation"/>

+        </a>

+       </td>

+     </tr>

+</table>

+

+<table>

+    <tr>

+

+        <!-- Table of Contents -->

+        <td valign="top">

+            <table width="100%" border="1" cellspacing="0" cellpadding="3">

+                <tr>

+                  <th>Administration</th>

+                </tr>

+                <tr>

+                  <td class="menu">

+                    <a href="/manager/status">Status</a><br/>

+                    <a href="/manager/html">Tomcat&nbsp;Manager</a><br/>

+                    &nbsp;

+                  </td>

+                </tr>

+            </table>

+            <br />

+            <table width="100%" border="1" cellspacing="0" cellpadding="3">

+                <tr>

+                  <th>Documentation</th>

+                </tr>

+                <tr>

+                  <td class="menu">

+                    <a href="RELEASE-NOTES.txt">Release&nbsp;Notes</a><br/>

+                    <a href="/docs/changelog.html">Change&nbsp;Log</a><br/>

+                    <a href="/docs">Tomcat&nbsp;Documentation</a><br/>

+                    &nbsp;

+                    </td>

+                </tr>

+            </table>

+            <br/>

+            <table width="100%" border="1" cellspacing="0" cellpadding="3">

+                <tr>

+                  <th>Tomcat Online</th>

+                </tr>

+                <tr>

+                  <td class="menu">

+                    <a href="http://tomcat.apache.org/">Home&nbsp;Page</a><br/>

+                    <a href="http://tomcat.apache.org/faq/">FAQ</a><br/>

+                    <a href="http://tomcat.apache.org/bugreport.html">Bug&nbsp;Database</a><br/>

+                    <a href="http://mail-archives.apache.org/mod_mbox/tomcat-users/">Users&nbsp;Mailing&nbsp;List</a><br/>

+                    <a href="http://mail-archives.apache.org/mod_mbox/tomcat-dev/">Developers&nbsp;Mailing&nbsp;List</a><br/>

+                    <a href="irc://irc.freenode.net/#tomcat">IRC</a><br/>

+                    &nbsp;

+                  </td>

+                </tr>

+            </table>

+            <br/>

+            <table width="100%" border="1" cellspacing="0" cellpadding="3">

+                <tr>

+                  <th>Miscellaneous</th>

+                </tr>

+                <tr>

+                  <td class="menu">

+                    <a href="/examples/servlets/">Servlets Examples</a><br/>

+                    <a href="/examples/jsp/">JSP Examples</a><br/>

+                    <a href="http://wiki.apache.org/tomcat/Specifications">Specifications</a><br/>

+                        &nbsp;

+                  </td>

+                </tr>

+            </table>

+        </td>

+

+        <td style="width:20px">&nbsp;</td>

+

+        <!-- Body -->

+        <td align="left" valign="top">

+          <p id="congrats">If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!</p>

+

+          <p>As you may have guessed by now, this is the default Tomcat home page. It can be found on the local filesystem at:</p>

+          <p class="code">$CATALINA_HOME/webapps/ROOT/index.jsp</p>

+

+          <p>where "$CATALINA_HOME" is the root of the Tomcat installation directory. If you're seeing this page, and you don't think you should be, then you're either a user who has arrived at new installation of Tomcat, or you're an administrator who hasn't got his/her setup quite right. Providing the latter is the case, please refer to the <a href="/docs">Tomcat Documentation</a> for more detailed setup and administration information than is found in the INSTALL file.</p>

+

+            <p><b>NOTE: For security reasons, using the manager webapp

+            is restricted to users with certain roles such as "manager-gui".</b>

+            Users are defined in <code>$CATALINA_HOME/conf/tomcat-users.xml</code>.</p>

+

+            <p>Included with this release are a host of sample Servlets and JSPs (with associated source code), extensive documentation, and an introductory guide to developing web applications.</p>

+

+            <p>Tomcat mailing lists are available at the Tomcat project web site:</p>

+

+           <ul>

+               <li><b><a href="http://tomcat.apache.org/lists.html#tomcat-users">tomcat-users</a></b> for general questions related to configuring and using Tomcat</li>

+               <li><b><a href="http://tomcat.apache.org/lists.html#tomcat-dev">tomcat-dev</a></b> for developers working on Tomcat</li>

+           </ul>

+

+            <p>Thanks for using Tomcat!</p>

+

+            <p id="footer"><img src="tomcat-power.gif" width="77" height="80" alt="Powered by Tomcat"/><br/>

+            &nbsp;

+

+            Copyright &copy; 1999-2014 Apache Software Foundation<br/>

+            All Rights Reserved

+            </p>

+        </td>

+

+    </tr>

+</table>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/ROOT/tomcat-power.gif b/tomcat-uid/webapps/ROOT/tomcat-power.gif
new file mode 100644
index 0000000..c1a7404
--- /dev/null
+++ b/tomcat-uid/webapps/ROOT/tomcat-power.gif
Binary files differ
diff --git a/tomcat-uid/webapps/ROOT/tomcat.gif b/tomcat-uid/webapps/ROOT/tomcat.gif
new file mode 100644
index 0000000..6175673
--- /dev/null
+++ b/tomcat-uid/webapps/ROOT/tomcat.gif
Binary files differ
diff --git a/tomcat-uid/webapps/ROOT/tomcat.svg b/tomcat-uid/webapps/ROOT/tomcat.svg
new file mode 100644
index 0000000..dbccdaf
--- /dev/null
+++ b/tomcat-uid/webapps/ROOT/tomcat.svg
@@ -0,0 +1,589 @@
+<?xml version="1.0" encoding="utf-8"?>

+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<!-- Generator: Adobe Illustrator 11 Build 196, SVG Export Plug-In . SVG Version: 6.0.0 Build 78)  -->

+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"    "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [

+	<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">

+	<!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">

+	<!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">

+	<!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">

+	<!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">

+	<!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">

+	<!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">

+	<!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">

+	<!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">

+	<!ENTITY ns_svg "http://www.w3.org/2000/svg">

+	<!ENTITY ns_xlink "http://www.w3.org/1999/xlink">

+]>

+<svg 

+	 xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;" i:viewOrigin="176.7139 486.707" i:rulerOrigin="-156 -296" i:pageBounds="156 496 456 296"

+	 xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"

+	 width="260.162" height="184.413" viewBox="0 0 260.162 184.413" overflow="visible" enable-background="new 0 0 260.162 184.413"

+	 xml:space="preserve">

+	<metadata>

+		<variableSets  xmlns="&ns_vars;">

+			<variableSet  varSetName="binding1" locked="none">

+				<variables></variables>

+				<v:sampleDataSets  xmlns="&ns_custom;" xmlns:v="&ns_vars;"></v:sampleDataSets>

+			</variableSet>

+		</variableSets>

+		<sfw  xmlns="&ns_sfw;">

+			<slices></slices>

+			<sliceSourceBounds  y="302.294" x="176.714" width="260.162" height="184.413" bottomLeftOrigin="true"></sliceSourceBounds>

+		</sfw>

+<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?><x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 3.0-29, framework 1.6'>

+<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>

+

+ <rdf:Description rdf:about=''

+  xmlns:pdf='http://ns.adobe.com/pdf/1.3/'>

+ </rdf:Description>

+

+ <rdf:Description rdf:about=''

+  xmlns:tiff='http://ns.adobe.com/tiff/1.0/'>

+ </rdf:Description>

+

+ <rdf:Description rdf:about=''

+  xmlns:xap='http://ns.adobe.com/xap/1.0/'

+  xmlns:xapGImg='http://ns.adobe.com/xap/1.0/g/img/'>

+  <xap:CreateDate>2006-05-09T08:17:21Z</xap:CreateDate>

+  <xap:ModifyDate>2006-05-09T08:37:38Z</xap:ModifyDate>

+  <xap:CreatorTool>Illustrator</xap:CreatorTool>

+  <xap:Thumbnails>

+   <rdf:Alt>

+    <rdf:li rdf:parseType='Resource'>

+     <xapGImg:format>JPEG</xapGImg:format>

+     <xapGImg:width>256</xapGImg:width>

+     <xapGImg:height>184</xapGImg:height>

+     <xapGImg:image>/9j/4AAQSkZJRgABAgEASABIAAD/7QAsUGhvdG9zaG9wIDMuMAA4QklNA+0AAAAAABAASAAAAAEA&#xA;AQBIAAAAAQAB/+4ADkFkb2JlAGTAAAAAAf/bAIQABgQEBAUEBgUFBgkGBQYJCwgGBggLDAoKCwoK&#xA;DBAMDAwMDAwQDA4PEA8ODBMTFBQTExwbGxscHx8fHx8fHx8fHwEHBwcNDA0YEBAYGhURFRofHx8f&#xA;Hx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8f/8AAEQgAuAEAAwER&#xA;AAIRAQMRAf/EAaIAAAAHAQEBAQEAAAAAAAAAAAQFAwIGAQAHCAkKCwEAAgIDAQEBAQEAAAAAAAAA&#xA;AQACAwQFBgcICQoLEAACAQMDAgQCBgcDBAIGAnMBAgMRBAAFIRIxQVEGE2EicYEUMpGhBxWxQiPB&#xA;UtHhMxZi8CRygvElQzRTkqKyY3PCNUQnk6OzNhdUZHTD0uIIJoMJChgZhJRFRqS0VtNVKBry4/PE&#xA;1OT0ZXWFlaW1xdXl9WZ2hpamtsbW5vY3R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo+Ck5SVlpeYmZ&#xA;qbnJ2en5KjpKWmp6ipqqusra6voRAAICAQIDBQUEBQYECAMDbQEAAhEDBCESMUEFURNhIgZxgZEy&#xA;obHwFMHR4SNCFVJicvEzJDRDghaSUyWiY7LCB3PSNeJEgxdUkwgJChgZJjZFGidkdFU38qOzwygp&#xA;0+PzhJSktMTU5PRldYWVpbXF1eX1RlZmdoaWprbG1ub2R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo&#xA;+DlJWWl5iZmpucnZ6fkqOkpaanqKmqq6ytrq+v/aAAwDAQACEQMRAD8A9U4q7FXYq7FXYq7FXYq7&#xA;FXYq7FXYq7FXYq7FXYq7FXhH/OYHnWfQ/wAurfRLSUxXXmK49GQqaN9VtwJJqH3cxqfYnFXhP5Y/&#xA;85O+f/JU0enaw769okbBJLS8ZvrUKg0IhnarDj/I9R2HHFX2F+Xn5neT/P8ApP6R8u3glKAfW7KS&#xA;iXNuzdFljqaezCqnsTirK8VdirsVdirsVdirsVdirC/zM/Nvyd+XemC71255Xcqk2WmQUa5nI2+F&#xA;CRxUd3ag+nbFXx1+Zf8Azkn+YvneaW1tLh9C0NgwXTrB2V3Sm/rzji8m3UDitP2cVfV//OOfmabz&#xA;D+T3l+6uHMl1aRPYTsxqSbVzEhJ7kxKhxV6VirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVd&#xA;irsVfHn/ADlxdSa7+bvlvyvGx4RW0EVARtNfXJVqf7BY+uRlKgT3JAt5r/zkD5ZGgfmfqSRR+nZ6&#xA;gsd9agdOMq0f/ksj5h9nZvEwgnmNi2Z4cMiw/wAqebPMHlTXLfW9BvHstQtjVZEPwstQWjkXo6NT&#xA;4lOxzOan3v8Akl+cel/mX5a+tAJa69ZcU1fTlJojGvGWLluYpKbV6GqmtKlV6NirsVdirsVdirsV&#xA;eWfnr+eGl/lroywwBLzzPfox02wJqqL0+sT03EanoOrnYdyFXwh5i8x655j1i41jW7yS+1K6blNc&#xA;SmpPgABQKo6BVFB2xVnf5Q+SjrWh+d9Yli5w6XolylsadbqSNnTj8kiYf7IZg6zUeHKERzlIfL8U&#xA;3YoWCe4Pff8AnCfVTN5D1zTCamz1P11HcLcQIAPlWE5nNL6KxV2KuxV2KuxV2KuxV2KuxV2KuxV2&#xA;KuxV2KuxV2KuxV2KvjD8wm/Sv/OX8UTGsdrqGnCMNUU+rW0Mp6f5ammY2sNYZ/1T9zZi+oe9m/8A&#xA;zkx+Xc/mPytFrunRepqehc3ljUVeS0cAyAU6mMqHA8OXfNB2PqhCfAeUvv8A2uZqcdix0fIedQ69&#xA;m35OefrryN+YOla2kpjsjKttqqDo9nMwEoI78ftr/lKMVfaeqf8AOSH5KaaSs3meCZx0W1inuanf&#xA;YNDG69vHFWM3v/OYn5QW5YQ/pK8ArQwWqitPD1pIuvviqVT/APObH5cKR6GjaxIP2i8dqhB9qTvi&#xA;qmP+c2fIFd9C1Wnfa2/6q4qmFv8A85n/AJUSvxksdZtx/NJb25H/ACTuHOKp3bf85XfkpPBI7avN&#xA;BIisywS2lwGcqCeIZUdKmm1WGKvijzz5x1bzl5q1HzFqjlrm+lLrHWqxRDaOFP8AJjSij7+uKpNb&#xA;W1xdXMVtbRtNcTuscMKAszu54qqgbkkmgwE1uVfbHkL8uk8o/lTPoMiK+o3drPNqZHRrieIhlr4I&#xA;tEB9q5yWo1fi6gS/hBFfN2UMfDAjqwT/AJwdvyt/5usC20sVlOq77em0yMR2/wB2Cudc619ZYq7F&#xA;XYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXxZKTJ/zmFc+oedNTmA5b/ZtG49fCgpmH2h/&#xA;cS9zbh+sPqDrsc4t2r57/Nf/AJxkGo3c+teSTFb3ExMlxo0hEcTMdybd/spU/sN8PgQNs3+i7Xoc&#xA;OX5/rcLLpusWIaF/zif56vFWTVr6y0pG6xgtczL81QLH90mZWTtnFH6bk1x0sjz2Z1pf/OIvlOIL&#xA;+lNbvrthSv1dYrZSe+zC4ND88wp9uTP0xA9+/wCptGkHUsms/wDnGf8AKS3AEunT3dOpmupxXam/&#xA;pNFmPPtjOeRA+H67bBpoPDv+ch/yt03yXrdjeaFbG30HUouCQ8pJBFcQ0DqXkZ2+NSrCrfzeGbns&#xA;vWHNAiX1BxdRi4TtySH8jfJdn5u/MOy07UIfrGl28ct3fw1IDRxrxUEqQaGV0By7X6g4sRkOfRhh&#xA;hxSp9N3X/OO/5P3FSdBETGnxRXN0nT/JEvH8M50dq6gfxfYHOOnh3JDqP/OKn5a3NTazajYt+yIp&#xA;0dfpEsbn/hsvj21lHMRP497A6SPmwzW/+cQr9A76H5himO/CG9haL5AyxGT/AIhmXj7cifqiR7t/&#xA;1NUtIehZh+S3/OP8Xk+5GveYXivNfTkLSKIloLYGqlwzBecjL3p8P45i9odqeIOCH09fNtw6fh3P&#xA;N7DfIz2VwijkzRuFA6klTmpxmpD3uRLk+bf+cJrrj+Yet2tT+90hpeP7J9O5hWp9/wB5tneunfZm&#xA;KuxV2KuxV2KuxV2KuxVZLNFDG0srrHGu7O5CqB7k4qks3nzyNC5jm8xaZHIOqPeW6nf2L4qmFhrW&#xA;j6iK6ff294KVrbypLt1r8BPjirAvzb/Pnyf+WrW9rqKS6hq90vqRaba8eaxVp6krMQEUkEL1JPbq&#xA;cVYFof8Azmp5BupVj1fR9Q0wNsZo/SuY1/1qGN6fJDir2Xyf+Yfkrzjam48taxb6iqgGSKNisyA9&#xA;PUhcLKn+yXFWRYq7FXYq7FXxRrBNj/zl/NVwC+rL8XtcWw+Hf/jJTMXXC8M/6pbMP1h9SZxLtnYq&#xA;7FWG+afzg/LnyvdNZ6vrUSXqGj2sKvcSofB1hV+B/wBamZmHs/NkFxjt8mqWaMeZRPk78zvI/nF5&#xA;ItA1RLm5hHKS1dXhmC1pyEcoRmXputRkdRosuLeQ2TDLGXJCfm/5JXzj5D1HSo05X8a/WtNPcXMI&#xA;JUD/AFxVP9lk+z9R4WUE8jsWOaHFGnl3/OI/lpodN1zzFMlGuJUsLcsKELCPUlpXsWkQfNc2Xbmb&#xA;eMPj+r9LRpI8y+hc0DmuxV2KuxV2Kvl//nClHP5oas4B4Lok6luwLXdqQPpoc9AdK+08VdirsVdi&#xA;rsVdiqXeYPMOi+XtIudY1q7jsdNtF5z3EpooHQAd2ZjsqjcnYYq+VfPf/OV3nXzNqp0D8stPlto5&#xA;mMcF0IfrGoT+8UIDrGD8mbvVcVSqz/5xn/Pjzs66h5t1RbUueX+5W7kurgA/yxx+sq/6pZaeGKsj&#xA;h/5wanMYM3nNUk7qmml1/wCCN0n6sVQt7/zhDr8B56Z5stppEIMZntZLfcb1qkk9KHFXzr5mtdUs&#xA;tfv9O1S5a7vtOuJbKaZndwWt3MZ4mSjcartUDFUsxVFabqeo6XfQ3+m3UtlfW7c4Lq3dopUbxV1I&#xA;IxV9Sfkr/wA5aNcT2+gfmG6K8hWO18wqAi1OwF2q0Vf+Mi0H8w6tir6lVlZQykMrCqsNwQe4xVvF&#xA;XYq+Kfzzro3/ADlLa6oxKJLdaReFiaApGsMLeG1ISMqzw4sco94LKBogvqPOEdw7FXkf55/mBrlj&#xA;Jp3kbykX/wAVeYSFE0Zo8FuzFOSt+wzlW+P9lQx2NDm27N0sZXlyfRFxs+Qj0jmUd5B/IHyP5bsI&#xA;31Oyh1zWnAa6vb1BMnqHciKKSqKAehI5e+Q1XamTIfSeGPlzTj08YjfcsJ/PDy5pXkHX/LH5geW7&#xA;WPTGhvlt9Rt7RBFHKpBk+wgCjnGkiPQbg5m9m5jnhLFM3s1Z4iBEg+hOu4zn3NQOkaLpuj20ltp8&#xA;IghlnnunRe8tzK0sh/4JzQdhtlmXLKZuXdXyYxiByR2VsnYqxjV/zO/L3SJWh1DzDYQzoaPD66PI&#xA;p/ykQsw+kZlY9Dmnyifu+9qOWI6pvoOvaRr+kwato9yt3p1zz9C4UMob03MbbMFOzoR0ynLiljkY&#xA;yFEM4yBFhV1WVYdLvJWJCxwSOxHWioTjhFzA8wsuRfPn/OEVoX83eZLzekOnxQnpSsswb/mVneOn&#xA;fYOKuxV2KuxV2KqF9e2lhZT315KsFpaxtNcTuaKkcYLMzHwAFcVfFHnPzR50/wCchPzJi8veXlaH&#xA;y7aO5sYnqsUUCkK97dU/bYdB2qFXcklV9U/lj+UnlH8u9IWz0a2WS+dQL7VpVBuLhh1q37KV+yg2&#xA;Huakqs1xV2KuxV8v/nf/AM4patrnmG+80eSp4Xn1GR7m/wBIuW9ImdyWd4JSOH7xjUq9KGvxb0Cr&#xA;5/1j8mPzX0iRkvfKepgL9qSC3e5jG9P7yASJ1PjiqRjyb5vMvpDQ9QMtePpi1m5culKca1xVPtG/&#xA;JT82dYdUsvKepUf7MlxA1rGe395cekn44q+zf+cffKv5m+VvJ50bzvPbzRwFf0RFHK01xbxU+KCV&#xA;6cCqmnDizU3FaUAVeo4q7FXx5/zmxpD2vnTy7rcdUN5YPbh12POzmL1qO4FyuKsl/Lz/AJyc8ra2&#xA;sNj5mUaHqZAU3TGtnI3Qnn1ir1o/wj+bOY1XY8474/UO7r+1z8epB2Oz2iKWKaJJYnWSKQBkkQhl&#xA;ZTuCCNiDmnIINFygVGXTNOmvYb6W1hkvbbkLe6eNWljDgq3ByOS1UkGhwjJIDhs0ei0LtE5FLxD/&#xA;AJyycP5F0ezQcp59WjaNdt+NvMp/GQZuuxI/vJH+j+lxNWfSPe9rgiEMEcQNRGoQE9+IpmmlKyS5&#xA;QCpgSsllihieWVxHFGpeR2NFVVFSST0AGEAk0EEvn2fVfOv5269e6foN9Jof5e6fIYbm9QMst2af&#xA;ZIBUtyG4QkKqkFqmgzfiGLRQBkOLKfx+C4ZMspobRZzof/OOv5U6VCiyaUdSnUUa4vZZJGb5opSL&#xA;7kzBydrZ5HY8PuDbHTQDP9G0XStE02HTNJtks9Pt+Xo20Qoi83LtQe7MTmBkyynLikbJboxAFBJv&#xA;zO1Aaf8Al35lu60ZNNuljP8AlvEyJ/wzDL9FDizQH9IfYxymol59/wA4P6S0eg+adXI+G6ura0Vv&#xA;e2jeRgP+kkZ2zqX01irsVdirsVdir50/5zJ/MGbSfK1j5PspOFxrrGa/KmhFpAwon/PWWn0KR3xV&#xA;mf8Azjd+WEPkj8vrae5iA17XES91KQijorrWG333HpI24/mLYq9YxV2KuxV2KuxV2KuxV2KuxV2K&#xA;obUdT03TbR7zUbuGytI/7y4uJFijX5u5VRir5U/5yz/MX8tfNfl7S7DQtZh1LW9NvS5W2V3iFvJG&#xA;yyUnC+kfjVPsscVSv8i/yi/LTzn5Ij1XVLSafU4J5rW9C3EkaFlIdCFQrT926980XaOuy4cnDGqI&#xA;vk5eDDGQsvdvKXkby35StXtdBgmtrZ6Vge6uZ4wf5ljmkkRCe5UCuaPPqp5Tc9/gHLhjEeSN8x3+&#xA;o6foGoX2m2hv9QtoJJbWyFazSKpKxjjv8R22yOCEZTAkaBZTJAsPHv8AlcP53/8Altpv+BuP+ac3&#xA;H8n6X/VPti4vjZP5rzz8wfPP5i+bfNvluw1Dyq1rqWjzG+g0ROZmuRVZDVGHPjxgbcDpXNhpdNiw&#xA;wkYy9Mutj8dWnJOUiAQ9D/5XD+d//ltpv+BuP+ac1/8AJ+l/1T7Yt3jZP5rv+Vw/nf8A+W2m/wCB&#xA;uP8AmnH+T9L/AKp9sV8bJ/NYp+ZX5v8A5qXnli40LVfKbaCutAWkdyxlWRwWXnHGrheRdfhI8DmV&#xA;pNBgE+KMuLh9zXkzTIoirR/kbzf+bvlHy1Y+XtO/LedobYENM6zK0kjtyeRzxoOTH6BtkNTp9Plm&#xA;ZyyfaEwnOIoRej+RPO35o6xr62fmPyf+hdNMTub71C1HWnFaV/azX6rS4IQuE+KXds348kyaIZ7q&#xA;jaqthKdKSCS/pSBbp3jhr4uY1kbbwA38Rmux8PF6r4fJuldbPlv8+YvzstdPS483apafoO7nEEVh&#xA;pcjJbl6NIA0bKkjgenWsnKhpnTdnHTH+7HqHfz+f6nAz8f8AFyfQ3/OLHl06N+TWkyOnCfVpJ9Rm&#xA;Hj6r+nEfphiQ5t3GeuYq7FXYq7FXYq+MfzQhXzz/AM5YWmgz1lsLe7sbB4zvW3gRbi5TvSrNLir7&#xA;OxV2KuxV2KuxV2KuxV2KuxV5j59/5yM/K7yb6kFxqQ1TU0qP0dpvG4cMO0kgIij36hn5e2KvAvMv&#xA;/OWP5p+arl9P8laWukxtXiYIzfXvHpUuy+mg+UdR/NkJ5IwFyIA80xiSaDF/+VT/AJo+b7sah5w1&#xA;h1kavx3sz3k617KgYoo9uYp4ZptR7QYIbRuZ8uXzP7XMx6GcuezJYf8AnH3yrBptwjXFxd6g8LrB&#xA;NIwSNJSpCOEQA7NvRmOak+0eQzGwjCxfU11/FOT/ACfEDnZYH+S+sfmZZeajoHlC8htrq6ZnubC/&#xA;K/VnMAPLkrAtyUdfT+Kg8BnSa7HhMOLINg6/CZA1F9k6KdbOmw/pxbZdTp/pH1IyNAW8U9UK9Pnn&#xA;I5eDi9F8PnzdlG63R2VsmndUUu5CooJZiaAAdSTiBaHhP5N8/On5r+bPzEkBbT7dv0do7EGhWgUM&#xA;tRswgjUsP+LM3vaH7nBDCOZ5/j3/AHOJh9UzJ7vmicx2KvEf+clQLS78i63cEjT9O1cC6O3H4mjl&#xA;FR/qwPm77G3GSPUj9f63E1XQvbQQQCDUHoc0jlN4pSXzN5z8q+V7ZLjX9Tg0+OSvpLK37x+PXhGv&#xA;J3pXfiMuw6bJlNQFsJ5BHmXzJ+dn5haf+Z/mby75e8qtLPbLN6EbyI0YluruRI0oh+KigChIHU50&#xA;/ZmilhieL6i4GoyiZ2fbWh6Ra6Noun6PaClpp1tFaW4/4rgQRr+C5s3HR2KuxV2KuxV2KvjfymCP&#xA;+c0p/rdK/pTU+POlKfUp/S/4144q+yMVdirsVdirsVdirsVeQfmX/wA5Ofl55MaaxtZv0/rcdVNl&#xA;ZMDEj+E1x8SL4ELyYdxir5W/Mf8A5yD/ADJ88GSC6vjpmjyVC6VYFoYmQ1FJXr6kte/I8fADFXme&#xA;Kvpj8jdTtb3yJBFFGkdxYyyW9zwVU5MDzRzTqSjipPU1zhvaDHKOosk8Mht5d/6/i7rQSBh5h6Fm&#xA;ic12Kvnvz6l35B/Nqz8z2CEQyzLqMSqeIY143UVf8upr7Pnedl5RqdLwS5gcJ/R9n2uj1MPDyWPe&#xA;+wdL1Ky1TTbXUrGQTWd5Ek9vKOjJIoZT9xznMkDCRieYc2JsWisgyYZ+b1p5vvfIGqWPlSFZ9Tu0&#xA;9F1LiN/q77TelXYuV+EAkddt6A5vZ8sccoMzsPv6NOYSMdnzl+Wn5m/mVoKR+RtEtNLsrmGWSsOp&#xA;q1vM87t8Su8ssS+p0UKaGgAGdDqtHhyfvJ2fd3fBwseWUfSHq36V/wCcqf8AqzaN/wAGn/ZRms4N&#xA;B/OP2/qci83c79K/85U/9WbRv+DT/sox4NB/OP2/qW83c8o/Mj8z/wAy/MAm8i6zaaZfXU0sY9HT&#xA;Ea4lSdGqqxvFLKvqbFSBXqQc2el0eHH+8jY2693xcfJllL0l9KflXb+bbXyJpVp5riWLV7aIQsqu&#xA;JGMSbRGUio9ThQNQnx70znNccZyk4+R+9zsIkIi2W5iNqB1xdH/RF2+sxQy6XFE8t4tyiyRelGpZ&#xA;i6uCpAAyzFxcQ4D6ixlVb8nzj/zjB5UtfNn5xal5tisltNE0Rpbu1tEUCOOa6ZktYgBt+7j5tt3U&#xA;Z3UIkRAJt1BO77PySHYq7FXYq7FXYq+M/wAyX/wb/wA5b2WsP+7s7q90+7Zz8NILlEt7htqV3EmK&#xA;vszFXYq7FXYq7FWGfmR+bnkn8vrD6xr16PrkilrXS4KPdTdacY6jitRTmxC++Kvjz80/+clPPvnk&#xA;TWVq50Py45KfULRj6kqntcTjiz1H7K8V8QeuKsQ/KyLyvP5wtbTzFbC4trn91bc2IjW4JBj9QAjk&#xA;G+zQ7VIrmB2mcowE4jUh93Vv0wiZgS5Po7zD5J8ta/pa6bf2UfoQrxtWiAjeDbb0io+Hp06eIzht&#xA;N2jmwz4oyu+d7373dZNPCYoh8/effyj17yuZLu3B1DRgSRdRr8cS9f3yD7P+sPh+XTOz7P7Wxajb&#xA;6Z936u90+fSyx78wnP8Azj5r4s/M11o8jUi1OHlED/v63qwA+cbP92YvtDp+PCJjnA/Ydv1NugyV&#xA;Ou99C5xDuWDeefKvnzV9WiufL+v/AKKskt1jkt+Ui8pQ7sX+AEbqyj6M3XZ2t02LGRlhxyvnQO23&#xA;e4eow5JSuJoe8sD81/lL+ZF9pj3Go65Hq7WKPLBbMZGc7VZY+S9WC9O+bnSdsaQTEYQ4OLyAHxou&#xA;Jl0mWrJuvel/5Q/8rK80ySeXdA85S6P9Qh9W2spZ51RouXx+kEDD4CwqPfbvmz1pw4xxzhxX5Bxc&#xA;XFLYGnv35Y+RfzR0DXri881+af03p0lq8MVp6s0nGZpI2WSkiqNkRh9OaLW6rBkgBjjwm+4D7nMx&#xA;Y5g7m3p2axyGGfmF+U3k/wA82pGq23paii8bfVIAFuEpWgLU+NN/st9FDvmZpddkwnbePc1ZMMZ+&#xA;95R/iv8AMz8lbm20/wAzMPMvk2Z/Ssr5XpcIBvxXmSwKr/ut6r2Vxm28HDrAZQ9OTr+P0uNxzxbH&#xA;cNSeb/zJ/Om9uNM8pk+XPJ0Lelf6g7D13DD7L8DyJZf91oafzNTEYMOjAlP1ZOn7P1qZyymhsHrH&#xA;5d/lN5R8i2gXS7f1tRdaXGqTgNcPXqAeiJ/kr9NTvmq1euyZjvtHucjHhEPezPMJuePedvy3/OXV&#xA;fNF/qGg+c/0ZpM7KbWx9a4X0wI1VhxRSoqwJ2zc6fWaaMAJQuXuDizxZCbB2eNfm7F+Z3lQQaDr3&#xA;nKXV21SJmm0+GedgIQwCmVXC7OwIUd6HNtopYcvrhDhrrQcbKJR2JeieSv8AnHD8+9H0SJtG83Q+&#xA;XlvlS5udPinuonSR0Hwy+nHxLqPhO5zYtD2r8mvJH5m+V/0x/jjzN/iL659W/R/76eb0PS9X1f75&#xA;Vpz5p08MVel4q7FXYq7FXYq+Xv8AnNjya81joXnG3Sv1Vm0y/YCp4SEy25PgquJB82GKva/yY87J&#xA;5z/LXRNbaTneNALfUfEXVv8Au5SR25leY9mGKs2xV2KrZJI4o2kkYJGgLO7EBVUCpJJ6AYq+aPzm&#xA;/wCctrTTWn0L8vmjvL1ax3GvOA9vEehFsh2lYH9tvg8A1cVeMfl95AvPzCvLrzP5l1SW6iNwUueT&#xA;tJdTyqqsQ7tXgvFgPGmwp1zS9rdrflqjEXMj4OZpdL4m5Oz3O18seXrXSP0PDp0C6ZSjWhjVkb3c&#xA;NXk3ud842etzSyeIZHi73bDDAR4a2eaeb/yBsLlmvPK9x9QuQeX1OYs0JPX4JN3j/EfLN9ovaIj0&#xA;5hfmP0j9XycLNoBzh8noHku+1y50OKLXrV7XWLT9xeB6FZGUCkyOvwsHG549DUds03aOLHHJxYiD&#xA;jluPLy8v1OXp5SMakPUE9IBBBFQdiDmCDTe841/8pLaHW7bzL5U42OqWkyzvYfZt5+JqyrT+6LrV&#xA;f5fl1zoNL21xQOLPvGQri6j39/3+9wMujo8UOY6PSB06U9s54uewnzt5H8z69qsV5pXme60W3jgW&#xA;F7WAyhWcO7GQ+nLGKkMB07Zt9BrsGGBjkxiZvnt5d7iZ8M5m4ypj/wDyqbz9/wBT/f8A/BXP/ZRm&#xA;d/K+k/1CPyj+pp/K5f55+15z518keZ/y91G01W01SZ2nLiPVrYyW8qTMDzQurFgXQnfl8Qrm90Pa&#xA;GLVxIrl/CXCz4JYiHv8A+Qeia/NDH5tufO155k0u+s3gGm3Tzt9XufUjZuQkmlUPHwZdh0NQaHfV&#xA;9qTgP3YgIyB57bhv04PO7eyZp3KYZ+afm/zN5Z0KGby5okmtanezC1gVAXSF3UlXkRPjYbdqDxYd&#xA;83Q6eGWR45cIG7TmmYjYMC8p/kVrGu6ovmj81b1tV1Njyi0YODBEOoWQp8FB/vuP4fEtXM7P2nGE&#xA;eDAKHf8Aj7y1QwEm5orzX+Rd9pepP5n/ACuvm0HWlq0mlhqWc46lFBqqV/kYFP8AVyODtMSHBnHF&#xA;Hv8Ax9/NM8BBuGxZB+VP5j+ZPMs9/ovmbQJ9J13R1Q3s3ErbPzNEoGPJWehIA5KQKhu2Ua7RwxgT&#xA;hK4yZYcplsRuHo2a1yHh35u+SvN1nNrXnD/lYl/omiIFli0yB7gBSEVFiiC3EacpHGwAG5zd6HPi&#xA;lw4/DEpd+3z5OJmhIXLi2eW/lJ+UXnn829Svtdl1ue0XTjGo127MtzM9ytDHHG5dXrGg5E8vh+Hx&#xA;zo4QERQFBwSSeb2z/oXX86P/AC8Gq/8AI2+/7Kskh6L+UP5dedPJv6W/xN5wu/Nf1/6v9U+tvO/1&#xA;f0fV9Th68s3956i1pT7OKvRcVdirsVdirsVY/wCf/J9l5x8nar5bvKLFqMDRpKRX05R8UUlP8iRV&#xA;b6MVfLf/ADiz50vvJX5han+XXmGtsmoztDHE/SLU4Dw4jt++Qca9yEpir7ExVK/MnmbQvLOjXGs6&#xA;5eR2Om2q8pZ5TT5KoG7M3RVUVJ6Yq+M/zS/PHzr+bWrnyv5Vt5rPy67fDZoaS3CqaerduDRU/wAi&#xA;vEd+RplWbNDFEymaiGUIGRoc0Nc/846uugI1vqXPX1BaRGFLVtv7tTTmtP5z18BnOw9pInLRj+77&#xA;+vv/AB9rsD2eeHY+pV/Io6rofmDWPK2rwSWlzJEl3FBIKCsbem5UjZuYddxUHjke34xy4YZYGwDW&#xA;3n/YuhJjMxL2rOSdq7FXYq7FXYq7FXYq7FUt8w6Bp2v6Pc6VqCc7a5XiSPtIw3V0J6Mp3GZGl1M8&#xA;GQTjzH2+TXlxicaLxryB5w1r8nPPM+i63yl8v3rKbrgCVKE0ju4V8R0ZR13HUDO3ywx67CJw59P1&#xA;H8ebpgZYZ0X1xZXlpfWkN5ZyrPa3CLLBNGQyOjiqspHUEZzE4mJo8w54N7q2RS7FXYq73xVTuLi3&#xA;treS4uJFht4VMk00hCoiKKszMdgAOpwxiSaHNBNPlfzv5j8wfnh+Yll5O8qBhoVtKTFKwIQqvwzX&#xA;047IgNEB33p9p6Z13Z2iGGNn6zz/AFOtz5eM+T7B8j+TdG8m+V7Hy7o8fCzso+Jc/blkO8ksh7s7&#xA;bn7htTNi0J9irsVdirsVdirsVdirsVfLP/OXf5WXENxb/mXoKNHNCY4tbMNVdWQhbe7BG9RtGx/1&#xA;PfFWefl3/wA5I+VdQ/KqTzN5mu0ttV0YLbavarT1Z7gqfSaCPbl9YCkgdFIb9la4q+cvNPm3z/8A&#xA;nr5uCUNnolo1YLRSxtrOIkgSSdPUmYd+p7cV6Yms1mPTw4pn3DqW3FhlkNB695O8l6J5U00Wemx/&#xA;vHAN1duB6szDux8B2XoM4LXdoZNTK5cug7vx3u7w4I4xQT/MFvUJbGzluYbqSFGubfl6ExA5oHFG&#xA;AbrQjqMsjmkImIPplzDEwBIPUNahew2Nhc3s54wWsTzSt4JGpZj9wxw4zOYiP4iB81nLhBPc8w/J&#xA;Tzn5v8y3mqHV7oXFlaIhjHpojLJKxIAZQtQFQ9a50XbujwYYRMI8MifsH4DgaLNOZNmwHq+cy7F2&#xA;KuxV2KuxV2KuxVjXnzyLpnm/SDZ3P7m7hq9leAVaJyO/ijftL/EDNj2d2jLTTsbxPMfjq4+o04yD&#xA;zeb/AJZ/mj5g/KrXZPKnmyKSTQS9QFq5t+Z/v7c/txP1ZR8x8VQet1Gmx6vGMmM+r8bF1UJyxS4Z&#xA;PqrTNT0/VLCDUNOuI7qyuVDwXETBkZT3BGczkxygeGQohzgQRYRWRZOxVSurq2tLaW6upUgtoVLz&#xA;TSMEREUVLMxoABhjEyNDcoJp8v8A5n/mrr/5n65D5E8hQTTadcy+kxQcZL1lNeTV+xbpTl8VNvia&#xA;nTOp7O7OGL1S+v7v2uvz5+LYcn0j+SX5N6V+Wvlv6uCl1r96FfV9RUGjMKlYoq7iKOu38x+I+A2z&#xA;jPR8VdirsVdirsVdirsVdirsVSDz3rvlfQ/KWp6h5oaMaGsDx3kUgDCZJFK+iqEjm0leIXvir81d&#xA;SfTpdTupdPhkt9MedzawyMJJI4WYmNGeihmCbV74q+q/y8tfLEHlOyPlsV06VefqGnqvJ0czH/fl&#xA;RQ+HQbUzzrtWeY5z4v1D5V5eTv8ATCAgOFkma5yHYq7FWIfm3qBsfy81mRftSxLbge08ixN/wrHN&#xA;r2Jj4tVHys/Z+txdZKsZSD/nH3TRb+S5rwj4767kYH/IjVYwP+CDZm+0mQnNGPQR+/8AAauz4+gn&#xA;zenZzrnuxV2KuxV2KuxV2KuxVjnnbyLovm3Tfqt+np3MYJtL1APUiY+Feqn9pe/zocz9B2jk00rj&#xA;vHqPx1aM+njkG/N4/ovmf8xfyX1w2rr9b0W4fkbVyxtLgDq8T0Jikp12r4gimdkPA12PiHP7R7/x&#xA;7nUETwyovpX8vvzc8m+eLZf0ZdCDUgKzaVcEJcKR1KitJF/ykr70O2aHVaDJhO4uPf8Ajk5ePNGX&#xA;vTXzl578seTtMOoa9eLboa+hAPimmYfsxRjdj+A7kZVp9LPMaiP1Mp5BEbvmXzJ54/Mb87vMcflj&#xA;y1ZyQ6SzhksENFCKf96L2YbcV60+yDQAM1Cep0eghgF85d/6nX5cxn7n1H+S35IaB+Wmkkxlb3zD&#xA;eIo1LVGHyJhgrukQbfxbqewGe0vSsVdirsVdirsVdirsVdirsVQup6np+l6fc6jqNwlrY2kbTXNx&#xA;KeKJGgqzMfYYq+HfzQ/MTzL+dvnmHSNFR4PLtm7fo+2eoUIKh7y5pX42BoB+yPhG5JajU6mGGBnM&#xA;7BnjxmZoPQ4Pyv8AK8fk1vK5i5W8g5yXVAJjcU2nr/MO3am3TOGl2xmOfxfs6V3ft73dDSQ4OH7X&#xA;kehaz5g/KfzbLpWqK0+jXLB5VQfDJGaqlxDU7MKfEv0HsR0uowYu0MAlA+ocvI9x/HmHXY5ywTo8&#xA;n0Fp2o2OpWMN9YzLcWlwoeGZDUEH/Pcds4jNhljkYyFSDuYTEhY5KzTQoaPIqnwJAOCOOR3AKmQH&#xA;VyzQueKyKx8AQTiccgLIKiQPV5t/zkDctD5FijHS5voYm37BJJP1x5vPZwf4Qf6h+8OH2h/dj3p3&#xA;+UNt9X/LnRkoQXjklNRQ/vJnf9TbZjdtyvVT+H3Bs0Y/dBmOalynYq7FXYq7FXYq7FXYq7FUHq+j&#xA;6ZrFhLYanbJdWkwo8Tjb2II3Vh2I3GXYNRPFLigaLCeMSFF4R50/JTXdCnOq+VpJby1ib1FjjJF5&#xA;ARuCvGhenYr8Xt3zstB25jzenJ6Z/Yf1fF1OfRShvHcJFJ5F/M7zRY3PmTUI7m8eKMFHvZHa6mRe&#xA;0SvV2CjcdK/s1OZsu0NNimMVgHy5D39zQMGSQ4qfTP8AziV518hXnlX/AA3p1lBpPmi0XnqUIr6l&#xA;6F2+sq7lnfr8SV+A9AFIzYtD6BxV2KuxV2KuxV2KuxV2KuxV2KvjX/nI7847/wA+eYk/L/ye7XGj&#xA;QTiO4kgNRfXSnswNDBEeh6Egt0CnIZMkYRMpGgExiSaDJvy88h2PlDRRbJxl1G4o9/dAfbcDZVPX&#xA;gn7P3988/wC0+0Zamd8oDkP0+93um04xx82vOP5meVvKoMV7OZ7+lVsLejy+3PcKg/1j8q4dF2Tm&#xA;1G4HDDvP6O9c2qhj25l47r/mfzt+ak6aXovlxrmO3f1I47SF7meOuxLzAURT32UZ1/Z/ZcNNdEkn&#xA;n3fJ1OfUnJzDFvNXl7z35Lu/8P8AmCG60uQoLhbNpaxMsg+2nps0TVpQkHqKHcZseEXdbtFsbySH&#xA;Yqu9ST0/T5H068uFTx5UpWnjir2HyZ+T/wCfGr+U9O1/yreSS6VdKzWkEOo+iQI5HRlMcjxoPjjI&#xA;pXKMmmxT+qMT7wGcckhyJCOudA/5yq0IfvtM1G4VDuscNvqFadqwidj07HMXJ2Tpp84D4bfc2x1W&#xA;QdUvl/Oj8y9CmEPmHQ0iPQpc209pKT1/aNP+FzCyezunly4o/H9bbHX5Bzop1pv/ADkboslBqWkX&#xA;FsfG3dJx8/j9HNfl9mZfwTB94r9bkR7RHUMv0r82/wAvtSoserx28ndLoNb0/wBlIFT7mzWZuxdT&#xA;D+HiHlv9nP7HIhrMcutMst7i3uIlmt5Umib7MkbBlPyIqM1s8coGpAg+bkxkDuFTIJdirsVdirsV&#xA;dirH/PXm608q+XZ9Umo8391ZwH/dk7A8V+Qpyb2GZ/Z2iOoyiP8AD19zRqMwxxvq+cfL9n+Yf19/&#xA;Omi29ytzYytfnU41CgPyLOyhqCTqeSqDt1FM7+WoxYyIGQBOwDoxjlIE0+1/yK/O7S/zJ0IpP6dp&#xA;5nsVA1LT1OzrsPrEAO5jYncdVOx/ZJyGt6jirsVdirsVdirsVdirsVfO/wDzlT+dh8vaa/kfQJ6a&#xA;7qUf+5S4jPxWtrINoxTpJMD8wm/7SnFWA/k3+W48v6eNZ1OL/c1ep8EbDe3hbfhQ9Hbq3h08a8V2&#xA;52n4svCgfRHn5n9Q/HR3Gi03COI8yl/5qfm5LYTt5d8sP6mqM3pXd3GOZiY7elFStZa9T+z0+10v&#xA;7I7G4gMmUbdI/pP6mGr1demPzZX+UH/OJcl6I/MP5lNKZJj6sehB2EjV35XkoPKp68FNfFuq51wF&#xA;OqfT2j6Jo+i2Een6RZQafYxf3dtbRrFGPfigAqe5xVj35mflh5Y/MLy++k61CBKgLWGoIB69tKf2&#xA;o2PY0HJejD6CFXwV+Z35WeaPy715tL1qHlbyFmsNRjB9C4jBoGU/st/Mh3X5UJVYdirsVfb3/OHX&#xA;mKPUfyrfSS9Z9EvpovTrUiK4/wBIRvYM7yD6MVe7YqsmhhniaKaNZYnFHjcBlI8CDtirDde/JX8q&#xA;Ne5HUvK1g0j15zQRC1lJPcyW/pOT9OKvMfMn/OF/5eXwZ9D1K+0aY/ZRit3AP9g/CT/krirzTVv+&#xA;cTvzh8tSPdeVNVh1EDoLS4exuWp4rIVj/wCSpyGTHGYqQBHmmMiNwxq58/fnT5ImW382aVMYgeIO&#xA;oWzRch0pHcRhUfp1+LNVn7C02TcDhPl+rk5UNbkj1tlGgf8AOQHlS94x6rBNpUx6uR68P/BIOf8A&#xA;wmaPUezmWO+MiX2H9X2uZj7QifqFPRNK1vR9Wg9fTL2G9iHVoHV6V7NQ7H2OaTPpsmI1OJi5sMkZ&#xA;cjaNyhm7FXYqlGq+VNC1fULe91S2F69opW2hn+OFCxqzekfhLGg3avTbMzDrsuKBhA8N8yOfz/U0&#xA;zwRlKzumyqqqFUAKBQKNgAO2YhJJttp84edta0nyl+Y0Gu+Qr/0NQtH9W4WAfuI5wfiRSDxdJBUO&#xA;lOPUd6D0PsqWc4R4w36d5Hm6HUiAn6H2P+TH5xaN+ZXlwXcIW11u0ATVdM5VMbnpJHXcxP8Asnt0&#xA;PTNk470PFXYq7FXYq7FXYqwf84fzP078uvJtxrU/GXUJawaTZMf765YbVA34IPic+G3UjFXyR+U/&#xA;lPUvNnmK589+ZXa65XDzRPKB/pF2Wq0h7cIz0AFK7D7NM5/tztLwo+HA+uXPyH6z+OjnaLT8R4jy&#xA;DOPzf89t5Y8v+hZScdX1HlHbEdY0A/eS/MVovufbNJ2J2f4+TikPRD7T3fr/AGubrM/BGhzKf/8A&#xA;OK/5HQWtjb/mF5ltxLqV3+90K2mBPoxHpdMD1kk6x+C/F1O3dukfTGKuxV2KpL5v8neXfN+hz6J5&#xA;gs0vLCffi2zxuPsyROPiR17EfqxV8N/nR/zj/wCZfy5umvYeep+VpXpb6mq/FFyPwx3Kj7Ddg32W&#xA;7UO2KvKcVeu/84z/AJoQeRvPwi1KX0tC11Vs7+RjRIpA1YJ29kZipJ6KxPbFX3sCCKjcHocVbxV2&#xA;KuxV2Kqc9vBcQvBcRrNDIOMkUihlYHsVNQcVeX+cP+cZ/wAovM3OQ6QNIvH/AOPrSmFsQf8AjDRo&#xA;D/yLrirw/wA0f84fef8AQZ21DyRrKal6dTHEWNhejwVH5GJvmXT5ZGURIURYSCRyYf8A8rL/ADW8&#xA;jXo03zjpUslK8Y7+JreVlXasU6rxdf8AKo3zzT6rsHBk3j6D5cvl+qnLx62cee7P/LX5zeSdbKxS&#xA;XJ0y7bb0byiKT/kygmP5VIPtnO6rsLPi3iOOPlz+X6rc/HrYS57FnSsrKGUhlIqCNwRmmIINFywW&#xA;8CWLebfLnmTzCG0+PVV0jRm2n+rK0lzOpG6s7FFjXtRa17nembXRavBp/VwmeTz2A93P5uLmxTnt&#xA;dRSjR/yO8g6cVea2l1GVTUPdyEiv+pH6aEfMHL83tBqJ/TUfcP12whocY57sS80+XfMH5YeaLfz3&#xA;5JdorSKStxbAExxBz8UUigjlbydP8n58Tm97H7WGccE/7wf7L9vf8/dhavS8BsfT9z6x/Kf81NB/&#xA;MbyzHq2nEQXsVI9U0xmDSW03genJHpVHpuPAggb1wmbYq7FXYq7FVK6ure0tprq5lWG2gRpZ5nIV&#xA;ERByZmJ2AAFTir4W89eZtV/PD81xHas8Xlyw5RWXb0bJGHqTsDt6s7U/4Vei1zE12rjp8Rmfh5lt&#xA;w4jOVB7Zp2n2enWMFjZxiG1tkWKGMdAqig655xmyyyTM5G5F6CEREUOTxPS9Gb81/wA/YNJlLNo1&#xA;tMUuKbUsrEky0I6es9QD25jPQ+zNL4OCMevM+8/inQ6nJxzJfdcUUUUSRRIscUahY41AVVVRQAAb&#xA;AAZntC/FXYq7FXYqo3dnaXtrLaXkKXFrOpjnglUOjowoVZWqCD74q+T/AM7f+cTri0a48wfl7E09&#xA;pvJdeX6lpY+5NqTu6/8AFZ+Ifs16BV8xyRyRSNHIpSRCVdGBDBgaEEHoRiqLv9b1nUEjS/v7m7SF&#xA;VjhWeV5QiIOKqocmgUbADFU/8k/mp588l38N1oOrzwxREcrCR2ktJFH7MkDHgRTaoow7EYq/Qb8v&#xA;POFv5y8laR5mt4/RXUoBI8NeXpyqxjlQNtULIjCuKsixV2KuxV2KuxVB6rpGlavZSWGq2cF/ZS7S&#xA;W1zGssbfNHBGKvD/AD5/zh75B1r1Lny1PL5cvmqREtbizY/8YnYOlT/K9B/LirxDWPy7/Pr8pmea&#xA;GKW90OI8nuLOt5ZcQakvERzhHixVfnmJqdDhzj1xvz6/Ntx5pw5FNvKv/OQWi3fCDzDbNp0/Q3UI&#xA;aWAmnUqKyJv2+L55zWr9nJDfEeLyPP58vudhi7QB2kKepWGo6fqNst1YXMd1bP8AZmhcOp+lSc57&#xA;LhnjPDMGJ83YRmJCwbROVMlk0MU8LwzIJIZVKSRsKqysKEEHqCMlCZiQRsQggEUXiepWHmf8m/OM&#xA;PnDyiS+jSH07i3erxhHYFrafuY2oOD9QadwCe77J7UGojwy2yD7fN0mq0xxmx9L7C/Lr8wvL/n3y&#xA;zBr+iyExSfBc2z/3tvOAC8Ug8RXY9CNxm5cRk+KuxV2Kvm7/AJzA/NOTTNHg8haVKRf6ugn1ZkJ5&#xA;JacqJDt3mdTyH8op0bFUg/KjyOvlfy2n1iMDVr8LNfsaVXb4Ia/8Vg7/AOVXOB7Z1/j5aH0R5fpL&#xA;vNJg4I2eZZRr1/8Ao/Q9Rv8A/lktZp/+RUZf+Ga7SwE8sInkZAfa35ZVEnyYp/zg/o0Ump+atccV&#xA;mghtbKJu/Gd3ll/GBM9PecfWeKuxV2KuxV2KuxV2KvOfPf5Aflj521UatrGmtHqRFJ7m0kMDTdKG&#xA;Xjs7CmzUr+GKsb/6FD/Jv/lmvv8ApLb+mKu/6FD/ACb/AOWa+/6S2/pir0/yZ5Q0byf5as/LmirI&#xA;mmWPqfV1lcyOPWleZ6sevxyHFU7xV2KuxV2KuxV2KuxV2KvMfzC/5x1/LLzr6lzcaf8AovVn3/Se&#xA;ncYJGbrWSOhikr3LLy9xir5080f846/nH+XVzJqnlK6k1nT1NTLpwYXHFenrWR58/kvMZTmwQyx4&#xA;ZgSDKEzE2DSH8r/85ABZRZea7IwSoeD3lup+FgaH1YT8Qp34/wDA5zes9nBzwn4H9B/X83Y4u0Ok&#xA;w9b0nWdK1e0W80y7iu7ZukkTBgD4Hup9jvnM59PkxS4ZgxLsYZIyFg2q31jaX9pNZ3kKz2s6lJoX&#xA;FVZT2ORxZZY5CUTUgmURIUeTxy2svzN/KLzbcaj5Eil1DS9RRkNuIZLqMqDVUnij35Rk/A+3z3YZ&#xA;3Wg7YxZYXOQhMc7NfK/wHS59JKMthYZVB/zlL+eWlMZNc8owTWiEmRzaXlsaClaS83jp/sTmxx6r&#xA;FM1GUZe4guPLHIcwQ9C8jf8AOYH5ea7NFaa9bzeW7uUhRLMwns+RNADOgVl+bxhR3OXsHulvcW9z&#xA;BHcW0qTW8yh4Zo2Do6MKqysKggjoRir849U/MZtX/M6688azZnUTNdNcxWTSekFVPhtk5cZPhhVV&#xA;FKb0yjU4pZMZjE8JPVnjkIyBItnP/Qyn/fuf9Pv/AF4zm/8AQx/tn+x/487D+Uv6P2/sQWuf85A/&#xA;pXRNQ0z9A+j9etprb1vrfLh60ZTlx9Fa05VpXLcHs74eSM+O+Eg/T3f5zGev4okcPPz/AGPU/wDn&#xA;B7UUbTvNmmkgPFNaXCjuRIsqH7vTH350zrn1DirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsV&#xA;dirsVdirsVdirBPzB/JP8uvPivJremKmpFaJqtofQul2oKuopJTsJFYYq+afOP8AzjN+afkK7fWP&#xA;JF7LrNjGeX+iVjvVUb0ktqlZh/qcq/yjK8uKGSPDIAjzZRkYmwl/lf8AP1opf0f5vsmgnjb05LyB&#xA;CCrA0PqwH4lI78f+BzmtZ7OA74T8D+g/r+bsMPaHSfzet6TrOlavZreaZdR3ds3SSJgwB8D3B9jv&#xA;nMZ9PkxS4ZgxLsoZIyFg2jMpZsJ87flR5Z8zxSTLCthqxBKX0Kgcm/4uQUEg9/te+bjQds5cBAke&#xA;KHcf0H8BxM+kjPlsWPfkJ+aPmL8t/PS+QfNEjHQbycWyo7FktbiZh6U8LH/dMpYcxsN+WxBr3OHN&#xA;HLATibiXSzgYmjzfWP8AyrzyB/1LOlf9INt/zRlrF3/KvPIH/Us6V/0g23/NGKu/5V55A/6lnSv+&#xA;kG2/5oxVHaV5Z8uaRJJJpOlWenySgLK9rbxQMyg1AYxqtRiqZYq7FXYq7FXYq7FXYq7FXYq7FXYq&#xA;7FXYq7FXYq7FXYq7FXYq7FXYq7FXYqwT8xvyU/L/AM/xFtbsBHqQXjFq1pSG6XsKuARIB2EisB2x&#xA;V856t/ziZ+bHl/VpT5M1qO4sZhtcpcPYT0B2SVFJBp4hj8hleTFCYqQEh5i2UZGPI0of9C+f85Nf&#xA;9XeT/uLS/wDNWUfkNP8A6nD/AEo/Uz8ef84/N3/Qvn/OTX/V3k/7i0v/ADVj+Q0/+pw/0o/Uvjz/&#xA;AJx+aX3n/OK/576ldpcalLBdTgKguLi/MzqoNQAzVagqTTMjHijAVECI8tmEpEmybf/Z</xapGImg:image>

+    </rdf:li>

+   </rdf:Alt>

+  </xap:Thumbnails>

+ </rdf:Description>

+

+ <rdf:Description rdf:about=''

+  xmlns:dc='http://purl.org/dc/elements/1.1/'>

+  <dc:format>image/svg+xml</dc:format>

+ </rdf:Description>

+

+</rdf:RDF>

+</x:xmpmeta>

+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <?xpacket end='w'?>

+			</metadata>

+		<switch>

+			<foreignObject requiredExtensions="&ns_ai;" x="0" y="0" width="1" height="1">

+				<i:pgfRef  xlink:href="#adobe_illustrator_pgf">

+				</i:pgfRef>

+			</foreignObject>

+			<g i:extraneous="self">

+				<g id="colors" i:layer="yes" i:dimmedPercent="3" i:rgbTrio="#4F00FFFF4F00">

+					<path i:knockout="Off" fill="#F8DC75" d="M237.682,33.617c-0.019-5.071,0.402-24.5-2.5-30.4

+						c-7.869,2.99-19.189,11.68-22.431,21.588c-15.532-2.32-35.042-2.045-50.381,0.608C159.808,14.753,147.946,7.596,138.243,3

+						c-4.093,6.907-3.906,19.92-3.445,31.279c-0.018,0.013-0.037,0.024-0.054,0.037c1.8,47.7,22.2,74.399,52.799,92.399

+						c31.481-17.988,50.972-49.057,50.101-93.12C237.656,33.603,237.67,33.609,237.682,33.617z M216.485,25.421

+						c0.114,0.021,0.229,0.042,0.344,0.064C216.715,25.463,216.601,25.441,216.485,25.421z M214.527,25.083

+						c0.275,0.044,0.554,0.094,0.83,0.141C215.081,25.177,214.805,25.129,214.527,25.083z"/>

+					<path i:knockout="Off" fill="#D2A41F" d="M91.013,133.328c46.474,4.115,90.927,22.883,141.085,49.085h25.598l0.361,0.191

+						c0.516-2.575-1.888-6.025-4.752-9.229c-4.941-5.528-11.623-6.145-19.707-5.951c-5.738-6.83-41.004-43.861-41.004-43.861

+						l-4.808,3.395c-38.75-21.75-49.155-62.513-49.155-62.513c-33.792,8.148-69.78,28.334-90.391,49.761l-3.118,3.292

+						c-1.489,1.597-2.928,3.174-4.312,4.723C18.967,146.661,3,170.87,3,175.213v2.25h23.816l-0.505-0.668

+						c-2.449-12.943,4.443-23.341,10.279-30.385c4.179-5.044,11.1-9.801,21.968-12.457L91.013,133.328z"/>

+				</g>

+				<g id="tomcat" i:layer="yes" i:dimmedPercent="3" i:rgbTrio="#4F00FFFF4F00">

+					<path i:knockout="Off" d="M240.682,32.617c-0.019-5.071-1.598-26.5-4.5-32.4c-7.869,2.99-22.189,12.68-25.431,22.588

+						c-15.532-2.32-33.042-2.045-48.381,0.608C159.808,12.753,146.946,4.596,137.243,0c-4.093,6.907-5.906,22.92-5.445,34.279

+						c-0.018,0.013-0.037,0.024-0.054,0.037c1.8,47.7,25.2,77.399,55.799,95.399c31.481-17.988,53.972-53.057,53.101-97.12

+						C240.656,32.603,240.67,32.609,240.682,32.617z M214.485,23.421c0.114,0.021,0.229,0.042,0.344,0.064

+						C214.715,23.463,214.601,23.441,214.485,23.421z M212.527,23.083c0.275,0.044,0.554,0.094,0.83,0.141

+						C213.081,23.177,212.805,23.129,212.527,23.083z M235.784,36.059c0.81,39.69-19.44,71.279-47.79,87.48

+						c-48.118-23.977-57.183-84.71-48.977-117.289c2.283,12.454,6.424,20.266,15.394,24.098c19.533-5.591,46.423-6.033,66.231-0.57

+						c8.255-6.001,11.456-15.169,13.204-23.18C236.029,15.921,235.777,36.055,235.784,36.059z"/>

+					<g>

+						<rect x="133.209" y="90.51" i:knockout="Off" width="26.245" height="3.239"/> 

+						<rect x="133.209" y="82.732" i:knockout="Off" width="26.245" height="3.24"/> 

+						<rect x="213.35" y="90.51" i:knockout="Off" width="26.244" height="3.239"/> 

+						<rect x="213.35" y="82.732" i:knockout="Off" width="26.244" height="3.24"/> 

+						<g>

+							<path i:knockout="Off" d="M204.1,63.524h-27.188h-3.021h-12.561v-2.917h13.31c1.639-7.018,1.963-13.725-0.014-17.125

+								c-0.844-1.446-2.01-2.121-3.674-2.121c-7.609,0-10.753,8.046-10.884,8.389l0.002-0.003l-2.73-1.024

+								c0.156-0.42,3.965-10.278,13.612-10.278c2.692,0,4.834,1.235,6.191,3.57c2.41,4.141,2.127,11.305,0.494,18.592l23.354,0

+								c3.103-9.116,9.581-13.414,20.405-13.414v2.916c-11.732,0-15.019,4.973-17.366,10.498l12.743,0l-0.029,2.901L204.1,63.524z"

+								/>

+							<path i:knockout="Off" d="M206.017,77.925l0.019-0.003c-3.459-5.101-4.555-9.456-3.108-14.413l-2.971,0.015

+								c-1.035,3.3-0.62,8.273,1.929,12.54H172.21c1.806-3.616,3.479-8.025,4.702-12.54h-3.021

+								c-1.348,4.786-3.241,9.524-5.372,13.277l-0.689,1.213l16.652,10.482l-9.375,6.178l1.605,2.436l10.479-6.908l11.312,7.382

+								l1.554-2.468l-10.488-6.488c0,0,15.682-10.187,16.461-10.684C206.024,77.937,206.021,77.931,206.017,77.925z M187.156,86.733

+								l-12.317-7.755l24.071,0.006L187.156,86.733z"/>

+						</g>

+					</g>

+					<polygon i:knockout="Off" points="114.745,73.635 122.087,95.391 99.788,80.434 "/>

+					<polygon i:knockout="Off" points="93.261,83.153 101.147,96.75 84.559,88.32 "/>

+					<polygon i:knockout="Off" points="75.313,93.759 79.12,107.356 67.699,99.47 "/>

+					<polygon i:knockout="Off" points="196.871,130.199 189.801,141.077 202.31,135.366 "/>

+					<polygon i:knockout="Off" points="208.021,142.709 196.6,151.411 212.372,147.332 "/>

+					<polygon i:knockout="Off" points="180.282,24.686 188.713,43.178 194.151,24.414 "/>

+					<polygon i:knockout="Off" points="137.588,51.608 150.913,58.678 138.947,59.494 "/>

+					<polygon i:knockout="Off" points="140.851,66.021 149.009,69.284 142.211,71.188 "/>

+					<polygon i:knockout="Off" points="236.031,56.775 225.153,61.398 234.127,62.757 "/>

+					<polygon i:knockout="Off" points="231.68,70.1 223.25,72.548 230.048,74.995 "/>

+					<path i:knockout="Off" d="M256.305,173.375c-4.941-5.528-14.623-8.145-22.707-7.951c-5.738-6.83-39.004-41.861-39.004-41.861

+						l-2.306,2.903l40.162,43.238l1.743-0.149c10.912-0.935,17.115,4.983,18.757,6.819c1.204,1.347,1.931,2.575,2.326,3.539h-22.075

+						c-50.624-26.416-95.078-45.044-142.297-49.112c0.104-6.571,1.273-14.01,3.518-22.299l-4.343-1.177

+						c-2.308,8.521-3.523,16.236-3.661,23.133c-4.92-0.326-9.872-0.495-14.868-0.495c-4.237,0-8.095,0.394-11.614,1.077

+						c-4.59-4.587-8.5-8.959-11.823-13.108c21.936-22.85,58.15-43.498,89.533-51.092l-1.015-4.396

+						c-33.792,8.148-70.78,30.334-91.391,51.761c-9.565-12.91-13.36-23.504-14.487-31.532c-1.424-10.14,0.997-19.441,6.999-26.899

+						C47.15,44.099,60.502,43.277,74.23,45.586c-0.268,2.167,0.017,4.24,0.885,5.522c3.631,5.363,23.144,7.246,34.791,2.049

+						c-8.595-12.045-26.006-17.926-30.83-15.569c-1.598,0.781-2.804,2.214-3.63,3.886c-4.745-0.849-9.458-1.48-12.903-1.455

+						c-12.107,0.088-21.363,4.319-28.296,12.932c-6.802,8.451-9.551,18.944-7.95,30.347c1.516,10.8,6.863,22.286,15.825,34.198

+						c-1.489,1.597-2.928,3.174-4.312,4.723C15.967,146.661,0,172.87,0,177.213v2.25h28.816l-0.505-2.668

+						c-1.627-8.601,1.623-19.351,8.279-27.385c4.179-5.044,11.1-10.801,21.968-13.457c9.663,9.431,21.975,19.446,35.679,29.109

+						h21.414v-2.25c0-2.539-1.259-4.762-3.545-6.257c-3.383-2.212-8.605-2.517-13.402-0.881c-4.573-5.093-7.137-11.896-7.691-20.347

+						c46.474,4.115,90.927,22.883,141.085,49.085h27.598l0.361-1.809C260.572,180.029,259.169,176.579,256.305,173.375z

+						 M33.125,146.539c-6.816,8.227-10.429,19.094-9.601,28.424H5.372c3.647-7.894,18.176-30.712,39.644-53.76

+						c2.958,3.656,6.253,7.35,9.872,11.073C44.347,135.444,37.437,141.336,33.125,146.539z"/>

+				</g>

+			</g>

+		</switch>

+		<i:pgf  id="adobe_illustrator_pgf">

+			<![CDATA[

+			eJzdffle8sqy6H0B3gFUFGQwEyEBB2YHUEFwwJlJRJlkWGuv88d59lvVSUgICWmQ75x1716/7aed

+Tnd1dXXN1fF6iuVQsjmot0J8mHG7vN70qFWbDEYxN2l1n3e70/FkhE2+G7+bZcMMdEqeS29qx7vW

+aNwZ9GPkEXmYw7d951e565vTrN/t80NbpTPptqB1Mug1apPw+K+2X5sLXs7UJvAwciAfMKKbZWJ8

+1J28hOepwbTf7PTbqcF/YPyo6OYZzi3AU0GKwuOzzk1rbO4TjrK8jB3DnAy/CLwYluBNQYInDL6V

+GTSmvVZ/UhwNGq3xOD3oDkbjmDv9T63vvqy14UnNXW11u4O/3alurfHtgtVG3nKdbgsW1qtN3FFc

+ZfKcfyOv3o7hHXgdf8fm6Nt5D1rKrckEoIKBESXpy2reOB9Aqv7ne7pptTsEw4CIF78ycqXVG3YB

+KWRRPCCFl0XtX7UHwEOehqJsmJdlGfAmhiMy9BMlPiwwjAC/RMgj5Q193a2/Oq2/Y+6rQb+lLC45

+mpQ7/9XCqRg3xzBK68202xrd9jsTWASHTbKy4stBs9VVm8i7uW6NLJT8x+o/lQ6V2qjdmsBODbrT

+CaEUSZvhator1P5pjfQJroetfmVwR+ALiUJYFMWIWxQY5Rc2HHFLouyOMoA6ScEgC8tUp2TJtKwy

+No6E42gTRHHvi7Az16NOu9OPsYLoDnHYint2Ouo09S2Lcm5J+UHWEZYM/5e1/ysAw9onk1Zf2eZs

+v5ke9BDJY6Re2Ng+7Hp30FaezX4nT2C66VCBlfz9BvtRHHX6CIPrijyR3ordKTw6HQ2mw/P+x8Dl

+U05lEScd9a/78MunOzWajj/dlcGgC6dtroP6SBkFH44mxt5L54C+9uPrA601drrW7Xbao9rws9Ow

+Gt7i+Wweu3eXTgjbNGrpY5A/Z/8ufbPcIKi0gnL+0WxwizeWz/BPrz7odsY9fWBDi/67E0XARnVb

+/eZ4Nozypw5YofOX1rh8sEzrA1idYWtJa7b/V6s7GBrQOGup9Zvu+9poaDcsQvfR6TcBK+VpZ9LS

+N3rQGyIDd5c/a0NsXuipnBA4PcbzEQotPzgrvyArT5ARTv7ptsaug3x/8Hef/OGOuXxPgJLatDt5

+8bsPrmq9ljvoOih3gEm3tC6M+9rFqDzwG367cWn8MO/SuCLjfvgH/riAX76g6W+34L50P70w7ia0

+Pty4kIE9NF0HxRoA54673AcwLfxLAIQV6eA5rrFY6wI7axEginWXnbhBkMauhdZiY/bGt+XTYmoG

+gjbTKvgtwHBGpC6skHRYZyNZRnmkHBsc5v+ozTCQqdFmcBVWTV6CclJzed8OtL9hr/GvTgOxURv9

+o/z9cFm4ArlI/vBtN9W+QC3lCQzedvv+0+v2oUMIf/SBgvxAQt436+d/1bpTtYPsPjiHOeceT/4Z

+qk8PkqNRzQqCXmtSawLgvweAXQ+Av2qjTq3eRT1o/G8A4n8dhv9JLMT1Po3PTrc5avXVPiayNXQE

+mTXq1KcTBDRIHgUX1xIb15Dn4ZH4H95Y6iXNQ4zvOIPp2+2P3xpg5wx6cZvOBpi5/9lt0NawuB3k

+QewvuuUBHY7/rYvDNQRpyHFNKoC1A7leEYQ44areIeYk++9DlXEVi8TQHTS+W03n9fXB6vv3rU2D

+/k9SwQq84N98WCiRNL/28cff/2sScNztNP6/EH9kIeXBdNRoEa/Tv3JN8yD/4wjizFN2cNOqdf81

+pP6PpcBzXM3MAfjvWs1/rFbzd6c5+XRcEScyYVbk2H/ZilTgF1f12eq0P53VbVYSwgLL/9uWpUG/

+uK76YALqYaH1MVEciM4rdB+kBoN/z9IWF/AvEbYgm/4fl7WbEzgbAt7ggMAWRsVd8pxl3TM/BnFA

+uwu1fntaa7fcxcFwOjSRLnmhOGqNW6O/Wu5K6z8Td7bZmdTqnW5norJoMRLhI7MJZHdtNKkPaqOm

+u4HBAjfrHmmKnWPP9qilrdexb31GGRFO4CT7rpwOgGNPAwCOfesLQnyx2zzp4vPJqNYfD2uwr41/

+YLpO0z3u/Fdrtk0a2mX3sDZsjeBhb9olfjdNWjMax8RO19PJcDpx39TGk9ao81+ko1sPtajgRebe

+uWyNPx3eYOb2X6Mldwd61SYtWHmL2EhLO3/3QaUfAHBtdAOrx/3pstXsTHuGCV8MJ9+KPNX4CqCC

+kOHEbbB/TEdCIxfAvIr4qIb55rATNkFb63bGpqZebfytolnUMDasNXWzJHnuTk4ngxn2tP1nDAeM

+cX/MQB6RfqG/Wo0JkEy91q31G4t7PfcKYKzb6bfcEzhrdD3Hk9HgWzv7rE3nRrczBJJE581/4Dy0

+AW0Obwy1Uz/4qzUaooN0xl4ANY3BqNlqLm6D++BqMJl7vCrvcRhOp5YDne8djJqjcVhx4JgV74Vu

+tX5/MJmtXdnlhU4aHsbjeQ662HHabzh0AXkHJ6ZJdQSML/9nGNYlpdXo0GEwbE4dOoydRmgM5tmY

+qQOSzvIOgz6QyEShw6VzqT112iasyaonMOJ5lsQzNj1H5p7RiHXHueNnufNDZd+X7zp0AjY038/A

+lc1dP2vN1qi1fLwuiyezNlnaCXA3Ia6bpX16eGzHRkZu1a/fagPj/2v5YPUOnsF5CWYGvPVXq2s/

+yEd/Eh5P6+MlC8Muze5w9DGY8RcrKlO69UDbUbUDS3S3e9/hXm30PR58fIQVdZe6+0jX+yl6TwZD

+6r5d0LhnCLDpDPyh1TRDTdHdADVF7xnUFH3noF7ce+xLNJx6bbSMuLHfyBA9dOg6BGHQ6X8MnGYe

+GVZi3YUsRO0T5iK2C262PlCKGsxZa2ZMOn8N6hNMZHLsqIiij0532RHDjmMMdjr0mZMfVr0ao2Z4

+Ahq5ppFZnSDsM240+ssOo9Jn2G38Y9BrFvGmdKt1W+G/KPt9LiE77DUYtbWxlvZRx7Fi8NhlOBh3

+lhMZ9oL9Hn4ORv+lcraoXb/BqIO5YA4DdkfhmYJUx3Sx5X01WTkcTJYcG+ypMztrOgNadFAPsEe9

+M+nVhmYRadebrKI2Vl6i6DpYTuGzfnXVW7qsY7M17rT7TugeDkdhYkItoxbs9AlMbNxaxhtJt7/p

+uhndQksGc2Qi0Enfs2iUDwuWjAm6dTCJcE4cROSIU3eDOGClsLVsmnWeSQNWdOqqC4OozNl1NeJI

+ZG27GZBkxaewS1NJC1nCFqGTs7Y/nnTVXsNh035G7KbOOOtnPyB0wZPZtfLxL/RF2m+N5lyCS6dX

++muGgiHlyGoGEL/dFjGVdJM4PnPZYAJRUuvsRpuKyryyO504WW3icNZHoA6Oxi0cbWS/YOw5/u4M

+gVv2v504HCoEcNzbluu7GNQxvcywOt0TA52yxbL72mS8zvlP1D4FtKIxexGz2IiPa6kHRX3rdFRr

+ooAgbyk+FTtDZPaO4jc4uFP8ASk7f4AKumrfV3RrybZP2c4HoHRLo/WfVq3/G6P1T+ORwRGWuGFY

+o9eqP9D9Be5On7gcUCpbuWwWqc/3ZEg3d69B/1Z2Cq6hmMm9pYmN1TG6Lq3IU+uueT0NEKHrE8BI

+14aKA7TTWmKyaOOcItbg6FQ+p716v9bpLpGD2juYtwz/5pZKV61zDojqvlXHd5yhIQncmcHffSWR

+J9/pNw0kTvuamdI5zkols3mZpMcn64O/dFtu+atp3arV4V2+0/NvlaY1fc+5iOOEmFtf1r17yzZ3

+VPtndWzOv7UaMuffXQWX+ObKqDS9tAIm8U16RF4O+oPG52jQa1mh09r5s+xdM1KFpRuCI9gjVaCa

+2xK1y4+i8gJIHudDXhl1epfoUXDuCvydsich9tRSA37GDQEl50sNc51vEiUGQajMwnN2Jrh5efct

+BzeM9sI1UdtzgHhA39+D0XdhpqKu9l7KyU1k++bNuqBWlrphtNdS6MAoLPcdzfW9cTBR5jqvAIMR

+Q8voWQG4019iAWtds716q3meThdHxILUpOjSU16e1hGNg/7kBo1EZ3hmqh+FCFW0m4ohNkelHi0Z

+C54rmtKVIdNmKbLNL17W/rNED6UaodO31Ulp3lf01JTJb079OmqdqtKp6JyrD6Hqt2WH0ILD6xVj

+LM1R4Us2RoN6baLUjc3MDuihrmqmdppNDtkc3hrW+pp7XJOx5btTJGGFmCcLHjv1cWHQqC3OAA/J

+wVGsCJWm9GcAXqOju/4NM2b7jYEerxX0B6TUQufSM00eHpHyHKRdOBANi+daheLik2L7Y7HxoWZO

+LcDpu53GDKz4ojmgF77M12Lgjik1Griz2jMX2UljC5oYyXL6/FyKZGDcJlbteAPHYmgnMfY/bGXy

+F42PnL/EJRM/qVefcHL9fhy955lmvBXz9smf8fPx4CP3Xpju5TyBJ8bUFji5qx8wXHcSSd5UcpVE

+bPgii49i79HlPQy95wZkMJgvPk6Wp7e+ZL/eHqvvHP/0kvn77PZodFzrn3bvvuqp98tSMhnssy/x

+E/ZOymw3p9lM+uz5hQwVOD4aeoUxv1MKnHxOeAKIy0sBygqAHNWTweHVRSIvj4+ls8P7cG7wKNy5

+vNnR8yOTecxVK7mj5FHDCp7jof9wCBOchdLcztF7JjxN3Cajz29VsTpki7nd0kNXna+R3M18DP1s

+snIxmeptLq/Smn/wT2Cci2kmfP15OBoJmQ7DiVvDxN1eeUfpzjLFWs4/2a1lgy9XBykxyG2p47wP

+EqNRfFwBeIPnDBv6iunIiqdu0i2XdyzlJnfc6+B7Vyy19gMRT9p/LRyWYpXA0Y34OXphxodhviBz

+geNTz64w5saXAM2dFD4YS6eC9BP/gj/9fqa5W83MT/o8erl8LpFJgcbmp4V3o6+R2Plr2HLS152r

+gu2kYid/6rWa1OUdjQ49vtGY9Y6s1jqWiuyzsMXF9q0mHe8FL0M2k0Y+fbW9apZM6vIurFXwPwcO

+uXbJctKt3KuwfTvsFqwmZXKpfMJqUpcXphW3d/oj/5E1goXqK5P7uCpbT3rqOdxlL94qlpOennEV

+Mime/UUEc4/HlXcyKbufrGfnd/V+9Dw9LuCk8cU99VX5py7rh0lDQX1SmEUhpQKTUtda3NszTRqJ

+9N6GdpO+jV4++xWbSRM1MZrbYV1e07QqKZ2839hNerbD++LP1pMeel7G25+tG9OkwGGUaUtp//HP

+Tq9gNWkg3o0d20wa+dw/eUxcW08qVKtMTmaugMas1rqVa0d3bnrctdWkTO7lJWczqbjt/e5fpk2T

+wizatDXmNPh+Zz3pKZPca/miVUv0TraDJ+qk1ZDPhN6TK+Ho2aWcVTb7/J2bW+vjIVOIhlic9HBh

+0rPWQLyphTiYlAmZV1p4eqyZJiWzqGuNfjdzr3aTZpjL/RfZetLzn1jia3R1YzlpOb7Hw6m0Xqu4

+nW+VecZm0qcQU37zb1lPmj9rXT09+n36pC6vYdq7vX7bdtLyZ+m9bjfpKXOXHx5aTw==

+			]]>

+			<![CDATA[

+			WuC9Lu9tLnF4ZLnWu+HFlu2kd2+nWxO7Sa+Z+5N8Rp8U1mKY9vI4+/ZaenmxnPTl+vvcdtKvaqSZ

+s5n0Gbgl8zLuhqzXevU17F3LEm856dt5qG876chbDnj0SVGKGc/qLZPt9C4sJ5WuQluexEsoC5Py

+YfOhmb5F39RJ67zfdGhcXv9jobZPpuX2jn1n82stMO/7sSROemyaFIb9+tGYvnhgnnQ82D1SJ52c

+BGBf5tfqea49+ZVJU1X2fJ4VBkfj22MPTppY5EnnIW2lh6xpUsBY/GxLVKY9YfMhEysMDoUrRdLw

+O7F0fn7SndGoVu/jpCnzSkfJ1kCj3hTQmFmUR75iqqQ5iZXCJgRvDVrvFUWmtmpv4jxIZ7e7r4OY

+1VMikSNn1RLbu7N7+5M5e/dObZ8C683s2jyFHdgNpL0qt2RaX62o6bkosW8a3ONvyfy0/7n1YPs0

+WjyPPetPF3Zf4vZv3m3flj5rr3u2T5Pc7mPD6qmqwxQC/RPO9u1C/fojbvv0eqtRP7N5Kp3tnh3e

+jjWMfez9yKa3bwMdTT39YLdi5qf1i3Lf9uldJvA90p8uYOzeWz/w2L59/5yJHdk+ffe+RnesnqoY

++5oUh2e2b3/fcamS7dPed+741e4poKoUj8wwtvj8ghOOH2yfNvr1csHu6a5n9/x53x5ju9nkZb1l

++/YFd7LF2j1Nergdf8wWY5EzJnu0r6065oubznSgUhqfqE/T4UPT08r76X7S+FQI3iBDKSnGXDq0

+nwbdcjJ8fUm3Pyvo1EseHctnO0hZ9z7VWj5pxGzMvvFD4u7jtpysVLz3hEUlK5dNIVsbPXkDqcH4

+Sm8Du7I2etwjfC7GSp4rwsw8+/k46wlmbu49wbvXsif41qx4fE/+Kf5WBBL8TntC+bfIolFYbSdL

+fFkCqNMBsE4H3+JOVP5AS3yf82h25YuUe5s81xLxIbuVuQhsR7Sl7faSg8wrkOm2vMXtHRWPM639

+rJecOzRnnjQsWvdzKT3R2pKX9yT9jmPpp6pjPzDD6js333o/l9e257730DNwHFHcpl0L2GLRG/8L

+xYg7fT7+RtHPe925rFGsRdxGod6gGHHvvB5ua/22e7n0x4V0cHnRisKf+9vJ6GOXV2xkPwjHj0OF

+Tpgx101Wkv0ccxER9hWyQfcHWMsRThe84lZVuMw+Nn4+DjpHdb/4KBbOVLs5ujuaCeB0cvBz60cO

+s7glft/JU3c5eGhLv9AAt5WrhY1eBVvwmFz+sGgCz3I3hKvMuxVwhFvq4FXfqMA73RFpgDstbT8a

+dH478KSzOWKxxV31ZjlwQGPK1l7l72jAy2ZvczPcZZLl4PcODFCqHnS2Y8G5CQKHZhqLGUBh9yKv

+mY9KhkeQBVzaob5SNnjLhvRJR1M+zVBMCjr//LREO15z0kBsMMnipEOCFoabJj7Tn8Kbui+gah4P

+M9lGsSJqbsX2NNuoth6UNo2P5zPnzSPQlHLTbjReui6ib5GbPb3B38AI/5bPAergdy59EiuTbTdY

+FuPA8XF2D6At7yOMYbLq46GvOVZdNfMORmWlbW83ebt9hFoBs5Usdz2jXFa6OVAHvWr8BI6LuwOY

+BYWZOPGxp+qLO82MojYDZKmDz1bGq/wAOriHwYqiam3BfLMtIcvIoJMhN7+MjMGrQJbhNfzAmWPv

+P8WYQbTOgfezEnDkVC4Fr86fWYFnAdy+LXC4FhW8MQ14hEIJVaojXkh2y53q42m7b7tg+HGjLFfx

+3VgsF4yrwvLlulbZjb2tNUlF5ckLu3Fa7CERt/EgbStcR7wgauyddCyf3hbBctr1kh/c3glzjoCc

+z4YqaZyvKELnpwzsCxhId5T7S0F8A3Y/9ZVjWDnyleATj6jB7fpmvosK04Rd9Xq1H8K+eiCJy2Au

+AhF7H43rsE3xEC0CXXSn7fT55zcI1LVxFYWoJz/++oDoCORSj/IF+i3nULgSAi042o0VR5udympw

+aMYyM3xNr8fRsgjNqY4RVSJb4+Q0v4sz31jufvb5emLaq8jwQC6a9oqwd5fXlsHPjXjnoRhR/VF7

+yCCCzmx3/zXL78Tzhbm92t6z3KtWMbyr7osFxk5ipcvNYCwToNzJXZfKD615w2sWHQX3Jvm6Okgu

+LwIVpgXKASSwWatWIFnISic8MU4gDQJHugpBWIFyXi6WgJcOPy3F2K6uihhPL3FeamC6vBbnt7xE

+I6lzCyLf+fSSfbE8vzkrxcpi43Xd6omMqAbW5sZzeZURT3zZPBUpGYTMpWzNI2G5CmOenTqiw5jO

+nU+yVv3mUG2giNrWJbcci3he5mhCXzq8PTmdLX2ojy1VdvcuTyvPX02GTT23M+Gb26Ae7iczw1C3

+I50nqbLSSiYtV2PnRnwYL5dxLu8cITrrWd/SZHW9zeVdOuJ0M5rgTIp9yx6qEY/q+/o5sKJa7HyK

+3v0LM082SXYa82JuXz63N70v8s6m90Wmsm5W2RdppMhSJ5UGjVCCVFXtOrXhtM1TXWt1eZeqXTRM

+St3u07uB7eYAT17nGN4tCJmlqHR5nY/hiK3t7J39BpUmHQaQSafBroLK+hilmKOWvbJhfmsSgzN7

+n2BnckxlXNKpsWe6GutAY7pqb6lscKmHT7PSaYUMl8HosN79yQmVNbn0aJowdkLFPuiM5zPdeP4t

+xqpbu5vB2PGYjvXMrKlFDV3RYYAcTsv9lSxHW5BWtpGtzQYEqTpcCSQlwmsNFBVfoQDpbUR19uct

+bDulun1moVQv8Y/NLOxyfD70dKMNe+hLRl89Ye5lXE+lP6Nnw0w+/5PSgjVk0q9zprlXyxJkuLz0

+RjjJFrIg55dx34EBuLwWODmzwcnX+Yp7pQHnMqd5auBNHNSSleSey8u9TLzUJGBlZpuWu2hk0/iU

+bHdjEtijBc5FsxuYg3C7qgfIaN3M8eQTX2ZixSDWJ75PbhZ7XUUu2nD58+UuNKOmREvOq7vQiAZr

+YyAiAokT7TcIJAxu5k9WtY97eyP8hL1YMGcoXWiWnt4LkxNtTe8LvxPz7ZC9Aj7m7ESjON0wYtgs

+m/XxFnbf8XT3LlZ3odlgbN6JtjbG5B9m8bys46/qXVC40Fy0QPG/caGpUR4FKDsn2sp4iphAAilG

+QfNzvpI5igezgcI561qmOqgpJ9eGIOJJrDixCyLmkc6zlB5FZ/89UOD2SttkoOR52hnmTT4um2NB

+ZTKTUwkjvkxTeZqDhj+WSxX+5DbmM+0V6JbWrnT/LuECdhjzbwpjFnJ4HcI+ufXyixHedRgAgPSx

+9/NgC9JcJNERKPNpowXJZO8jUAvi1tYba61Pz+2fxypiZUtZ1j5vC1MfyWc7btLQdT72ULY9uusE

+3k6LPTb7Mj416fxrBHPSALdg1o+s+RitzEXCPqDWLubtdEtZiTAe0YTWHE4voo0/uatc0u2+E9r8

+PmcPPM25I7Sx4M2jXd+8hwRWuPwQ0x5h3ES/brj9msb8C4FxC4pw0UpfMiJtlM48noHGLGIfrz9L

+Ylen5T6toHN5KUQd7n7lN+GmmY08B+MqLNPrwDJxPDgvjrFCpxEtnBqob/p1Xcflndd20sARYpTH

+giJ95OGWGCmEJ//2bIy/HRjcjJJpIyPAAFZXeHAtNioPwugQIaTkTrd4XjZhqyBIgUX/prpIrLBb

+gaVgrk1w9fXNPIomwlj0TK4lX+4GxFzZEI0FFnmN0S9AMiHnA8eOfBPR5hjlmQsbu+hNF8SibeAY

+xZL9hilnf6WIRxoenI9W2jU7fzLAvWn75eFuo1kEAKHJ8WCVRUB3crLPz2YHqi3aXN5l5A7bvREj

+BuULUMeiH3HN9Vkn8Gj1lSvwvjsr7+HaNLZW7p21WCYV3DiiTbThN7EGZGEBIpZdXqtMZmAuBUqc

+0IhlktO7Ce8hws3ScRh6sfz8s5JYdjl4IhBG4ddiWeEw9xsSywBSyEos28Qslh++2tblatlzth4S

+WN+mxPLzD3KYTfgRCbJsxbKuw6wqlq3yuezEMkpkLcePTiy/jZaI5ZiPnlvSiGUA7snJWG9Nbg8s

+rSS7wOrDg0Vm/9JsRf1sl+O2PPlttHG5/7BZuf82WkHu2/mr5rdb3KgljnlDNLa9YTw7Xx9usrMj

+ZEY7NA4/Jb7vfPZpMl2tvH5c6qGaJF4/l3cxMv9Q3azXD/OUdL+fDcGumEqKKoSZ9VhERqhSSY1k

+kXr43lq+k2pkhNqtCIDSOpUNbkXAmE1oGGGcmAP/zoqMJYtSzn6VXiLTkG59bFKvl2baL0tRQtwd

+OKrXKuXMPL3OZz/18OboZFhMTCdYnJf7qtjSdYpUrPMafEiWgw+D5E2/nk+FpMH1Ap5md2iZb8vi

+xm1PqF96c3mxejrrCSX5V0/oQs6qhdMXctUT/Pyq4I8wtuWw1DpN6q3xBonDZPm795Ft3J80cC1Z

+rMisZmrl40LOPzpD9+rOXi7zHdrCKmpB1ZSUAuviWaWYDYz5XV3Sikdf9fNsPZRYLLa9OrnR92pJ

+v+IBM1f3at+zFCtS9BtN38Mhq34u72LPGEsz81bu1XLExX7NA7q1bOW+KGce8lRrwQuyIlQjnoZk

+Qz+7StnROBYYG+4hsS/kFR4+C7P7CewKeQ+3fLaFvBizMGwJG6YAL3AY7904Aidub/+I02c98m5f

+Z/xEV6PdcyggV28GY3KDSoUCvN1C67PpXATdMgEH1qtlfftV6YECd0z26umUYmNd3rnCf3vwSmsX

+Ru8fHRhojLoeG6ux4ytN6vIa1o/3Da0zqeAvKpOqroXCQyKW89ZUGJRYktgflhOHnckDjn2bDew3

+w8lr9uQe2qZbJhVrSTgmNx052vu6OWCvwVsZTcXdnl0aRkbX6hwyh/cpyygX6hnnbT9DJNEYMLWv

+Gl1wp9AAZ2clFXcXsOxcqGILHHKYhYKt3yTwZywMroy5sn4Fk6u4R12XQ1fDu6gTrkYq8xHe4u6A

+LkccmB5dyXJghXxLGuKjrUyZVwjtq74tAtoOCCT5lsuqvqkSkp0QiLOoKFyIBv7igJgSy5ZU2C1B

+oBVHqwb7dhwtq9wISmGp0nG0atCSMa/ugX/Nru6gUSq57OLtMOJGEsu03c8+Vx3sXCofZTVkmYq3

+DsZWj8lYZ9pjIIXWs+NYCQ1HeANRUQSJMvJOA5RTloS9V8geY/YRiOX2sNXpVXZfO791bmB3fnO/

+Ob0WOSR1jio9nDqMUue3qHMUKUq3csSvZ3Xq1PtgLTyFzj7mWo62It5lsXTHCh7QtxM2FTzNU72C

+Z3nNCH3NqWNRhjqUGk2gKpSkUist9TbLvL5Tytt6qEs5qXXL+XNgX1tsWcA4x5NpzIu5fVmUPr/e

+F+dLgFbdFzqVdaV9obsJaJVqZXPYCj0kv7mcCauVnSuZXKsdQ0rl1YzK2W3zVoeG7k4gClSqOgwi

+0zH6uCoq9Zqm5TWJKxvmk+MfKzGo172aBeH6hvnk2CwG7Whsptpb00H7bCWTY3anyg==

+			]]>

+			<![CDATA[

+			wu6fUTK4oKJdvHOv77ZHU8OYhfm8tvE8OTGL+bUxRjK1N4IxOtaj62N2xDDGU7kop5dYjvYgrWwj

+2wK1GBCkAsngUZwBRcVXKEDSbbblZ3/ewrYJUGKQaSFlxto/ZrKwna65GX7YX3PzMm6bkxhcXmcj

+fEkRNOU2uSjLZH/MVudKwJki71/ny1NNV1U/YTxUc2jvhXOq3+JeJj77GxbsfUpLarRXYS5OudZY

+tLyOB8jCulF48vlyBrH6ck1aiOXtQBZycUnJMoU8cy0e8SUIdDjitgi01GDPraozV0TgnO7h8qrV

+mezF2M4Iv/i1C22+sp7NL5gf69X1Utw/ttLphhGdXWgu+urMnRhrvuJgreonwJhDSRZ9JTR93oVT

+2TF1FcbyGw6xEnoThV0uLwL1+xxUFSQbF9oKt50Y9+9iungVwpJct1m2rVOe1oN9EBFLQilreaj8

+9/k1k5mNGRFaES1Lk51EfRXCyW10b+Gum5XuEzVV5tpehbBaLU9+zTxmK4x5Hd2vlJXQs6sQDBHe

+Ncuzac6ai648+5cpzKq9j0DRJIFSpoDmrSNWK2bSWSYuF3u2GjreBV17o6rGpzu4WFMaNitda90S

+gHCvFLYy1FjZlomWf51XvFApvJHbgBFtiSnt7juhjTZ25aIqX/5tPZGijZNiY+p7ih0rvReM7LVp

+bKWbEVzOhb44In2Zr6U0V2ZZLPT9avlsv4zANHePaOr4dEE3k/u2NxB8tRwvTHYMNyla3wxGjr7e

+XB/Rtn4dxjugvrfHdkSr+vWRla4zu90US1QXfFhWx4IqfQTFpCFErHGY9eqMaS9ypo6MYLVrYbqm

+wmNTKbwYa1mzuJffzK1NpHh5wb9pnWlPU77sfAWU7fpUzq+XLzuWKlBXeoc3R2M2gWNT2NgQ5XHO

+08eqb6c6TMtUApRijiUmoK8cH9sEjkmBqpPPwbVCxOO0Olxz18z+5PRK30Ogqv/Y++E2mUWQts3d

+mcsioDo51eGiR3Gte+HSK30UwbF4+W5Aa/E5rW9Td0Mpld4L3sO1acz5ywj0lgwZj13re0mOYnkS

+WHYXNGiFmxTLYCjSaxfLqeieQizPqjgpxXJt640yZ84olpdVCm9GLAPaIpu5S40ULy8Ry6abJ53K

+l9cUywseElK+vCGxXNu63NDNkwRZTmIZ7f3VKj8BbSuLZWqPYnFZPhcpZF0ill1GK4pKLL+NVq/7

+tF7LfC3watmKVnWfCzwZetZpvlpEL/djPmGjch8g/N6hlfsUt35jzfcKdZ8UlvjbiD6J16buU/X1

+kfp+2spP6rrPvaM71vnsr5DpOuf1q49NXr85ywJLWTfo9eNSD82p453DK6aSYuG3zXUFhsiI/YUF

+NmRRH9O6Falvn6tu+va5+pjarUhzXUE6HF3h7NOVLK9834X9Jq96XQHF2Qfq/+11BarcV8SWzhuO

+xRKfvBkkaqluNN87DDCZV4tjMftQ9eInqX03O1GsmC5jxXTB5fWEpNCb5Yeq9ytJcc0PVZs+U+3y

+/pEPVZs+U004/+Y/VG3q5/L+kQ9Vmz5TvXwta3+o2nYtG/1Qtekz1XgTxR/4ULXVl743/6FqE3Au

+7x/5UHVg/jPVsJY/8aFqE3DEB7v5D1WbPlOt1b5t+EPVps9UY5baH/hQtWlS/Dr2H/hQNcJg+Ez1

+zKuw2Q9Vz0sfowd+kx+qXjVz2KGM0uZD1RaRRINm88sPVdsBZ7aSaD9UTVtAPqar4V3vQ9Wm8Rbv

+6nQ0uWg+VL1SDS/dh6qdSUVZC/WHqqlLluc/U22fb0lLfJYfqnbOt/zth6otEGj7pe8Vk8eXIxDv

+7KK6LJP2gAysvrFjVWFHjcAF14nTLQEOZu+y8uwNR3lsyrMp/HYLX5Te4P15enE27dcZnDJLlxdn

+r+KDtSnPXgdjm7ky11Sc/ZuoqFqevYGsG4rybAqQyL78rjybojjbDmNrOq1sirO1L0pv8nKFxeJs

+my8ZrVKeTZ2j+KvybAqPmm2Uh748m6I4Wz+Va5dnU3A527XQl2dTf7X8V+XZFptoLs6212FWGNGx

+dtFKiq1Ynm2gWrvi7CX7QluevcK+/KI82xKL87GGjeyLo/a74l2dVuXZv/8CO015NoWyoX+Vae3y

+bIribGM04beV7vbF2evdaj5Xnk2BSrv85BXKsymKs1eOii6WZ1OUGlvl9a1Ynk1RnO1wLxxNeTZF

+cfZ81s1a5dlrY2zFCkrH4myn80JRdkwhpV2UQK1YfWkCaZZtu3559iJIFnnjvy7Ppqys/2V5tnNx

+tjHXGtfaMicOUq/U6uad2bezre7oNn49m75Wfdm3s6m+J05dNm7HmEw1VrTgrfjtbKdM+818O1uX

+yNZfz157N+a+nU19k96vvp1tpcEuq6OmUmkWlmv7bfRPuotcHAvRSRU1sffX8Out9u1sy7s6qRFI

+p8jQ36vwuVAZR319CahDBj9//s9VjNvc1LrhinEKL9wGKsYXa0X/RMW4PcY2WTG+gRsOKSrGaW84

+/F3FuDHn6s9VjNN80eD3FeMuh4SjzVSML2YQ/YmK8VmFnWWx8aYqxvVK4SjlQVunYnzdb9itVjG+

+HGObqhjH/OT1a6doK8bNsdc/UzFuWVm/8Ypx+rsIflMxPl+V9qcqxpfljm6uYnyluwfXrhi3/VrW

+RivGN1OX5FQxvkJd0i8qxhdy4P9IxfgGaIyiYtxFL31/UTE+R2N/rGJ8lW/Wr18xbvPN+g1XjJMb

+QTna6Oq6FeMu7+I3zzdfMb6hGiuHinEDJdOXpq1cMa74+uxUnk1VjCvaBb8ptNmUpq1e97pOxbi1

+72LTFeObo7HFWPbi3YMrlqatWDHuWsl0Wbdi3Hxn15+pGLe/qXWTFeOz6qc96vvX1qgY/81dN/QV

+4y6KD17/XtnQvlpOUdLyi4pxu+/ybLZifDmNLVaMr1rfPXc7kOVHHzZXMY7f4LbKl95sxbjyjdTf

+524trxg3c5g/UzHucvZEbKBifMZh2C3ar5KuUTG+5t1QK1aML/GQbLBiHLTxWc34H6kYJ2LZ/gsg

+m6wY178AssK3gleuGKeIjGygYtzCSvoDFeNk923LiTdVMW6oeqZ1WK9RMb7eDYerVoyvZImvXTFu

+cUfEH6gYJxVDd5v8NtKc10+tGHd5rT9xv9mKcVjLrGb8z1WMW0ZGNl4xrkdGqN2Ka1SMk7w+20/c

+b6pifHb20+Hon6sYd8i031DF+Er3j61dMW5z/9jyivFFPC2pGMfacPwG95+qDtdrw+Hs/7HqcL0f

+YuxPVYfr/VzeP1cdvnwtm6oO1/u5vH+uOlwvtl380vfmqsP12nC9amDz1eE6cHNfYd5wdThdZf1v

+q8NNlfV/qDrcsbJ+I9Xhepk26Px/rDpcrw3X5MufqA5XRUK3PQWM/bHqcF0xVK2kP1IdbpcDv9nq

+cJMO84eqw80+pT9THb65L+Utqw5fo15sjerwpV8v3Vh1uF4bvkZOL3V1uL5cy69mbKg63CKj+w9U

+h1tmdG+8OlwPYzvUWfyqOtzKStpYdbiGO6s6iz9QHa4jw+VIT+tXhy/U8P6R6nC6/LHfVocbswj+

+XHX4YtXzn6gOX5ajuLnqcKcI72aqw/XacIds219Vh9thbLPV4XptOE3m8LrV4TbZgxuuDtdlvVrN

+8Ueqw3VEm+5V2Gh1uJ6M5PL+uepw27VstDpcrw0309gmq8PtdZhNVodbSbHNV4cv2ZcNVofrteGb

+3Re7T3f/Yl9W+HT3Eovv19Xh+mZb6Pwbqw7XNxtj4n+qOtypinMz1eFzttgfqw6nuleB+SgIz0tR

+afAbqAs3xpENCRIur5Yi0WvZf8A39fC6+gdAz23PfvtsU4W8lLdq6NLeUsOD9X1TfQH4nXtFz1Wn

++MA6kFLq4cd8K/ZKpZwLGFuxlNMOY7T3XThjbPHm3xXu7Jpbmq0JvxJIJJL4RpWO5Py9dFtmZZ/X

+Z4unFYtI56xXE1Br3OJmF+giX2Cnrfek0PlxpQu5O7jSOZ3fwlK31/RPfJmRnaZ/brLTf/0V5uxC

+GZoN56er9l3L6Wh7EziAt2AU/8bpCON5V/gyi6PT8dzW6bg8D9Z+N/ZWOjQOVtL5eldSLqust0gJ

++90nwGcC0eXdxM0Jnwvp7fMItPkO7xIELknctkWgrQ6DxetOyWHUCMRZsHjdyZ5QcWchIS0yRsft

+JbVv/I48pKlsoPPB9i6sdn+NrMCLjX/172KzXzQALrFwsNcrfdbzvX+LMccP/tH5LbF6ekPfSL0g

+Gd+/zxsnIFmkelvd1EqBJ0c/03zKnlLLY5eihcXrv/w86sw7Olfsxp9UJhkb79Iwv2aWt7UPlj+5

+DZhvgFlnm2IlLSrqlFNHK95jJftjtsaN0/nVE7xtMXbk3wjGPFq92C8TqfMUSWR0X/xEoH6T222I

+8eWtfBtr4skUNVoe5XFS8rF0nSYd0LV6gcZwScIClsZaHNy1b5zGuBB1kY/L61RTTCdzl0vcue8j

+n73HzO6W9S+KwNJ17fQaIrxrfWm39kZzwYOLshSbSvDakrj+FWasW9/EbRFK1fr8EV73Vg1StR7c

+HI2tKn2tZK9uv5AR69Q0tkLyeLmPPNnGj4iOHqoybmdBp+9+uW97HdLqYWyEcF9nmY66pWFEuzIP

+MuLSa3VcXooRLWtT95ORI7simFtLD8n6sVAQkxTizUVzNgDuHA3x2TruF+ssgAHQ3j1DVZu6nywu

+3j24VvnY3WB5berc7juWYu+vaT6Z/MmEOjZTm4rl15qz9LfyBavWnWtTaWksvpAgYXYiLctAsPlm

+vQXfNDtCKArlZoFxwpO1ezoAj/u2yaJs9jlNYxRa+Rws13K30lVZSyuKKb9dSx01A/N3o3fcIYyr

+3fdg/33ku5Xuy1peiK1V1/76kga7FCVLi8/5S+freB+svl+JdetrXZplhSyrexStXKSUH8PEEe3C

+H1Y0tsKVEbWt0xM7sXyvi2UHbkkplp9/lovlFeRLbeuBxqtpJZZt7iGB3ac9dzRimdS91jfgc0G0

+2Yrlxd13/Hg3taavHz1Lnny/MbGM5dcgljdwi6ZStb5ULK9EY5eOFzzYiOVl36zfnFhe8Chi2DVo

+K5YBxlsa08wklu3X8uAslqkrV3Ur6W3kqFgtfPPcuX6d27TcfxttWO7HfLQXSnjnIolLyuv7v7xq

+cd4Sf1jBEaKOaIs7kxuEourZWUxi/brz2aepYLfw+r15lnn96oaPECy3xOm8fh/psIONiH4YmysX

+lpU0fzpduDCfgeuiuNOg+mu34sI9ilY5Sb9wK1Yt8y3Xvn2YlK7TS2S6z50fUKvXWi2PjdiyTC1a

+48KF+bNfpfHzr2JN6kIL8y0LQthebL2M2w7Xg6nLWPZdiHnr9TZ2YDsfRcTcdr7ZjTqqxxHxWKhk

+6weNXrLfCA2Ske700iQDyFSpbktkEoff18+5/d1rjbk0kruZj6GfTebvHwuzfQYrSQ==

+			]]>

+			<![CDATA[

+			r7xXT5G5+/uV3l3vrNRqqTgpXKe6kodNX92XWrnD7HMY1nfvy/lLXDLxk3r1YWWKYg7MWk8aORyx

+mIhXSlOsjz6TQp7dafY+de+ZP1zFTCNWa2Yb79niaMSNk5799qh0EPLGdvn7y0gyIgbGn+cHg2nN

+5d07a0ny/snTzuOW53zi9yRzNwdb1VcxtlO+3854v/vlwl7rcxgSy4Wft+h3s9BOfL9ffeZbZVm+

+ej77uSuzw/xH+bPU6d6eHlxO795O/b63t3TA/1WNfF33ioH4h8s7DDwmJiNv2bc3GvE7nq1Ba3Dg

+ZXY+4/7HQuMuIAcufcc/O71CjHu/OUoyh4dbo9FJrOjZfzm99HCp624g3hASTI45OWZylfscc7o9

+uGJOr68+R6POSWg0/TwGbjneC17Vw3xBjiXL2+09UkIO63vOhqKF3S8pepLOp7rRUoAUb8NKKxWA

+odUMWFy4YJHnoOyky2t55YK/05U9ga5Qwul5nXRjXG2vlDgMnQlKQfte6ufGGsddVih/3u78jBJ9

+8crl9dxf5QMOKJq+h3f2d70PxR0p3k15i+XTi7338vmRIO9eirCqlCdZOaifYIF8JXB0ELpH4KKJ

++MtrN3Ph852Qr2NXS0z2Lvo2Grcvthmu9LydjL4kWpnz3slDIjZ8OTR58oFHXv5kg9I4LBcvSp3Z

+6TXQOciFYlo/FC6vdixeLnXxznDdyWH6U7yuwl6NX5OwF/dz4zx5rcY2433/JTf1BD+/HvC+i7vX

+rCd4ef/g8YVqW3jLxQX+iHtCSb7oCR3svuI2HXtC/dKzJ9AIy4iOSPKm8ryXrTPxKBk7es8zTXLz

+Bfkt3notfgL3vffBqrYP8Tbgs4+XTGs0CiZ7g8IYVnX/g23NXDrl2Up8bSe76U7tgGWY8ftupn79

+dpWUgsNBIHv3cAadH7ZgvsA7ov+ceztrBhn2ddub6l2/SLl0clpLDMdsXfvi57HYCGYbje39RPzi

+G459Pj8hRhPDTSfbidF2c5QKSd0rht3zt5Plxt40WdqX7pKDQbiAiuqOWM3384nYdfor+x5qTxKH

+J4I3kyrcNXAtUZc39/52PUxWMo8ckHvwKPPBVPFaD5kla8U/3xOHomeEx8I/a+sd+hOFcqrb3wvh

+YLe4k5HU90/Mmyold8SUMAk85XyDdzbzEXq6Jpz/XQCiak5wnGrm4+U+muomujyOSOJBnvTnU2Ma

+uwzwT0gHeQI8kFfoIpe9vJNynuBNLvfmf8qLk+FrEfbqJAiAeHynk7dhHVb1ICBPvpgGEvGCB+/V

+3d/O5PNnUXh7Ozw3jm9P25zMCBc+zqVboaeUEOn7CQloe/rgTX+Gzptn22FvVN9nPPvv51sAfI8N

+ZILeac53dn4eu0pNnzLn54ldvS3e5qrfqbPb/o8yHzethmCRzS29i/gofj0lbz7ao8zHwc5btrH9

+fUKmgrUAAP5c9uc5ltv3BwPiduyhnG0ED0Nzi7ziYNJUn7iOdBhT35c3B0AHzyO8iyBNeFvmI3Uv

+5TKRRw4IqVrIZTk/6DAGdHDbb98JPnXwpfzJtqMDgDa9bVhQ/vF0YAD+KPdzRnYNtuSplBhNc3tA

+DNU7hvdsSZnw9WeGbCLoYx+9+E6y5Km2YRnRi8zF+3gX5N3RC8MFW92UmLj/IfKVYQfVLrCmh0ny

+mg2V1c1pDktkf9UuqXorcfdxew8Mda+QKlVPGYIMQmMfsIM3vXLu+azQSl6nU9VM/txzt/CgzVyQ

+033kCwXfxWrhNpF7be1UM+fdwFXmYzA6VhgXHy/vptqPpbv4x7SYRsJ9hrOPh1PRrggLm3U68k25

+99PDoa+We/fHMhhuu1ZhfNr/zgY6jxNxO339tgCS2JzAvpzswMjnfTwvd2Qtzy9HL/nsQaYd8tWT

+khgN5zLVShDQFn1iuEk8KRe97Yf4RapxnzsZnxZz73fVJChTFQGPVCpZDu1cpi+P+mmVWzQK41Sp

+dH2bavSnr+q+SP32M5+tlx5QF8yHxRPx4TSdvREmKgnkq9108z54n/kojd+QCd/msuxoJxOs/eAK

+HkOZg9rhbqzd37sFuCK+TGt8Iqi48wgyUYJAt+S5wiT3FryLoRpbMpoNVr4prnAPxBmXcP+KtDOD

+fLGYe+WZc+nPaF710CJHAz6dq6AElMXbI7wVMHm7G38nnfAukXt85yLV9VYq6XZ77AG4LyUET8o2

+Iu/+6F23cKqfl+hd6akCP3q13OHp0ylhZqQtdtWOd2KdV+kDHrCwFvVAAgCZVmfwdOo9ff7K1ivZ

+iD4YcLTUrfhQG96R7UbiLGdaD35+9ud76ps78mhC5GwPr35pprrhmwBYQS9+QmPZXaB5IZvztU5e

+koPP633VAtMfNL+esrVaRD6Wz7mBgtnLs7vvxOi0B/qD/7WUCd80OPJ0XudPI59+gbW0PytvoFsn

+jyx02ZjBLQ5MagtY6+1OIj7oVVPXk9o43op5+4oFdj4efOTeC9M9PUtAb5vd1nj80yNX1YDiGN2L

+7Q44ARTjn7vEwWQ/E5AjwiH8dniROBgPT+DB5UVmWitew4Ojk5y8c9NMv1xsnxEFK3oX2rrMvV/u

+RlWn4zAJVtL8Mb0GkLlptvF4RITjDUixwxGezw7uwTnoAjxPfBd44ivkyEXjjYeQqV82sC9+iEdf

+9fNsPZQ4V7I7duIfZweV5DUzvERCO1dE+bTH12HPfyrkphhyKxdwgYc0UWjhnAs+YKg/DaJsHIbe

+cwP99i5JHhx8JMuT4TSZf/RLsBYkP0PrTf/7OVvf3X87O3rm7xV1+PrH30hdT/d8yMzOMh+vW99n

+2zenYeDyz/d4MdBPznfx5QO0DBh1qGmJUCAcXCZ44PKysOXHMJjMAQNsbwMf37uA/f3ZBUWm6kve

+dIf72cb3jwwaUDKEU3WIiILDEHwE9p/YIlRCrhc68t8HOgQtZLnECsTPI4XVbFv29DWMBS/ZrVw2

+44+aepqdFWyl4wOQmE9QjbY+U6FYZkdhlLMfYBS2PDDAzVaydNX6grMvtKeNeRLA+wKkQeZi/2kH

+hmgNDVpfIwVSG9EvC29PN4fBx8xzLhMUAwb5eXJzeJ/z7b50svVyfpoNFMJKpXDKm8mn3vncc3On

+TXYf21hgAPEJKMHXHrmbazzHW7f+TqrxszVSucXO1jjnL3ZigePo3Vn6/Tu1n2m9Tx9zb5PPbiKW

+89ZmD7ZcXmApL8cKD3kU28+gj+UN2gxYP2I0l+kGFUGIBzslTvKTo9xb98CTiGXjxaQcz4e03Q0O

+QPdoT3PJXiyo3X7Uvp73Wq9iNhivwQvtJMb+h61M/uLxPc3e9sY5z345pD/AL0tefLRhzyPRlBhk

+H3DEi9Q3W2tkcs+X7Wzg8/URT+A78TilO1/iAehM99PoiD/rpAqPgwc4i7FnEOSfO8Ajr4RE7Opb

+Tl0Xhx1QaWK78tfI8+TyqqSksLAPJtXtDUPK0dUV7MdGixmNjg6wyzZoLh95llC8PphisOxGBvr1

+WFWQcjdbOX+1OAEau06HjomCiRufRMM9hBYKo8O9ON8ooHuzjnzdeAfw2fYkfpLbicRhsNkkl34R

+X8H2jzi9dHkNyuTifEXDDVx2OFHuvkrvnGRtVwq7r6z1kbuwWqvFzNuOKx3sm1ZK/DBWawXb3pva

+ySxdaYl2pWBX8udPPaPF0GyXTLhlcw+n7MztlIpx9YMO2mw1NCC+iDwj/EB7UM+bpB2efXgeb3u8

+X9lG9Z1LdS8OemAWHkfQ45jCjwsUcu+xgZDzyaI/GwoMhrqNddAJxvAsPsqJ+5J3y/Ld1w+s5AJG

+ko/GOunMJ+G1KPJ9yDyD8Y/g6DHdvLu/VC3e42wQDTcZTIlTwGKd2cl8fJT4mR3rz4TD58E4c/Lh

+gS4Hr7psdnnl67v2de71eaAIodgV030Tpzf8Pdj7500Ypxgh3hC8bxF08OHTa/K6cPaIqn0p984l

+IwqNHcZ7Nwx3dj3NnE6irVQkE7rTnwLG4o3rS5BExQFIIrkGnLgxVuAhasD0nTXc9mcECeSnPUhP

+I5CzM5BA5zcDlRmXbYEKxLu3V6uDhLtf3O3ZAKXcI3lli6f52wqvwIZ6207ExqEBbvxZNnA1qIBh

+cwUWX7LYK7dz6cZNGv0+j3jkuHTnKBWwnPSmx71qzuLMOHMR2N9OCfdcCk1PJlke98tAVAfTufUl

+eCLF/FOQKhcPZNq5Sf3PhnNnNAA7JQWpuWSmYYlyBanntQcyKdiVxmljrPVOT45/aHd6YVKuXTJE

+RgxoxS8bF3S0Lq7PFqkwaeJ+v0ZAgmMWfCVP0T+mPce7Sp8VoEr78Wcr8rICCXSh70s7kF4JSGhZ

+2AGFmDABpT/FOzhfaEGC86IDdVKZXC0Hak2QXN6VgNJBwrinn5YdWZz9ZQxpTXZEfH3V4UrUbzpy

+6oGc5J4tJ8XjiDT2ctFWVNq5jajaHMiX2rJzDgfO4pRjnpI6LF7IKh/j7jcsJn3Qd9+O5LoWrOcE

+bwS6ACm2ucNne/RA66Mlqo90OLQmm4Hd/xMCBUjqc6qTlI0UW0JUR5z1sMVne0rV1rJkWDs+XXz7

+oT0AQGP00LbGtsMyuZR4bQuryzveyrUZm2EHnvWPK8A6O654e7bNgV31uL63bY8rruX0LLVMLFf7

+NsM23myHBQR9GbgAcpiFYV/smMuLDdWW+9YnrCAc6XFkI0fgT24LBQt0vNpsXXVgqSkFC4G4znDI

+rebKBAkuVWXPLSZozaLHX9n6wQfGNkqvROlW3kD/fOr7MjQBdf/5PtvYFncUV/j1q3hMwhHogVfM

+WX6XuInU3y4+vtEPc8MGvqN7DJtP9k4fTo7qSeb4oqc5Z6Gtuu9ppD+fUt6Z77+L8ZwfLb7kF4l3

+BTO7NL8QrL8bRhfNceajUsJgzuN++uPos4iGu+KwP6yL8X7q23fzEW/tiUXcqyd84wIMlrO+4myC

+P6VZXOgZzDrf9uyrGaL/Z2YbfQEXzDJKqIfkTighsVz1VQkVsPnvSS7BXNwCHsKP6p97mXsllKV4

+/LEtefotkKgRWuJq3OgcgxhcsnJ3GwC6ewkYbRowOQ5Pu8fVbH1wFkoWm/GmIVjF+/vbYMfd7mTO

+u7e3JscnCQShlcTEo5pDNzhGk8urhE8OQ/et1Hfha6T4B+eCObXk7e7hMWz33fViQOm+q9u2JCKF

+33ycj0lxZ+mhQiL5armv7fTkSwmu5E9+BD3yg9vZSXde3zit7TEOW7LvnwWw9mHNzD5Sss/vM8TF

+Lr62f8haovf8Yc04PYnHPo2F1PfeaU4z631eY6ArffyilmvNXmPzVZT775feLkasRMXi67xe9IHG

+RiLG6bbk72QW0ObnZzHTBw8cvvxohp2JEj0ddRp+DdZ7KfHA+MPan7tg7+d8ecaLzulLOHK1XYUY

+mrvBfG6fO+a0bXyU0Oru5N738i9wAo+2SWQE3ZgZA0sBGkqA/f3QS1Yus3l9c1xezQ==

+			]]>

+			<![CDATA[

+			/+uVsVMcWj1fydIVaJkY6tHRMYsgyXgOCkrwCO24+QfFRLx3nDYEfV74bBdsZOKA04JCxEFV1UJG

+4ihRTudvQA/xn5MoHjpBJQw4PGldUl9JqfH4kDl4KEWVcNosGAXblPlIxJ+TF4Qnm4GKYrToKNmv

+196V84K35xzujVvtrG/rrp3JeT8u5gNKF+J9zz9IDobDekqYpkqmiJTCYT5zJ+Pnu8Dx9uE2vnMG

+mA/siNssc39wWf5GHfVkB/Sj/SfVEfJ+fgyc6mRsiFx2vZWSIZQzH4QBi6/16v8A7SqHmTPbEvqg

+B7MY0d3Z9s1RHInhEihmb0LcEYpD15wHqmVuzYIs1/qkuJa5aTc+Kbt3gRbfee27uBjb8l9IJVk6

+BS7YqpDAuPoOCcaNIoVUKB6PEe89MArvNF0YTK4RzKF2Srhp+nN6U8HARA45jMLCSGvvK1lJ336Q

+ZcyOoV8JtxWfLp6zb8PmF9DiVkQbjASC2Ex2J/R5z3Ah3yRZDHUraswf/yxdle8wMuJvXish++/W

+C4xTYGup7vd5WQvjA51PfOHLxfi++kDc/vGUT4c7hyL63bcQqYVovHF7Q4QWSfZAWQm41aJFC6I1

+1u6nSing0lupwmMpqbJWRbqeMBhFD6NQ68/kx2Gq+yzHCAx6nGYWf+metnOJduJZOQJkG9lU/dMU

+0VHjNPL4hHwyQOmH9/wnfhKjQ+IdVN+VO57sXn+3BCCxTy6vOTfk+DTvI9GLROzB10lxX2E1Jq70

+C4Z7Sngk3SjHzCGTdGtag+mTLVX3eKgWsvVws4VWUqe9rTiWQDiO1SDN6O5UTZBIpTygMBwntFCP

+b5cczePdcqwTOK4OFE1BCfoQl+xD7eeC8Omzo9c7hhAX0cf0AI/gzZxWE/Vk/8QzyJw/idtKyi1/

+6BOSkebpbeLno91XL/h6mISVQodOMBZAPWqQrNzv7GffxWHD0M/iTntxB4DK/aAH/gsTaUZqoHP2

+A0OQmon31MzWvc26iQQQTxktEUqVj2QtO3u5zHfw9Oj+I51guO3vj6z/tdYGPaMyzj62Jruq0Nv7

+8CYOI18dZMcvChcAZCW1lL5sH/NdSMpQEiQJxyditUI/9fl+iXZlJ/n8nq2XqjPZpgV97t+PK6nu

+Vj9HojyyeOpvYDgGtbCHDHkQPbwX3zDtpYMh8lI2WPk4MMCFn6AA6v0Za7qlwj7k5Hvi8CwdxsHi

+amhY3d9YshxMgLLRqUxIsgtqzJdaduT4v49dAsMKbiHKiu6Dm2m3NboeddqdvjvoirsOkucse9tv

+DnKjVqvS+s8kM2hMe63+xB1zHyTL6fNzCfhrY9BsQXfvXDyn8aFnOuppV7QxX8sg/aPYe3R5SehT

+zeES42PMMPWBrGuPF6LEx7X+affuq556vywlk8E++xI/Ye+kzHZzms2kz55ftCjq0FyxBKLIGZQV

+AAHdPji8ukjk5fGxdHZ4H84NHgVgrNnR8yOTecxVK7mj5FHDCh6NISo6z9dKkfOZwFseORfqB6ks

+d5YgQfPEx23lKnkmvl9RRc5Re1dVBEWT7/a30KR4UyLit6+5GvD8pytDogS2SZXn1H3qe1eaaCcE

+j+VXp6bwx5kQ1APgbLDdPlaYkS9br3QOM/n84d68CVMAtb8XxByeoprIo6RHvEQTsWtfCznJKVE0

+NTWz9pT6zpwxKg9nMi8khIRhp/RTCxihvK9EX0h8ngTkhffQi/IlF9x4NVyvpRLqOVN6WyzPHhzo

+gRwlf6ReOdxGsRp8ieTejpM1+4w5e6PncXAJyziVVaEU8vWUPKrKxVRWRYh8+ePyJkaNMFGkJ9lm

+7LhnYbj00UwMn748+2LpVrl4OxtnlohmCAKWrYwjlzd2WSudKOaBvtP3l8NzAvycDXSHcfeTH2Nb

+z7eX8zWeZ+zyBZTP4uOBIeqO6QioVPWOMDmvWwWB+CIbktfQqkp1Wyk20bseltQw3selrKf7YZxw

+V8lHNybtFB7A0mC+CWtE5OfwEz6RgYRZmSJIxZNbEA3j4JzhkhxlznOPW9qfhwB3/uHDuKDGjxfU

+ndeQJky07M3rglgiGYGouIeeMOVd+diaoOkWJGW20Mrkdv2lVOSuNNEyygw+EYwEHqN0vP/J+c4f

+bmabc6mmuoYS6J5gdmD3MTdAswwq9Rk6QpqZ4XlDFfBmMauNPDg6U3TDxWS5C80weQ7PJeeh7UOU

+Lu1oPj5ye8e+M2OXe/kj0w7kaxa2y2G2cfyyDasPPphAArFaehx2zGL+ZVwvgfWSDYPpIbfErdxb

+CbpIrOZveX45er5KH+WSjXYDU+Su0vxR5ZjYuEoCByba6VYMWct9kFhBhgQ7dvBzBiRXJCSSydQu

+Lm4T8ZPpZE4rP79Pd46OYwoTBu39OxEvT4qpkPQVSHXD7f1ksfFRQLjK5FNkzcfsY/MCY7Avx5ge

+gihq+NKd8SFL6iTmy2FN18KkNPPg+9p2UnSmzE3760nF41vhKskcTscqHzt4BEpW0unZg+3xYeA2

+PlI6oXZE3lET4zBZbhZZVlMAX/NZ4xFXbKDgI1ZonKksDNtaA6EBp3LBelET8UwJduoJROvlOtXL

+qZuMVsDgIvui/4kZna3UWWX7Ffc0jSkfQWK0n2DKSLo3S7W7RLfLQ7J/tv8zy+vSH1zMvvU10JBa

+64FmXPlBsVVNxCs3Y+Xp3AUcqyfMcIUK+t0+QUQNt+OtyvsNCNtaz1yaUrmYTGdyXy9YUT7seDHF

+xN3D0Yib7Hr8h1eCJ3Swd4cp9BnPTkY6nGXUn+CDC0/wZ3iND04wwb7pCV4+nHn2f7ZHsC+XLyYX

+J70RtroJhqkzqxphq5tgcF5WNsJWN8HURJCVjLDVTTDtoodVjLDVTTDislnRCFvdBMOSjFWNsNVN

+MCUpfzUjbHUTzOVdNMK0mljiifZXR6TqoZ87zDVZs0Kv2AbG4rezTMszDOIZaiTuKue1XFYqtZRy

+39zsURv3PEw+5KoU3UrcbS5ZnmyVcZObWPNxrBTKGzKq2qXXWXrdrVVaHGoXmL71Vpm8ZANjfnfG

+wpZngiUcM8Eau0ZbbHnWG36is7Q0E+yOIhNMS2jzTHzj5ZlgzPlzMKxFkpalCk7rxR/TSkHuO2e9

+2a50a+v45HTpSm/nPnW5NOuNyR5eZx1W2tqKHNiuVNt9ZRmpg0untMiz3TNjcdjJaSATDouPxGhQ

+5JlS/aA+uCfSjhTkaPJOed7bAuMk86Vkus1y2fb53fgTO59e92Wwqy4i4bieJ2d61+VV3gbl9gvs

+pdhuLlnqjWcxpQZ7+tpmQOa8jlDNO8/6b8/HimoL6ucNBu5bWAHYIlFivZgJU+7ec8kn1gPyI/WK

+7lq9sH2+NsY+2sy1S7TRZhJrNiVOhUNrRZtfLpcHwNHe/2XGCgVIJPBgCMlerRnsXxLqrwZBVm48

+L6+2dXpuymExpM44pUYZP1JtMPvSy/PyDGlAq+TldW9WT3UgsnJZvgdGnH6dFApr2VwWFl6BPbYC

+yeWlShb8ZQ6P8ZpCI1Cx4mTt/MVFkDBM+/vEorvBcna0/OwvMKQ12ZHp7L+8U1C/He2/2uaqkQJp

+Mu062WpW59wqVw3k/m+z1Shy1VAik1yamC/4RzKyydGb7f5qRFW3T9SiSP/dlECZJ6kW8fasS1R2

+qU/vZkq1Wsvq+dPvS9M1HdOybaFtLMv/ah6YBjWnmD/ZDfvxG8wCT16WXLrmcU2Y8pXNa+ktT5dH

+dvxjMWwSTbysDReoPitrsR8W7Zd31SF06x0ky4+eSYp7v/wislmpNrlKH7wSp/l83cmLfrOBegH6

+8rsNfn2zAWDM+W6DX99soAbpl99t8OubDVxeirsNAr+92YAU4TvdbfDrmw3UhLbldxv8+mYDl5fi

+boNf32wANOZ8t8GvbzZweSnuNvj1zQbouXK82yDw25sNMC7meLfBr282wFJMx7sNAr+92QB23/lu

+g1/fbABrcbrbAAxgh/sFHC81QHt/tQsVVptUuc9gVh6/eKPBBu8zUEvKrW402OB9Bvq1OAs3GgQ2

+d58BXryl3mhgIVoNlZsF081B0jDIjVPfmb3PmTC6RWob5fZ9/g7AkL4HWVHdJnC5lExV9Au9zF8K

+EM+cN47u9J7Yj/jopGQ5+L1DHEuGywO2qsJl9rHpbRNXMuxVXxV0IPck5YqfWUq47+ygs1XcnaVN

+vM2c5kRg9vQwgybU78d6W1LknzvJSJNrq36B0vM2iWjgqVRiGiUmt783muphDxQE7yAIvv2pXmC3

+qgyWPxmWofMgljn/+jnjMqGngDGW0mxfZAPj7G7685kPJpnjaZQQl8ur31iAQraRhR0ZAPqDUzWO

+fFS8IUEYY1TiOBuaRSXUT3ZwwZEHyed7vp93ti/aB8qUKvGr3e/qLBSSnt3Nu6uFQuDgoslBrihY

+JIHPJ4Z9ufxMRfziyJgRQfJFMOuWI/EJvK/sKdPKPuwBEvQ06fte7r0w4MFw2/pMdfKJseoO1Or9

+UUDf4+5Xoe00DIpKqJ3zfUivWP5fx5i4d7hvOGiRA7meaX1dHDKRev4ED1Ioze0cvWfC0/EDSJ/K

+VHvABJOV7G5HzWzeO+NzvnxSVyH2E7HsAXDQVP1E0S0vSbRBi2Tc1xOVG6mMmaEldX+1AIia4Y4R

+R/2GgMF/H7viQEbnLPuW7TeNuWQurxdayq3JdIgdIm+pVrvTL9T+aY1crFv5j4H/WDfnjspuLhLB

+fxg3D/8v1F2+xqA7GI397kLf5X07SI4mmU5j0hn0a6N/3DFsergs3J5n3DH3rGvc7QNImDfoDE/8

+mLz2BtC9uRh3Ev7/8LdrfwpzZ+D3axcTZjg+4mbCLCcL8E+EkSWY+tvFqIDBC//AHxfwyxc0/e0W

+3JfupxfG3cSxblwCK4R5GcAWInyYkeDtntIWjUKTFGZFRnRjQ1SGhQnRaDgiwUwCy4Yl8prEhwWZ

+4dxpl8AIAI0IDyUAxM3LXDjKiCym74UlkHxuXpLDgihIbkFkw5gCBC/xUT4s8xzMIQphjmOjbj4i

+hAWOg8lEeCREeTfPywCaQF7jZFguvMaL4QjHRsjgcoQX3TwnhMWIDFBH5TDLsvAaQC1HRAXGKBPF

+11gmLIk8QBAVwxLDYCc2zETgF5wtKokiaYmwLC6fA0AkjrzHwioFVmljYd2kJRpRWxgYkrREohHS

+wsusSN7jw1wEloC4EWVWgLXwAGaUcwOCw7LMwS+48IgIA0RkpQXekyPhKC/xSi+JgUHZCKBHgl8Y

+QIYgSWRT+EhUIDsHC5ZwC8jOMazSxghKJwkXjNsr46YubHja9QETQn+YXMGxBLvWI22wgIjSJsJa

+sUXgcBBsEQSlJSLwSgP8z91wKZ0krRMfdSsDCbOBRPfidA0AggGiBsTBS6zyROQEAgduiCiSpoiE

+hAQtUVmQlRYetxGIjYmyCiCw3wIBZLEXjiSpI0UlZaS56RCO/Vvrw0pOoXb4wiyMzA==

+			]]>

+			<![CDATA[

+			IPBw1sNSVMLjx8Ay4fBxoFlGOaQlwDEflWRcBeCdY4AKeUEGJCBa4HiJER7pmwHqwpPCSHBSgKp5

+IBegdDwgAg/HgQFUzdoKpC0aZZR+oN5ESFtEwSTPiGExipvEc2FJ4pAykT/g8YWJGFw/0iXP424J

+XAQQF4XXWJhbJCQjKQTCs3Bco4h3eJ8nYEELJ/HaYQfCBrA4EagPVyHKYZ6JwuBwklgBtrvqQtqO

+EMKOIow8TAa/8BKLrUDRPJwVNxx2RAgH/Tl8EoFfkUphRs7NCZEwnGGBkIyMZMVxeKwFmCfKAb9D

+YIBvhCWYi8DAsTATxwHIwK2gJRoWETwOliUzEraIsE+AKGA2wEMAoQilIMEpbbhYOHiiRHYJUCVE

+ZDcL7AQISybwwiRzLSpXSLv0Njie5GQADAycDQ4OmKmN4QSln8wqsDLALqMRmBMQIUUA8xwTBUaJ

+x59H/gHUzOGGMQJH4OJkgKLhQvgJqQMWYbGMRFCj8KIIo5x2DqkCuQ3wpGiEENQicRacaL6QUoQf

+iEIi+kKhtYThZNBr1CZUwlDrSiUMiSB0t1eQeVGNBQq6zIuqMk/WZF5ElXkozRSZx2kyT9RlXkST

+eTyReYwm83hN5kU1mcfrMo/VZJ64IPMiZpnHW8g8XpN5vCrzJE6Tebwm80RN5gGlqTJPVmUesBmT

+zIOWBZkHbSaZhy3zMg9bFmQeYy/zhAWZJ1rIPEGTeZIq81hGk3lRTeYJusyLajJPUGVeVJN5gibz

+zBuuyDxWE0K8LvNYTebxmsxjNZnHazKPVWUer8s8VpN5vCbzWE3m8ZrMM083k3mSrAkhXpN50KTK

+PF6VedCiSjNek2aMJvP4mcxb7EVGktSRiMwzT4dwIHELMuKMCYtAKeRI8ApDR/TLEYmwYCaCHB4o

+CTghS/YxCoyHsHxRIrsv4mmRCOETKQBDANkCBxeEqCInkZNGeZacLAGJFV8DkmR5RCD8AhySMEMg

+OlwdSC+ZQTICBHKIUiAaEJ4CvofgImkRlVKAo4AaUwQXIIiEJHG/kGgiynuyQtx4bkVCLNBL5nBX

+NNkrgFgBquHIsiMRWSRwskyUSGNAU1RAARVl8OiwbgVxiE0CCse7F1CZduKvU3K2EYG8DP/KcHh6

+5NzKHApWra1gbOPIlhQMby62zN77mDXCsQ3LUZCehglmbQVjG6yPFwTDeJZNszfxPAE9inxkBgqS

+kKjqBDPoDE36svQ3rdq0Vw1TzGAxzGGAz9CmL01/16pt9u4HbgfsuETYAHBYVuIJa4jgaRH1poJC

+fUwkMtfGAwELeAIt20D3kGUydQQYRASp2dgGS5WRunhU6YncRtUZGR7IA4kTUFSwirAXBGQ/ArIR

+hANoH4hRAJYbxbMCSiacF2xRtSzQhsKiGNUb4DXUcfA8651gX4Fjw2t8FMSOzJOWqERAEhXJogii

+qBTR2mSi2oFKysC5I2/KyIyUNo5lUO+UUF7gaHjM4QVBANYuskaw1AZlNaAyCoZOEdT0WMJBQNuV

+CVok5ABkwShj8DUQpiIyOgHPLbK+CAhTCTkPoJOXREXOwmAGpKM0jhJJqTaR/cLtZ/Dko/rECgo3

+4ySJJfsQAWUayBKMYxaPu9aCImzWBlwQeQiOBaQYlWW9DWQTTITyiVdsDpwO6JHVQUgrVpQEG2Ak

+D2xTCVCWOA3QOTolupxiovCgFER5lKPA2qISCKqe0oaESJoiZAxg5qh5ALeXJNRCo7AIGeUbil8B

+dWHoIQqMYWbEGlgZojxP5lFgqjzqOmAnSBLuN/RiCC9EWxwsFTJ6RJYUoSICTnAs2GdgOpLephyt

+KIeUgnZTBAWKonQocImipFDB3IlMW59INLhA8qmWTZTQHEgunqwZ9CeOaNDA9QRiXcvAEQhUAop5

+BVeirFC0iDJc5MnuE9JWDrLEsaoNilZVgfAK2DhJkb6oguC7qABGFH4eYSKyijGOVfuBbCNNomrb

+oZohs4Sjo56IG4jTMqgN4NaDwBNV8ECdB4YqabIJNxctzDuVBiReaSPDkhY8FKQFjaYFOklrigmA

+LEWJwQ1oifJEakTQRANyB8qAHZIi2sZzgtrEaaudf1W1Mm5dstvndz/cu5ZJRK0Ph4pVhKiAcGii

+HApGMKlQj5VUHQtW0HVxUcQpSm+wfjng5Ni28G4XQLCfkxMRUlRv0XCLAP5gLmAOIOUVNUqG0wHD

+ossCSJNsBuEqXYtXHaYCWgazQVaEG2jvOFUE7UtBUa4icNpgWCBB0CZEhf3wUVzB4qvLp0IHGyIB

+2WOEiaJURnKKsGhBC7hvcIi7hAswHE6vyZfu4qsOM0mCIkN5kEwysapwBKJO88hIQVTgqBJaNsjE

+gXEC5ZAm05sOExGjAfmliLiAXcc1RZQTh2IRrG6ewI/ePpRT0I8YUV2Ldx3mQncZw0pEFBDeDHNx

+ILPwBHBwGkEq4LCg0ooiylt4xrEcWejCq05TgeYqEi0BmJhEDhs6TDhUldHW59RhkVsSLhuBbZTJ

+qsyvLp9J0WKRXDkZLVFclMAAGxNR7YU5QQ1EaJEfS0TX4HhFu+5avOswF4NMl0eGDxKDEYkvDHkC

+4V3o5kEGDOPCwY2KaIKybDjKsjJpM7+7fC5V8KG4n3Nzwepwq2zcXBxrdnNxrIWbS1LdXGC8L7q5

+ZDRaoIlRLCvQQBn0I6C1CFsDz4jbDu0oBjUAaGPRVIA2dF2xqGihBSSJskpVHDrIOFSyZYJpURkL

+IOTRT4WePEmUOGKBy+iDRGUClKYosbeiRNxBi4xuCvQIRlVvInE7RfQmlFUo/1nF18QSrzlxcxG5

+xqMfh7jQ0JeG+pQiHBUnEqpmcIyEKJxiOHthiZhbyAtZ0c0BouDoKwoFx0RY8hpOi2tDJicR4cYR

+7xu6xMhxBV7LEZNZVjGM/jD8BRBEOBF6z2CkCApgVlaYUxQ9hRFeUxRgEjTUOaI/otNMa2kQlspw

+6GDRezEKmnliVgLj5UBTg8MkkwWjcgrT8cAtRBRnuMXoSOOQIEgngB+1EHS+SRySmIiCNYLmKScg

+USP5yKjqwUpA1spIh3iMiJwiXEIhSPTTRKNq2EB1jQqKaxTQBBhTXaOi5hrlFlyj7IJrFOYBjosi

+JIKyBNaLvh5CKKCHMKiHKO5GpBiM4PACKuEcg5qbdkRBhSDvCSIwaWQGQjQCK4ZHgog8F6hRBnMD

+34OHircJoBPRaObQlGAjCmcGUgYwQUkDBRNb0KJnRLKfwLii2AtMBOLcIr1ERlGcJVDHoQU1LZkl

+DJUokQ0iNVEnBgg4Hl7n0HkUVZkzUfU5UMBFDq0HHmMVMiHfqKS4YdHyAWQAMmFfRRZ1woga2MGR

+0Y0gYDhJIjhBB5PMysQw4XmwylAYK6cPNlpGjxi2sCKgXiAqJfH3gdmGDjTSiZFYluxcFIQPaYmi

+3sfxsuo0gxYRthIxGVUIDJvIatHhSxyR8DqPh59DhiKyioEDFEe8wgxhqVGVj+PSgLMD61HCeBLL

+oH8ZGST6LOAXYLKc+l6EHAwZNw5sKw4dh1FB8dezHJIOMk+Dnz1NfNBmP3tkwc8uWPjZuQU/u6h5

+1XnNzy7qPvWZn33WFtV96hHNzz7Xtuhn51H9jxBWSyw2JHJRwBYOYzLYMvOzEwPY7GfnzH52IAST

+n52Z+dmB04DOAfwAqJwHBgK0gfChps6rMoSLomcN0QAnV0RhAu/JnGKdzNoKxjYeScDUJoaBAGA0

+9DAyRKRhZAnIEpQTVbrA+WAjxE7mkBGAugRtOABuGViRsEkCacHzzEWRVyBeAFCGJxYBgioJguIj

+YDmF4cObPEGLwn70yAKrRBbSxrBX1Bz24qSFsBenh71ELezF6WEv0SLsFV0Ie0UWwl68Oeyl2DeE

+wnlZIFSIZlhPDdDwircRaE5ws6CskOOD+8FEyYFCZiMpwWMiQ4AwgbEz6GuYtRWgDf2caCkAaxcx

+ukDeRCUHcSZE8HDAoMSYAP01wiiEg5FscoCA3eHZQk4gS0TWgcxB1zOHngMGhS0GDnji58eRMPSA

+yFdpGTkB8E0SH4oi3zGv1zHaaRX58RZr7VZlVOt0WyNXe1z7q+Wu9fuDSW3SGsITd3vUGk8Go5Z7

+/Dn4G1vgFa2715u9zrn+L1T7Dxc=

+			]]>

+		</i:pgf>

+	</svg>

diff --git a/tomcat-uid/webapps/docs/BUILDING.txt b/tomcat-uid/webapps/docs/BUILDING.txt
new file mode 100644
index 0000000..45ee689
--- /dev/null
+++ b/tomcat-uid/webapps/docs/BUILDING.txt
@@ -0,0 +1,168 @@
+================================================================================

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+================================================================================

+

+            ====================================================

+            Building The Apache Tomcat 6.0 Servlet/JSP Container

+            ====================================================

+

+This subproject contains the source code for Tomcat 6.0, a container that

+implements the Servlet 2.5 and JSP 2.1 specifications from the Java

+Community Process <http://www.jcp.org/>.

+

+Note: If you just need to run Apache Tomcat, it is not necessary to build

+it. You may simply download a binary distribution. It is cross-platform.

+Read RUNNING.txt for the instruction on how to run it.

+

+In order to build a binary distribution version of Apache Tomcat from a

+source distribution, do the following:

+

+

+(0) Download and Install a Java Development Kit

+

+* If the JDK is already installed, skip to (1).

+

+* Download a Java Development Kit (JDK) of Java SE version 5 from

+

+    http://www.oracle.com/technetwork/java/javase/downloads/index.html

+    or from another JDK vendor.

+

+  Note regarding versions of Java later than Java SE 5:

+

+    As documented elsewhere, one of components in Apache Tomcat includes

+    a private copy of the Apache Commons DBCP library. The source code

+    for this library is downloaded, processed by the build script

+    (renaming the packages) and compiled.

+

+    Due to changes in JDBC interfaces implemented by the library between

+    versions of Java SE specification, the library has to target specific

+    version of Java and can be compiled only with the JDK version

+    implementing this version of specification.

+

+    See Apache Commons DBCP project web site for more details on

+    available versions of the library and its requirements,

+

+      http://commons.apache.org/dbcp/

+

+  It is possible to use later versions of JDK to build Tomcat 6.0, but the

+  building of that component (tomcat-dbcp.jar) will be skipped and a

+  warning will be printed.

+

+* Install the JDK according to the instructions included with the release.

+

+* Set an environment variable JAVA_HOME to the pathname of the directory

+  into which you installed the JDK release.

+

+

+(1) Install Apache Ant 1.6.x on your computer

+

+* If Apache Ant 1.6.x is already installed on your computer, skip to (2).

+

+* Download a binary distribution of Ant 1.6.x from:

+

+    http://ant.apache.org/bindownload.cgi

+

+* Unpack the binary distribution into a convenient location so that the

+  Ant release resides in its own directory (conventionally named

+  "apache-ant-[version]").  For the purposes of the remainder of this document,

+  the symbolic name "${ant.home}" is used to refer to the full pathname of

+  the release directory.

+

+* Create an ANT_HOME environment variable to point the directory

+  ${ant.home}.

+

+* Modify the PATH environment variable to include the directory

+  ${ant.home}/bin in its list.  This makes the "ant" command line script

+  available, which will be used to actually perform the build.

+

+

+(2) Building Tomcat 6.0

+

+(2.1) Checkout or obtain the source code for Tomcat 6.0

+

+* Tomcat 6.0 SVN repository URL:

+  http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/

+

+* Download a source package from:

+  http://tomcat.apache.org/download-60.cgi

+

+* Checkout the source using SVN, selecting a tag for released version or

+  trunk for the current development code, or unpack a source package. The

+  location where the source has been placed will be referred as

+  ${tomcat.source}.

+

+(2.2) Building

+

+* Go to that directory, and do:

+

+    cd ${tomcat.source}

+    ant download

+    ant

+

+* WARNING: Running "ant download" command will download libraries required

+  to build Tomcat to the /usr/share/java directory.  On a typical Linux or

+  MacOX system an ordinary user  will not have access to write to this

+  directory, and, even if you do, it may not be appropriate for you to

+  write there.

+

+  On Windows this usually corresponds to the "C:\usr\share\java"

+  directory, unless Cygwin is used. Read below to learn how to customize

+  the directory used to download the binaries.

+

+* NOTE: Users accessing the Internet through a proxy must use a properties

+  file to indicate to Ant the proxy configuration. Read below.

+

+* The build can be controlled by creating a ${tomcat.source}/build.properties

+  file, and adding the following content to it:

+

+    # ----- Proxy setup -----

+    # Uncomment if using a proxy server

+    #proxy.host=proxy.domain

+    #proxy.port=8080

+    #proxy.use=on

+

+    # ----- Default Base Path for Dependent Packages -----

+    # Replace this path with the directory path where dependencies binaries

+    # should be downloaded

+    base.path=/home/me/some-place-to-download-to

+

+

+(3) Updating sources

+

+It is recommended that you regularly update the downloaded Tomcat 6 sources

+using your SVN client.

+

+(4) Rebuilds

+

+For a quick rebuild of only modified code you can use:

+   

+    cd ${tomcat.source}

+    ant

+

+(5) Building the servlet and jsp API documentation

+

+    cd ${tomcat.source}

+    ant -f dist.xml dist-javadoc

+

+(6) Building the extras (commons-logging, webservices etc.).

+

+    cd ${tomcat.source}

+    ant -f extras.xml

+

+(7) Building a release:

+

+    cd ${tomcat.source}

+    ant -f dist.xml release

diff --git a/tomcat-uid/webapps/docs/RELEASE-NOTES.txt b/tomcat-uid/webapps/docs/RELEASE-NOTES.txt
new file mode 100644
index 0000000..5ef623a
--- /dev/null
+++ b/tomcat-uid/webapps/docs/RELEASE-NOTES.txt
@@ -0,0 +1,232 @@
+================================================================================

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+================================================================================

+

+

+                     Apache Tomcat Version 6.0.39

+                            Release Notes

+

+

+=============================

+KNOWN ISSUES IN THIS RELEASE:

+=============================

+

+* Dependency Changes

+* JNI Based Applications

+* Bundled APIs

+* Web application reloading and static fields in shared libraries

+* Tomcat on Linux

+* Enabling SSI and CGI Support

+* Security manager URLs

+* Symlinking static resources

+* Enabling invoker servlet

+* Viewing the Tomcat Change Log

+* Cryptographic software notice

+* When all else fails

+

+

+===================

+Dependency Changes:

+===================

+Tomcat 6.0 is designed to run on Java SE 5.0 and later.

+

+In addition, Tomcat 6.0 uses the Eclipse JDT Java compiler for compiling

+JSP pages.  This means you no longer need to have the complete

+Java Development Kit (JDK) to run Tomcat, but a Java Runtime Environment

+(JRE) is sufficient.  The Eclipse JDT Java compiler is bundled with the 

+binary Tomcat distributions.  Tomcat can also be configured to use the

+compiler from the JDK to compile JSPs, or any other Java compiler supported 

+by Apache Ant.

+

+

+=======================

+JNI Based Applications:

+=======================

+Applications that require native libraries must ensure that the libraries have

+been loaded prior to use.  Typically, this is done with a call like:

+

+  static {

+    System.loadLibrary("path-to-library-file");

+  }

+

+in some class.  However, the application must also ensure that the library is

+not loaded more than once.  If the above code were placed in a class inside

+the web application (i.e. under /WEB-INF/classes or /WEB-INF/lib), and the

+application were reloaded, the loadLibrary() call would be attempted a second

+time.

+

+To avoid this problem, place classes that load native libraries outside of the

+web application, and ensure that the loadLibrary() call is executed only once

+during the lifetime of a particular JVM.

+

+

+=============

+Bundled APIs:

+=============

+A standard installation of Tomcat 6.0 makes all of the following APIs available

+for use by web applications (by placing them in "lib"):

+* annotations-api.jar (Annotations package)

+* catalina.jar (Tomcat Catalina implementation)

+* catalina-ant.jar (Tomcat Catalina Ant tasks)

+* catalina-ha.jar (High availability package)

+* catalina-tribes.jar (Group communication)

+* ecj-4.3.1.jar (Eclipse JDT Java compiler)

+* el-api.jar (EL 2.1 API)

+* jasper.jar (Jasper 2 Compiler and Runtime)

+* jasper-el.jar (Jasper 2 EL implementation)

+* jsp-api.jar (JSP 2.1 API)

+* servlet-api.jar (Servlet 2.5 API)

+* tomcat-coyote.jar (Tomcat connectors and utility classes)

+* tomcat-dbcp.jar (package renamed database connection pool based on Commons DBCP)

+

+You can make additional APIs available to all of your web applications by

+putting unpacked classes into a "classes" directory (not created by default),

+or by placing them in JAR files in the "lib" directory.

+

+To override the XML parser implementation or interfaces, use the endorsed

+mechanism of the JVM. The default configuration defines JARs located in 

+"endorsed" as endorsed.

+

+

+================================================================

+Web application reloading and static fields in shared libraries:

+================================================================

+Some shared libraries (many are part of the JDK) keep references to objects

+instantiated by the web application. To avoid class loading related problems

+(ClassCastExceptions, messages indicating that the classloader

+is stopped, etc.), the shared libraries state should be reinitialized.

+

+Something which might help is to avoid putting classes which would be

+referenced by a shared static field in the web application classloader,

+and putting them in the shared classloader instead (JARs should be put in the

+"lib" folder, and classes should be put in the "classes" folder).

+

+

+================

+Tomcat on Linux:

+================

+GLIBC 2.2 / Linux 2.4 users should define an environment variable:

+export LD_ASSUME_KERNEL=2.2.5

+

+Redhat Linux 9.0 users should use the following setting to avoid

+stability problems:

+export LD_ASSUME_KERNEL=2.4.1

+

+There are some Linux bugs reported against the NIO sendfile behavior, make sure you

+have a JDK that is up to date, or disable sendfile behavior in the Connector.<br/>

+6427312: (fc) FileChannel.transferTo() throws IOException "system call interrupted"<br/>

+5103988: (fc) FileChannel.transferTo should return -1 for EAGAIN instead throws IOException<br/>

+6253145: (fc) FileChannel.transferTo on Linux fails when going beyond 2GB boundary<br/>

+6470086: (fc) FileChannel.transferTo(2147483647, 1, channel) cause "Value too large" exception<br/>

+

+

+=============================

+Enabling SSI and CGI Support:

+=============================

+Because of the security risks associated with CGI and SSI available

+to web applications, these features are disabled by default.  

+

+To enable and configure CGI support, please see the cgi-howto.html page.

+

+To enable and configue SSI support, please see the ssi-howto.html page.

+

+

+======================

+Security manager URLs:

+======================

+In order to grant security permissions to JARs located inside the

+web application repository, use URLs of of the following format

+in your policy file:

+

+file:${catalina.base}/webapps/examples/WEB-INF/lib/driver.jar

+

+

+============================

+Symlinking static resources:

+============================

+By default, Unix symlinks will not work when used in a web application to link

+resources located outside the web application root directory.

+

+This behavior is optional, and the "allowLinking" flag may be used to disable

+the check.

+

+

+=========================

+Enabling invoker servlet:

+=========================

+Starting with Tomcat 4.1.12, the invoker servlet is no longer available by

+default in all webapps. Enabling it for all webapps is possible by editing

+$CATALINA_HOME/conf/web.xml to uncomment the "/servlet/*" servlet-mapping

+definition.

+

+Using the invoker servlet in a production environment is not recommended and

+is unsupported.  More details are available on the Tomcat FAQ at

+http://tomcat.apache.org/faq/misc.html#invoker.

+

+

+==============================

+Viewing the Tomcat Change Log:

+==============================

+See changelog.html in this directory.

+

+

+============================================

+Multi-byte charset handling bug in Java 1.5:

+============================================

+Public versions of Sun/Oracle Java 1.5 are known to have a nasty bug in

+implementation of Charset.decode() method for certain character sets.

+

+For details, test and a list of affected character sets see:

+

+http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6196991

+https://issues.apache.org/bugzilla/show_bug.cgi?id=52579

+

+The UTF-8 charset is not affected by this issue.

+

+

+=============================

+Cryptographic software notice

+=============================

+This distribution includes cryptographic software.  The country in 

+which you currently reside may have restrictions on the import, 

+possession, use, and/or re-export to another country, of 

+encryption software.  BEFORE using any encryption software, please 

+check your country's laws, regulations and policies concerning the

+import, possession, or use, and re-export of encryption software, to 

+see if this is permitted.  See <http://www.wassenaar.org/> for more

+information.

+

+The U.S. Government Department of Commerce, Bureau of Industry and

+Security (BIS), has classified this software as Export Commodity 

+Control Number (ECCN) 5D002.C.1, which includes information security

+software using or performing cryptographic functions with asymmetric

+algorithms.  The form and manner of this Apache Software Foundation

+distribution makes it eligible for export under the License Exception

+ENC Technology Software Unrestricted (TSU) exception (see the BIS 

+Export Administration Regulations, Section 740.13) for both object 

+code and source code.

+

+The following provides more details on the included cryptographic

+software:

+  - Tomcat includes code designed to work with JSSE

+  - Tomcat includes code designed to work with OpenSSL

+

+

+====================

+When all else fails:

+====================

+See the FAQ

+http://tomcat.apache.org/faq/

diff --git a/tomcat-uid/webapps/docs/RUNNING.txt b/tomcat-uid/webapps/docs/RUNNING.txt
new file mode 100644
index 0000000..9e43e5d
--- /dev/null
+++ b/tomcat-uid/webapps/docs/RUNNING.txt
@@ -0,0 +1,478 @@
+================================================================================

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+================================================================================

+

+            ===================================================

+            Running The Apache Tomcat 6.0 Servlet/JSP Container

+            ===================================================

+

+Apache Tomcat 6.0 requires a Java Standard Edition Runtime

+Environment (JRE) version 5.0 or later.

+

+=============================

+Running With JRE 5.0 Or Later

+=============================

+

+(1) Download and Install a Java SE Runtime Environment (JRE)

+

+(1.1) Download a Java SE Runtime Environment (JRE),

+      release version 5.0 or later, from

+      http://www.oracle.com/technetwork/java/javase/downloads/index.html

+

+(1.2) Install the JRE according to the instructions included with the

+      release.

+

+      You may also use a full Java Development Kit (JDK) rather than just

+      a JRE.

+

+

+(2) Download and Install Apache Tomcat

+

+(2.1) Download a binary distribution of Tomcat from:

+

+      http://tomcat.apache.org/

+

+(2.2) Unpack the binary distribution so that it resides in its own

+      directory (conventionally named "apache-tomcat-[version]").

+

+      For the purposes of the remainder of this document, the name

+      "CATALINA_HOME" is used to refer to the full pathname of that

+      directory.

+

+NOTE:  As an alternative to downloading a binary distribution, you can

+create your own from the Tomcat source code, as described in

+"BUILDING.txt".  You can either

+

+  a)  Do the full "release" build and find the created distribution in the

+      "output/release" directory and then proceed with unpacking as above, or

+

+  b)  Do a simple build and use the "output/build" directory as

+      "CATALINA_HOME".  Be warned that there are some differences between the

+      contents of the "output/build" directory and a full "release"

+      distribution.

+

+

+(3) Configure Environment Variables

+

+Tomcat is a Java application and does not use environment variables. The

+variables are used by the Tomcat startup scripts. The scripts use the variables

+to prepare the command that starts Tomcat.

+

+(3.1) Set CATALINA_HOME (required) and CATALINA_BASE (optional)

+

+The CATALINA_HOME environment variable should be set to the location of the

+root directory of the "binary" distribution of Tomcat.

+

+An example was given in (2.2) above.

+

+The Tomcat startup scripts have some logic to set this variable

+automatically if it is absent, based on the location of the startup script

+in *nix and on the current directory in Windows. That logic might not work

+in all circumstances, so setting the variable explicitly is recommended.

+

+The CATALINA_BASE environment variable specifies location of the root

+directory of the "active configuration" of Tomcat. It is optional. It

+defaults to be equal to CATALINA_HOME.

+

+Using distinct values for the CATALINA_HOME and CATALINA_BASE variables is

+recommended to simplify further upgrades and maintenance. It is documented

+in the "Multiple Tomcat Instances" section below.

+

+

+(3.2) Set JRE_HOME or JAVA_HOME (required)

+

+These variables are used to specify location of a Java Runtime

+Environment or of a Java Development Kit that is used to start Tomcat.

+

+The JRE_HOME variable is used to specify location of a JRE. The JAVA_HOME

+variable is used to specify location of a JDK.

+

+Using JAVA_HOME provides access to certain additional startup options that

+are not allowed when JRE_HOME is used.

+

+If both JRE_HOME and JAVA_HOME are specified, JRE_HOME is used.

+

+The recommended place to specify these variables is a "setenv" script. See

+below.

+

+

+(3.3) Other variables (optional)

+

+Other environment variables exist, besides the four described above.

+See the comments at the top of catalina.bat or catalina.sh scripts for

+the list and a description of each of them.

+

+One frequently used variable is CATALINA_OPTS. It allows specification of

+additional options for the java command that starts Tomcat.

+

+See the Java documentation for the options that affect the Java Runtime

+Environment.

+

+See the "System Properties" page in the Tomcat Configuration Reference for

+the system properties that are specific to Tomcat.

+

+A similar variable is JAVA_OPTS. It is used less frequently. It allows

+specification of options that are used both to start and to stop Tomcat as well

+as for other commands.

+

+Note: Do not use JAVA_OPTS to specify memory limits. You do not need much

+memory for a small process that is used to stop Tomcat. Those settings

+belong to CATALINA_OPTS.

+

+Another frequently used variable is CATALINA_PID (on *nix only). It

+specifies the location of the file where process id of the forked Tomcat

+java process will be written. This setting is optional. It will enable the

+following features:

+

+ *  better protection against duplicate start attempts and

+ *  allows forceful termination of Tomcat process when it does not react to

+    the standard shutdown command.

+

+

+(3.4) Using the "setenv" script (optional, recommended)

+

+Apart from CATALINA_HOME and CATALINA_BASE, all environment variables can

+be specified in the "setenv" script. The script is placed either into

+CATALINA_BASE/bin or into CATALINA_HOME/bin directory and is named

+setenv.bat (on Windows) or setenv.sh (on *nix). The file has to be

+readable.

+

+By default the setenv script file is absent. If the script file is present

+both in CATALINA_BASE and in CATALINA_HOME, the one in CATALINA_BASE is

+preferred.

+

+For example, to configure the JRE_HOME and CATALINA_PID variables you can

+create the following script file:

+

+On Windows, %CATALINA_BASE%\bin\setenv.bat:

+

+  set "JRE_HOME=%ProgramFiles%\Java\jre6"

+  exit /b 0

+

+On *nix, $CATALINA_BASE/bin/setenv.sh:

+

+  JRE_HOME=/usr/java/latest

+  CATALINA_PID="$CATALINA_BASE/tomcat.pid"

+

+

+The CATALINA_HOME and CATALINA_BASE variables cannot be configured in the

+setenv script, because they are used to locate that file.

+

+All the environment variables described here and the "setenv" script are

+used only if you use the standard scripts to launch Tomcat. For example, if

+you have installed Tomcat as a service on Windows, the service wrapper

+launches Java directly and does not use the script files.

+

+

+(4) Start Up Tomcat

+

+(4.1) Tomcat can be started by executing one of the following commands:

+

+  On Windows:

+

+      %CATALINA_HOME%\bin\startup.bat

+

+    or

+

+      %CATALINA_HOME%\bin\catalina.bat start

+

+  On *nix:

+

+      $CATALINA_HOME/bin/startup.sh

+

+    or

+

+      $CATALINA_HOME/bin/catalina.sh start

+

+(4.2) After startup, the default web applications included with Tomcat will be

+      available by visiting:

+

+      http://localhost:8080/

+

+(4.3) Further information about configuring and running Tomcat can be found in

+      the documentation included here, as well as on the Tomcat web site:

+

+      http://tomcat.apache.org/

+

+

+(5) Shut Down Tomcat

+

+(5.1) Tomcat can be shut down by executing one of the following commands:

+

+  On Windows:

+

+      %CATALINA_HOME%\bin\shutdown.bat

+

+    or

+

+      %CATALINA_HOME%\bin\catalina.bat stop

+

+  On *nix:

+

+      $CATALINA_HOME/bin/shutdown.sh

+

+    or

+

+      $CATALINA_HOME/bin/catalina.sh stop

+

+==================================================

+Advanced Configuration - Multiple Tomcat Instances

+==================================================

+

+In many circumstances, it is desirable to have a single copy of a Tomcat

+binary distribution shared among multiple users on the same server.  To make

+this possible, you can set the CATALINA_BASE environment variable to the

+directory that contains the files for your 'personal' Tomcat instance.

+

+When running with a separate CATALINA_HOME and CATALINA_BASE, the files

+and directories are split as following:

+

+In CATALINA_BASE:

+

+ * bin  - Only the following files:

+

+           * setenv.sh (*nix) or setenv.bat (Windows),

+           * tomcat-juli.jar

+

+          The setenv scripts were described above. The tomcat-juli library

+          is documented in the Logging chapter in the User Guide.

+

+ * conf - Server configuration files (including server.xml)

+

+ * lib  - Libraries and classes, as explained below

+

+ * logs - Log and output files

+

+ * webapps - Automatically loaded web applications

+

+ * work - Temporary working directories for web applications

+

+ * temp - Directory used by the JVM for temporary files (java.io.tmpdir)

+

+

+In CATALINA_HOME:

+

+ * bin  - Startup and shutdown scripts

+

+          The following files will be used only if they are absent in

+          CATALINA_BASE/bin:

+

+          setenv.sh (*nix), setenv.bat (Windows), tomcat-juli.jar

+

+ * lib  - Libraries and classes, as explained below

+

+ * endorsed - Libraries that override standard "Endorsed Standards"

+              libraries provided by JRE. See Classloading documentation

+              in the User Guide for details.

+

+              By default this "endorsed" directory is absent.

+

+In the default configuration the JAR libraries and classes both in

+CATALINA_BASE/lib and in CATALINA_HOME/lib will be added to the common

+classpath, but the ones in CATALINA_BASE will be added first and thus will

+be searched first.

+

+The idea is that you may leave the standard Tomcat libraries in

+CATALINA_HOME/lib and add other ones such as database drivers into

+CATALINA_BASE/lib.

+

+In general it is advised to never share libraries between web applications,

+but put them into WEB-INF/lib directories inside the applications. See

+Classloading documentation in the User Guide for details.

+

+

+It might be useful to note that the values of CATALINA_HOME and

+CATALINA_BASE can be referenced in the XML configuration files processed

+by Tomcat as ${catalina.home} and ${catalina.base} respectively.

+

+For example, the standard manager web application can be kept in

+CATALINA_HOME/webapps/manager and loaded into CATALINA_BASE by using

+the following trick:

+

+ * Copy the CATALINA_HOME/webapps/manager/META-INF/context.xml

+   file as CATALINA_BASE/conf/Catalina/localhost/manager.xml

+

+ * Add docBase attribute as shown below.

+

+The file will look like the following:

+

+  <?xml version="1.0" encoding="UTF-8"?>

+  <Context docBase="${catalina.home}/webapps/manager"

+    antiResourceLocking="false" privileged="true" useHttpOnly="true" >

+    <Valve className="org.apache.catalina.valves.RemoteAddrValve"

+         allow="127\.0\.0\.1" />

+  </Context>

+

+See Deployer chapter in User Guide and Context and Host chapters in the

+Configuration Reference for more information on contexts and web

+application deployment.

+

+

+================

+Troubleshooting

+================

+

+There are only really 2 things likely to go wrong during the stand-alone

+Tomcat install:

+

+(1) The most common hiccup is when another web server (or any process for that

+    matter) has laid claim to port 8080.  This is the default HTTP port that

+    Tomcat attempts to bind to at startup.  To change this, open the file:

+

+       $CATALINA_HOME/conf/server.xml

+

+    and search for '8080'.  Change it to a port that isn't in use, and is

+    greater than 1024, as ports less than or equal to 1024 require superuser

+    access to bind under UNIX.

+

+    Restart Tomcat and you're in business.  Be sure that you replace the "8080"

+    in the URL you're using to access Tomcat.  For example, if you change the

+    port to 1977, you would request the URL http://localhost:1977/ in your

+    browser.

+

+(2) The 'localhost' machine isn't found.  This could happen if you're behind a

+    proxy.  If that's the case, make sure the proxy configuration for your

+    browser knows that you shouldn't be going through the proxy to access the

+    "localhost".

+

+    In Firefox, this is under Tools/Preferences -> Advanced/Network ->

+    Connection -> Settings..., and in Internet Explorer it is Tools ->

+    Internet Options -> Connections -> LAN Settings.

+

+

+====================

+Optional Components

+====================

+

+The following optional components may be included with the Apache Tomcat binary

+distribution. If they are not included, you can install them separately.

+

+ 1. Apache Tomcat Native library

+

+ 2. Apache Commons Daemon service launcher

+

+Both of them are implemented in C language and as such have to be compiled

+into binary code. The binary code will be specific for a platform and CPU

+architecture and it must match the Java Runtime Environment executables

+that will be used to launch Tomcat.

+

+The Windows-specific binary distributions of Apache Tomcat include binary

+files for these components. On other platforms you would have to look for

+binary versions elsewhere or compile them yourself.

+

+If you are new to Tomcat, do not bother with these components to start with.

+If you do use them, do not forget to read their documentation.

+

+

+Apache Tomcat Native library

+-----------------------------

+

+It is a library that allows to use the "Apr" variant of HTTP and AJP

+protocol connectors in Apache Tomcat. It is built around OpenSSL and Apache

+Portable Runtime (APR) libraries. Those are the same libraries as used by

+Apache HTTPD Server project.

+

+This feature was especially important in the old days when Java performance

+was poor. It is less important nowadays, but it is still used and respected

+by many. See Tomcat documentation for more details.

+

+For further reading:

+

+ - Apache Tomcat documentation

+

+    * Documentation for APR/Native library in the Tomcat User's Guide

+

+      http://tomcat.apache.org/tomcat-6.0-doc/apr.html

+

+    * Documentation for the HTTP and AJP protocol connectors in the Tomcat

+      Configuration Reference

+

+      http://tomcat.apache.org/tomcat-6.0-doc/config/http.html

+

+      http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html

+

+ - Apache Tomcat Native project home

+

+      http://tomcat.apache.org/native-doc/

+

+ - Other projects

+

+    * OpenSSL

+

+      http://openssl.org/

+

+    * Apache Portable Runtime

+

+      http://apr.apache.org/

+

+    * Apache HTTP Server

+

+      http://httpd.apache.org/

+

+To disable Apache Tomcat Native library:

+

+ - To disable Apache Tomcat Native library when it is installed, or

+ - To remove the warning that is logged during Tomcat startup when the

+   library is not installed:

+

+   Edit the "conf/server.xml" file and remove "AprLifecycleListener" from

+   it.

+

+The binary file of Apache Tomcat Native library is usually named

+

+  - "tcnative-1.dll" on Windows

+  - "libtcnative-1.so" on *nix systems

+

+

+Apache Commons Daemon

+----------------------

+

+Apache Commons Daemon project provides wrappers that can be used to

+install Apache Tomcat as a service on Windows or as a daemon on *nix

+systems.

+

+The Windows-specific implementation of Apache Commons Daemon is called

+"procrun". The *nix-specific one is called "jsvc".

+

+For further reading:

+

+ - Apache Commons Daemon project

+

+      http://commons.apache.org/daemon/

+

+ - Apache Tomcat documentation

+

+    * Installing Apache Tomcat

+

+      http://tomcat.apache.org/tomcat-6.0-doc/setup.html

+

+    * Windows service HOW-TO

+

+      http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html

+

+The binary files of Apache Commons Daemon in Apache Tomcat distributions

+for Windows are named:

+

+  - "tomcat6.exe"

+  - "tomcat6w.exe"

+

+These files are renamed copies of "prunsrv.exe" and "prunmgr.exe" from

+Apache Commons Daemon distribution. The file names have a meaning: they are

+used as the service name to register the service in Windows, as well as the

+key name to store distinct configuration for this installation of

+"procrun". If you would like to install several instances of Tomcat 6.0

+in parallel, you have to further rename those files, using the same naming

+scheme.

diff --git a/tomcat-uid/webapps/docs/WEB-INF/web.xml b/tomcat-uid/webapps/docs/WEB-INF/web.xml
new file mode 100644
index 0000000..57ebcf7
--- /dev/null
+++ b/tomcat-uid/webapps/docs/WEB-INF/web.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>

+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<web-app xmlns="http://java.sun.com/xml/ns/javaee"

+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

+   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"

+   version="2.5"> 

+

+  <display-name>Tomcat Documentation</display-name>

+  <description>

+     Tomcat Documentation.

+  </description>

+</web-app>

diff --git a/tomcat-uid/webapps/docs/aio.html b/tomcat-uid/webapps/docs/aio.html
new file mode 100644
index 0000000..731d76a
--- /dev/null
+++ b/tomcat-uid/webapps/docs/aio.html
@@ -0,0 +1,317 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Advanced IO and Tomcat</title><meta name="author" content="Remy Maucherat"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Advanced IO and Tomcat</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Comet_support">Comet support</a><ol><li><a href="#CometEvent">CometEvent</a></li><li><a href="#CometFilter">CometFilter</a></li><li><a href="#Example_code">Example code</a></li><li><a href="#Comet_timeouts">Comet timeouts</a></li></ol></li><li><a href="#Asynchronous_writes">Asynchronous writes</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>

+    With usage of APR or NIO APIs as the basis of its connectors, Tomcat is 

+    able to provide a number of extensions over the regular blocking IO 

+    as provided with support for the Servlet API.

+  </p>

+

+  <p>

+    <b>IMPORTANT NOTE: Usage of these features requires using the APR or NIO

+    HTTP connectors. The classic java.io HTTP connector and the AJP connectors

+    do not support them.</b>

+  </p>

+

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Comet support"><!--()--></a><a name="Comet_support"><strong>Comet support</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>

+    Comet support allows a servlet to process IO asynchronously, receiving

+    events when data is available for reading on the connection (rather than

+    always using a blocking read), and writing data back on connections

+    asynchronously (most likely responding to some event raised from some

+    other source).

+  </p>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="CometEvent"><strong>CometEvent</strong></a></font></td></tr><tr><td><blockquote>

+  

+  <p>

+    Servlets which implement the <code>org.apache.catalina.CometProcessor</code>

+    interface will have their event method invoked rather than the usual service

+    method, according to the event which occurred. The event object gives

+    access to the usual request and response objects, which may be used in the

+    usual way. The main difference is that those objects remain valid and fully

+    functional at any time between processing of the BEGIN event until processing

+    an END or ERROR event.

+    The following event types exist:

+  </p>

+  

+  <ul>

+  <li>EventType.BEGIN: will be called at the beginning 

+     of the processing of the connection. It can be used to initialize any relevant 

+     fields using the request and response objects. Between the end of the processing 

+     of this event, and the beginning of the processing of the end or error events,

+     it is possible to use the response object to write data on the open connection.

+     Note that the response object and dependent OutputStream and Writer are still 

+     not synchronized, so when they are accessed by multiple threads, 

+     synchronization is mandatory. After processing the initial event, the request 

+     is considered to be committed.</li>

+  <li>EventType.READ: This indicates that input data is available, and that one read can be made

+       without blocking. The available and ready methods of the InputStream or

+       Reader may be used to determine if there is a risk of blocking: the servlet

+       should read while data is reported available. When encountering a read error, 

+       the servlet should report it by propagating the exception properly. Throwing 

+       an exception will cause the error event to be invoked, and the connection 

+       will be closed. 

+       Alternately, it is also possible to catch any exception, perform clean up

+       on any data structure the servlet may be using, and using the close method

+       of the event. It is not allowed to attempt reading data from the request 

+       object outside of the execution of this method.<br>

+       On some platforms, like Windows, a client disconnect is indicated by a READ event.

+       Reading from the stream may result in -1, an IOException or an EOFException.

+       Make sure you properly handle all these three cases.

+       If you don't catch the IOException, Tomcat will instantly invoke your event chain with an ERROR as 

+       it catches the error for you, and you will be notified of the error at that time.

+  </li>

+  <li>EventType.END: End may be called to end the processing of the request. Fields that have

+     been initialized in the begin method should be reset. After this event has

+     been processed, the request and response objects, as well as all their dependent

+     objects will be recycled and used to process other requests. End will also be 

+     called when data is available and the end of file is reached on the request input

+     (this usually indicates the client has pipelined a request).</li>

+  <li>EventType.ERROR: Error will be called by the container in the case where an IO exception

+     or a similar unrecoverable error occurs on the connection. Fields that have

+     been initialized in the begin method should be reset. After this event has

+     been processed, the request and response objects, as well as all their dependent

+     objects will be recycled and used to process other requests.</li>

+  </ul>

+

+  <p>

+    There are some event subtypes which allow finer processing of events (note: some of these

+    events require usage of the org.apache.catalina.valves.CometConnectionManagerValve valve):

+  </p>

+

+  <ul>

+  <li>EventSubType.TIMEOUT: The connection timed out (sub type of ERROR); note that this ERROR 

+    type is not fatal, and the connection will not be closed unless the servlet uses the close 

+    method of the event.

+  </li>

+  <li>EventSubType.CLIENT_DISCONNECT: The client connection was closed (sub type of ERROR).

+  </li>

+  <li>EventSubType.IOEXCEPTION: An IO exception occurred, such as invalid content, for example, 

+    an invalid chunk block (sub type of ERROR).

+  </li>

+  <li>EventSubType.WEBAPP_RELOAD: The web application is being reloaded (sub type of END).

+  </li>

+  <li>EventSubType.SESSION_END: The servlet ended the session (sub type of END).

+  </li>

+  </ul>

+

+  <p>

+    As described above, the typical lifecycle of a Comet request will consist in a series of

+    events such as: BEGIN -&gt; READ -&gt; READ -&gt; READ -&gt; ERROR/TIMEOUT. At any time, the servlet 

+    may end processing of the request by using the close method of the event object.

+  </p>

+  

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="CometFilter"><strong>CometFilter</strong></a></font></td></tr><tr><td><blockquote>

+  

+  <p>

+    Similar to regular filters, a filter chain is invoked when comet events are processed.

+    These filters should implement the CometFilter interface (which works in the same way as 

+    the regular Filter interface), and should be declared and mapped in the deployment

+    descriptor in the same way as a regular filter. The filter chain when processing an event

+    will only include filters which match all the usual mapping rules, and also implement

+    the CometFiler interface.

+  </p>

+  

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Example code"><!--()--></a><a name="Example_code"><strong>Example code</strong></a></font></td></tr><tr><td><blockquote>

+  

+  <p>

+    The following pseudo code servlet implements asynchronous chat functionality using the API

+    described above:

+  </p>

+  

+  <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+public class ChatServlet

+    extends HttpServlet implements CometProcessor {

+

+    protected ArrayList&lt;HttpServletResponse&gt; connections = 

+        new ArrayList&lt;HttpServletResponse&gt;();

+    protected MessageSender messageSender = null;

+    

+    public void init() throws ServletException {

+        messageSender = new MessageSender();

+        Thread messageSenderThread = 

+            new Thread(messageSender, "MessageSender[" + getServletContext().getContextPath() + "]");

+        messageSenderThread.setDaemon(true);

+        messageSenderThread.start();

+    }

+

+    public void destroy() {

+        connections.clear();

+        messageSender.stop();

+        messageSender = null;

+    }

+

+    /**

+     * Process the given Comet event.

+     * 

+     * @param event The Comet event that will be processed

+     * @throws IOException

+     * @throws ServletException

+     */

+    public void event(CometEvent event)

+        throws IOException, ServletException {

+        HttpServletRequest request = event.getHttpServletRequest();

+        HttpServletResponse response = event.getHttpServletResponse();

+        if (event.getEventType() == CometEvent.EventType.BEGIN) {

+            log("Begin for session: " + request.getSession(true).getId());

+            PrintWriter writer = response.getWriter();

+            writer.println("&lt;!doctype html public \"-//w3c//dtd html 4.0 transitional//en\"&gt;");

+            writer.println("&lt;head&gt;&lt;title&gt;JSP Chat&lt;/title&gt;&lt;/head&gt;&lt;body bgcolor=\"#FFFFFF\"&gt;");

+            writer.flush();

+            synchronized(connections) {

+                connections.add(response);

+            }

+        } else if (event.getEventType() == CometEvent.EventType.ERROR) {

+            log("Error for session: " + request.getSession(true).getId());

+            synchronized(connections) {

+                connections.remove(response);

+            }

+            event.close();

+        } else if (event.getEventType() == CometEvent.EventType.END) {

+            log("End for session: " + request.getSession(true).getId());

+            synchronized(connections) {

+                connections.remove(response);

+            }

+            PrintWriter writer = response.getWriter();

+            writer.println("&lt;/body&gt;&lt;/html&gt;");

+            event.close();

+        } else if (event.getEventType() == CometEvent.EventType.READ) {

+            InputStream is = request.getInputStream();

+            byte[] buf = new byte[512];

+            do {

+                int n = is.read(buf); //can throw an IOException

+                if (n &gt; 0) {

+                    log("Read " + n + " bytes: " + new String(buf, 0, n) 

+                            + " for session: " + request.getSession(true).getId());

+                } else if (n &lt; 0) {

+                    error(event, request, response);

+                    return;

+                }

+            } while (is.available() &gt; 0);

+        }

+    }

+

+    public class MessageSender implements Runnable {

+

+        protected boolean running = true;

+        protected ArrayList&lt;String&gt; messages = new ArrayList&lt;String&gt;();

+        

+        public MessageSender() {

+        }

+        

+        public void stop() {

+            running = false;

+        }

+

+        /**

+         * Add message for sending.

+         */

+        public void send(String user, String message) {

+            synchronized (messages) {

+                messages.add("[" + user + "]: " + message);

+                messages.notify();

+            }

+        }

+

+        public void run() {

+

+            while (running) {

+

+                if (messages.size() == 0) {

+                    try {

+                        synchronized (messages) {

+                            messages.wait();

+                        }

+                    } catch (InterruptedException e) {

+                        // Ignore

+                    }

+                }

+

+                synchronized (connections) {

+                    String[] pendingMessages = null;

+                    synchronized (messages) {

+                        pendingMessages = messages.toArray(new String[0]);

+                        messages.clear();

+                    }

+                    // Send any pending message on all the open connections

+                    for (int i = 0; i &lt; connections.size(); i++) {

+                        try {

+                            PrintWriter writer = connections.get(i).getWriter();

+                            for (int j = 0; j &lt; pendingMessages.length; j++) {

+                                writer.println(pendingMessages[j] + "&lt;br&gt;");

+                            }

+                            writer.flush();

+                        } catch (IOException e) {

+                            log("IOExeption sending message", e);

+                        }

+                    }

+                }

+

+            }

+

+        }

+

+    }

+

+}

+  </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+  

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Comet timeouts"><!--()--></a><a name="Comet_timeouts"><strong>Comet timeouts</strong></a></font></td></tr><tr><td><blockquote>

+    <p>If you are using the NIO connector, you can set individual timeouts for your different comet connections.

+       To set a timeout, simply set a request attribute like the following code shows:

+       <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>CometEvent event.... event.setTimeout(30*1000);</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div> or

+       <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>event.getHttpServletRequest().setAttribute("org.apache.tomcat.comet.timeout", new Integer(30 * 1000));</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+       This sets the timeout to 30 seconds.

+       Important note: in order to set this timeout, it has to be done on the <code>BEGIN</code> event.

+       The default value is <code>soTimeout</code>

+    </p>

+    <p>If you are using the APR connector, all Comet connections will have the same timeout value. It is <code>soTimeout*50</code>

+    </p>

+  </blockquote></td></tr></table>

+

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Asynchronous writes"><!--()--></a><a name="Asynchronous_writes"><strong>Asynchronous writes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>

+    When APR or NIO is enabled, Tomcat supports using sendfile to send large static files.

+    These writes, as soon as the system load increases, will be performed 

+    asynchronously in the most efficient way. Instead of sending a large response using

+    blocking writes, it is possible to write content to a static file, and write it

+    using a sendfile code. A caching valve could take advantage of this to cache the

+    response data in a file rather than store it in memory. Sendfile support is

+    available if the request attribute <code>org.apache.tomcat.sendfile.support</code>

+    is set to <code>Boolean.TRUE</code>.

+  </p>

+  

+  <p>

+    Any servlet can instruct Tomcat to perform a sendfile call by setting the appropriate

+    request attributes. It is also necessary to correctly set the content length

+    for the response. When using sendfile, it is best to ensure that neither the

+    request or response have been wrapped, since as the response body will be sent later

+    by the connector itself, it cannot be filtered. Other than setting the 3 needed 

+    request attributes, the servlet should not send any response data, but it may use

+    any method which will result in modifying the response header (like setting cookies).

+  </p>

+  

+  <ul>

+  <li><code>org.apache.tomcat.sendfile.filename</code>: Canonical filename of the file which will be sent as

+      a String</li>

+  <li><code>org.apache.tomcat.sendfile.start</code>: Start offset as a Long</li>

+  <li><code>org.apache.tomcat.sendfile.end</code>: End offset as a Long</li>

+  </ul>

+

+  </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/api/index.html b/tomcat-uid/webapps/docs/api/index.html
new file mode 100644
index 0000000..ddd24ab
--- /dev/null
+++ b/tomcat-uid/webapps/docs/api/index.html
@@ -0,0 +1,33 @@
+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<!doctype html public "-//w3c//dtd html 4.0 transitional//en" "http://www.w3.org/TR/REC-html40/strict.dtd">

+<html>

+    <head>

+    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+    <title>API docs</title>

+</head>

+

+<body>

+

+Tomcat's internal javadoc is no longer installed by default. Download and install 

+the "fulldocs" package to get it.

+

+You can also access the javadoc online in the Tomcat 

+<a href="http://tomcat.apache.org/tomcat-6.0-doc/">documentation bundle</a>.

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/docs/appdev/build.xml.txt b/tomcat-uid/webapps/docs/appdev/build.xml.txt
new file mode 100644
index 0000000..ffbb584
--- /dev/null
+++ b/tomcat-uid/webapps/docs/appdev/build.xml.txt
@@ -0,0 +1,512 @@
+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<!--

+     General purpose build script for web applications and web services,

+     including enhanced support for deploying directly to a Tomcat 6

+     based server.

+

+     This build script assumes that the source code of your web application

+     is organized into the following subdirectories underneath the source

+     code directory from which you execute the build script:

+

+        docs                 Static documentation files to be copied to

+                             the "docs" subdirectory of your distribution.

+

+        src                  Java source code (and associated resource files)

+                             to be compiled to the "WEB-INF/classes"

+                             subdirectory of your web application.

+

+        web                  Static HTML, JSP, and other content (such as

+                             image files), including the WEB-INF subdirectory

+                             and its configuration file contents.

+-->

+

+

+<!-- A "project" describes a set of targets that may be requested

+     when Ant is executed.  The "default" attribute defines the

+     target which is executed if no specific target is requested,

+     and the "basedir" attribute defines the current working directory

+     from which Ant executes the requested task.  This is normally

+     set to the current working directory.

+-->

+

+<project name="My Project" default="compile" basedir=".">

+

+

+

+<!-- ===================== Property Definitions =========================== -->

+

+

+<!--

+

+  Each of the following properties are used in the build script.

+  Values for these properties are set by the first place they are

+  defined, from the following list:

+

+  * Definitions on the "ant" command line (ant -Dfoo=bar compile).

+

+  * Definitions from a "build.properties" file in the top level

+    source directory of this application.

+

+  * Definitions from a "build.properties" file in the developer's

+    home directory.

+

+  * Default definitions in this build.xml file.

+

+  You will note below that property values can be composed based on the

+  contents of previously defined properties.  This is a powerful technique

+  that helps you minimize the number of changes required when your development

+  environment is modified.  Note that property composition is allowed within

+  "build.properties" files as well as in the "build.xml" script.

+

+-->

+

+  <property file="build.properties"/>

+  <property file="${user.home}/build.properties"/>

+

+

+<!-- ==================== File and Directory Names ======================== -->

+

+

+<!--

+

+  These properties generally define file and directory names (or paths) that

+  affect where the build process stores its outputs.

+

+  app.name             Base name of this application, used to

+                       construct filenames and directories.

+                       Defaults to "myapp".

+

+  app.path             Context path to which this application should be

+                       deployed (defaults to "/" plus the value of the

+                       "app.name" property).

+

+  app.version          Version number of this iteration of the application.

+

+  build.home           The directory into which the "prepare" and

+                       "compile" targets will generate their output.

+                       Defaults to "build".

+

+  catalina.home        The directory in which you have installed

+                       a binary distribution of Tomcat 6.  This will

+                       be used by the "deploy" target.

+

+  dist.home            The name of the base directory in which

+                       distribution files are created.

+                       Defaults to "dist".

+

+  manager.password     The login password of a user that is assigned the

+                       "manager" role (so that he or she can execute

+                       commands via the "/manager" web application)

+

+  manager.url          The URL of the "/manager" web application on the

+                       Tomcat installation to which we will deploy web

+                       applications and web services.

+

+  manager.username     The login username of a user that is assigned the

+                       "manager" role (so that he or she can execute

+                       commands via the "/manager" web application)

+

+-->

+

+  <property name="app.name"      value="myapp"/>

+  <property name="app.path"      value="/${app.name}"/>

+  <property name="app.version"   value="0.1-dev"/>

+  <property name="build.home"    value="${basedir}/build"/>

+  <property name="catalina.home" value="../../../.."/> <!-- UPDATE THIS! -->

+  <property name="dist.home"     value="${basedir}/dist"/>

+  <property name="docs.home"     value="${basedir}/docs"/>

+  <property name="manager.url"   value="http://localhost:8080/manager"/>

+  <property name="src.home"      value="${basedir}/src"/>

+  <property name="web.home"      value="${basedir}/web"/>

+

+

+<!-- ==================== External Dependencies =========================== -->

+

+

+<!--

+

+  Use property values to define the locations of external JAR files on which

+  your application will depend.  In general, these values will be used for

+  two purposes:

+  * Inclusion on the classpath that is passed to the Javac compiler

+  * Being copied into the "/WEB-INF/lib" directory during execution

+    of the "deploy" target.

+

+  Because we will automatically include all of the Java classes that Tomcat 6

+  exposes to web applications, we will not need to explicitly list any of those

+  dependencies.  You only need to worry about external dependencies for JAR

+  files that you are going to include inside your "/WEB-INF/lib" directory.

+

+-->

+

+<!-- Dummy external dependency -->

+<!--

+  <property name="foo.jar"

+           value="/path/to/foo.jar"/>

+-->

+

+

+<!-- ==================== Compilation Classpath =========================== -->

+

+<!--

+

+  Rather than relying on the CLASSPATH environment variable, Ant includes

+  features that makes it easy to dynamically construct the classpath you

+  need for each compilation.  The example below constructs the compile

+  classpath to include the servlet.jar file, as well as the other components

+  that Tomcat makes available to web applications automatically, plus anything

+  that you explicitly added.

+

+-->

+

+  <path id="compile.classpath">

+

+    <!-- Include all JAR files that will be included in /WEB-INF/lib -->

+    <!-- *** CUSTOMIZE HERE AS REQUIRED BY YOUR APPLICATION *** -->

+<!--

+    <pathelement location="${foo.jar}"/>

+-->

+

+    <!-- Include all elements that Tomcat exposes to applications -->

+    <fileset dir="${catalina.home}/bin">

+      <include name="*.jar"/>

+    </fileset>

+    <pathelement location="${catalina.home}/lib"/>

+    <fileset dir="${catalina.home}/lib">

+      <include name="*.jar"/>

+    </fileset>

+

+  </path>

+

+

+

+<!-- ================== Custom Ant Task Definitions ======================= -->

+

+

+<!--

+

+  These properties define custom tasks for the Ant build tool that interact

+  with the "/manager" web application installed with Tomcat 6.  Before they

+  can be successfully utilized, you must perform the following steps:

+

+  - Copy the file "lib/catalina-ant.jar" from your Tomcat 6

+    installation into the "lib" directory of your Ant installation.

+

+  - Create a "build.properties" file in your application's top-level

+    source directory (or your user login home directory) that defines

+    appropriate values for the "manager.password", "manager.url", and

+    "manager.username" properties described above.

+

+  For more information about the Manager web application, and the functionality

+  of these tasks, see <http://localhost:8080/tomcat-docs/manager-howto.html>.

+

+-->

+

+  <taskdef resource="org/apache/catalina/ant/catalina.tasks"

+           classpathref="compile.classpath"/>

+

+

+<!--  ==================== Compilation Control Options ==================== -->

+

+<!--

+

+  These properties control option settings on the Javac compiler when it

+  is invoked using the <javac> task.

+

+  compile.debug        Should compilation include the debug option?

+

+  compile.deprecation  Should compilation include the deprecation option?

+

+  compile.optimize     Should compilation include the optimize option?

+

+-->

+

+  <property name="compile.debug"       value="true"/>

+  <property name="compile.deprecation" value="false"/>

+  <property name="compile.optimize"    value="true"/>

+

+

+

+<!-- ==================== All Target ====================================== -->

+

+<!--

+

+  The "all" target is a shortcut for running the "clean" target followed

+  by the "compile" target, to force a complete recompile.

+

+-->

+

+  <target name="all" depends="clean,compile"

+   description="Clean build and dist directories, then compile"/>

+

+

+

+<!-- ==================== Clean Target ==================================== -->

+

+<!--

+

+  The "clean" target deletes any previous "build" and "dist" directory,

+  so that you can be ensured the application can be built from scratch.

+

+-->

+

+  <target name="clean"

+   description="Delete old build and dist directories">

+    <delete dir="${build.home}"/>

+    <delete dir="${dist.home}"/>

+  </target>

+

+

+

+<!-- ==================== Compile Target ================================== -->

+

+<!--

+

+  The "compile" target transforms source files (from your "src" directory)

+  into object files in the appropriate location in the build directory.

+  This example assumes that you will be including your classes in an

+  unpacked directory hierarchy under "/WEB-INF/classes".

+

+-->

+

+  <target name="compile" depends="prepare"

+   description="Compile Java sources">

+

+    <!-- Compile Java classes as necessary -->

+    <mkdir    dir="${build.home}/WEB-INF/classes"/>

+    <javac srcdir="${src.home}"

+          destdir="${build.home}/WEB-INF/classes"

+            debug="${compile.debug}"

+      deprecation="${compile.deprecation}"

+         optimize="${compile.optimize}">

+        <classpath refid="compile.classpath"/>

+    </javac>

+

+    <!-- Copy application resources -->

+    <copy  todir="${build.home}/WEB-INF/classes">

+      <fileset dir="${src.home}" excludes="**/*.java"/>

+    </copy>

+

+  </target>

+

+

+

+<!-- ==================== Dist Target ===================================== -->

+

+

+<!--

+

+  The "dist" target creates a binary distribution of your application

+  in a directory structure ready to be archived in a tar.gz or zip file.

+  Note that this target depends on two others:

+

+  * "compile" so that the entire web application (including external

+    dependencies) will have been assembled

+

+  * "javadoc" so that the application Javadocs will have been created

+

+-->

+

+  <target name="dist" depends="compile,javadoc"

+   description="Create binary distribution">

+

+    <!-- Copy documentation subdirectories -->

+    <mkdir   dir="${dist.home}/docs"/>

+    <copy    todir="${dist.home}/docs">

+      <fileset dir="${docs.home}"/>

+    </copy>

+

+    <!-- Create application JAR file -->

+    <jar jarfile="${dist.home}/${app.name}-${app.version}.war"

+         basedir="${build.home}"/>

+

+    <!-- Copy additional files to ${dist.home} as necessary -->

+

+  </target>

+

+

+

+<!-- ==================== Install Target ================================== -->

+

+<!--

+

+  The "install" target tells the specified Tomcat 6 installation to dynamically

+  install this web application and make it available for execution.  It does

+  *not* cause the existence of this web application to be remembered across

+  Tomcat restarts; if you restart the server, you will need to re-install all

+  this web application.

+

+  If you have already installed this application, and simply want Tomcat to

+  recognize that you have updated Java classes (or the web.xml file), use the

+  "reload" target instead.

+

+  NOTE:  This target will only succeed if it is run from the same server that

+  Tomcat is running on.

+

+  NOTE:  This is the logical opposite of the "remove" target.

+

+-->

+

+  <target name="install" depends="compile"

+   description="Install application to servlet container">

+

+    <deploy url="${manager.url}"

+       username="${manager.username}"

+       password="${manager.password}"

+           path="${app.path}"

+       localWar="file://${build.home}"/>

+

+  </target>

+

+

+<!-- ==================== Javadoc Target ================================== -->

+

+<!--

+

+  The "javadoc" target creates Javadoc API documentation for the Java

+  classes included in your application.  Normally, this is only required

+  when preparing a distribution release, but is available as a separate

+  target in case the developer wants to create Javadocs independently.

+

+-->

+

+  <target name="javadoc" depends="compile"

+   description="Create Javadoc API documentation">

+

+    <mkdir          dir="${dist.home}/docs/api"/>

+    <javadoc sourcepath="${src.home}"

+                destdir="${dist.home}/docs/api"

+           packagenames="*">

+      <classpath refid="compile.classpath"/>

+    </javadoc>

+

+  </target>

+

+

+

+<!-- ====================== List Target =================================== -->

+

+<!--

+

+  The "list" target asks the specified Tomcat 6 installation to list the

+  currently running web applications, either loaded at startup time or

+  installed dynamically.  It is useful to determine whether or not the

+  application you are currently developing has been installed.

+

+-->

+

+  <target name="list"

+   description="List installed applications on servlet container">

+

+    <list    url="${manager.url}"

+        username="${manager.username}"

+        password="${manager.password}"/>

+

+  </target>

+

+

+<!-- ==================== Prepare Target ================================== -->

+

+<!--

+

+  The "prepare" target is used to create the "build" destination directory,

+  and copy the static contents of your web application to it.  If you need

+  to copy static files from external dependencies, you can customize the

+  contents of this task.

+

+  Normally, this task is executed indirectly when needed.

+

+-->

+

+  <target name="prepare">

+

+    <!-- Create build directories as needed -->

+    <mkdir  dir="${build.home}"/>

+    <mkdir  dir="${build.home}/WEB-INF"/>

+    <mkdir  dir="${build.home}/WEB-INF/classes"/>

+

+

+    <!-- Copy static content of this web application -->

+    <copy todir="${build.home}">

+      <fileset dir="${web.home}"/>

+    </copy>

+

+    <!-- Copy external dependencies as required -->

+    <!-- *** CUSTOMIZE HERE AS REQUIRED BY YOUR APPLICATION *** -->

+    <mkdir  dir="${build.home}/WEB-INF/lib"/>

+<!--

+    <copy todir="${build.home}/WEB-INF/lib" file="${foo.jar}"/>

+-->

+

+    <!-- Copy static files from external dependencies as needed -->

+    <!-- *** CUSTOMIZE HERE AS REQUIRED BY YOUR APPLICATION *** -->

+

+  </target>

+

+

+<!-- ==================== Reload Target =================================== -->

+

+<!--

+

+  The "reload" signals the specified application Tomcat 6 to shut itself down

+  and reload. This can be useful when the web application context is not

+  reloadable and you have updated classes or property files in the

+  /WEB-INF/classes directory or when you have added or updated jar files in the

+  /WEB-INF/lib directory.

+

+  NOTE: The /WEB-INF/web.xml web application configuration file is not reread

+  on a reload. If you have made changes to your web.xml file you must stop

+  then start the web application. 

+

+-->

+

+  <target name="reload" depends="compile"

+   description="Reload application on servlet container">

+

+    <reload url="${manager.url}"

+       username="${manager.username}"

+       password="${manager.password}"

+           path="${app.path}"/>

+

+  </target>

+

+

+<!-- ==================== Remove Target =================================== -->

+

+<!--

+

+  The "remove" target tells the specified Tomcat 6 installation to dynamically

+  remove this web application from service.

+

+  NOTE:  This is the logical opposite of the "install" target.

+

+-->

+

+  <target name="remove"

+   description="Remove application on servlet container">

+

+    <undeploy url="${manager.url}"

+         username="${manager.username}"

+         password="${manager.password}"

+             path="${app.path}"/>

+

+  </target>

+

+

+</project>

diff --git a/tomcat-uid/webapps/docs/appdev/deployment.html b/tomcat-uid/webapps/docs/appdev/deployment.html
new file mode 100644
index 0000000..e5d7c78
--- /dev/null
+++ b/tomcat-uid/webapps/docs/appdev/deployment.html
@@ -0,0 +1,206 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Application Developer's Guide (6.0.39) - Deployment</title><meta name="author" content="Craig R. McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a href="index.html">Contents</a></li><li><a href="introduction.html">Introduction</a></li><li><a href="installation.html">Installation</a></li><li><a href="deployment.html">Deployment</a></li><li><a href="source.html">Source Code</a></li><li><a href="processes.html">Processes</a></li><li><a href="sample/">Example App</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Application Developer's Guide</h1><h2>Deployment</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Background">Background</a></li><li><a href="#Standard_Directory_Layout">Standard Directory Layout</a></li><li><a href="#Shared_Library_Files">Shared Library Files</a></li><li><a href="#Web_Application_Deployment_Descriptor">Web Application Deployment Descriptor</a></li><li><a href="#Tomcat_Context_Descriptor">Tomcat Context Descriptor</a></li><li><a href="#Deployment_With_Tomcat_6">Deployment With Tomcat 6</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Background"><strong>Background</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Before describing how to organize your source code directories,

+it is useful to examine the runtime organization of a web application.

+Prior to the Servlet API Specification, version 2.2, there was little

+consistency between server platforms.  However, servers that conform

+to the 2.2 (or later) specification are required to accept a

+<em>Web Application Archive</em> in a standard format, which is discussed

+further below.</p>

+

+<p>A web application is defined as a hierarchy of directories and files

+in a standard layout.  Such a hierarchy can be accessed in its "unpacked"

+form, where each directory and file exists in the filesystem separately,

+or in a "packed" form known as a Web ARchive, or WAR file.  The former format

+is more useful during development, while the latter is used when you

+distribute your application to be installed.</p>

+

+<p>The top-level directory of your web application hierarchy is also the

+<em>document root</em> of your application.  Here, you will place the HTML

+files and JSP pages that comprise your application's user interface.  When the

+system administrator deploys your application into a particular server, he

+or she assigns a <em>context path</em> to your application (a later section

+of this manual describes deployment on Tomcat).  Thus, if the

+system administrator assigns your application to the context path

+<code>/catalog</code>, then a request URI referring to

+<code>/catalog/index.html</code> will retrieve the <code>index.html</code>

+file from your document root.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Standard Directory Layout"><!--()--></a><a name="Standard_Directory_Layout"><strong>Standard Directory Layout</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>To facilitate creation of a Web Application Archive file in the required

+format, it is convenient to arrange the "executable" files of your web

+application (that is, the files that Tomcat actually uses when executing

+your app) in the same organization as required by the WAR format itself.

+To do this, you will end up with the following contents in your

+application's "document root" directory:</p>

+<ul>

+<li><strong>*.html, *.jsp, etc.</strong> - The HTML and JSP pages, along

+    with other files that must be visible to the client browser (such as

+    JavaScript, stylesheet files, and images) for your application.

+    In larger applications you may choose to divide these files into

+    a subdirectory hierarchy, but for smaller apps, it is generally

+    much simpler to maintain only a single directory for these files.

+    <br><br></li>

+<li><strong>/WEB-INF/web.xml</strong> - The <em>Web Application Deployment

+    Descriptor</em> for your application.  This is an XML file describing

+    the servlets and other components that make up your application,

+    along with any initialization parameters and container-managed

+    security constraints that you want the server to enforce for you.

+    This file is discussed in more detail in the following subsection.

+    <br><br></li>

+<li><strong>/WEB-INF/classes/</strong> - This directory contains any Java

+    class files (and associated resources) required for your application,

+    including both servlet and non-servlet classes, that are not combined

+    into JAR files.  If your classes are organized into Java packages,

+    you must reflect this in the directory hierarchy under

+    <code>/WEB-INF/classes/</code>.  For example, a Java class named

+    <code>com.mycompany.mypackage.MyServlet</code>

+    would need to be stored in a file named

+    <code>/WEB-INF/classes/com/mycompany/mypackage/MyServlet.class</code>.

+    <br><br></li>

+<li><strong>/WEB-INF/lib/</strong> - This directory contains JAR files that

+    contain Java class files (and associated resources) required for your

+    application, such as third party class libraries or JDBC drivers.</li>

+</ul>

+

+<p>When you install an application into Tomcat (or any other

+2.2/2.3-compatible server), the classes in the <code>WEB-INF/classes/</code>

+directory, as well as all classes in JAR files found in the

+<code>WEB-INF/lib/</code> directory, are made visible to other classes

+within your particular web application.  Thus, if

+you include all of the required library classes in one of these places (be

+sure to check licenses for redistribution rights for any third party libraries

+you utilize), you will simplify the installation of your web application --

+no adjustment to the system class path (or installation of global library

+files in your server) will be necessary.</p>

+

+<p>Much of this information was extracted from Chapter 9 of the Servlet

+API Specification, version 2.3, which you should consult for more details.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Shared Library Files"><!--()--></a><a name="Shared_Library_Files"><strong>Shared Library Files</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Like most servlet containers, Tomcat 6 also supports mechanisms to install

+library JAR files (or unpacked classes) once, and make them visible to all

+installed web applications (without having to be included inside the web

+application itself).  The details of how Tomcat locates and shares such

+classes are described in the

+<a href="../class-loader-howto.html">Class Loader HOW-TO</a> documentation.

+The location commonly used within a Tomcat 6 installation for shared code is

+<strong>$CATALINA_HOME/lib</strong>. JAR files placed here are visible both to

+web applications and internal Tomcat code. This is a good place to put JDBC

+drivers that are required for both your application or internal Tomcat use

+(such as for a JDBCRealm).</p>

+

+<p>Out of the box, a standard Tomcat 6 installation includes a variety

+of pre-installed shared library files, including:</p>

+<ul>

+<li>The <em>Servlet 2.5</em> and <em>JSP 2.1</em> APIs that are fundamental

+    to writing servlets and JavaServer Pages.<br><br></li>

+</ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Web Application Deployment Descriptor"><!--()--></a><a name="Web_Application_Deployment_Descriptor"><strong>Web Application Deployment Descriptor</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>As mentioned above, the <code>/WEB-INF/web.xml</code> file contains the

+Web Application Deployment Descriptor for your application.  As the filename

+extension implies, this file is an XML document, and defines everything about

+your application that a server needs to know (except the <em>context path</em>,

+which is assigned by the system administrator when the application is

+deployed).</p>

+

+<p>The complete syntax and semantics for the deployment descriptor is defined

+in Chapter 13 of the Servlet API Specification, version 2.3.  Over time, it

+is expected that development tools will be provided that create and edit the

+deployment descriptor for you.  In the meantime, to provide a starting point,

+a <a href="web.xml.txt">basic web.xml file</a>

+is provided.  This file includes comments that describe the purpose of each

+included element.</p>

+

+<p><strong>NOTE</strong> - The Servlet Specification includes a Document

+Type Descriptor (DTD) for the web application deployment descriptor, and

+Tomcat 6 enforces the rules defined here when processing your application's

+<code>/WEB-INF/web.xml</code> file.  In particular, you <strong>must</strong>

+enter your descriptor elements (such as <code>&lt;filter&gt;</code>,

+<code>&lt;servlet&gt;</code>, and <code>&lt;servlet-mapping&gt;</code> in

+the order defined by the DTD (see Section 13.3).</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat Context Descriptor"><!--()--></a><a name="Tomcat_Context_Descriptor"><strong>Tomcat Context Descriptor</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>A /META-INF/context.xml file can be used to define Tomcat specific

+configuration options, such as an access log, data sources, session manager

+configuration and more. This XML file must contain one Context element, which

+will be considered as if it was the child of the Host element corresponding

+to the Host to which the web application is being deployed. The

+<a href="../config/index.html">Tomcat configuration documentation</a> contains

+information on the Context element.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Deployment With Tomcat 6"><!--()--></a><a name="Deployment_With_Tomcat_6"><strong>Deployment With Tomcat 6</strong></a></font></td></tr><tr><td><blockquote>

+

+    <blockquote><em>

+    <p>The description below uses the variable name $CATALINA_BASE to refer the

+    base directory against which most relative paths are resolved. If you have

+    not configured Tomcat 6 for multiple instances by setting a CATALINA_BASE

+    directory, then $CATALINA_BASE will be set to the value of $CATALINA_HOME,

+    the directory into which you have installed Tomcat 6.</p>

+    </em></blockquote>

+

+<p>In order to be executed, a web application must be deployed on

+a servlet container.  This is true even during development.

+We will describe using Tomcat 6 to provide the execution environment.

+A web application can be deployed in Tomcat by one of the following

+approaches:</p>

+<ul>

+<li><em>Copy unpacked directory hierarchy into a subdirectory in directory

+    <code>$CATALINA_BASE/webapps/</code></em>.  Tomcat will assign a

+    context path to your application based on the subdirectory name you

+    choose.  We will use this technique in the <code>build.xml</code>

+    file that we construct, because it is the quickest and easiest approach

+    during development.  Be sure to restart Tomcat after installing or

+    updating your application.

+    <br><br></li>

+<li><em>Copy the web application archive file into directory

+    <code>$CATALINA_BASE/webapps/</code></em>.  When Tomcat is started, it will

+    automatically expand the web application archive file into its unpacked

+    form, and execute the application that way.  This approach would typically

+    be used to install an additional application, provided by a third party

+    vendor or by your internal development staff, into an existing

+    Tomcat installation.  <strong>NOTE</strong> - If you use this approach,

+    and wish to update your application later, you must both replace the

+    web application archive file <strong>AND</strong> delete the expanded

+    directory that Tomcat created, and then restart Tomcat, in order to reflect

+    your changes.

+    <br><br></li>

+<li><em>Use the Tomcat 6 "Manager" web application to deploy and undeploy

+    web applications</em>.  Tomcat 6 includes a web application, deployed

+    by default on context path <code>/manager</code>, that allows you to

+    deploy and undeploy applications on a running Tomcat server without

+    restarting it.  See the administrator documentation (TODO: hyperlink)

+    for more information on using the Manager web application.<br><br></li>

+<li><em>Use "Manager" Ant Tasks In Your Build Script</em>.  Tomcat 6

+    includes a set of custom task definitions for the <code>Ant</code>

+    build tool that allow you to automate the execution of commands to the

+    "Manager" web application.  These tasks are used in the Tomcat deployer.

+    <br><br></li>

+<li><em>Use the Tomcat Deployer</em>.  Tomcat 6 includes a packaged tool

+    bundling the Ant tasks, and can be used to automatically precompile JSPs

+    which are part of the web application before deployment to the server.

+    <br><br></li>

+</ul>

+

+<p>Deploying your app on other servlet containers will be specific to each

+container, but all containers compatible with the Servlet API Specification

+(version 2.2 or later) are required to accept a web application archive file.

+Note that other containers are <strong>NOT</strong> required to accept an

+unpacked directory structure (as Tomcat does), or to provide mechanisms for

+shared library files, but these features are commonly available.</p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/appdev/index.html b/tomcat-uid/webapps/docs/appdev/index.html
new file mode 100644
index 0000000..cf1a2a5
--- /dev/null
+++ b/tomcat-uid/webapps/docs/appdev/index.html
@@ -0,0 +1,47 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Application Developer's Guide (6.0.39) - Table of Contents</title><meta name="author" content="Craig R. McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a href="index.html">Contents</a></li><li><a href="introduction.html">Introduction</a></li><li><a href="installation.html">Installation</a></li><li><a href="deployment.html">Deployment</a></li><li><a href="source.html">Source Code</a></li><li><a href="processes.html">Processes</a></li><li><a href="sample/">Example App</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Application Developer's Guide</h1><h2>Table of Contents</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Preface"><strong>Preface</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>This manual includes contributions from many members of the Tomcat Project

+developer community.  The following authors have provided significant content:

+</p>

+<ul>

+<li>Craig R. McClanahan

+    (<a href="mailto:craigmcc@apache.org">craigmcc@apache.org</a>)</li>

+</ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The information presented is divided into the following sections:</p>

+<ul>

+<li><a href="introduction.html"><strong>Introduction</strong></a> -

+    Briefly describes the information covered here, with

+    links and references to other sources of information.</li>

+<li><a href="installation.html"><strong>Installation</strong></a> -

+    Covers acquiring and installing the required software

+    components to use Tomcat for web application development.</li>

+<li><a href="deployment.html"><strong>Deployment Organization</strong></a> -

+    Discusses the standard directory layout for a web application

+    (defined in the Servlet API Specification), the Web Application

+    Deployment Descriptor, and options for integration with Tomcat

+    in your development environment.</li>

+<li><a href="source.html"><strong>Source Organization</strong></a> -

+    Describes a useful approach to organizing the source code

+    directories for your project, and introduces the

+    <code>build.xml</code> used by Ant to manage compilation.</li>

+<li><a href="processes.html"><strong>Development Processes</strong></a> -

+    Provides brief descriptions of typical development processes

+    utilizing the recommended deployment and source organizations.</li>

+<li><a href="sample/"><strong>Example Application</strong></a> -

+    This directory contains a very simple, but functionally complete,

+    "Hello, World" application built according to the principles

+    described in this manual.  You can use this application to

+    practice using the described techniques.</li>

+</ul>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/appdev/installation.html b/tomcat-uid/webapps/docs/appdev/installation.html
new file mode 100644
index 0000000..eb219ff
--- /dev/null
+++ b/tomcat-uid/webapps/docs/appdev/installation.html
@@ -0,0 +1,75 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Application Developer's Guide (6.0.39) - Installation</title><meta name="author" content="Craig R. McClanahan"><meta name="author" content="Yoav Shapira"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a href="index.html">Contents</a></li><li><a href="introduction.html">Introduction</a></li><li><a href="installation.html">Installation</a></li><li><a href="deployment.html">Deployment</a></li><li><a href="source.html">Source Code</a></li><li><a href="processes.html">Processes</a></li><li><a href="sample/">Example App</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Application Developer's Guide</h1><h2>Installation</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Installation"><strong>Installation</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>In order to use Tomcat 6 for developing web applications, you must first

+install it (and the software it depends on).  The required steps are outlined

+in the following subsections.</p>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JDK"><strong>JDK</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Tomcat 6.0 was designed to run on J2SE 5.0.

+</p>

+

+<p>Compatible JDKs for many platforms (or links to where they can be found)

+are available at

+<a href="http://java.sun.com/j2se/">http://java.sun.com/j2se/</a>.</p>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat"><strong>Tomcat</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Binary downloads of the <strong>Tomcat</strong> server are available from

+<a href="http://tomcat.apache.org/download-60.cgi">http://tomcat.apache.org/download-60.cgi</a>.

+This manual assumes you are using the most recent release

+of Tomcat 6.  Detailed instructions for downloading and installing

+Tomcat 6 are available <a href="../setup.html">here</a>.</p>

+

+<p>In the remainder of this manual, example shell scripts assume that you have

+set an environment variable <code>CATALINA_HOME</code> that contains the

+pathname to the directory in which Tomcat 6 has been installed. Optionally, if

+Tomcat has been configured for multiple instances, each instance will have its

+own <code>CATALINA_BASE</code> configured.</p>

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Ant"><strong>Ant</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Binary downloads of the <strong>Ant</strong> build tool are available from

+<a href="http://ant.apache.org/bindownload.cgi">http://ant.apache.org/bindownload.cgi</a>.

+This manual assumes you are using Ant 1.4 or later.  The instructions should

+also be compatible with later versions, but this has not been tested.</p>

+

+<p>Download and install Ant from the distribution directory mentioned above.

+Then, add the <code>bin</code> directory of the Ant distribution to your

+<code>PATH</code> environment variable, following the standard practices for

+your operating system platform.  Once you have done this, you will be able to

+execute the <code>ant</code> shell command directly.</p>

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="CVS"><strong>CVS</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Besides the required tools described above, you are strongly encouraged

+to download and install a <em>source code control</em> system, such as the

+<strong>Concurrent Version System</strong> (CVS), to maintain historical

+versions of the source files that make up your web application.  Besides

+the server, you will also need appropriate client

+tools to check out source code files, and check in modified versions.</p>

+

+<p>Detailed instructions for installing and using source code control

+applications is beyond the scope of this manual.  However, CVS server and

+client tools for many platforms (along with documentation) can be downloaded

+from <a href="http://www.cvshome.org">http://www.cvshome.org</a>.</p>

+

+</blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/appdev/introduction.html b/tomcat-uid/webapps/docs/appdev/introduction.html
new file mode 100644
index 0000000..9ee848d
--- /dev/null
+++ b/tomcat-uid/webapps/docs/appdev/introduction.html
@@ -0,0 +1,60 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Application Developer's Guide (6.0.39) - Introduction</title><meta name="author" content="Craig R. McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a href="index.html">Contents</a></li><li><a href="introduction.html">Introduction</a></li><li><a href="installation.html">Installation</a></li><li><a href="deployment.html">Deployment</a></li><li><a href="source.html">Source Code</a></li><li><a href="processes.html">Processes</a></li><li><a href="sample/">Example App</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Application Developer's Guide</h1><h2>Introduction</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Overview"><strong>Overview</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Congratulations!  You've decided to (or been told to) learn how to

+build web applications using servlets and JSP pages, and picked the

+Tomcat server to use for your learning and development.  But now what

+do you do?</p>

+

+<p>This manual is a primer covering the basic steps of using Tomcat to

+set up a development environment, organize your source code, and then

+build and test your application.  It does not discuss architectures or

+recommended coding practices for web application development,

+or provide in depth instructions on operating the development

+tools that are discussed.  References to sources of additional information

+are included in the following subsections.</p>

+

+<p>The discussion in this manual is aimed at developers who will be using

+a text editor along with command line tools to develop and debug their

+applications.  As such, the recommendations are fairly generic -- but you

+should easily be able to apply them in either a Windows-based or Unix-based

+development environment.  If you are utilizing an Integrated Development

+Environment (IDE) tool, you will need to adapt the advice given here to

+the details of your particular environment.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Links"><strong>Links</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The following links provide access to selected sources of online

+information, documentation, and software that is useful in developing

+web applications with Tomcat.</p>

+<ul>

+<li><a href="http://jcp.org/aboutJava/communityprocess/final/jsr245/index.html">http://jcp.org/aboutJava/communityprocess/final/jsr245/</a> -

+    <i>JavaServer Pages (JSP) Specification, Version 2.1</i>.  Describes

+    the programming environment provided by standard implementations

+    of the JavaServer Pages (JSP) technology.  In conjunction with

+    the Servlet API Specification (see below), this document describes

+    what a portable API page is allowed to contain.  Specific

+    information on scripting (Chapter 9), tag extensions (Chapter 7),

+    and packaging JSP pages (Appendix A) is useful.  The Javadoc

+    API Documentation is included in the specification, and with the

+    Tomcat download.<br><br></li>

+<li><a href="http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index2.html">http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index2.html</a> -

+    <i>Servlet API Specification, Version 2.5</i>.  Describes the

+    programming environment that must be provided by all servlet

+    containers conforming to this specification.  In particular, you

+    will need this document to understand the web application

+    directory structure and deployment file (Chapter 9), methods of

+    mapping request URIs to servlets (Chapter 11), container managed

+    security (Chapter 12), and the syntax of the <code>web.xml</code>

+    Web Application Deployment Descriptor (Chapter 13).  The Javadoc

+    API Documentation is included in the specification, and with the

+    Tomcat download.<br><br></li>

+</ul>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/appdev/processes.html b/tomcat-uid/webapps/docs/appdev/processes.html
new file mode 100644
index 0000000..b3a762e
--- /dev/null
+++ b/tomcat-uid/webapps/docs/appdev/processes.html
@@ -0,0 +1,289 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Application Developer's Guide (6.0.39) - Development Processes</title><meta name="author" content="Craig R. McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a href="index.html">Contents</a></li><li><a href="introduction.html">Introduction</a></li><li><a href="installation.html">Installation</a></li><li><a href="deployment.html">Deployment</a></li><li><a href="source.html">Source Code</a></li><li><a href="processes.html">Processes</a></li><li><a href="sample/">Example App</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Application Developer's Guide</h1><h2>Development Processes</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Development_Processes">Development Processes</a><ol><li><a href="#One-Time_Setup_of_Ant_and_Tomcat_for_Development">One-Time Setup of Ant and Tomcat for Development</a></li><li><a href="#Create_Project_Source_Code_Directory">Create Project Source Code Directory</a></li><li><a href="#Edit_Source_Code_and_Pages">Edit Source Code and Pages</a></li><li><a href="#Build_the_Web_Application">Build the Web Application</a></li><li><a href="#Test_Your_Web_Application">Test Your Web Application</a></li><li><a href="#Creating_a_Release">Creating a Release</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Development Processes"><!--()--></a><a name="Development_Processes"><strong>Development Processes</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Although application development can take many forms, this manual proposes

+a fairly generic process for creating web applications using Tomcat.  The

+following sections highlight the commands and tasks that you, as the developer

+of the code, will perform.  The same basic approach works when you have

+multiple programmers involved, as long as you have an appropriate source code

+control system and internal team rules about who is working on what parts

+of the application at any given time.</p>

+

+<p>The task descriptions below assume that you will be using CVS for source

+code control, and that you have already configured access to the appropriate

+CVS repository.  Instructions for doing this are beyond the scope of this

+manual.  If you are using a different source code control environment, you

+will need to figure out the corresponding commands for your system.</p>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="One-Time Setup of Ant and Tomcat for Development"><!--()--></a><a name="One-Time_Setup_of_Ant_and_Tomcat_for_Development"><strong>One-Time Setup of Ant and Tomcat for Development</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>In order to take advantage of the special Ant tasks that interact with the

+<em>Manager</em> web application, you need to perform the following tasks

+once (no matter how many web applications you plan to develop).</p>

+<ul>

+<li><em>Configure the Ant custom tasks</em>.  The implementation code for the

+    Ant custom tasks is in a JAR file named

+    <code>$CATALINA_HOME/lib/catalina-ant.jar</code>, which must be

+    copied in to the <code>lib</code> directory of your Ant installation.

+    <br><br></li>

+<li><em>Define one or more Tomcat users</em>.  The <em>Manager</em> web

+    application runs under a security constraint that requires a user to be

+    logged in, and have the security role <code>manager</code> assigned to

+    him or her.  How such users are defined depends on which Realm you have

+    configured in Tomcat's <code>conf/server.xml</code> file -- see the

+    <a href="../realm-howto.html">Realm Configuration HOW-TO</a> for more

+    information.  You may define any number of users (with any username

+    and password that you like) with the <code>manager</code> role.

+    <br><br></li>

+</ul>

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Create Project Source Code Directory"><!--()--></a><a name="Create_Project_Source_Code_Directory"><strong>Create Project Source Code Directory</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The first step is to create a new project source directory, and customize

+the <code>build.xml</code> and <code>build.properties</code> files you will

+be using.  The directory structure is described in <a href="source.html">the

+previous section</a>, or you can use the

+<a href="sample/">sample application</a> as a starting point.</p>

+

+<p>Create your project source directory, and define it within your CVS

+repository.  This might be done by a series of commands like this, where

+<code>{project}</code> is the name under which your project should be

+stored in the CVS repository, and {username} is your login username:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+cd {my home directory}

+mkdir myapp	&lt;-- Assumed "project source directory"

+cd myapp

+mkdir docs

+mkdir src

+mkdir web

+mkdir web/WEB-INF

+cvs import -m "Initial Project Creation" {project} \

+	{username} start

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Now, to verify that it was created correctly in CVS, we will perform a

+checkout of the new project:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+cd ..

+mv myapp myapp.bu

+cvs checkout {project}

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Next, you will need to create and check in an initial version of the

+<code>build.xml</code> script to be used for development.  For getting

+started quickly and easily, base your <code>build.xml</code> on the

+<a href="build.xml.txt">basic build.xml file</a>, included with this manual,

+or code it from scratch.</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+cd {my home directory}

+cd myapp

+emacs build.xml		&lt;-- if you want a real editor :-)

+cvs add build.xml

+cvs commit

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Until you perform the CVS commit, your changes are local to your own

+development directory.  Committing makes those changes visible to other

+developers on your team that are sharing the same CVS repository.</p>

+

+<p>The next step is to customize the Ant <em>properties</em> that are

+named in the <code>build.xml</code> script.  This is done by creating a

+file named <code>build.properties</code> in your project's top-level

+directory.  The supported properties are listed in the comments inside

+the sample <code>build.xml</code> script.  At a minimum, you will generally

+need to define the <code>catalina.home</code> property defining where

+Tomcat 6 is installed, and the manager application username and password.

+You might end up with something like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+# Context path to install this application on

+app.path=/hello

+

+# Tomcat 6 installation directory

+catalina.home=/usr/local/apache-tomcat-6.0

+

+# Manager webapp username and password

+manager.username=myusername

+manager.password=mypassword

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>In general, you will <strong>not</strong> want to check the

+<code>build.properties</code> file in to the CVS repository, because it

+is unique to each developer's environment.</p>

+

+<p>Now, create the initial version of the web application deployment

+descriptor.  You can base <code>web.xml</code> on the

+<a href="web.xml.txt">basic web.xml file</a>, or code it from scratch.</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+cd {my home directory}

+cd myapp/web/WEB-INF

+emacs web.xml

+cvs add web.xml

+cvs commit

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+Note that this is only an example web.xml file.  The full definition

+of the deployment descriptor file is in the

+<a href="http://wiki.apache.org/tomcat/Specifications">Servlet Specification.</a>

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Edit Source Code and Pages"><!--()--></a><a name="Edit_Source_Code_and_Pages"><strong>Edit Source Code and Pages</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The edit/build/test tasks will generally be your most common activities

+during development and maintenance.  The following general principles apply.

+As described in <a href="source.html">Source Organization</a>, newly created

+source files should be located in the appropriate subdirectory, under your

+project source directory.</p>

+

+<p>Whenever you wish to refresh your development directory to reflect the

+work performed by other developers, you will ask CVS to do it for you:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+cd {my home directory}

+cd myapp

+cvs update -dP

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>To create a new file, go to the appropriate directory, create the file,

+and register it with CVS.  When you are satisfied with it's contents (after

+building and testing is successful), commit the new file to the repository.

+For example, to create a new JSP page:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+cd {my home directory}

+cd myapp/web		&lt;-- Ultimate destination is document root

+emacs mypage.jsp

+cvs add mypage.jsp

+... build and test the application ...

+cvs commit

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Java source code that is defined in packages must be organized in a

+directory hierarchy (under the <strong>src/</strong> subdirectory) that

+matches the package names.  For example, a Java class named

+<code>com.mycompany.mypackage.MyClass.java</code> should be stored in file

+<code>src/com/mycompany/mypackage/MyClass.java</code>.

+Whenever you create a new subdirectory, don't forget to

+register it with CVS.</p>

+

+<p>To edit an existing source file, you will generally just start editing

+and testing, then commit the changed file when everything works.  Although

+CVS can be configured to required you to "check out" or "lock" a file you

+are going to be modifying, this is generally not used.</p>

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Build the Web Application"><!--()--></a><a name="Build_the_Web_Application"><strong>Build the Web Application</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>When you are ready to compile the application, issue the following

+commands (generally, you will want a shell window open that is set to

+the project source directory, so that only the last command is needed):</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+cd {my home directory}

+cd myapp		&lt;-- Normally leave a window open here

+ant

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>The Ant tool will be execute the default "compile" target in your

+<code>build.xml</code> file, which will compile any new or updated Java

+code.  If this is the first time you compile after a "build clean",

+it will cause everything to be recompiled.</p>

+

+<p>To force the recompilation of your entire application, do this instead:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+cd {my home directory}

+cd myapp

+ant all

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>This is a very good habit immediately before checking in changes, to

+make sure that you have not introduced any subtle problems that Javac's

+conditional checking did not catch.</p>

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Test Your Web Application"><!--()--></a><a name="Test_Your_Web_Application"><strong>Test Your Web Application</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>To test your application, you will want to install it under Tomcat.  The

+quickest way to do that is to use the custom Ant tasks that are included in

+the sample <code>build.xml</code> script.  Using these commands might follow

+a pattern like this:</p>

+<ul>

+<li><em>Start Tomcat 6 if needed</em>.  If Tomcat 6 is not already running,

+    you will need to start it in the usual way.

+    <br><br></li>

+<li><em>Compile your application</em>.  Use the <code>ant compile</code>

+    command (or just <code>ant</code>, since this is the default).  Make

+    sure that there are no compilation errors.

+    <br><br></li>

+<li><em>Install the application</em>.  Use the <code>ant install</code>

+    command.  This tells Tomcat to immediately start running your app on

+    the context path defined in the <code>app.path</code> build property.

+    Tomcat does <strong>NOT</strong> have to be restarted for this to

+    take effect.<br><br></li>

+<li><em>Test the application</em>.  Using your browser or other testing

+    tools, test the functionality of your application.

+    <br><br></li>

+<li><em>Modify and rebuild as needed</em>.  As you discover that changes

+    are required, make those changes in the original <strong>source</strong>

+    files, not in the output build directory, and re-issue the

+    <code>ant compile</code> command.  This ensures that your changes will

+    be available to be saved (via <code>cvs commit</code>) later on --

+    the output build directory is deleted and recreated as necessary.

+    <br><br></li>

+<li><em>Reload the application</em>.  Tomcat will recognize changes in

+    JSP pages automatically, but it will continue to use the old versions

+    of any servlet or JavaBean classes until the application is reloaded.

+    You can trigger this by executing the <code>ant reload</code> command.

+    <br><br></li>

+<li><em>Remove the application when you re done</em>.  When you are through

+    working on this application, you can remove it from live execution by

+    running the <code>ant remove</code> command.</li>

+</ul>

+

+<p>Do not forget to commit your changes to the source code repository when

+you have completed your testing!</p>

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Creating a Release"><!--()--></a><a name="Creating_a_Release"><strong>Creating a Release</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>When you are through adding new functionality, and you've tested everything

+(you DO test, don't you :-), it is time to create the distributable version

+of your web application that can be deployed on the production server.  The

+following general steps are required:</p>

+<ul>

+<li>Issue the command <code>ant all</code> from the project source

+    directory, to rebuild everything from scratch one last time.

+    <br><br></li>

+<li>Use the <code>cvs tag</code> command to create an identifier for

+    all of the source files utilized to create this release.  This allows

+    you to reliably reconstruct a release (from sources) at a later

+    time.</li>

+<li>Issue the command <code>ant dist</code> to create a distributable

+    web application archive (WAR) file, as well as a JAR file containing

+    the corresponding source code.

+    <br><br></li>

+<li>Package the contents of the <code>dist</code> directory using the

+    <strong>tar</strong> or <strong>zip</strong> utility, according to

+    the standard release procedures used by your organization.</li>

+</ul>

+

+</blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/appdev/sample/build.xml b/tomcat-uid/webapps/docs/appdev/sample/build.xml
new file mode 100644
index 0000000..ffbb584
--- /dev/null
+++ b/tomcat-uid/webapps/docs/appdev/sample/build.xml
@@ -0,0 +1,512 @@
+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<!--

+     General purpose build script for web applications and web services,

+     including enhanced support for deploying directly to a Tomcat 6

+     based server.

+

+     This build script assumes that the source code of your web application

+     is organized into the following subdirectories underneath the source

+     code directory from which you execute the build script:

+

+        docs                 Static documentation files to be copied to

+                             the "docs" subdirectory of your distribution.

+

+        src                  Java source code (and associated resource files)

+                             to be compiled to the "WEB-INF/classes"

+                             subdirectory of your web application.

+

+        web                  Static HTML, JSP, and other content (such as

+                             image files), including the WEB-INF subdirectory

+                             and its configuration file contents.

+-->

+

+

+<!-- A "project" describes a set of targets that may be requested

+     when Ant is executed.  The "default" attribute defines the

+     target which is executed if no specific target is requested,

+     and the "basedir" attribute defines the current working directory

+     from which Ant executes the requested task.  This is normally

+     set to the current working directory.

+-->

+

+<project name="My Project" default="compile" basedir=".">

+

+

+

+<!-- ===================== Property Definitions =========================== -->

+

+

+<!--

+

+  Each of the following properties are used in the build script.

+  Values for these properties are set by the first place they are

+  defined, from the following list:

+

+  * Definitions on the "ant" command line (ant -Dfoo=bar compile).

+

+  * Definitions from a "build.properties" file in the top level

+    source directory of this application.

+

+  * Definitions from a "build.properties" file in the developer's

+    home directory.

+

+  * Default definitions in this build.xml file.

+

+  You will note below that property values can be composed based on the

+  contents of previously defined properties.  This is a powerful technique

+  that helps you minimize the number of changes required when your development

+  environment is modified.  Note that property composition is allowed within

+  "build.properties" files as well as in the "build.xml" script.

+

+-->

+

+  <property file="build.properties"/>

+  <property file="${user.home}/build.properties"/>

+

+

+<!-- ==================== File and Directory Names ======================== -->

+

+

+<!--

+

+  These properties generally define file and directory names (or paths) that

+  affect where the build process stores its outputs.

+

+  app.name             Base name of this application, used to

+                       construct filenames and directories.

+                       Defaults to "myapp".

+

+  app.path             Context path to which this application should be

+                       deployed (defaults to "/" plus the value of the

+                       "app.name" property).

+

+  app.version          Version number of this iteration of the application.

+

+  build.home           The directory into which the "prepare" and

+                       "compile" targets will generate their output.

+                       Defaults to "build".

+

+  catalina.home        The directory in which you have installed

+                       a binary distribution of Tomcat 6.  This will

+                       be used by the "deploy" target.

+

+  dist.home            The name of the base directory in which

+                       distribution files are created.

+                       Defaults to "dist".

+

+  manager.password     The login password of a user that is assigned the

+                       "manager" role (so that he or she can execute

+                       commands via the "/manager" web application)

+

+  manager.url          The URL of the "/manager" web application on the

+                       Tomcat installation to which we will deploy web

+                       applications and web services.

+

+  manager.username     The login username of a user that is assigned the

+                       "manager" role (so that he or she can execute

+                       commands via the "/manager" web application)

+

+-->

+

+  <property name="app.name"      value="myapp"/>

+  <property name="app.path"      value="/${app.name}"/>

+  <property name="app.version"   value="0.1-dev"/>

+  <property name="build.home"    value="${basedir}/build"/>

+  <property name="catalina.home" value="../../../.."/> <!-- UPDATE THIS! -->

+  <property name="dist.home"     value="${basedir}/dist"/>

+  <property name="docs.home"     value="${basedir}/docs"/>

+  <property name="manager.url"   value="http://localhost:8080/manager"/>

+  <property name="src.home"      value="${basedir}/src"/>

+  <property name="web.home"      value="${basedir}/web"/>

+

+

+<!-- ==================== External Dependencies =========================== -->

+

+

+<!--

+

+  Use property values to define the locations of external JAR files on which

+  your application will depend.  In general, these values will be used for

+  two purposes:

+  * Inclusion on the classpath that is passed to the Javac compiler

+  * Being copied into the "/WEB-INF/lib" directory during execution

+    of the "deploy" target.

+

+  Because we will automatically include all of the Java classes that Tomcat 6

+  exposes to web applications, we will not need to explicitly list any of those

+  dependencies.  You only need to worry about external dependencies for JAR

+  files that you are going to include inside your "/WEB-INF/lib" directory.

+

+-->

+

+<!-- Dummy external dependency -->

+<!--

+  <property name="foo.jar"

+           value="/path/to/foo.jar"/>

+-->

+

+

+<!-- ==================== Compilation Classpath =========================== -->

+

+<!--

+

+  Rather than relying on the CLASSPATH environment variable, Ant includes

+  features that makes it easy to dynamically construct the classpath you

+  need for each compilation.  The example below constructs the compile

+  classpath to include the servlet.jar file, as well as the other components

+  that Tomcat makes available to web applications automatically, plus anything

+  that you explicitly added.

+

+-->

+

+  <path id="compile.classpath">

+

+    <!-- Include all JAR files that will be included in /WEB-INF/lib -->

+    <!-- *** CUSTOMIZE HERE AS REQUIRED BY YOUR APPLICATION *** -->

+<!--

+    <pathelement location="${foo.jar}"/>

+-->

+

+    <!-- Include all elements that Tomcat exposes to applications -->

+    <fileset dir="${catalina.home}/bin">

+      <include name="*.jar"/>

+    </fileset>

+    <pathelement location="${catalina.home}/lib"/>

+    <fileset dir="${catalina.home}/lib">

+      <include name="*.jar"/>

+    </fileset>

+

+  </path>

+

+

+

+<!-- ================== Custom Ant Task Definitions ======================= -->

+

+

+<!--

+

+  These properties define custom tasks for the Ant build tool that interact

+  with the "/manager" web application installed with Tomcat 6.  Before they

+  can be successfully utilized, you must perform the following steps:

+

+  - Copy the file "lib/catalina-ant.jar" from your Tomcat 6

+    installation into the "lib" directory of your Ant installation.

+

+  - Create a "build.properties" file in your application's top-level

+    source directory (or your user login home directory) that defines

+    appropriate values for the "manager.password", "manager.url", and

+    "manager.username" properties described above.

+

+  For more information about the Manager web application, and the functionality

+  of these tasks, see <http://localhost:8080/tomcat-docs/manager-howto.html>.

+

+-->

+

+  <taskdef resource="org/apache/catalina/ant/catalina.tasks"

+           classpathref="compile.classpath"/>

+

+

+<!--  ==================== Compilation Control Options ==================== -->

+

+<!--

+

+  These properties control option settings on the Javac compiler when it

+  is invoked using the <javac> task.

+

+  compile.debug        Should compilation include the debug option?

+

+  compile.deprecation  Should compilation include the deprecation option?

+

+  compile.optimize     Should compilation include the optimize option?

+

+-->

+

+  <property name="compile.debug"       value="true"/>

+  <property name="compile.deprecation" value="false"/>

+  <property name="compile.optimize"    value="true"/>

+

+

+

+<!-- ==================== All Target ====================================== -->

+

+<!--

+

+  The "all" target is a shortcut for running the "clean" target followed

+  by the "compile" target, to force a complete recompile.

+

+-->

+

+  <target name="all" depends="clean,compile"

+   description="Clean build and dist directories, then compile"/>

+

+

+

+<!-- ==================== Clean Target ==================================== -->

+

+<!--

+

+  The "clean" target deletes any previous "build" and "dist" directory,

+  so that you can be ensured the application can be built from scratch.

+

+-->

+

+  <target name="clean"

+   description="Delete old build and dist directories">

+    <delete dir="${build.home}"/>

+    <delete dir="${dist.home}"/>

+  </target>

+

+

+

+<!-- ==================== Compile Target ================================== -->

+

+<!--

+

+  The "compile" target transforms source files (from your "src" directory)

+  into object files in the appropriate location in the build directory.

+  This example assumes that you will be including your classes in an

+  unpacked directory hierarchy under "/WEB-INF/classes".

+

+-->

+

+  <target name="compile" depends="prepare"

+   description="Compile Java sources">

+

+    <!-- Compile Java classes as necessary -->

+    <mkdir    dir="${build.home}/WEB-INF/classes"/>

+    <javac srcdir="${src.home}"

+          destdir="${build.home}/WEB-INF/classes"

+            debug="${compile.debug}"

+      deprecation="${compile.deprecation}"

+         optimize="${compile.optimize}">

+        <classpath refid="compile.classpath"/>

+    </javac>

+

+    <!-- Copy application resources -->

+    <copy  todir="${build.home}/WEB-INF/classes">

+      <fileset dir="${src.home}" excludes="**/*.java"/>

+    </copy>

+

+  </target>

+

+

+

+<!-- ==================== Dist Target ===================================== -->

+

+

+<!--

+

+  The "dist" target creates a binary distribution of your application

+  in a directory structure ready to be archived in a tar.gz or zip file.

+  Note that this target depends on two others:

+

+  * "compile" so that the entire web application (including external

+    dependencies) will have been assembled

+

+  * "javadoc" so that the application Javadocs will have been created

+

+-->

+

+  <target name="dist" depends="compile,javadoc"

+   description="Create binary distribution">

+

+    <!-- Copy documentation subdirectories -->

+    <mkdir   dir="${dist.home}/docs"/>

+    <copy    todir="${dist.home}/docs">

+      <fileset dir="${docs.home}"/>

+    </copy>

+

+    <!-- Create application JAR file -->

+    <jar jarfile="${dist.home}/${app.name}-${app.version}.war"

+         basedir="${build.home}"/>

+

+    <!-- Copy additional files to ${dist.home} as necessary -->

+

+  </target>

+

+

+

+<!-- ==================== Install Target ================================== -->

+

+<!--

+

+  The "install" target tells the specified Tomcat 6 installation to dynamically

+  install this web application and make it available for execution.  It does

+  *not* cause the existence of this web application to be remembered across

+  Tomcat restarts; if you restart the server, you will need to re-install all

+  this web application.

+

+  If you have already installed this application, and simply want Tomcat to

+  recognize that you have updated Java classes (or the web.xml file), use the

+  "reload" target instead.

+

+  NOTE:  This target will only succeed if it is run from the same server that

+  Tomcat is running on.

+

+  NOTE:  This is the logical opposite of the "remove" target.

+

+-->

+

+  <target name="install" depends="compile"

+   description="Install application to servlet container">

+

+    <deploy url="${manager.url}"

+       username="${manager.username}"

+       password="${manager.password}"

+           path="${app.path}"

+       localWar="file://${build.home}"/>

+

+  </target>

+

+

+<!-- ==================== Javadoc Target ================================== -->

+

+<!--

+

+  The "javadoc" target creates Javadoc API documentation for the Java

+  classes included in your application.  Normally, this is only required

+  when preparing a distribution release, but is available as a separate

+  target in case the developer wants to create Javadocs independently.

+

+-->

+

+  <target name="javadoc" depends="compile"

+   description="Create Javadoc API documentation">

+

+    <mkdir          dir="${dist.home}/docs/api"/>

+    <javadoc sourcepath="${src.home}"

+                destdir="${dist.home}/docs/api"

+           packagenames="*">

+      <classpath refid="compile.classpath"/>

+    </javadoc>

+

+  </target>

+

+

+

+<!-- ====================== List Target =================================== -->

+

+<!--

+

+  The "list" target asks the specified Tomcat 6 installation to list the

+  currently running web applications, either loaded at startup time or

+  installed dynamically.  It is useful to determine whether or not the

+  application you are currently developing has been installed.

+

+-->

+

+  <target name="list"

+   description="List installed applications on servlet container">

+

+    <list    url="${manager.url}"

+        username="${manager.username}"

+        password="${manager.password}"/>

+

+  </target>

+

+

+<!-- ==================== Prepare Target ================================== -->

+

+<!--

+

+  The "prepare" target is used to create the "build" destination directory,

+  and copy the static contents of your web application to it.  If you need

+  to copy static files from external dependencies, you can customize the

+  contents of this task.

+

+  Normally, this task is executed indirectly when needed.

+

+-->

+

+  <target name="prepare">

+

+    <!-- Create build directories as needed -->

+    <mkdir  dir="${build.home}"/>

+    <mkdir  dir="${build.home}/WEB-INF"/>

+    <mkdir  dir="${build.home}/WEB-INF/classes"/>

+

+

+    <!-- Copy static content of this web application -->

+    <copy todir="${build.home}">

+      <fileset dir="${web.home}"/>

+    </copy>

+

+    <!-- Copy external dependencies as required -->

+    <!-- *** CUSTOMIZE HERE AS REQUIRED BY YOUR APPLICATION *** -->

+    <mkdir  dir="${build.home}/WEB-INF/lib"/>

+<!--

+    <copy todir="${build.home}/WEB-INF/lib" file="${foo.jar}"/>

+-->

+

+    <!-- Copy static files from external dependencies as needed -->

+    <!-- *** CUSTOMIZE HERE AS REQUIRED BY YOUR APPLICATION *** -->

+

+  </target>

+

+

+<!-- ==================== Reload Target =================================== -->

+

+<!--

+

+  The "reload" signals the specified application Tomcat 6 to shut itself down

+  and reload. This can be useful when the web application context is not

+  reloadable and you have updated classes or property files in the

+  /WEB-INF/classes directory or when you have added or updated jar files in the

+  /WEB-INF/lib directory.

+

+  NOTE: The /WEB-INF/web.xml web application configuration file is not reread

+  on a reload. If you have made changes to your web.xml file you must stop

+  then start the web application. 

+

+-->

+

+  <target name="reload" depends="compile"

+   description="Reload application on servlet container">

+

+    <reload url="${manager.url}"

+       username="${manager.username}"

+       password="${manager.password}"

+           path="${app.path}"/>

+

+  </target>

+

+

+<!-- ==================== Remove Target =================================== -->

+

+<!--

+

+  The "remove" target tells the specified Tomcat 6 installation to dynamically

+  remove this web application from service.

+

+  NOTE:  This is the logical opposite of the "install" target.

+

+-->

+

+  <target name="remove"

+   description="Remove application on servlet container">

+

+    <undeploy url="${manager.url}"

+         username="${manager.username}"

+         password="${manager.password}"

+             path="${app.path}"/>

+

+  </target>

+

+

+</project>

diff --git a/tomcat-uid/webapps/docs/appdev/sample/docs/README.txt b/tomcat-uid/webapps/docs/appdev/sample/docs/README.txt
new file mode 100644
index 0000000..e6d7eab
--- /dev/null
+++ b/tomcat-uid/webapps/docs/appdev/sample/docs/README.txt
@@ -0,0 +1,17 @@
+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+

+This is a dummy README file for the sample

+web application.

diff --git a/tomcat-uid/webapps/docs/appdev/sample/index.html b/tomcat-uid/webapps/docs/appdev/sample/index.html
new file mode 100644
index 0000000..87e3a61
--- /dev/null
+++ b/tomcat-uid/webapps/docs/appdev/sample/index.html
@@ -0,0 +1,46 @@
+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+<head>

+<meta name="author" content="Ben Souther" />

+<title>Sample Application</title>

+</head>

+<body>

+<h2>Sample Application</h2>

+      <p> 

+        The example app has been packaged as a war file and can be downloaded 

+        <a href="sample.war">here</a> (Note: make sure your browser doesn't 

+        change file extension or append a new one).

+      </p>

+      <p> 

+        The easiest way to run this application is simply to move the war file 

+        to your <b>CATALINA_HOME/webapps</b> directory. Tomcat will automatically 

+        expand and deploy the application for you. You can view it with the 

+        following URL (assuming that you're running tomcat on port 8080 

+        as is the default):

+        <br />

+        <a href="http://localhost:8080/sample">http://localhost:8080/sample</a>

+      </p>

+      <p>

+        If you just want to browse the contents, you can unpack the war file 

+        with the <b>jar</b> command.

+        <source>

+          jar -xvf sample.war

+        </source>

+      </p>

+</body>

+</html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/appdev/sample/sample.war b/tomcat-uid/webapps/docs/appdev/sample/sample.war
new file mode 100644
index 0000000..0a127e6
--- /dev/null
+++ b/tomcat-uid/webapps/docs/appdev/sample/sample.war
Binary files differ
diff --git a/tomcat-uid/webapps/docs/appdev/sample/src/mypackage/Hello.java b/tomcat-uid/webapps/docs/appdev/sample/src/mypackage/Hello.java
new file mode 100644
index 0000000..8c79077
--- /dev/null
+++ b/tomcat-uid/webapps/docs/appdev/sample/src/mypackage/Hello.java
@@ -0,0 +1,83 @@
+/*

+ * Licensed to the Apache Software Foundation (ASF) under one or more

+ * contributor license agreements.  See the NOTICE file distributed with

+ * this work for additional information regarding copyright ownership.

+ * The ASF licenses this file to You under the Apache License, Version 2.0

+ * (the "License"); you may not use this file except in compliance with

+ * the License.  You may obtain a copy of the License at

+ * 

+ *      http://www.apache.org/licenses/LICENSE-2.0

+ * 

+ * Unless required by applicable law or agreed to in writing, software

+ * distributed under the License is distributed on an "AS IS" BASIS,

+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+ * See the License for the specific language governing permissions and

+ * limitations under the License.

+ */

+

+package mypackage;

+

+import java.io.IOException;

+import java.io.PrintWriter;

+import java.util.Enumeration;

+import javax.servlet.ServletException;

+import javax.servlet.http.HttpServlet;

+import javax.servlet.http.HttpServletRequest;

+import javax.servlet.http.HttpServletResponse;

+

+

+/**

+ * Simple servlet to validate that the Hello, World example can

+ * execute servlets.  In the web application deployment descriptor,

+ * this servlet must be mapped to correspond to the link in the

+ * "index.html" file.

+ *

+ * @author Craig R. McClanahan <Craig.McClanahan@eng.sun.com>

+ */

+

+public final class Hello extends HttpServlet {

+

+

+    /**

+     * Respond to a GET request for the content produced by

+     * this servlet.

+     *

+     * @param request The servlet request we are processing

+     * @param response The servlet response we are producing

+     *

+     * @exception IOException if an input/output error occurs

+     * @exception ServletException if a servlet error occurs

+     */

+    public void doGet(HttpServletRequest request,

+                      HttpServletResponse response)

+      throws IOException, ServletException {

+

+	response.setContentType("text/html");

+	PrintWriter writer = response.getWriter();

+

+	writer.println("<html>");

+	writer.println("<head>");

+	writer.println("<title>Sample Application Servlet Page</title>");

+	writer.println("</head>");

+	writer.println("<body bgcolor=white>");

+

+	writer.println("<table border=\"0\">");

+	writer.println("<tr>");

+	writer.println("<td>");

+	writer.println("<img src=\"images/tomcat.gif\">");

+	writer.println("</td>");

+	writer.println("<td>");

+	writer.println("<h1>Sample Application Servlet</h1>");

+	writer.println("This is the output of a servlet that is part of");

+	writer.println("the Hello, World application.");

+	writer.println("</td>");

+	writer.println("</tr>");

+	writer.println("</table>");

+

+	writer.println("</body>");

+	writer.println("</html>");

+

+    }

+

+

+}

diff --git a/tomcat-uid/webapps/docs/appdev/sample/web/WEB-INF/web.xml b/tomcat-uid/webapps/docs/appdev/sample/web/WEB-INF/web.xml
new file mode 100644
index 0000000..58daf30
--- /dev/null
+++ b/tomcat-uid/webapps/docs/appdev/sample/web/WEB-INF/web.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>

+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<web-app xmlns="http://java.sun.com/xml/ns/j2ee"

+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"

+    version="2.4">

+

+    <display-name>Hello, World Application</display-name>

+    <description>

+	This is a simple web application with a source code organization

+	based on the recommendations of the Application Developer's Guide.

+    </description>

+

+    <servlet>

+        <servlet-name>HelloServlet</servlet-name>

+        <servlet-class>mypackage.Hello</servlet-class>

+    </servlet>

+

+    <servlet-mapping>

+        <servlet-name>HelloServlet</servlet-name>

+        <url-pattern>/hello</url-pattern>

+    </servlet-mapping>

+

+</web-app>

diff --git a/tomcat-uid/webapps/docs/appdev/sample/web/hello.jsp b/tomcat-uid/webapps/docs/appdev/sample/web/hello.jsp
new file mode 100644
index 0000000..de7f0ea
--- /dev/null
+++ b/tomcat-uid/webapps/docs/appdev/sample/web/hello.jsp
@@ -0,0 +1,39 @@
+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+<head>

+<title>Sample Application JSP Page</title>

+</head>

+<body bgcolor=white>

+

+<table border="0">

+<tr>

+<td align=center>

+<img src="images/tomcat.gif">

+</td>

+<td>

+<h1>Sample Application JSP Page</h1>

+This is the output of a JSP page that is part of the Hello, World

+application.

+</td>

+</tr>

+</table>

+

+<%= new String("Hello!") %>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/docs/appdev/sample/web/images/tomcat.gif b/tomcat-uid/webapps/docs/appdev/sample/web/images/tomcat.gif
new file mode 100644
index 0000000..32f7d80
--- /dev/null
+++ b/tomcat-uid/webapps/docs/appdev/sample/web/images/tomcat.gif
Binary files differ
diff --git a/tomcat-uid/webapps/docs/appdev/sample/web/index.html b/tomcat-uid/webapps/docs/appdev/sample/web/index.html
new file mode 100644
index 0000000..7be5ae7
--- /dev/null
+++ b/tomcat-uid/webapps/docs/appdev/sample/web/index.html
@@ -0,0 +1,44 @@
+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+<head>

+<title>Sample "Hello, World" Application</title>

+</head>

+<body bgcolor=white>

+

+<table border="0">

+<tr>

+<td>

+<img src="images/tomcat.gif">

+</td>

+<td>

+<h1>Sample "Hello, World" Application</h1>

+<p>This is the home page for a sample application used to illustrate the

+source directory organization of a web application utilizing the principles

+outlined in the Application Developer's Guide.

+</td>

+</tr>

+</table>

+

+<p>To prove that they work, you can execute either of the following links:

+<ul>

+<li>To a <a href="hello.jsp">JSP page</a>.

+<li>To a <a href="hello">servlet</a>.

+</ul>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/docs/appdev/source.html b/tomcat-uid/webapps/docs/appdev/source.html
new file mode 100644
index 0000000..cd682f2
--- /dev/null
+++ b/tomcat-uid/webapps/docs/appdev/source.html
@@ -0,0 +1,287 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Application Developer's Guide (6.0.39) - Source Organization</title><meta name="author" content="Craig R. McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a href="index.html">Contents</a></li><li><a href="introduction.html">Introduction</a></li><li><a href="installation.html">Installation</a></li><li><a href="deployment.html">Deployment</a></li><li><a href="source.html">Source Code</a></li><li><a href="processes.html">Processes</a></li><li><a href="sample/">Example App</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Application Developer's Guide</h1><h2>Source Organization</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Directory_Structure">Directory Structure</a><ol><li><a href="#External_Dependencies">External Dependencies</a></li></ol></li><li><a href="#Source_Code_Control">Source Code Control</a></li><li><a href="#BUILD.XML_Configuration_File">BUILD.XML Configuration File</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Directory Structure"><!--()--></a><a name="Directory_Structure"><strong>Directory Structure</strong></a></font></td></tr><tr><td><blockquote>

+

+    <blockquote><em>

+    <p>The description below uses the variable name $CATALINA_BASE to refer the

+    base directory against which most relative paths are resolved. If you have

+    not configured Tomcat 6 for multiple instances by setting a CATALINA_BASE

+    directory, then $CATALINA_BASE will be set to the value of $CATALINA_HOME,

+    the directory into which you have installed Tomcat 6.</p>

+    </em></blockquote>

+

+<p>A key recommendation of this manual is to separate the directory

+hierarchy containing your source code (described in this section) from

+the directory hierarchy containing your deployable application

+(described in the preceding section).  Maintaining this separation has

+the following advantages:</p>

+<ul>

+<li>The contents of the source directories can be more easily administered,

+    moved, and backed up if the "executable" version of the application

+    is not intermixed.

+    <br><br></li>

+<li>Source code control is easier to manage on directories that contain

+    only source files.

+    <br><br></li>

+<li>The files that make up an installable distribution of your

+    application are much easier to select when the deployment

+    hierarchy is separate.</li>

+</ul>

+

+<p>As we will see, the <code>ant</code> development tool makes the creation

+and processing of such directory hierarchies nearly painless.</p>

+

+<p>The actual directory and file hierarchy used to contain the source code

+of an application can be pretty much anything you like.  However, the

+following organization has proven to be quite generally applicable, and is

+expected by the example <code>build.xml</code> configuration file that

+is discussed below.  All of these components exist under a top level

+<em>project source directory</em> for your application:</p>

+<ul>

+<li><strong>docs/</strong> - Documentation for your application, in whatever

+    format your development team is using.<br><br></li>

+<li><strong>src/</strong> - Java source files that generate the servlets,

+    beans, and other Java classes that are unique to your application.

+    If your source code is organized in packages (<strong>highly</strong>

+    recommended), the package hierarchy should be reflected as a directory

+    structure underneath this directory.<br><br></li>

+<li><strong>web/</strong> - The static content of your web site (HTML pages,

+    JSP pages, JavaScript files, CSS stylesheet files, and images) that will

+    be accessible to application clients.  This directory will be the

+    <em>document root</em> of your web application, and any subdirectory

+    structure found here will be reflected in the request URIs required to

+    access those files.<br><br></li>

+<li><strong>web/WEB-INF/</strong> - The special configuration files required

+    for your application, including the web application deployment descriptor

+    (<code>web.xml</code>, defined in the 

+    <a href="http://wiki.apache.org/tomcat/Specifications">Servlet Specification</a>), 

+    tag library descriptors for custom tag libraries

+    you have created, and other resource files you wish to include within

+    your web application.  Even though this directory appears to be a

+    subdirectory of your <em>document root</em>, the Servlet Specification

+    prohibits serving the contents of this directory (or any file it contains)

+    directly to a client request.  Therefore, this is a good place to store

+    configuration information that is sensitive (such as database connection

+    usernames and passwords), but is required for your application to

+    operate successfully.</li>

+</ul>

+

+<p>During the development process, two additional directories will be

+created on a temporary basis:</p>

+<ul>

+<li><strong>build/</strong> - When you execute a default build

+    (<code>ant</code>), this directory will contain an exact image

+    of the files in the web application archive for this application.

+    Tomcat 6 allows you to deploy an application in an unpacked

+    directory like this, either by copying it to the

+    <code>$CATALINA_BASE/webapps</code> directory, or by <em>installing</em>

+    it via the "Manager" web application.  The latter approach is very

+    useful during development, and will be illustrated below.

+    <br><br></li>

+<li><strong>dist/</strong> - When you execute the <code>ant dist</code>

+    target, this directory will be created.  It will create an exact image

+    of the binary distribution for your web application, including an license

+    information, documentation, and README files that you have prepared.</li>

+</ul>

+

+<p>Note that these two directories should <strong>NOT</strong> be archived in

+your source code control system, because they are deleted and recreated (from

+scratch) as needed during development.  For that reason, you should not edit

+any source files in these directories if you want to maintain a permanent

+record of the changes, because the changes will be lost the next time that a

+build is performed.</p>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="External Dependencies"><!--()--></a><a name="External_Dependencies"><strong>External Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>What do you do if your application requires JAR files (or other

+  resources) from external projects or packages?  A common example is that

+  you need to include a JDBC driver in your web application, in order to

+  operate.</p>

+

+  <p>Different developers take different approaches to this problem.

+  Some will encourage checking a copy of the JAR files you depend on into

+  the source code control archives for every application that requires those

+  JAR files.  However, this can cause significant management issues when you

+  use the same JAR in many applications - particular when faced with a need

+  to upgrade to a different version of that JAR file.</p>

+

+  <p>Therefore, this manual recommends that you <strong>NOT</strong> store

+  a copy of the packages you depend on inside the source control archives

+  of your applications.  Instead, the external dependencies should be

+  integrated as part of the process of <strong>building</strong> your

+  application.  In that way, you can always pick up the appropriate version

+  of the JAR files from wherever your development system administrator has

+  installed them, without having to worry about updating your application

+  every time the version of the dependent JAR file is changed.</p>

+

+  <p>In the example Ant <code>build.xml</code> file, we will demonstrate

+  how to define <em>build properties</em> that let you configure the locations

+  of the files to be copied, without having to modify <code>build.xml</code>

+  when these files change.  The build properties used by a particular

+  developer can be customized on a per-application basis, or defaulted to

+  "standard" build properties stored in the developer's home directory.</p>

+

+  <p>In many cases, your development system administrator will have already

+  installed the required JAR files into the <code>lib</code> directory of Tomcat.

+  If this has been done, you need

+  to take no actions at all - the example <code>build.xml</code> file

+  automatically constructs a compile classpath that includes these files.</p>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Source Code Control"><!--()--></a><a name="Source_Code_Control"><strong>Source Code Control</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>As mentioned earlier, it is highly recommended that you place all of the

+source files that comprise your application under the management of a

+source code control system like the Concurrent Version System (CVS).  If you

+elect to do this, every directory and file in the source hierarchy should be

+registered and saved -- but none of the generated files.  If you register

+binary format files (such as images or JAR libraries), be sure to indicate

+this to your source code control system.</p>

+

+<p>We recommended (in the previous section) that you should not store the

+contents of the <code>build/</code> and <code>dist/</code> directories

+created by your development process in the source code control system.  An

+easy way to tell CVS to ignore these directories is to create a file named

+<code>.cvsignore</code> (note the leading period) in your top-level source

+directory, with the following contents:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+build

+dist

+build.properties

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>The reason for mentioning <code>build.properties</code> here will be

+explained in the <a href="processes.html">Processes</a> section.</p>

+

+<p>Detailed instructions for your source code control environment are beyond

+the scope of this manual.  However, the following steps are followed when

+using a command-line CVS client:</p>

+<ul>

+<li>To refresh the state of your source code to that stored in the

+    the source repository, go to your project source directory, and

+    execute <code>cvs update -dP</code>.

+    <br><br></li>

+<li>When you create a new subdirectory in the source code hierarchy, register

+    it in CVS with a command like <code>cvs add {subdirname}</code>.

+    <br><br></li>

+<li>When you first create a new source code file, navigate to the directory

+    that contains it, and register the new file with a command like

+    <code>cvs add {filename}</code>.

+    <br><br></li>

+<li>If you no longer need a particular source code file, navigate to the

+    containing directory and remove the file.  Then, deregister it in CVS

+    with a command like <code>cvs remove {filename}</code>.

+    <br><br></li>

+<li>While you are creating, modifying, and deleting source files, changes

+    are not yet reflected in the server repository.  To save your changes in

+    their current state, go to the project source directory

+    and execute <code>cvs commit</code>.  You will be asked to write a brief

+    description of the changes you have just completed, which will be stored

+    with the new version of any updated source file.</li>

+</ul>

+

+<p>CVS, like other source code control systems, has many additional features

+(such as the ability to tag the files that made up a particular release, and

+support for multiple development branches that can later be merged).  See the

+links and references in the <a href="introduction.html">Introduction</a> for

+more information.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="BUILD.XML Configuration File"><!--()--></a><a name="BUILD.XML_Configuration_File"><strong>BUILD.XML Configuration File</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>We will be using the <strong>ant</strong> tool to manage the compilation of

+our Java source code files, and creation of the deployment hierarchy.  Ant

+operates under the control of a build file, normally called

+<code>build.xml</code>, that defines the processing steps required.  This

+file is stored in the top-level directory of your source code hierarchy, and

+should be checked in to your source code control system.</p>

+

+<p>Like a Makefile, the <code>build.xml</code> file provides several

+"targets" that support optional development activities (such as creating

+the associated Javadoc documentation, erasing the deployment home directory

+so you can build your project from scratch, or creating the web application

+archive file so you can distribute your application.  A well-constructed

+<code>build.xml</code> file will contain internal documentation describing

+the targets that are designed for use by the developer, versus those targets

+used internally.  To ask Ant to display the project documentation, change to

+the directory containing the <code>build.xml</code> file and type:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+ant -projecthelp

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>To give you a head start, a <a href="build.xml.txt">basic build.xml file</a>

+is provided that you can customize and install in the project source directory

+for your application.  This file includes comments that describe the various

+targets that can be executed.  Briefly, the following targets are generally

+provided:</p>

+<ul>

+<li><strong>clean</strong> - This target deletes any existing

+    <code>build</code> and <code>dist</code> directories, so that they

+    can be reconstructed from scratch.  This allows you to guarantee that

+    you have not made source code modifications that will result in

+    problems at runtime due to not recompiling all affected classes.

+    <br><br></li>

+<li><strong>compile</strong> - This target is used to compile any source code

+    that has been changed since the last time compilation took place.  The

+    resulting class files are created in the <code>WEB-INF/classes</code>

+    subdirectory of your <code>build</code> directory, exactly where the

+    structure of a web application requires them to be.  Because

+    this command is executed so often during development, it is normally

+    made the "default" target so that a simple <code>ant</code> command will

+    execute it.

+    <br><br></li>

+<li><strong>all</strong> - This target is a short cut for running the

+    <code>clean</code> target, followed by the <code>compile</code> target.

+    Thus, it guarantees that you will recompile the entire application, to

+    ensure that you have not unknowingly introduced any incompatible changes.

+    <br><br></li>

+<li><strong>javadoc</strong> - This target creates Javadoc API documentation

+    for the Java classes in this web application.  The example

+    <code>build.xml</code> file assumes you want to include the API

+    documentation with your app distribution, so it generates the docs

+    in a subdirectory of the <code>dist</code> directory.  Because you normally

+    do not need to generate the Javadocs on every compilation, this target is

+    usually a dependency of the <code>dist</code> target, but not of the

+    <code>compile</code> target.

+    <br><br></li>

+<li><strong>dist</strong> - This target creates a distribution directory for

+    your application, including any required documentation, the Javadocs for

+    your Java classes, and a web application archive (WAR) file that will be

+    delivered to system administrators who wish to install your application.

+    Because this target also depends on the <code>deploy</code> target, the

+    web application archive will have also picked up any external dependencies

+    that were included at deployment time.</li>

+</ul>

+

+<p>For interactive development and testing of your web application using

+Tomcat 6, the following additional targets are defined:</p>

+<ul>

+<li><strong>install</strong> - Tell the currently running Tomcat 6 to make

+    the application you are developing immediately available for execution

+    and testing.  This action does not require Tomcat 6 to be restarted, but

+    it is also not remembered after Tomcat is restarted the next time.

+    <br><br></li>

+<li><strong>reload</strong> - Once the application is installed, you can

+    continue to make changes and recompile using the <code>compile</code>

+    target.  Tomcat 6 will automatically recognize changes made to JSP pages,

+    but not to servlet or JavaBean classes - this command will tell Tomcat

+    to restart the currently installed application so that such changes are

+    recognized.

+    <br><br></li>

+<li><strong>remove</strong> - When you have completed your development and

+    testing activities, you can optionally tell Tomcat 6 to remove this

+    application from service.

+    </li>

+</ul>

+

+<p>Using the development and testing targets requires some additional

+one-time setup that is described on the next page.</p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/appdev/web.xml.txt b/tomcat-uid/webapps/docs/appdev/web.xml.txt
new file mode 100644
index 0000000..42555f0
--- /dev/null
+++ b/tomcat-uid/webapps/docs/appdev/web.xml.txt
@@ -0,0 +1,166 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>

+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<!DOCTYPE web-app 

+    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 

+    "http://java.sun.com/dtd/web-app_2_3.dtd">

+

+<web-app>

+

+

+    <!-- General description of your web application -->

+

+    <display-name>My Web Application</display-name>

+    <description>

+      This is version X.X of an application to perform

+      a wild and wonderful task, based on servlets and

+      JSP pages.  It was written by Dave Developer

+      (dave@mycompany.com), who should be contacted for

+      more information.

+    </description>

+

+

+    <!-- Context initialization parameters that define shared

+         String constants used within your application, which

+         can be customized by the system administrator who is

+         installing your application.  The values actually

+         assigned to these parameters can be retrieved in a

+         servlet or JSP page by calling:

+

+             String value =

+               getServletContext().getInitParameter("name");

+

+         where "name" matches the <param-name> element of

+         one of these initialization parameters.

+

+         You can define any number of context initialization

+         parameters, including zero.

+    -->

+

+    <context-param>

+      <param-name>webmaster</param-name>

+      <param-value>myaddress@mycompany.com</param-value>

+      <description>

+        The EMAIL address of the administrator to whom questions

+        and comments about this application should be addressed.

+      </description>

+    </context-param>

+

+

+    <!-- Servlet definitions for the servlets that make up

+         your web application, including initialization

+         parameters.  With Tomcat, you can also send requests

+         to servlets not listed here with a request like this:

+

+           http://localhost:8080/{context-path}/servlet/{classname}

+

+         but this usage is not guaranteed to be portable.  It also

+         makes relative references to images and other resources

+         required by your servlet more complicated, so defining

+         all of your servlets (and defining a mapping to them with

+         a servlet-mapping element) is recommended.

+

+         Servlet initialization parameters can be retrieved in a

+         servlet or JSP page by calling:

+

+             String value =

+               getServletConfig().getInitParameter("name");

+

+         where "name" matches the <param-name> element of

+         one of these initialization parameters.

+

+         You can define any number of servlets, including zero.

+    -->

+

+    <servlet>

+      <servlet-name>controller</servlet-name>

+      <description>

+        This servlet plays the "controller" role in the MVC architecture

+        used in this application.  It is generally mapped to the ".do"

+        filename extension with a servlet-mapping element, and all form

+        submits in the app will be submitted to a request URI like

+        "saveCustomer.do", which will therefore be mapped to this servlet.

+

+        The initialization parameter names for this servlet are the

+        "servlet path" that will be received by this servlet (after the

+        filename extension is removed).  The corresponding value is the

+        name of the action class that will be used to process this request.

+      </description>

+      <servlet-class>com.mycompany.mypackage.ControllerServlet</servlet-class>

+      <init-param>

+        <param-name>listOrders</param-name>

+        <param-value>com.mycompany.myactions.ListOrdersAction</param-value>

+      </init-param>

+      <init-param>

+        <param-name>saveCustomer</param-name>

+        <param-value>com.mycompany.myactions.SaveCustomerAction</param-value>

+      </init-param>

+      <!-- Load this servlet at server startup time -->

+      <load-on-startup>5</load-on-startup>

+    </servlet>

+

+    <servlet>

+      <servlet-name>graph</servlet-name>

+      <description>

+        This servlet produces GIF images that are dynamically generated

+        graphs, based on the input parameters included on the request.

+        It is generally mapped to a specific request URI like "/graph".

+      </description>

+    </servlet>

+

+

+    <!-- Define mappings that are used by the servlet container to

+         translate a particular request URI (context-relative) to a

+         particular servlet.  The examples below correspond to the

+         servlet descriptions above.  Thus, a request URI like:

+

+           http://localhost:8080/{contextpath}/graph

+

+         will be mapped to the "graph" servlet, while a request like:

+

+           http://localhost:8080/{contextpath}/saveCustomer.do

+

+         will be mapped to the "controller" servlet.

+

+         You may define any number of servlet mappings, including zero.

+         It is also legal to define more than one mapping for the same

+         servlet, if you wish to.

+    -->

+

+    <servlet-mapping>

+      <servlet-name>controller</servlet-name>

+      <url-pattern>*.do</url-pattern>

+    </servlet-mapping>

+

+    <servlet-mapping>

+      <servlet-name>graph</servlet-name>

+      <url-pattern>/graph</url-pattern>

+    </servlet-mapping>

+

+

+    <!-- Define the default session timeout for your application,

+         in minutes.  From a servlet or JSP page, you can modify

+         the timeout for a particular session dynamically by using

+         HttpSession.getMaxInactiveInterval(). -->

+

+    <session-config>

+      <session-timeout>30</session-timeout>    <!-- 30 minutes -->

+    </session-config>

+

+

+</web-app>

diff --git a/tomcat-uid/webapps/docs/apr.html b/tomcat-uid/webapps/docs/apr.html
new file mode 100644
index 0000000..8c6ebd0
--- /dev/null
+++ b/tomcat-uid/webapps/docs/apr.html
@@ -0,0 +1,302 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Apache Portable Runtime (APR) based Native library for Tomcat</title><meta name="author" content="Remy Maucherat"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Apache Portable Runtime (APR) based Native library for Tomcat</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Installation">Installation</a><ol><li><a href="#Windows">Windows</a></li><li><a href="#Linux">Linux</a></li></ol></li><li><a href="#APR_Components">APR Components</a></li><li><a href="#APR_Lifecycle_Listener_Configuration">APR Lifecycle Listener Configuration</a><ol><li><a href="#AprLifecycleListener">AprLifecycleListener</a></li></ol></li><li><a href="#APR_Connectors_Configuration">APR Connectors Configuration</a><ol><li><a href="#HTTP">HTTP</a></li><li><a href="#HTTPS">HTTPS</a></li><li><a href="#AJP">AJP</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>

+      Tomcat can use the <a href="http://apr.apache.org/">Apache Portable Runtime</a> to 

+      provide superior scalability, performance, and better integration with native server 

+      technologies. The Apache Portable Runtime is a highly portable library that is at 

+      the heart of Apache HTTP Server 2.x. APR has many uses, including access to advanced IO

+      functionality (such as sendfile, epoll and OpenSSL), OS level functionality (random number

+      generation, system status, etc), and native process handling (shared memory, NT

+      pipes and Unix sockets).

+  </p>

+  

+  <p>

+      These features allows making Tomcat a general purpose webserver, will enable much better 

+      integration with other native web technologies, and overall make Java much more viable as

+      a full fledged webserver platform rather than simply a backend focused technology.

+  </p>

+

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Installation"><strong>Installation</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>

+      APR support requires three main native components to be installed:

+      <ul>

+        <li>APR library</li>

+        <li>JNI wrappers for APR used by Tomcat (libtcnative)</li>

+        <li>OpenSSL libraries</li>

+      </ul>

+    </p>

+

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Windows"><strong>Windows</strong></a></font></td></tr><tr><td><blockquote>

+    

+    <p>

+      Windows binaries are provided for tcnative-1, which is a statically compiled .dll which includes

+      OpenSSL and APR. It can be downloaded from <a href="http://tomcat.apache.org/download-native.cgi">here</a>

+      as 32bit or AMD x86-64 binaries.

+      In security conscious production environments, it is recommended to use separate shared dlls

+      for OpenSSL, APR, and libtcnative-1, and update them as needed according to security bulletins.

+      Windows OpenSSL binaries are linked from the <a href="http://www.openssl.org">Official OpenSSL 

+      website</a> (see related/binaries).

+    </p>

+    

+    </blockquote></td></tr></table>

+    

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Linux"><strong>Linux</strong></a></font></td></tr><tr><td><blockquote>

+    

+    <p>

+      Most Linux distributions will ship packages for APR and OpenSSL. The JNI wrapper (libtcnative) will 

+      then have to be compiled. It depends on APR, OpenSSL, and the Java headers.

+    </p>

+    

+    <p>

+      Requirements:

+      <ul>

+        <li>APR 1.2+ development headers (libapr1-dev package)</li>

+        <li>OpenSSL 0.9.7+ development headers (libssl-dev package)</li>

+        <li>JNI headers from Java compatible JDK 1.4+</li>

+        <li>GNU development environment (gcc, make)</li>

+      </ul>

+    </p>

+    

+    <p>

+      The wrapper library sources are located in the Tomcat binary bundle, in the 

+      <code>bin/tomcat-native.tar.gz</code> archive.

+      Once the build environment is installed and the source archive is extracted, the wrapper library 

+      can be compiled using (from the folder containing the configure script):

+      <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>./configure &amp;&amp; make &amp;&amp; make install</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    </p>

+    

+    </blockquote></td></tr></table>

+	

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="APR Components"><!--()--></a><a name="APR_Components"><strong>APR Components</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>

+    Once the libraries are properly installed and available to Java (if loading fails, the library path

+    will be displayed), the Tomcat connectors will automatically use APR. Configuration of the connectors

+    is similar to the regular connectors, but have a few extra attributes which are used to configure

+    APR components. Note that the defaults should be well tuned for most use cases, and additional

+    tweaking shouldn't be required.

+  </p>

+

+  <p>

+    When APR is enabled, the following features are also enabled in Tomcat:

+    <ul>

+      <li>Secure session ID generation by default on all platforms (platforms other than Linux required

+          random number generation using a configured entropy)</li>

+      <li>OS level statistics on memory usage and CPU usage by the Tomcat process are displayed by

+          the status servlet</li>

+    </ul>

+  </p>

+

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="APR Lifecycle Listener Configuration"><!--()--></a><a name="APR_Lifecycle_Listener_Configuration"><strong>APR Lifecycle Listener Configuration</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="AprLifecycleListener"><strong>AprLifecycleListener</strong></a></font></td></tr><tr><td><blockquote>

+    <attribute name="SSLEngine" required="false">

+    <p>

+      Name of the SSLEngine to use. off: Do not use SSL, on: Use SSL but no specific ENGINE.

+      The default value is <b>on</b>.

+      This initializes the native SSL engine, then enable the use of this engine in the connector 

+      using the <code>SSLEnabled</code> attribute. Example:

+      <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" /&gt;

+      </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    </p>

+    <p>See the <a href="http://www.openssl.org">Official OpenSSL 

+       website</a> for more details on SSL hardware engines and manufacturers.

+    </p>

+    </attribute>

+    </blockquote></td></tr></table>

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="APR Connectors Configuration"><!--()--></a><a name="APR_Connectors_Configuration"><strong>APR Connectors Configuration</strong></a></font></td></tr><tr><td><blockquote>

+

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="HTTP"><strong>HTTP</strong></a></font></td></tr><tr><td><blockquote>

+    

+    <p>

+      When APR is enabled, the HTTP connector will use sendfile for handling large static files (all such

+      files will be sent asynchronously using high performance kernel level calls), and will use 

+      a socket poller for keepalive, increasing scalability of the server.

+    </p>

+

+    <p>

+      The following attributes are supported in the HTTP APR connector in addition to the ones supported

+      in the regular HTTP connector:

+    </p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>keepAliveTimeout</code></td><td align="left" valign="center">

+      <p>The number of milliseconds this <strong>Connector</strong> will wait for

+       another HTTP request before closing the connection.

+       The default value is to use the value that has been set for the

+       connectionTimeout attribute. This value also controls the timeout interval which

+       is used for Comet connections.</p>

+    </td></tr><tr><td align="left" valign="center"><code>pollTime</code></td><td align="left" valign="center">

+      <p>Duration of a poll call. Lowering this value will slightly decrease latency of connections 

+      being kept alive in some cases, but will use more CPU as more poll calls are being made. The

+      default value is 2000 (5ms).</p>

+    </td></tr><tr><td align="left" valign="center"><code>pollerSize</code></td><td align="left" valign="center">

+      <p>Amount of sockets that the poller responsible for polling kept alive connections can hold at a

+      given time. Extra connections will be closed right away. The default value is 8192, corresponding to

+      8192 keepalive connections.</p>

+    </td></tr><tr><td align="left" valign="center"><code>pollerThreadCount</code></td><td align="left" valign="center">

+      <p>Number of threads used to poll kept alive connections. On Windows the

+      default is chosen so that the sockets managed by each thread is

+      less than 1024. For Linux the default is 1. Changing the default on

+      Windows is likely to have a negative performance impact.</p>

+    </td></tr><tr><td align="left" valign="center"><code>useSendfile</code></td><td align="left" valign="center">

+      <p>Use kernel level sendfile for certain static files. The default value is true.</p>

+    </td></tr><tr><td align="left" valign="center"><code>sendfileSize</code></td><td align="left" valign="center">

+      <p>Amount of sockets that the poller responsible for sending static files asynchronously can hold 

+      at a given time. Extra connections will be closed right away without any data being sent 

+      (resulting in a zero length file on the client side). Note that in most cases, sendfile is a call

+      that will return right away (being taken care of "synchronously" by the kernel), and the sendfile

+      poller will not be used, so the amount of static files which can be sent concurrently is much larger

+      than the specified amount. The default value is 1024.</p>

+    </td></tr><tr><td align="left" valign="center"><code>sendFileThreadCount</code></td><td align="left" valign="center">

+      <p>Number of threads used service sendfile sockets. On Windows the

+      default is chosen so that the sockets managed by each thread is

+      less than 1024. For Linux the default is 1. Changing the default on

+      Windows is likely to have a negative performance impact.</p>

+    </td></tr></table>

+    

+    </blockquote></td></tr></table>

+	

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="HTTPS"><strong>HTTPS</strong></a></font></td></tr><tr><td><blockquote>

+    

+    <p>

+      When APR is enabled, the HTTPS connector will use a socket poller for keepalive, increasing 

+      scalability of the server. It also uses OpenSSL, which may be more optimized than JSSE depending

+      on the processor being used, and can be complemented with many commercial accelerator components.

+      Unlike the HTTP connector, the HTTPS connector cannot use sendfile to optimize static file

+      processing.

+    </p>

+

+    <p>

+      The HTTPS APR connector has the same basic attributes than the HTTP APR connector, but adds 

+      OpenSSL specific ones. For the full details on using OpenSSL, please refer to OpenSSL documentations

+      and the many books available for it (see the <a href="http://www.openssl.org">Official OpenSSL 

+      website</a>). The SSL specific attributes for the connector are:

+    </p>

+    

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>SSLEnabled</code></td><td align="left" valign="center">

+    <p>

+      Enable SSL on the socket, default value is false. Set this value to true

+      to enable SSL handshake/encryption/decryption in the APR connector.

+    </p>

+    </td></tr><tr><td align="left" valign="center"><code>SSLProtocol</code></td><td align="left" valign="center">

+    <p>

+      Protocol which may be used for communicating with clients. The default

+      value is <code>all</code>, with other acceptable values being <code>SSLv2</code>,

+      <code>SSLv3</code>, <code>TLSv1</code> and <code>SSLv2+SSLv3</code>.

+      Starting with version 1.1.21 of the Tomcat native

+      library any combination of the three protocols concatenated with a

+      plus sign will be supported. Note that the protocol <code>SSLv2</code>

+      is inherently unsafe.

+    </p>

+    </td></tr><tr><td align="left" valign="center"><code>SSLCipherSuite</code></td><td align="left" valign="center">

+    <p>

+      Ciphers which may be used for communicating with clients. The default is "ALL", with

+      other acceptable values being a list of ciphers, with ":" used as the delimiter

+      (see OpenSSL documentation for the list of ciphers supported).

+    </p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>SSLCertificateFile</code></strong></td><td align="left" valign="center">

+    <p>

+      Name of the file that contains the server certificate. The format is PEM-encoded.

+    </p>

+    </td></tr><tr><td align="left" valign="center"><code>SSLCertificateKeyFile</code></td><td align="left" valign="center">

+    <p>

+      Name of the file that contains the server private key. The format is PEM-encoded.

+      The default value is the value of "SSLCertificateFile" and in this case both certificate

+      and private key have to be in this file (NOT RECOMMENDED).

+    </p>

+    </td></tr><tr><td align="left" valign="center"><code>SSLDisableCompression</code></td><td align="left" valign="center">

+      <p>Disables compression if set to <code>true</code> and OpenSSL supports

+      disabling compression. Default is <code>false</code> which inherits the

+      default compression setting in OpenSSL.</p>

+    </td></tr><tr><td align="left" valign="center"><code>SSLHonorCipherOrder</code></td><td align="left" valign="center">

+      <p>Set to <code>true</code> to enforce the server's cipher order

+      (from the <code>SSLCipherSuite</code> setting) instead of allowing

+      the client to choose the cipher (which is the default).</p>

+    </td></tr><tr><td align="left" valign="center"><code>SSLPassword</code></td><td align="left" valign="center">

+    <p>

+      Pass phrase for the encrypted private key. If "SSLPassword" is not provided, the callback function

+      should prompt for the pass phrase.

+    </p>

+    </td></tr><tr><td align="left" valign="center"><code>SSLVerifyClient</code></td><td align="left" valign="center">

+    <p>

+      Ask client for certificate. The default is "none", meaning the client will not have the opportunity

+      to submit a certificate. Other acceptable values include "optional", "require" and "optionalNoCA".

+    </p>

+    </td></tr><tr><td align="left" valign="center"><code>SSLVerifyDepth</code></td><td align="left" valign="center">

+    <p>

+      Maximum verification depth for client certificates. The default is "10".

+    </p>

+    </td></tr><tr><td align="left" valign="center"><code>SSLCACertificateFile</code></td><td align="left" valign="center">

+    <p>

+      See <a href="http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslcacertificatefile">the mod_ssl documentation</a>.

+    </p>

+    </td></tr><tr><td align="left" valign="center"><code>SSLCACertificatePath</code></td><td align="left" valign="center">

+    <p>

+      See <a href="http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslcacertificatepath">the mod_ssl documentation</a>.

+    </p>

+    </td></tr><tr><td align="left" valign="center"><code>SSLCertificateChainFile</code></td><td align="left" valign="center">

+    <p>

+      See <a href="http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslcertificatechainfile">the mod_ssl documentation</a>.

+    </p>

+    </td></tr><tr><td align="left" valign="center"><code>SSLCARevocationFile</code></td><td align="left" valign="center">

+    <p>

+      See <a href="http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslcarevocationfile">the mod_ssl documentation</a>.

+    </p>

+    </td></tr><tr><td align="left" valign="center"><code>SSLCARevocationPath</code></td><td align="left" valign="center">

+    <p>

+      See <a href="http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslcarevocationpath">the mod_ssl documentation</a>.

+    </p>

+    </td></tr></table>

+    

+    <p>

+    An example SSL Connector declaration can be:

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+    &lt;Connector port="443" maxHttpHeaderSize="8192"

+               maxThreads="150"

+               enableLookups="false" disableUploadTimeout="true"

+               acceptCount="100" scheme="https" secure="true"

+               SSLEnabled="true" 

+               SSLCertificateFile="${catalina.base}/conf/localhost.crt"

+               SSLCertificateKeyFile="${catalina.base}/conf/localhost.key" /&gt;</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    </p>

+    

+    </blockquote></td></tr></table>

+	

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="AJP"><strong>AJP</strong></a></font></td></tr><tr><td><blockquote>

+    

+    <p>

+      When APR is enabled, the AJP connector will use a socket poller for keepalive, increasing 

+      scalability of the server. As AJP is designed around a pool of persistent (or almost

+      persistent) connections, this will reduce significantly the amount of processing threads 

+      needed by Tomcat. Unlike the HTTP connector, the AJP connector cannot use sendfile to optimize

+      static file processing.

+    </p>

+

+    <p>

+      The following attributes are supported in the AJP APR connector in addition to the ones supported

+      in the regular AJP connector:

+    </p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>pollTime</code></td><td align="left" valign="center">

+      <p>Duration of a poll call. Lowering this value will slightly decrease latency of connections 

+      being kept alive in some cases, but will use more CPU as more poll calls are being made. The

+      default value is 2000 (5ms).</p>

+    </td></tr><tr><td align="left" valign="center"><code>pollerSize</code></td><td align="left" valign="center">

+      <p>Amount of sockets that the poller responsible for polling kept alive connections can hold at a

+      given time. Extra connections will be closed right away. The default value is 8192, corresponding to

+      8192 keepalive connections.</p>

+    </td></tr></table>

+    

+    </blockquote></td></tr></table>

+	

+  </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/architecture/index.html b/tomcat-uid/webapps/docs/architecture/index.html
new file mode 100644
index 0000000..b876e5d
--- /dev/null
+++ b/tomcat-uid/webapps/docs/architecture/index.html
@@ -0,0 +1,37 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Architecture (6.0.39) - Table of Contents</title><meta name="author" content="Yoav Shapira"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a href="index.html">Contents</a></li><li><a href="overview.html">Overview</a></li><li><a href="startup.html">Server Startup</a></li><li><a href="requestProcess.html">Request Process</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Architecture</h1><h2>Table of Contents</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Preface"><strong>Preface</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>This section of the Tomcat documentation attempts to explain

+the architecture and design of the Tomcat server.  It includes significant

+contributions from several tomcat developers:

+</p>

+<ul>

+<li>Yoav Shapira

+    (<a href="mailto:yoavs@apache.org">yoavs@apache.org</a>)</li>

+<li>Jeanfrancois Arcand

+    (<a href="mailto:jfarcand@apache.org">jfarcand@apache.org</a>)</li>

+<li>Filip Hanik

+    (<a href="mailto:fhanik@apache.org">fhanik@apache.org</a>)</li>

+</ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The information presented is divided into the following sections:</p>

+<ul>

+<li><a href="overview.html"><strong>Overview</strong></a> -

+    An overview of the Tomcat server architecture with key terms

+    and concepts.</li>

+<li><a href="startup.html"><strong>Server Startup</strong></a> -

+    A detailed description, with sequence diagrams, of how the Tomcat

+    server starts up.</li>

+<li><a href="requestProcess.html"><strong>Request Process Flow</strong></a> -

+    A detailed description of how Tomcat handles a request.</li>

+</ul>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/architecture/overview.html b/tomcat-uid/webapps/docs/architecture/overview.html
new file mode 100644
index 0000000..3327326
--- /dev/null
+++ b/tomcat-uid/webapps/docs/architecture/overview.html
@@ -0,0 +1,106 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Architecture (6.0.39) - Architecture Overview</title><meta name="author" content="Yoav Shapira"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a href="index.html">Contents</a></li><li><a href="overview.html">Overview</a></li><li><a href="startup.html">Server Startup</a></li><li><a href="requestProcess.html">Request Process</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Architecture</h1><h2>Architecture Overview</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Overview"><strong>Overview</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+This page provides an overview of the Tomcat server architecture.

+</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Terms"><strong>Terms</strong></a></font></td></tr><tr><td><blockquote>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Server"><strong>Server</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+In the Tomcat world, a

+<a href="../config/server.html">Server</a> represents the whole container.

+Tomcat provides a default implementation of the 

+<a href="../api/org/apache/catalina/Server.html">Server interface</a>

+which is rarely customized by users.

+</p>

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Service"><strong>Service</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+A <a href="../config/service.html">Service</a> is an intermediate component

+which lives inside a Server and ties one or more Connectors to exactly one

+Engine.  The Service element is rarely customized by users, as the default

+implementation is simple and sufficient:

+<a href="../api/org/apache/catalina/Service.html">Service interface</a>.

+</p>

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Engine"><strong>Engine</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+An

+<a href="../config/engine.html">Engine</a> represents request processing

+pipeline for a specific Service.  As a Service may have multiple Connectors,

+the Engine receives and processes all requests from these connectors, handing

+the response back to the appropriate connector for transmission to the client.

+The <a href="../api/org/apache/catalina/Engine.html">Engine interface</a>

+may be implemented to supply custom Engines, though this is uncommon.

+</p>

+<p>

+Note that the Engine may be used for Tomcat server clustering via the

+jvmRoute parameter.  Read the Clustering documentation for more information.

+</p>

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Host"><strong>Host</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+A <a href="../config/host.html">Host</a> is an association of a network name,

+e.g. www.yourcompany.com, to the Tomcat server.  An Engine may contain

+multiple hosts, and the Host element also supports network aliases such as

+yourcompany.com and abc.yourcompany.com.  Users rarely create custom

+<a href="../api/org/apache/catalina/Host.html">Hosts</a>

+because the 

+<a href="../api/org/apache/catalina/core/StandardHost.html">StandardHost

+implementation</a> provides significant additional functionality.

+</p>

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Connector"><strong>Connector</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+A Connector handles communications with the client.  There are multiple

+connectors available with Tomcat. These include the

+<a href="../config/http.html">HTTP connector</a> which is used for

+most HTTP traffic, especially when running Tomcat as a standalone server, 

+and the <a href="../config/ajp.html">AJP connector</a> which implements

+the AJP procotol used when connecting Tomcat to a web server such as

+Apache HTTPD server. Creating a customized connector is a significant

+effort.

+</p>

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Context"><strong>Context</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+A

+<a href="../config/context.html">Context</a>

+represents a web application.  A Host may contain multiple

+contexts, each with a unique path.  The

+<a href="../api/org/apache/catalina/Context.html">Context

+interface</a> may be implemented to create custom Contexts, but

+this is rarely the case because the

+<a href="../api/org/apache/catalina/core/StandardContext.html">

+StandardContext</a> provides significant additional functionality.

+</p>

+</blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Comments"><strong>Comments</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+Tomcat is designed to be a fast and efficient implementation of the

+Servlet Specification.  Tomcat came about as the reference implementation

+of this specification, and has remained rigorous in adhering to the

+specification.  At the same time, significant attention has been paid

+to Tomcat's performance and it is now on par with other servlet containers,

+including commercial ones.

+</p>

+<p>

+In recent releases of Tomcat, mostly starting with Tomcat 5,

+we have begun efforts to make more aspects of Tomcat manageable via

+JMX.  In addition, the Manager and Admin webapps have been greatly

+enhanced and improved.  Manageability is a primary area of concern

+for us as the product matures and the specification becomes more

+stable.

+</p>

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/architecture/requestProcess.html b/tomcat-uid/webapps/docs/architecture/requestProcess.html
new file mode 100644
index 0000000..0a80ca1
--- /dev/null
+++ b/tomcat-uid/webapps/docs/architecture/requestProcess.html
@@ -0,0 +1,40 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Architecture (6.0.39) - Request Process Flow</title><meta name="author" content="Yoav Shapira"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a href="index.html">Contents</a></li><li><a href="overview.html">Overview</a></li><li><a href="startup.html">Server Startup</a></li><li><a href="requestProcess.html">Request Process</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Architecture</h1><h2>Request Process Flow</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Request Process Flow"><!--()--></a><a name="Request_Process_Flow"><strong>Request Process Flow</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>

+This page describes the process used by Tomcat to handle

+an incoming request.  This process is largely defined by

+the Servlet Specification, which outlines the order

+of events that must take place.

+</p>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="description"><strong>description</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+TODO

+</p>

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="diagram"><strong>diagram</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+A UML sequence diagram of the request process is available

+<a href="requestProcess/requestProcess.pdf">here.</a>

+</p>

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="comments"><strong>comments</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+The Servlet Specification provides many opportunities for

+listening in (using Listeners) or modifying (using Filters)

+the request handling process even before the request arrives

+at the servlet that will handle it.

+</p>

+

+</blockquote></td></tr></table>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/architecture/requestProcess/requestProcess.pdf b/tomcat-uid/webapps/docs/architecture/requestProcess/requestProcess.pdf
new file mode 100644
index 0000000..6a171de
--- /dev/null
+++ b/tomcat-uid/webapps/docs/architecture/requestProcess/requestProcess.pdf
Binary files differ
diff --git a/tomcat-uid/webapps/docs/architecture/requestProcess/roseModel.mdl b/tomcat-uid/webapps/docs/architecture/requestProcess/roseModel.mdl
new file mode 100644
index 0000000..64ef567
--- /dev/null
+++ b/tomcat-uid/webapps/docs/architecture/requestProcess/roseModel.mdl
@@ -0,0 +1,12921 @@
+

+(object Petal

+    version    	45

+    _written   	"Rose 7.6.0109.2314"

+    charSet    	0)

+

+(object Design "Logical View"

+    is_unit    	TRUE

+    is_loaded  	TRUE

+    quid       	"3DFDF6CE0337"

+    defaults   	(object defaults

+	rightMargin 	0.250000

+	leftMargin 	0.250000

+	topMargin  	0.250000

+	bottomMargin 	0.500000

+	pageOverlap 	0.250000

+	clipIconLabels 	TRUE

+	autoResize 	TRUE

+	snapToGrid 	TRUE

+	gridX      	16

+	gridY      	16

+	defaultFont 	(object Font

+	    size       	10

+	    face       	"Arial"

+	    bold       	FALSE

+	    italics    	FALSE

+	    underline  	FALSE

+	    strike     	FALSE

+	    color      	0

+	    default_color 	TRUE)

+	showMessageNum 	1

+	showClassOfObject 	TRUE

+	notation   	"Unified")

+    root_usecase_package 	(object Class_Category "Use Case View"

+	quid       	"3DFDF6CE0369"

+	exportControl 	"Public"

+	global     	TRUE

+	logical_models 	(list unit_reference_list)

+	logical_presentations 	(list unit_reference_list

+	    (object UseCaseDiagram "Main"

+		quid       	"3DFDF6D201FE"

+		title      	"Main"

+		zoom       	100

+		max_height 	28350

+		max_width  	21600

+		origin_x   	0

+		origin_y   	0

+		items      	(list diagram_item_list))))

+    root_category 	(object Class_Category "Logical View"

+	quid       	"3DFDF6CE0338"

+	exportControl 	"Public"

+	global     	TRUE

+	subsystem  	"Component View"

+	quidu      	"3DFDF6CE036A"

+	logical_models 	(list unit_reference_list

+	    (object Class_Category "org.apache.catalina"

+		quid       	"3E42DE8D0082"

+		visible_categories 	(list visibility_relationship_list

+		    (object Visibility_Relationship

+			quid       	"3E42DEF601EB"

+			supplier   	"Logical View::org.apache.tomcat.util"

+			quidu      	"3E42DEDF01F2")

+		    (object Visibility_Relationship

+			quid       	"3E42DF700060"

+			supplier   	"Logical View::org.apache.coyote"

+			quidu      	"3E42DE9F0132")

+		    (object Visibility_Relationship

+			quid       	"3E43D165039C"

+			supplier   	"Logical View::org.apache.naming"

+			quidu      	"3E43D1580339"))

+		exportControl 	"Public"

+		logical_models 	(list unit_reference_list

+		    (object Class_Category "ant"

+			quid       	"3E42DFBB037F"

+			visible_categories 	(list visibility_relationship_list

+			    (object Visibility_Relationship

+				quid       	"3E43CFF7020F"

+				supplier   	"Logical View::org.apache.catalina::util"

+				quidu      	"3E42E0260184"))

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list))

+		    (object Class_Category "authenticator"

+			quid       	"3E42DFC702B4"

+			visible_categories 	(list visibility_relationship_list

+			    (object Visibility_Relationship

+				quid       	"3E43D03C0395"

+				supplier   	"Logical View::org.apache.catalina::deploy"

+				quidu      	"3E42DFDC0340")

+			    (object Visibility_Relationship

+				quid       	"3E43D03F01C2"

+				supplier   	"Logical View::org.apache.catalina::util"

+				quidu      	"3E42E0260184")

+			    (object Visibility_Relationship

+				quid       	"3E43D043024A"

+				supplier   	"Logical View::org.apache.catalina::valves"

+				quidu      	"3E42E02D035B"))

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list))

+		    (object Class_Category "connector"

+			quid       	"3E42DFCF036A"

+			visible_categories 	(list visibility_relationship_list

+			    (object Visibility_Relationship

+				quid       	"3E43D07E017D"

+				supplier   	"Logical View::org.apache.catalina::session"

+				quidu      	"3E42E00C026D"))

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list))

+		    (object Class_Category "core"

+			quid       	"3E42DFD603BA"

+			visible_categories 	(list visibility_relationship_list

+			    (object Visibility_Relationship

+				quid       	"3E43D19E01A9"

+				supplier   	"Logical View::org.apache.catalina::deploy"

+				quidu      	"3E42DFDC0340")

+			    (object Visibility_Relationship

+				quid       	"3E43D1A10185"

+				supplier   	"Logical View::org.apache.catalina::util"

+				quidu      	"3E42E0260184")

+			    (object Visibility_Relationship

+				quid       	"3E43D1CE007C"

+				supplier   	"Logical View::org.apache.catalina::connector"

+				quidu      	"3E42DFCF036A")

+			    (object Visibility_Relationship

+				quid       	"3E43D1D800D0"

+				supplier   	"Logical View::org.apache.catalina::security"

+				quidu      	"3E42E00100D7")

+			    (object Visibility_Relationship

+				quid       	"3E43D25C031F"

+				supplier   	"Logical View::org.apache.catalina::mbean"

+				quidu      	"3E42DFF10188")

+			    (object Visibility_Relationship

+				quid       	"3E43D260028E"

+				supplier   	"Logical View::org.apache.catalina::startup"

+				quidu      	"3E42E01E00EC")

+			    (object Visibility_Relationship

+				quid       	"3E43D26A015C"

+				supplier   	"Logical View::org.apache.catalina::session"

+				quidu      	"3E42E00C026D")

+			    (object Visibility_Relationship

+				quid       	"3E43D2830271"

+				supplier   	"Logical View::org.apache.catalina::valves"

+				quidu      	"3E42E02D035B")

+			    (object Visibility_Relationship

+				quid       	"3E43D2C80248"

+				supplier   	"Logical View::org.apache.catalina::net"

+				quidu      	"3E42DFF70227")

+			    (object Visibility_Relationship

+				quid       	"3E43D2D6002B"

+				supplier   	"Logical View::org.apache.catalina::loader"

+				quidu      	"3E43D2D002D6")

+			    (object Visibility_Relationship

+				quid       	"3E43D3D300F7"

+				supplier   	"Logical View::org.apache.naming"

+				quidu      	"3E43D1580339"))

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list))

+		    (object Class_Category "deploy"

+			quid       	"3E42DFDC0340"

+			visible_categories 	(list visibility_relationship_list

+			    (object Visibility_Relationship

+				quid       	"3E43D32001B8"

+				supplier   	"Logical View::org.apache.catalina::util"

+				quidu      	"3E42E0260184"))

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list))

+		    (object Class_Category "launcher"

+			quid       	"3E42DFE2033F"

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list))

+		    (object Class_Category "logger"

+			quid       	"3E42DFEC0285"

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list))

+		    (object Class_Category "mbean"

+			quid       	"3E42DFF10188"

+			visible_categories 	(list visibility_relationship_list

+			    (object Visibility_Relationship

+				quid       	"3E43D49101A5"

+				supplier   	"Logical View::org.apache.catalina::deploy"

+				quidu      	"3E42DFDC0340")

+			    (object Visibility_Relationship

+				quid       	"3E43D4C6027D"

+				supplier   	"Logical View::org.apache.catalina::core"

+				quidu      	"3E42DFD603BA")

+			    (object Visibility_Relationship

+				quid       	"3E43D4FB008F"

+				supplier   	"Logical View::org.apache.catalina::session"

+				quidu      	"3E42E00C026D")

+			    (object Visibility_Relationship

+				quid       	"3E43D50000BE"

+				supplier   	"Logical View::org.apache.catalina::valves"

+				quidu      	"3E42E02D035B")

+			    (object Visibility_Relationship

+				quid       	"3E43D5080278"

+				supplier   	"Logical View::org.apache.catalina::realm"

+				quidu      	"3E42DFFA00AE")

+			    (object Visibility_Relationship

+				quid       	"3E43D55A0258"

+				supplier   	"Logical View::org.apache.catalina::logger"

+				quidu      	"3E42DFEC0285")

+			    (object Visibility_Relationship

+				quid       	"3E43D56000D0"

+				supplier   	"Logical View::org.apache.catalina::authenticator"

+				quidu      	"3E42DFC702B4"))

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list))

+		    (object Class_Category "net"

+			quid       	"3E42DFF70227"

+			visible_categories 	(list visibility_relationship_list

+			    (object Visibility_Relationship

+				quid       	"3E43D6390371"

+				supplier   	"Logical View::org.apache.catalina::util"

+				quidu      	"3E42E0260184"))

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list))

+		    (object Class_Category "realm"

+			quid       	"3E42DFFA00AE"

+			visible_categories 	(list visibility_relationship_list

+			    (object Visibility_Relationship

+				quid       	"3E43D69F0133"

+				supplier   	"Logical View::org.apache.catalina::core"

+				quidu      	"3E42DFD603BA")

+			    (object Visibility_Relationship

+				quid       	"3E43D6A10353"

+				supplier   	"Logical View::org.apache.catalina::util"

+				quidu      	"3E42E0260184")

+			    (object Visibility_Relationship

+				quid       	"3E43D70E00E2"

+				supplier   	"Logical View::org.apache.naming"

+				quidu      	"3E43D1580339")

+			    (object Visibility_Relationship

+				quid       	"3E43D72302D7"

+				supplier   	"Logical View::org.apache.catalina::deploy"

+				quidu      	"3E42DFDC0340"))

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list))

+		    (object Class_Category "security"

+			quid       	"3E42E00100D7"

+			visible_categories 	(list visibility_relationship_list

+			    (object Visibility_Relationship

+				quid       	"3E43D74D007F"

+				supplier   	"Logical View::org.apache.catalina::startup"

+				quidu      	"3E42E01E00EC")

+			    (object Visibility_Relationship

+				quid       	"3E43D76B0371"

+				supplier   	"Logical View::org.apache.catalina::util"

+				quidu      	"3E42E0260184"))

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list))

+		    (object Class_Category "servlets"

+			quid       	"3E42E00502DB"

+			visible_categories 	(list visibility_relationship_list

+			    (object Visibility_Relationship

+				quid       	"3E43D82702E5"

+				supplier   	"Logical View::org.apache.tomcat.util"

+				quidu      	"3E42DEDF01F2")

+			    (object Visibility_Relationship

+				quid       	"3E43D82A02CC"

+				supplier   	"Logical View::org.apache.catalina::util"

+				quidu      	"3E42E0260184")

+			    (object Visibility_Relationship

+				quid       	"3E43D82D0244"

+				supplier   	"Logical View::org.apache.naming"

+				quidu      	"3E43D1580339"))

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list))

+		    (object Class_Category "session"

+			quid       	"3E42E00C026D"

+			visible_categories 	(list visibility_relationship_list

+			    (object Visibility_Relationship

+				quid       	"3E43D8770344"

+				supplier   	"Logical View::org.apache.catalina::util"

+				quidu      	"3E42E0260184"))

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list))

+		    (object Class_Category "ssi"

+			quid       	"3E42E01002C3"

+			visible_categories 	(list visibility_relationship_list

+			    (object Visibility_Relationship

+				quid       	"3E43D8F902B5"

+				supplier   	"Logical View::org.apache.catalina::util"

+				quidu      	"3E42E0260184"))

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list))

+		    (object Class_Category "startup"

+			quid       	"3E42E01E00EC"

+			visible_categories 	(list visibility_relationship_list

+			    (object Visibility_Relationship

+				quid       	"3E43D9150251"

+				supplier   	"Logical View::org.apache.catalina::logger"

+				quidu      	"3E42DFEC0285")

+			    (object Visibility_Relationship

+				quid       	"3E43D919018F"

+				supplier   	"Logical View::org.apache.catalina::security"

+				quidu      	"3E42E00100D7")

+			    (object Visibility_Relationship

+				quid       	"3E43D946000D"

+				supplier   	"Logical View::org.apache.catalina::core"

+				quidu      	"3E42DFD603BA")

+			    (object Visibility_Relationship

+				quid       	"3E43D95E012A"

+				supplier   	"Logical View::org.apache.catalina::loader"

+				quidu      	"3E43D2D002D6")

+			    (object Visibility_Relationship

+				quid       	"3E43D9960315"

+				supplier   	"Logical View::org.apache.catalina::util"

+				quidu      	"3E42E0260184")

+			    (object Visibility_Relationship

+				quid       	"3E43D99902BF"

+				supplier   	"Logical View::org.apache.catalina::valves"

+				quidu      	"3E42E02D035B")

+			    (object Visibility_Relationship

+				quid       	"3E43D99C0147"

+				supplier   	"Logical View::org.apache.catalina::deploy"

+				quidu      	"3E42DFDC0340")

+			    (object Visibility_Relationship

+				quid       	"3E43D9DA0114"

+				supplier   	"Logical View::org.apache.catalina::net"

+				quidu      	"3E42DFF70227")

+			    (object Visibility_Relationship

+				quid       	"3E43D9F402F2"

+				supplier   	"Logical View::org.apache.catalina::realm"

+				quidu      	"3E42DFFA00AE"))

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list))

+		    (object Class_Category "user"

+			quid       	"3E42E0220174"

+			visible_categories 	(list visibility_relationship_list

+			    (object Visibility_Relationship

+				quid       	"3E43DB240227"

+				supplier   	"Logical View::org.apache.catalina::util"

+				quidu      	"3E42E0260184")

+			    (object Visibility_Relationship

+				quid       	"3E43DB31009F"

+				supplier   	"Logical View::org.apache.naming"

+				quidu      	"3E43D1580339"))

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list))

+		    (object Class_Category "util"

+			quid       	"3E42E0260184"

+			visible_categories 	(list visibility_relationship_list

+			    (object Visibility_Relationship

+				quid       	"3E43DB85017C"

+				supplier   	"Logical View::org.apache.catalina::core"

+				quidu      	"3E42DFD603BA")

+			    (object Visibility_Relationship

+				quid       	"3E43DB88016C"

+				supplier   	"Logical View::org.apache.naming"

+				quidu      	"3E43D1580339"))

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list))

+		    (object Class_Category "valves"

+			quid       	"3E42E02D035B"

+			visible_categories 	(list visibility_relationship_list

+			    (object Visibility_Relationship

+				quid       	"3E43DC2B0257"

+				supplier   	"Logical View::org.apache.catalina::util"

+				quidu      	"3E42E0260184")

+			    (object Visibility_Relationship

+				quid       	"3E43DD3E0271"

+				supplier   	"Logical View::org.apache.catalina::deploy"

+				quidu      	"3E42DFDC0340")

+			    (object Visibility_Relationship

+				quid       	"3E43DD4102CF"

+				supplier   	"Logical View::org.apache.catalina::connector"

+				quidu      	"3E42DFCF036A")

+			    (object Visibility_Relationship

+				quid       	"3E43DDDE00B8"

+				supplier   	"Logical View::org.apache.catalina::core"

+				quidu      	"3E42DFD603BA"))

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list))

+		    (object Class_Category "loader"

+			quid       	"3E43D2D002D6"

+			visible_categories 	(list visibility_relationship_list

+			    (object Visibility_Relationship

+				quid       	"3E43D3CF00F2"

+				supplier   	"Logical View::org.apache.naming"

+				quidu      	"3E43D1580339"))

+			exportControl 	"Public"

+			logical_models 	(list unit_reference_list)

+			logical_presentations 	(list unit_reference_list)))

+		logical_presentations 	(list unit_reference_list

+		    (object ClassDiagram "Main"

+			quid       	"3E42DFB6010B"

+			title      	"Main"

+			zoom       	100

+			max_height 	28350

+			max_width  	21600

+			origin_x   	0

+			origin_y   	0

+			items      	(list diagram_item_list

+			    (object CategoryView "Logical View::org.apache.catalina::ant" @1

+				location   	(2208, 1504)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@1

+				    location   	(2064, 1420)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"ant")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42DFBB037F"

+				width      	300

+				height     	180)

+			    (object CategoryView "Logical View::org.apache.catalina::authenticator" @2

+				location   	(192, 2000)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@2

+				    location   	(48, 1916)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"authenticator")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42DFC702B4"

+				width      	300

+				height     	180)

+			    (object CategoryView "Logical View::org.apache.catalina::connector" @3

+				location   	(464, 1328)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@3

+				    location   	(320, 1244)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"connector")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42DFCF036A"

+				width      	300

+				height     	180)

+			    (object CategoryView "Logical View::org.apache.catalina::core" @4

+				location   	(2224, 800)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@4

+				    location   	(2080, 716)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"core")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42DFD603BA"

+				width      	300

+				height     	180)

+			    (object CategoryView "Logical View::org.apache.catalina::deploy" @5

+				location   	(240, 160)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@5

+				    location   	(96, 76)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"deploy")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42DFDC0340"

+				width      	300

+				height     	180)

+			    (object CategoryView "Logical View::org.apache.catalina::launcher" @6

+				location   	(1776, 2480)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@6

+				    location   	(1632, 2396)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"launcher")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42DFE2033F"

+				width      	300

+				height     	180)

+			    (object CategoryView "Logical View::org.apache.catalina::logger" @7

+				location   	(752, 128)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@7

+				    location   	(608, 44)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"logger")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42DFEC0285"

+				width      	300

+				height     	180)

+			    (object CategoryView "Logical View::org.apache.catalina::mbean" @8

+				location   	(2208, 1216)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@8

+				    location   	(2064, 1132)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"mbean")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42DFF10188"

+				width      	300

+				height     	180)

+			    (object CategoryView "Logical View::org.apache.catalina::net" @9

+				location   	(1056, 2496)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@9

+				    location   	(912, 2412)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"net")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42DFF70227"

+				width      	300

+				height     	180)

+			    (object CategoryView "Logical View::org.apache.catalina::realm" @10

+				location   	(1248, 112)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@10

+				    location   	(1104, 28)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"realm")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42DFFA00AE"

+				width      	300

+				height     	180)

+			    (object CategoryView "Logical View::org.apache.catalina::security" @11

+				location   	(304, 2496)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@11

+				    location   	(160, 2412)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"security")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42E00100D7"

+				width      	300

+				height     	180)

+			    (object CategoryView "Logical View::org.apache.catalina::servlets" @12

+				location   	(2096, 1888)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@12

+				    location   	(1952, 1804)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"servlets")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42E00502DB"

+				width      	300

+				height     	180)

+			    (object CategoryView "Logical View::org.apache.catalina::session" @13

+				location   	(432, 1696)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@13

+				    location   	(288, 1612)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"session")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42E00C026D"

+				width      	300

+				height     	180)

+			    (object CategoryView "Logical View::org.apache.catalina::ssi" @14

+				location   	(672, 2480)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@14

+				    location   	(528, 2393)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"ssi")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42E01002C3"

+				width      	301

+				height     	187)

+			    (object CategoryView "Logical View::org.apache.catalina::startup" @15

+				location   	(1088, 832)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@15

+				    location   	(944, 748)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"startup")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42E01E00EC"

+				width      	300

+				height     	180)

+			    (object CategoryView "Logical View::org.apache.catalina::user" @16

+				location   	(1424, 2496)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@16

+				    location   	(1280, 2412)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"user")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42E0220174"

+				width      	300

+				height     	180)

+			    (object CategoryView "Logical View::org.apache.catalina::util" @17

+				location   	(1312, 1872)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@17

+				    location   	(1168, 1788)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"util")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42E0260184"

+				width      	300

+				height     	180)

+			    (object CategoryView "Logical View::org.apache.catalina::valves" @18

+				location   	(304, 704)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@18

+				    location   	(160, 620)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"valves")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42E02D035B"

+				width      	300

+				height     	180)

+			    (object ImportView "" @19

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43CFF7020F"

+				client     	@1

+				supplier   	@17

+				line_style 	0)

+			    (object ImportView "" @20

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D07E017D"

+				client     	@3

+				supplier   	@13

+				line_style 	0)

+			    (object CategoryView "Logical View::org.apache.catalina::loader" @21

+				location   	(2240, 416)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@21

+				    location   	(2096, 332)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	288

+				    justify    	0

+				    label      	"loader")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E43D2D002D6"

+				width      	300

+				height     	180)

+			    (object ImportView "" @22

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D32001B8"

+				client     	@5

+				supplier   	@17

+				line_style 	0)

+			    (object CategoryView "Logical View::org.apache.naming" @23

+				location   	(1872, 96)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@23

+				    location   	(1699, 12)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	346

+				    justify    	0

+				    label      	"org.apache.naming")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E43D1580339"

+				width      	358

+				height     	180)

+			    (object ImportView "" @24

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D3CF00F2"

+				client     	@21

+				supplier   	@23

+				line_style 	0)

+			    (object ImportView "" @25

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D6390371"

+				client     	@9

+				supplier   	@17

+				line_style 	0)

+			    (object ImportView "" @26

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D69F0133"

+				client     	@10

+				supplier   	@4

+				line_style 	0)

+			    (object ImportView "" @27

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D6A10353"

+				client     	@10

+				supplier   	@17

+				line_style 	0)

+			    (object ImportView "" @28

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D70E00E2"

+				client     	@10

+				supplier   	@23

+				line_style 	0)

+			    (object ImportView "" @29

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D72302D7"

+				client     	@10

+				supplier   	@5

+				line_style 	0)

+			    (object ImportView "" @30

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D69F0133"

+				client     	@10

+				supplier   	@4

+				line_style 	0)

+			    (object ImportView "" @31

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D74D007F"

+				client     	@11

+				supplier   	@15

+				line_style 	0)

+			    (object ImportView "" @32

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D76B0371"

+				client     	@11

+				supplier   	@17

+				line_style 	0)

+			    (object CategoryView "Logical View::org.apache.tomcat.util" @33

+				location   	(2096, 2224)

+				font       	(object Font

+				    size       	10

+				    face       	"Arial"

+				    bold       	FALSE

+				    italics    	FALSE

+				    underline  	FALSE

+				    strike     	FALSE

+				    color      	0

+				    default_color 	TRUE)

+				label      	(object ItemLabel

+				    Parent_View 	@33

+				    location   	(1923, 2140)

+				    fill_color 	13434879

+				    nlines     	2

+				    max_width  	346

+				    justify    	0

+				    label      	"org.apache.tomcat.util")

+				icon_style 	"Icon"

+				line_color 	3342489

+				fill_color 	13434879

+				quidu      	"3E42DEDF01F2"

+				width      	358

+				height     	180)

+			    (object ImportView "" @34

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D8770344"

+				client     	@13

+				supplier   	@17

+				line_style 	0)

+			    (object ImportView "" @35

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D8F902B5"

+				client     	@14

+				supplier   	@17

+				line_style 	0)

+			    (object ImportView "" @36

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43DB240227"

+				client     	@16

+				supplier   	@17

+				line_style 	0)

+			    (object ImportView "" @37

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43DB31009F"

+				client     	@16

+				supplier   	@23

+				line_style 	0)

+			    (object ImportView "" @38

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43DB85017C"

+				client     	@17

+				supplier   	@4

+				line_style 	0)

+			    (object ImportView "" @39

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43DB88016C"

+				client     	@17

+				supplier   	@23

+				line_style 	0)

+			    (object ImportView "" @40

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D82702E5"

+				client     	@12

+				supplier   	@33

+				line_style 	0)

+			    (object ImportView "" @41

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D82A02CC"

+				client     	@12

+				supplier   	@17

+				line_style 	0)

+			    (object ImportView "" @42

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D82D0244"

+				client     	@12

+				supplier   	@23

+				vertices   	(list Points

+				    (2060, 1743)

+				    (1746, 447)

+				    (1838, 186))

+				line_style 	0)

+			    (object ImportView "" @43

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D919018F"

+				client     	@15

+				supplier   	@11

+				line_style 	0)

+			    (object ImportView "" @44

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D946000D"

+				client     	@15

+				supplier   	@4

+				line_style 	0)

+			    (object ImportView "" @45

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D95E012A"

+				client     	@15

+				supplier   	@21

+				line_style 	0)

+			    (object ImportView "" @46

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D95E012A"

+				client     	@15

+				supplier   	@21

+				line_style 	0)

+			    (object ImportView "" @47

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D9960315"

+				client     	@15

+				supplier   	@17

+				line_style 	0)

+			    (object ImportView "" @48

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D99902BF"

+				client     	@15

+				supplier   	@18

+				line_style 	0)

+			    (object ImportView "" @49

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D99C0147"

+				client     	@15

+				supplier   	@5

+				line_style 	0)

+			    (object ImportView "" @50

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D946000D"

+				client     	@15

+				supplier   	@4

+				line_style 	0)

+			    (object ImportView "" @51

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D9150251"

+				client     	@15

+				supplier   	@7

+				line_style 	0)

+			    (object ImportView "" @52

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D9DA0114"

+				client     	@15

+				supplier   	@9

+				line_style 	0)

+			    (object ImportView "" @53

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D9F402F2"

+				client     	@15

+				supplier   	@10

+				line_style 	0)

+			    (object ImportView "" @54

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D9960315"

+				client     	@15

+				supplier   	@17

+				line_style 	0)

+			    (object ImportView "" @55

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D946000D"

+				client     	@15

+				supplier   	@4

+				line_style 	0)

+			    (object ImportView "" @56

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D99C0147"

+				client     	@15

+				supplier   	@5

+				line_style 	0)

+			    (object ImportView "" @57

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D49101A5"

+				client     	@8

+				supplier   	@5

+				line_style 	0)

+			    (object ImportView "" @58

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D4C6027D"

+				client     	@8

+				supplier   	@4

+				line_style 	0)

+			    (object ImportView "" @59

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D4FB008F"

+				client     	@8

+				supplier   	@13

+				line_style 	0)

+			    (object ImportView "" @60

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D50000BE"

+				client     	@8

+				supplier   	@18

+				vertices   	(list Points

+				    (2057, 1216)

+				    (1278, 1216)

+				    (454, 783))

+				line_style 	0)

+			    (object ImportView "" @61

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D5080278"

+				client     	@8

+				supplier   	@10

+				line_style 	0)

+			    (object ImportView "" @62

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D55A0258"

+				client     	@8

+				supplier   	@7

+				line_style 	0)

+			    (object ImportView "" @63

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D56000D0"

+				client     	@8

+				supplier   	@2

+				line_style 	0)

+			    (object ImportView "" @64

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D19E01A9"

+				client     	@4

+				supplier   	@5

+				line_style 	0)

+			    (object ImportView "" @65

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D1A10185"

+				client     	@4

+				supplier   	@17

+				line_style 	0)

+			    (object ImportView "" @66

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D1CE007C"

+				client     	@4

+				supplier   	@3

+				line_style 	0)

+			    (object ImportView "" @67

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D1D800D0"

+				client     	@4

+				supplier   	@11

+				vertices   	(list Points

+				    (2081, 890)

+				    (959, 1616)

+				    (409, 2351))

+				line_style 	0)

+			    (object ImportView "" @68

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D25C031F"

+				client     	@4

+				supplier   	@8

+				line_style 	0)

+			    (object ImportView "" @69

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D260028E"

+				client     	@4

+				supplier   	@15

+				line_style 	0)

+			    (object ImportView "" @70

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D26A015C"

+				client     	@4

+				supplier   	@13

+				line_style 	0)

+			    (object ImportView "" @71

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D2830271"

+				client     	@4

+				supplier   	@18

+				line_style 	0)

+			    (object ImportView "" @72

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D2C80248"

+				client     	@4

+				supplier   	@9

+				line_style 	0)

+			    (object ImportView "" @73

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D2D6002B"

+				client     	@4

+				supplier   	@21

+				line_style 	0)

+			    (object ImportView "" @74

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D3D300F7"

+				client     	@4

+				supplier   	@23

+				line_style 	0)

+			    (object ImportView "" @75

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D03C0395"

+				client     	@2

+				supplier   	@5

+				vertices   	(list Points

+				    (171, 1855)

+				    (16, 766)

+				    (205, 250))

+				line_style 	0)

+			    (object ImportView "" @76

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D03F01C2"

+				client     	@2

+				supplier   	@17

+				line_style 	0)

+			    (object ImportView "" @77

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43D043024A"

+				client     	@2

+				supplier   	@18

+				line_style 	0)

+			    (object ImportView "" @78

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43DC2B0257"

+				client     	@18

+				supplier   	@17

+				line_style 	0)

+			    (object ImportView "" @79

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43DD3E0271"

+				client     	@18

+				supplier   	@5

+				line_style 	0)

+			    (object ImportView "" @80

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43DD4102CF"

+				client     	@18

+				supplier   	@3

+				line_style 	0)

+			    (object ImportView "" @81

+				stereotype 	TRUE

+				line_color 	3342489

+				quidu      	"3E43DDDE00B8"

+				client     	@18

+				supplier   	@4

+				vertices   	(list Points

+				    (454, 654)

+				    (1293, 381)

+				    (2073, 731))

+				line_style 	0)))))

+	    (object Class_Category "org.apache.coyote"

+		quid       	"3E42DE9F0132"

+		visible_categories 	(list visibility_relationship_list

+		    (object Visibility_Relationship

+			quid       	"3E42DEFC00B3"

+			supplier   	"Logical View::org.apache.tomcat.util"

+			quidu      	"3E42DEDF01F2"))

+		exportControl 	"Public"

+		logical_models 	(list unit_reference_list)

+		logical_presentations 	(list unit_reference_list))

+	    (object Class_Category "org.apache.tomcat.util"

+		quid       	"3E42DEDF01F2"

+		exportControl 	"Public"

+		logical_models 	(list unit_reference_list)

+		logical_presentations 	(list unit_reference_list))

+	    (object Class_Category "org.apache.jasper"

+		quid       	"3E42DEFF0270"

+		exportControl 	"Public"

+		logical_models 	(list unit_reference_list)

+		logical_presentations 	(list unit_reference_list))

+	    (object Class_Category "org.apache.naming"

+		quid       	"3E43D1580339"

+		exportControl 	"Public"

+		logical_models 	(list unit_reference_list)

+		logical_presentations 	(list unit_reference_list))

+	    (object Mechanism @82

+		logical_models 	(list unit_reference_list

+		    (object Object "Bootstrap"

+			quid       	"3DFDF8FD0345"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFDF9210008"

+				supplier   	"Bootstrap"

+				quidu      	"3DFDF8FD0345"

+				messages   	(list Messages

+				    (object Message "initClassLoaders()"

+					quid       	"3DFDF9210009"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1"

+					ordinal    	0

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFDF91A010C"

+				supplier   	"Catalina"

+				quidu      	"3DFDF90A0330"

+				messages   	(list Messages

+				    (object Message "newInstance()"

+					quid       	"3DFDF91A010D"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2"

+					ordinal    	1

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "setParentClassLoader()"

+					quid       	"3DFDF97900C2"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3"

+					ordinal    	2

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "load()"

+					quid       	"3DFDFA3402F2"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"4"

+					ordinal    	3

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "Digester"

+			quid       	"3DFDFAF201A1"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFDFB8400A6"

+				supplier   	"ServerLifecycleListener"

+				quidu      	"3DFDFB4B0217"

+				messages   	(list Messages

+				    (object Message "newInstance()"

+					quid       	"3DFDFB8400A7"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"9.1"

+					ordinal    	9

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFDFB920147"

+				supplier   	"GlobalResourcesLifecycleListener"

+				quidu      	"3DFDFB7A02AB"

+				messages   	(list Messages

+				    (object Message "newInstance()"

+					quid       	"3DFDFB920148"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"9.2"

+					ordinal    	10

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "ServerLifecycleListener"

+			quid       	"3DFDFB4B0217"

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "GlobalResourcesLifecycleListener"

+			quid       	"3DFDFB7A02AB"

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "SecurityConfig"

+			quid       	"3DFDFBD802BA"

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "Catalina"

+			quid       	"3DFDF90A0330"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFDFA8001D9"

+				supplier   	"Catalina"

+				quidu      	"3DFDF90A0330"

+				messages   	(list Messages

+				    (object Message "initDirs()"

+					quid       	"3DFDFA8001DA"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"5"

+					ordinal    	4

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "initNaming()"

+					quid       	"3DFDFA8B0347"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"6"

+					ordinal    	5

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "initialize()"

+					quid       	"3DFDFAAD01AC"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"7"

+					ordinal    	6

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFDFAF800C3"

+				supplier   	"Digester"

+				quidu      	"3DFDFAF201A1"

+				messages   	(list Messages

+				    (object Message "createDigester()"

+					quid       	"3DFDFAF800C4"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"8"

+					ordinal    	7

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "parse()"

+					quid       	"3DFDFB0100B2"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"9"

+					ordinal    	8

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFDFBEA00C1"

+				supplier   	"SecurityConfig"

+				quidu      	"3DFDFBD802BA"

+				messages   	(list Messages

+				    (object Message "newInstance()"

+					quid       	"3DFDFBEA00C2"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"10"

+					ordinal    	11

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "setPackageDefinition()"

+					quid       	"3DFDFBF401F2"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"11"

+					ordinal    	12

+					Operation  	"setPackageDefinition"

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "setPackageAccess()"

+					quid       	"3DFDFC1203C2"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"12"

+					ordinal    	13

+					Operation  	"setPackageAccess"

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)))

+	    (object Mechanism @83

+		logical_models 	(list unit_reference_list

+		    (object Object "Catalina"

+			quid       	"3DFDFC8F015F"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFDFD1F0075"

+				supplier   	"StandardServer"

+				quidu      	"3DFDFCCB006B"

+				messages   	(list Messages

+				    (object Message "initialize()"

+					quid       	"3DFDFD1F0076"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1"

+					ordinal    	0

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardServer"

+			quid       	"3DFDFCCB006B"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFDFD3D01C3"

+				supplier   	"StandardService"

+				quidu      	"3DFDFD370020"

+				messages   	(list Messages

+				    (object Message "initialize()"

+					quid       	"3DFDFD3D01C4"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2"

+					ordinal    	1

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardService"

+			quid       	"3DFDFD370020"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFDFE990304"

+				supplier   	"CoyoteConnector"

+				quidu      	"3DFDFE810313"

+				messages   	(list Messages

+				    (object Message "initialize()"

+					quid       	"3DFDFE990305"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2.1"

+					ordinal    	2

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "CoyoteConnector"

+			quid       	"3DFDFE810313"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE013D0216"

+				supplier   	"CoyoteAdapter"

+				quidu      	"3DFDFFA00226"

+				messages   	(list Messages

+				    (object Message "new()"

+					quid       	"3DFE013D0217"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2.1.1"

+					ordinal    	3

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE0183032F"

+				supplier   	"Http11Protocol"

+				quidu      	"3DFE016601A6"

+				messages   	(list Messages

+				    (object Message "new()"

+					quid       	"3DFE01830330"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2.1.2"

+					ordinal    	4

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "init()"

+					quid       	"3DFE0188032C"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2.1.3"

+					ordinal    	5

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE01BC038B"

+				supplier   	"JkCoyoteAdapter"

+				quidu      	"3DFE01AD01A8"

+				messages   	(list Messages

+				    (object Message "new()"

+					quid       	"3DFE01BC038C"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2.1.4"

+					ordinal    	6

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "init()"

+					quid       	"3DFE01C30164"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2.1.5"

+					ordinal    	7

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "CoyoteAdapter"

+			quid       	"3DFDFFA00226"

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "Http11Protocol"

+			quid       	"3DFE016601A6"

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "JkCoyoteAdapter"

+			quid       	"3DFE01AD01A8"

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)))

+	    (object Mechanism @84

+		logical_models 	(list unit_reference_list

+		    (object Object "Bootstrap"

+			quid       	"3DFE027700F5"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE02830373"

+				supplier   	"Catalina"

+				quidu      	"3DFE027D0067"

+				messages   	(list Messages

+				    (object Message "start()"

+					quid       	"3DFE02830374"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1"

+					ordinal    	0

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "Catalina"

+			quid       	"3DFE027D0067"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE02BA0187"

+				supplier   	"StandardServer"

+				quidu      	"3DFE02B30015"

+				messages   	(list Messages

+				    (object Message "start()"

+					quid       	"3DFE02BA0188"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.1"

+					ordinal    	1

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardServer"

+			quid       	"3DFE02B30015"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE02D3006B"

+				supplier   	"StandardServer"

+				quidu      	"3DFE02B30015"

+				messages   	(list Messages

+				    (object Message "fireLifecycleEvent(BEFORE_START_EVENT)"

+					quid       	"3DFE02D3006C"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.1.1"

+					ordinal    	2

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "fireLifecycleEvent(START_EVENT)"

+					quid       	"3DFE02DF02DF"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.1.2"

+					ordinal    	3

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE030C02B2"

+				supplier   	"StandardService"

+				quidu      	"3DFE030400E3"

+				messages   	(list Messages

+				    (object Message "start()"

+					quid       	"3DFE030C02B3"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.1.3"

+					ordinal    	4

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardService"

+			quid       	"3DFE030400E3"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE031D0021"

+				supplier   	"StandardService"

+				quidu      	"3DFE030400E3"

+				messages   	(list Messages

+				    (object Message "fireLifecycleEvent(BEFORE_START_EVENT)"

+					quid       	"3DFE031D0022"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.1.3.1"

+					ordinal    	5

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "fireLifecycleEvent(START_EVENT)"

+					quid       	"3DFE0330019B"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.1.3.2"

+					ordinal    	6

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE03700189"

+				supplier   	"StandardEngine"

+				quidu      	"3DFE034700C2"

+				messages   	(list Messages

+				    (object Message "start()"

+					quid       	"3DFE0370018A"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.1.3.3"

+					ordinal    	7

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardEngine"

+			quid       	"3DFE034700C2"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE03750050"

+				supplier   	"StandardEngine"

+				quidu      	"3DFE034700C2"

+				messages   	(list Messages

+				    (object Message "fireLifecycleEvent(BEFORE_START_EVENT)"

+					quid       	"3DFE03750051"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2"

+					ordinal    	8

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "addDefaultMapper()"

+					quid       	"3DFE0389001C"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3"

+					ordinal    	9

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "logger.start()"

+					quid       	"3DFE03980281"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"4"

+					ordinal    	10

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "realm.start()"

+					quid       	"3DFE03A80107"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"5"

+					ordinal    	11

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "findMappers()"

+					quid       	"3DFE03BD000D"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"6"

+					ordinal    	12

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "findChildren()"

+					quid       	"3DFE03E000A4"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"7"

+					ordinal    	13

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE03FB0279"

+				supplier   	"StandardHost"

+				quidu      	"3DFE03F2035D"

+				messages   	(list Messages

+				    (object Message "start()"

+					quid       	"3DFE03FB027A"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"8"

+					ordinal    	14

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardHost"

+			quid       	"3DFE03F2035D"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE043B02AD"

+				supplier   	"StandardHost"

+				quidu      	"3DFE03F2035D"

+				messages   	(list Messages

+				    (object Message "fireLifecycleEvent(BEFORE_START_EVENT)"

+					quid       	"3DFE043B02AE"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"8.1"

+					ordinal    	15

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "addDefaultMapper()"

+					quid       	"3DFE045C021F"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"8.2"

+					ordinal    	16

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "logger.start()"

+					quid       	"3DFE049B000C"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"8.3"

+					ordinal    	17

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "findMapper()"

+					quid       	"3DFE04A303BB"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"8.4"

+					ordinal    	18

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "findChildren()"

+					quid       	"3DFE04A90342"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"8.5"

+					ordinal    	19

+					Operation  	"findChildren"

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE048E00B8"

+				supplier   	"StandardPipeline"

+				quidu      	"3DFE047D006D"

+				messages   	(list Messages

+				    (object Message "start()"

+					quid       	"3DFE048E00B9"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"8.6"

+					ordinal    	20

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardPipeline"

+			quid       	"3DFE047D006D"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE05780137"

+				supplier   	"StandardPipeline"

+				quidu      	"3DFE047D006D"

+				messages   	(list Messages

+				    (object Message "fireLifecycleEvent(BEFORE_START_EVENT)"

+					quid       	"3DFE05780138"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"8.6.1"

+					ordinal    	21

+					Operation  	"fireLifecycleEvent(AFTER_START_EVENT)"

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "fireLifecycleEvent(START_EVENT)"

+					quid       	"3DFE05A80398"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"8.6.2"

+					ordinal    	22

+					Operation  	"fireLifecycleEvent(BEFORE_START_EVENT)"

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "fireLifecycleEvent(AFTER_EVENT)"

+					quid       	"3DFE05BA0196"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"8.6.3"

+					ordinal    	23

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)))

+	    (object Mechanism @85

+		logical_models 	(list unit_reference_list

+		    (object Object "StandardHost"

+			quid       	"3DFE0538017B"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE066C0340"

+				supplier   	"StandardHost"

+				quidu      	"3DFE0538017B"

+				messages   	(list Messages

+				    (object Message "fireLifecycleEvent(START_EVENT)"

+					quid       	"3DFE066C0341"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1"

+					ordinal    	0

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE06D20293"

+				supplier   	"HostConfig"

+				quidu      	"3DFE06A60131"

+				messages   	(list Messages

+				    (object Message "interested[i].lifecycleEvent()"

+					quid       	"3DFE06D20294"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2"

+					ordinal    	1

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "install()"

+					quid       	"3DFE078B03BB"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"ToClientFromSupplier"

+					sequence   	"2.6"

+					ordinal    	7

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "install()"

+					quid       	"3DFE132D0309"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"ToClientFromSupplier"

+					sequence   	"5"

+					ordinal    	13

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE07B100BD"

+				supplier   	"StandardHostDeployer"

+				quidu      	"3DFE079A0055"

+				messages   	(list Messages

+				    (object Message "install()"

+					quid       	"3DFE07B100BE"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3"

+					ordinal    	8

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "install() // same as above"

+					quid       	"3DFE133A036C"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"6"

+					ordinal    	17

+					Operation  	"install()"

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "HostConfig"

+			quid       	"3DFE06A60131"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE06E9028C"

+				supplier   	"HostConfig"

+				quidu      	"3DFE06A60131"

+				messages   	(list Messages

+				    (object Message "setDeployXML()"

+					quid       	"3DFE06E9028D"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2.1"

+					ordinal    	2

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "setLiveDeploy()"

+					quid       	"3DFE06F300FF"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2.2"

+					ordinal    	3

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "setUnpacksWar()"

+					quid       	"3DFE06FB00D9"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2.3"

+					ordinal    	4

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "setXMLValidation()"

+					quid       	"3DFE070C0015"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2.4"

+					ordinal    	5

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "deployDescriptors()"

+					quid       	"3DFE073B0031"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2.5"

+					ordinal    	6

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "deployApps()"

+					quid       	"3DFE131F0327"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"4"

+					ordinal    	12

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardHostDeployer"

+			quid       	"3DFE079A0055"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE07D200EC"

+				supplier   	"Digester"

+				quidu      	"3DFE07C9034C"

+				messages   	(list Messages

+				    (object Message "create()"

+					quid       	"3DFE07D200ED"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1"

+					ordinal    	9

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "parse()"

+					quid       	"3DFE07D603D7"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.6"

+					ordinal    	16

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "add(ContextRuleSet)"

+					quid       	"3DFE08FA003D"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.3"

+					ordinal    	11

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE087D01E2"

+				supplier   	"StandardHostDeployer"

+				quidu      	"3DFE079A0055")

+			    (object Link

+				quid       	"3DFE08DA029A"

+				supplier   	"ContextRuleSet"

+				quidu      	"3DFE0834016F"

+				messages   	(list Messages

+				    (object Message "new()"

+					quid       	"3DFE08DA029B"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.2"

+					ordinal    	10

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "add(NamingRuleSet())"

+					quid       	"3DFE0907015F"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.5"

+					ordinal    	15

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE08E00090"

+				supplier   	"NamingRuleSet"

+				quidu      	"3DFE08D00173"

+				messages   	(list Messages

+				    (object Message "new()"

+					quid       	"3DFE08E00091"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.4"

+					ordinal    	14

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "Digester"

+			quid       	"3DFE07C9034C"

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "ContextRuleSet"

+			quid       	"3DFE0834016F"

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "NamingRuleSet"

+			quid       	"3DFE08D00173"

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)))

+	    (object Mechanism @86

+		logical_models 	(list unit_reference_list

+		    (object Object "Digester"

+			quid       	"3DFE095A0371"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE0E7801DA"

+				supplier   	"Digester"

+				quidu      	"3DFE095A0371"

+				messages   	(list Messages

+				    (object Message "parse"

+					quid       	"3DFE0E7801DB"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1"

+					ordinal    	0

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "startElement()"

+					quid       	"3DFE0F2F03D2"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2"

+					ordinal    	1

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE0F400213"

+				supplier   	"Rule"

+				quidu      	"3DFE0E7400D0"

+				messages   	(list Messages

+				    (object Message "begin()"

+					quid       	"3DFE0F400214"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3"

+					ordinal    	2

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "Rule"

+			quid       	"3DFE0E7400D0"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE0FD30265"

+				supplier   	"StandardContext"

+				quidu      	"3DFE0FC502A1"

+				messages   	(list Messages

+				    (object Message "newInstance()"

+					quid       	"3DFE0FD30266"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1"

+					ordinal    	3

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE102002E8"

+				supplier   	"SetPropertiesRule"

+				quidu      	"3DFE100303A4"

+				messages   	(list Messages

+				    (object Message "begin()"

+					quid       	"3DFE102002E9"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.2"

+					ordinal    	6

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE127F0024"

+				supplier   	"Rule"

+				quidu      	"3DFE0E7400D0")

+			    (object Link

+				quid       	"3DFE128501C7"

+				supplier   	"SetNextRule"

+				quidu      	"3DFE12690267"

+				messages   	(list Messages

+				    (object Message "end()"

+					quid       	"3DFE128501C8"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.3"

+					ordinal    	8

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardContext"

+			quid       	"3DFE0FC502A1"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE114A0192"

+				supplier   	"StandardPipeline"

+				quidu      	"3DFE112F003F"

+				messages   	(list Messages

+				    (object Message "setBasic(StandardContextValve)"

+					quid       	"3DFE114A0193"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.2"

+					ordinal    	5

+					Operation  	"setBasic"

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE115E001E"

+				supplier   	"StandardContextValve"

+				quidu      	"3DFE110D0375"

+				messages   	(list Messages

+				    (object Message "new()"

+					quid       	"3DFE115E001F"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.1"

+					ordinal    	4

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "SetPropertiesRule"

+			quid       	"3DFE100303A4"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE11D50390"

+				supplier   	"StandardContext"

+				quidu      	"3DFE0FC502A1"

+				messages   	(list Messages

+				    (object Message "//Using BeanUtil, set the object properties (from ex: admin.xml)"

+					quid       	"3DFE11D50391"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.2.1"

+					ordinal    	7

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardContextValve"

+			quid       	"3DFE110D0375"

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardPipeline"

+			quid       	"3DFE112F003F"

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "SetNextRule"

+			quid       	"3DFE12690267"

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)))

+	    (object Mechanism @87

+		logical_models 	(list unit_reference_list

+		    (object Object "StandardContext"

+			quid       	"3DFE196D00D9"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE200603BD"

+				supplier   	"WebappLoader"

+				quidu      	"3DFE1FFA0347"

+				messages   	(list Messages

+				    (object Message "new"

+					quid       	"3DFE200603BE"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.1.1"

+					ordinal    	5

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE200C0299"

+				supplier   	"StandardContext"

+				quidu      	"3DFE196D00D9"

+				messages   	(list Messages

+				    (object Message "setLoader"

+					quid       	"3DFE200C029A"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.1.2"

+					ordinal    	6

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "setManager"

+					quid       	"3DFE2032001C"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.1.4"

+					ordinal    	8

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "fireLifecycleEvent(START_EVENT)"

+					quid       	"3DFE205B01A2"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.1.5"

+					ordinal    	9

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE202C024F"

+				supplier   	"StandardManager"

+				quidu      	"3DFE201F0105"

+				messages   	(list Messages

+				    (object Message "new"

+					quid       	"3DFE202C0250"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.1.3"

+					ordinal    	7

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "start()"

+					quid       	"3DFE20B600E5"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.1.7"

+					ordinal    	12

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE20960002"

+				supplier   	"ContextConfig"

+				quidu      	"3DFE2087028C"

+				messages   	(list Messages

+				    (object Message " // Notify interested LifecycleListeners"

+					quid       	"3DFE20960003"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.1.6"

+					ordinal    	10

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardHostDeployer"

+			quid       	"3DFE1D8A02DC"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE1FAF0014"

+				supplier   	"StandardHost"

+				quidu      	"3DFE1DF20141"

+				messages   	(list Messages

+				    (object Message "addChild"

+					quid       	"3DFE1FB60277"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1"

+					ordinal    	3

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardHost"

+			quid       	"3DFE1DF20141"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE1FC40227"

+				supplier   	"StandardContext"

+				quidu      	"3DFE196D00D9"

+				messages   	(list Messages

+				    (object Message "start()"

+					quid       	"3DFE1FC40228"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.1"

+					ordinal    	4

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "WebappLoader"

+			quid       	"3DFE1FFA0347"

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardManager"

+			quid       	"3DFE201F0105"

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "ContextConfig"

+			quid       	"3DFE2087028C"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE20CF018B"

+				supplier   	"ContextConfig"

+				quidu      	"3DFE2087028C"

+				messages   	(list Messages

+				    (object Message "start()"

+					quid       	"3DFE20CF018C"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.1.6.1"

+					ordinal    	11

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "defaultConfig()"

+					quid       	"3DFE20E303E2"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.1.6.2"

+					ordinal    	13

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "applicationConfig()"

+					quid       	"3DFE211D01A1"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.1.6.3"

+					ordinal    	14

+					Operation  	"applicationConfig"

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE21B60287"

+				supplier   	"Digester"

+				quidu      	"3DFE13960364"

+				messages   	(list Messages

+				    (object Message "create()"

+					quid       	"3DFE21B60288"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.1.6.3.1"

+					ordinal    	15

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "createWarpper() // Invoked by a WebWrapperRule (not Directly by the Digester)"

+					quid       	"3DFE228B03BA"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"ToClientFromSupplier"

+					sequence   	"3.1.1.6.3.1.2"

+					ordinal    	17

+					Operation  	"createWarpper() // Invoked by a Rule (not Directly by the Digester)"

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE22560061"

+				supplier   	"StandardWrapper"

+				quidu      	"3DFE220C0122"

+				messages   	(list Messages

+				    (object Message "new"

+					quid       	"3DFE229A0004"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.1.6.3.1.2.1"

+					ordinal    	18

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "addInstanceListener()"

+					quid       	"3DFE22A700C1"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.1.6.3.2"

+					ordinal    	19

+					Operation  	"addInstanceListener"

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "addLifecycleListener()"

+					quid       	"3DFE22C701CC"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.1.6.3.3"

+					ordinal    	20

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "addContainerListener()"

+					quid       	"3DFE22E80364"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.1.6.3.4"

+					ordinal    	21

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	TRUE

+			multi      	FALSE)

+		    (object Object "Digester"

+			quid       	"3DFE13960364"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE19AE0064"

+				supplier   	"Digester"

+				quidu      	"3DFE13960364"

+				messages   	(list Messages

+				    (object Message "parse"

+					quid       	"3DFE19AE0065"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1"

+					ordinal    	0

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "startElement()"

+					quid       	"3DFE19B102E9"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2"

+					ordinal    	1

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "// Process web.xml * tld.xml"

+					quid       	"3DFE21BE021B"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1.1.6.3.1.1"

+					ordinal    	16

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE1DFB0021"

+				supplier   	"StandardHostDeployer"

+				quidu      	"3DFE1D8A02DC"

+				messages   	(list Messages

+				    (object Message "addChild"

+					quid       	"3DFE1DFB0022"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3"

+					ordinal    	2

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE22190225"

+				supplier   	"StandardWrapper"

+				quidu      	"3DFE220C0122"))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardWrapper"

+			quid       	"3DFE220C0122"

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)))

+	    (object Mechanism @88

+		logical_models 	(list unit_reference_list

+		    (object Object "ThreadPool"

+			quid       	"3DFE402B02C5"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE40E701AD"

+				supplier   	"TcpWorkerThread"

+				quidu      	"3DFE403200F8"

+				messages   	(list Messages

+				    (object Message "runIt()"

+					quid       	"3DFE40E701AE"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1"

+					ordinal    	0

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "TcpWorkerThread"

+			quid       	"3DFE403200F8"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE40FC010D"

+				supplier   	"Http11Protocol"

+				quidu      	"3DFE40750177"

+				messages   	(list Messages

+				    (object Message "processConnection"

+					quid       	"3DFE40FC010E"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.1"

+					ordinal    	1

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "Http11Protocol"

+			quid       	"3DFE40750177"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE4111029E"

+				supplier   	"Http11Protocol"

+				quidu      	"3DFE40750177"

+				messages   	(list Messages

+				    (object Message "process()"

+					quid       	"3DFE4111029F"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.1.1"

+					ordinal    	2

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "parseHeaders()"

+					quid       	"3DFE415C0151"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2"

+					ordinal    	3

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "prepareRequest()"

+					quid       	"3DFE41A60161"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3"

+					ordinal    	4

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE41D60106"

+				supplier   	"CoyoteAdapter"

+				quidu      	"3DFE410600DF"

+				messages   	(list Messages

+				    (object Message "service()"

+					quid       	"3DFE41D60107"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"4"

+					ordinal    	5

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "CoyoteAdapter"

+			quid       	"3DFE410600DF"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE422C01F0"

+				supplier   	"CoyoteAdapter"

+				quidu      	"3DFE410600DF"

+				messages   	(list Messages

+				    (object Message "postParseRequest()"

+					quid       	"3DFE422C01F1"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"5"

+					ordinal    	6

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE42800237"

+				supplier   	"StandardEngine"

+				quidu      	"3DFE424B0349"

+				messages   	(list Messages

+				    (object Message "invoke()"

+					quid       	"3DFE42800238"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"6"

+					ordinal    	7

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardEngine"

+			quid       	"3DFE424B0349"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE429A002C"

+				supplier   	"StandardPipeline"

+				quidu      	"3DFE42900045"

+				messages   	(list Messages

+				    (object Message "invoke()"

+					quid       	"3DFE429A002D"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"6.1"

+					ordinal    	8

+					Operation  	"invoke"

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardPipeline"

+			quid       	"3DFE42900045"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE42CE022F"

+				supplier   	"StandardValveContext"

+				quidu      	"3DFE42C002B1"

+				messages   	(list Messages

+				    (object Message "invoke()"

+					quid       	"3DFE42CE0230"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"6.1.1"

+					ordinal    	9

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardValveContext"

+			quid       	"3DFE42C002B1"

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)))

+	    (object Mechanism @89

+		logical_models 	(list unit_reference_list

+		    (object Object "StandardContextValve"

+			quid       	"3DFE4307001E"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE434C019A"

+				supplier   	"StandardEngineValve"

+				quidu      	"3DFE432801F3"

+				messages   	(list Messages

+				    (object Message "invoke()"

+					quid       	"3DFE434C019B"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1"

+					ordinal    	0

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE43C203A3"

+				supplier   	"ErrorReportValve"

+				quidu      	"3DFE438C028D"

+				messages   	(list Messages

+				    (object Message "invoke()"

+					quid       	"3DFE43C203A4"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3"

+					ordinal    	4

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "invokeNext()"

+					quid       	"3DFE46330293"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"ToClientFromSupplier"

+					sequence   	"3.2"

+					ordinal    	6

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE46E70025"

+				supplier   	"ErrorDispatcherValve"

+				quidu      	"3DFE451F01EC"

+				messages   	(list Messages

+				    (object Message "invoke()"

+					quid       	"3DFE46E70026"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"4"

+					ordinal    	7

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "invokeNext"

+					quid       	"3DFE475D03A0"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"ToClientFromSupplier"

+					sequence   	"4.1"

+					ordinal    	8

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE476503C9"

+				supplier   	"StandardHostValve"

+				quidu      	"3DFE47310130"

+				messages   	(list Messages

+				    (object Message "invoke()"

+					quid       	"3DFE476503CA"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"5"

+					ordinal    	9

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardEngineValve"

+			quid       	"3DFE432801F3"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE436C009C"

+				supplier   	"StandardHost"

+				quidu      	"3DFE436503BD"

+				messages   	(list Messages

+				    (object Message "map()"

+					quid       	"3DFE436C009D"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.1"

+					ordinal    	1

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "invoke()"

+					quid       	"3DFE43830063"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.2"

+					ordinal    	2

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE437F0143"

+				supplier   	"StandardEngineValve"

+				quidu      	"3DFE432801F3"))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardHost"

+			quid       	"3DFE436503BD"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE43B903BE"

+				supplier   	"StandardContextValve"

+				quidu      	"3DFE4307001E"

+				messages   	(list Messages

+				    (object Message "invoke()"

+					quid       	"3DFE43B903BF"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"2"

+					ordinal    	3

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "ErrorReportValve"

+			quid       	"3DFE438C028D"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE442501B0"

+				supplier   	"ErrorReportValve"

+				quidu      	"3DFE438C028D"

+				messages   	(list Messages

+				    (object Message "report()"

+					quid       	"3DFE442501B1"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"3.1"

+					ordinal    	5

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE452A00F7"

+				supplier   	"ErrorDispatcherValve"

+				quidu      	"3DFE451F01EC"))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "ErrorDispatcherValve"

+			quid       	"3DFE451F01EC"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE47500148"

+				supplier   	"StandardHostValve"

+				quidu      	"3DFE47310130")

+			    (object Link

+				quid       	"3DFE47580335"

+				supplier   	"ErrorDispatcherValve"

+				quidu      	"3DFE451F01EC"))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardHostValve"

+			quid       	"3DFE47310130"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE47CD0166"

+				supplier   	"StandardHostValve"

+				quidu      	"3DFE47310130"

+				messages   	(list Messages

+				    (object Message "map() //Context"

+					quid       	"3DFE47CD0167"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"5.1"

+					ordinal    	10

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE47D500B3"

+				supplier   	"StandardContext"

+				quidu      	"3DFE47C100F1"

+				messages   	(list Messages

+				    (object Message "invoke()"

+					quid       	"3DFE47D500B4"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"5.2"

+					ordinal    	11

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardContext"

+			quid       	"3DFE47C100F1"

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)))

+	    (object Mechanism @90

+		logical_models 	(list unit_reference_list

+		    (object Object "StandardContext"

+			quid       	"3DFE48B001D1"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE48BE0267"

+				supplier   	"StandardPipeline"

+				quidu      	"3DFE48B80088"

+				messages   	(list Messages

+				    (object Message "invoke()"

+					quid       	"3DFE48BE0268"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1"

+					ordinal    	0

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardPipeline"

+			quid       	"3DFE48B80088"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE48EA0039"

+				supplier   	"StandardValveContext"

+				quidu      	"3DFE48D000DC"

+				messages   	(list Messages

+				    (object Message "invoke()"

+					quid       	"3DFE48EA003A"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.1"

+					ordinal    	1

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "invoke()"

+					quid       	"3DFE4976015D"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.2"

+					ordinal    	6

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardValveContext"

+			quid       	"3DFE48D000DC"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE491102D5"

+				supplier   	"StandardContextValve"

+				quidu      	"3DFE490303A7"

+				messages   	(list Messages

+				    (object Message "invoke()"

+					quid       	"3DFE491102D6"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.1.1"

+					ordinal    	2

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE4993023B"

+				supplier   	"StandardWrapperValve"

+				quidu      	"3DFE49890056"

+				messages   	(list Messages

+				    (object Message "invoke()"

+					quid       	"3DFE4993023C"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.2.1"

+					ordinal    	7

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardContextValve"

+			quid       	"3DFE490303A7"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE492F033C"

+				supplier   	"StandardContextValve"

+				quidu      	"3DFE490303A7"

+				messages   	(list Messages

+				    (object Message "map //return Wrapper"

+					quid       	"3DFE492F033D"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.1.1.1"

+					ordinal    	3

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE494A0150"

+				supplier   	"StandardWrapper"

+				quidu      	"3DFE49370351"

+				messages   	(list Messages

+				    (object Message "invoke()"

+					quid       	"3DFE494A0151"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.1.1.2"

+					ordinal    	4

+					Operation  	"invoke"

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardWrapper"

+			quid       	"3DFE49370351"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE495F0287"

+				supplier   	"StandardPipeline"

+				quidu      	"3DFE48B80088"

+				messages   	(list Messages

+				    (object Message "invoke()"

+					quid       	"3DFE495F0288"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.1.1.2.1"

+					ordinal    	5

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "StandardWrapperValve"

+			quid       	"3DFE49890056"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE49DB018A"

+				supplier   	"StandardWrapperValve"

+				quidu      	"3DFE49890056")

+			    (object Link

+				quid       	"3DFE49EC004E"

+				supplier   	"StandardWrapper"

+				quidu      	"3DFE49370351"

+				messages   	(list Messages

+				    (object Message "allocate()"

+					quid       	"3DFE49EC004F"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.2.1.1"

+					ordinal    	8

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "return servlet"

+					quid       	"3DFE4A200067"

+					frequency  	"Aperiodic"

+					synchronization 	"Return"

+					dir        	"ToClientFromSupplier"

+					sequence   	"1.2.1.1.1"

+					ordinal    	9

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE4A29027D"

+				supplier   	"ApplicationFilterChain"

+				quidu      	"3DFE4A1500B2"

+				messages   	(list Messages

+				    (object Message "createFilterChain()"

+					quid       	"3DFE4A29027E"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.2.1.1.1.1"

+					ordinal    	10

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "doFilter()"

+					quid       	"3DFE4A490283"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.2.1.2"

+					ordinal    	11

+					Operation  	"doFilter"

+					quidu      	"000000000000"

+					creation   	FALSE)

+				    (object Message "return"

+					quid       	"3DFE4CB4025B"

+					frequency  	"Aperiodic"

+					synchronization 	"Return"

+					dir        	"ToClientFromSupplier"

+					sequence   	"1.2.1.2.3"

+					ordinal    	14

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "ApplicationFilterChain"

+			quid       	"3DFE4A1500B2"

+			collaborators 	(list link_list

+			    (object Link

+				quid       	"3DFE4C2701C2"

+				supplier   	"ApplicationFilterChain"

+				quidu      	"3DFE4A1500B2"

+				messages   	(list Messages

+				    (object Message "internalDoFilter()"

+					quid       	"3DFE4C2701C3"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.2.1.2.1"

+					ordinal    	12

+					quidu      	"000000000000"

+					creation   	FALSE)))

+			    (object Link

+				quid       	"3DFE4CA502BE"

+				supplier   	"$UNNAMED$0"

+				quidu      	"3DFE4BAE0056"

+				messages   	(list Messages

+				    (object Message "service()"

+					quid       	"3DFE4CA502BF"

+					frequency  	"Aperiodic"

+					synchronization 	"Simple"

+					dir        	"FromClientToSupplier"

+					sequence   	"1.2.1.2.2"

+					ordinal    	13

+					quidu      	"000000000000"

+					creation   	FALSE))))

+			persistence 	"Transient"

+			creationObj 	FALSE

+			multi      	FALSE)

+		    (object Object "$UNNAMED$0"

+			quid       	"3DFE4BAE0056"

+			stereotype 	"Servlet"

+			persistence 	"Transient"

+			creationObj 	TRUE

+			multi      	FALSE))))

+	logical_presentations 	(list unit_reference_list

+	    (object ClassDiagram "Main"

+		quid       	"3DFDF6D2021B"

+		title      	"Main"

+		zoom       	100

+		max_height 	28350

+		max_width  	21600

+		origin_x   	0

+		origin_y   	0

+		items      	(list diagram_item_list))

+	    (object ClassDiagram "high level packaging"

+		quid       	"3E42DE75004B"

+		title      	"high level packaging"

+		zoom       	100

+		max_height 	28350

+		max_width  	21600

+		origin_x   	0

+		origin_y   	0

+		items      	(list diagram_item_list

+		    (object CategoryView "Logical View::org.apache.catalina" @91

+			location   	(1024, 752)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@91

+			    location   	(780, 668)

+			    fill_color 	13434879

+			    nlines     	2

+			    max_width  	488

+			    justify    	0

+			    label      	"org.apache.catalina")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3E42DE8D0082"

+			width      	500

+			height     	181)

+		    (object CategoryView "Logical View::org.apache.coyote" @92

+			location   	(512, 1184)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@92

+			    location   	(237, 1090)

+			    fill_color 	13434879

+			    nlines     	2

+			    max_width  	550

+			    justify    	0

+			    label      	"org.apache.coyote")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3E42DE9F0132"

+			width      	563

+			height     	200)

+		    (object CategoryView "Logical View::org.apache.tomcat.util" @93

+			location   	(1920, 1104)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@93

+			    location   	(1670, 1020)

+			    fill_color 	13434879

+			    nlines     	2

+			    max_width  	500

+			    justify    	0

+			    label      	"org.apache.tomcat.util")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3E42DEDF01F2"

+			width      	512

+			height     	181)

+		    (object ImportView "" @94

+			stereotype 	TRUE

+			line_color 	3342489

+			quidu      	"3E42DEF601EB"

+			client     	@91

+			supplier   	@93

+			line_style 	0)

+		    (object ImportView "" @95

+			stereotype 	TRUE

+			line_color 	3342489

+			quidu      	"3E42DEFC00B3"

+			client     	@92

+			supplier   	@93

+			line_style 	0)

+		    (object CategoryView "Logical View::org.apache.jasper" @96

+			location   	(1728, 624)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@96

+			    location   	(1437, 540)

+			    fill_color 	13434879

+			    nlines     	2

+			    max_width  	582

+			    justify    	0

+			    label      	"org.apache.jasper")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3E42DEFF0270"

+			width      	594

+			height     	181)

+		    (object ImportView "" @97

+			stereotype 	TRUE

+			line_color 	3342489

+			quidu      	"3E42DF700060"

+			client     	@91

+			supplier   	@92

+			line_style 	0)

+		    (object NoteView @98

+			location   	(1200, 208)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@98

+			    location   	(847, 143)

+			    fill_color 	13434879

+			    nlines     	2

+			    max_width  	671

+			    label      	"High Level package dependencies")

+			line_color 	3342489

+			fill_color 	13434879

+			width      	731

+			height     	143)

+		    (object CategoryView "Logical View::org.apache.naming" @99

+			location   	(352, 304)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@99

+			    location   	(83, 220)

+			    fill_color 	13434879

+			    nlines     	2

+			    max_width  	538

+			    justify    	0

+			    label      	"org.apache.naming")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3E43D1580339"

+			width      	550

+			height     	181)

+		    (object ImportView "" @100

+			stereotype 	TRUE

+			line_color 	3342489

+			quidu      	"3E43D165039C"

+			client     	@91

+			supplier   	@99

+			line_style 	0)))

+	    (object InteractionDiagram "1. catalina_load"

+		mechanism_ref 	@82

+		quid       	"3DFDF8EE0267"

+		title      	"1. catalina_load"

+		zoom       	100

+		max_height 	28350

+		max_width  	21600

+		origin_x   	0

+		origin_y   	519

+		items      	(list diagram_item_list

+		    (object InterObjView "Bootstrap" @101

+			location   	(224, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@101

+			    location   	(224, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"Bootstrap")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFDF8FD0345"

+			width      	300

+			height     	1972

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @102

+			    location   	(224, 368)

+			    line_color 	3342489

+			    InterObjView 	@101

+			    height     	1738

+			    y_coord    	1678

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @103

+			    location   	(224, 368)

+			    line_color 	3342489

+			    InterObjView 	@101

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterObjView "Digester" @104

+			location   	(896, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@104

+			    location   	(896, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"Digester")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFDFAF201A1"

+			width      	300

+			height     	1972

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @105

+			    location   	(896, 1232)

+			    line_color 	3342489

+			    InterObjView 	@104

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @106

+			    location   	(896, 1312)

+			    line_color 	3342489

+			    InterObjView 	@104

+			    height     	264

+			    y_coord    	204

+			    Nested     	FALSE))

+		    (object InterObjView "ServerLifecycleListener" @107

+			location   	(1232, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@107

+			    location   	(1232, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"ServerLifecycleListener")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFDFB4B0217"

+			width      	300

+			height     	1972

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @108

+			    location   	(1232, 1328)

+			    line_color 	3342489

+			    InterObjView 	@107

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object InterObjView "GlobalResourcesLifecycleListener" @109

+			location   	(1568, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@109

+			    location   	(1568, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	322

+			    justify    	0

+			    label      	"GlobalResourcesLifecycleListener")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFDFB7A02AB"

+			width      	340

+			height     	1972

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @110

+			    location   	(1568, 1456)

+			    line_color 	3342489

+			    InterObjView 	@109

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object InterObjView "SecurityConfig" @111

+			location   	(1920, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@111

+			    location   	(1920, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"SecurityConfig")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFDFBD802BA"

+			width      	300

+			height     	1972

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @112

+			    location   	(1920, 1600)

+			    line_color 	3342489

+			    InterObjView 	@111

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @113

+			    location   	(1920, 1680)

+			    line_color 	3342489

+			    InterObjView 	@111

+			    height     	146

+			    y_coord    	86

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @114

+			    location   	(1920, 1760)

+			    line_color 	3342489

+			    InterObjView 	@111

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object SelfMessView "" @115

+			location   	(16, 368)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @116

+			    Parent_View 	@115

+			    location   	(315, 324)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFDF9210009"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	340

+			    justify    	0

+			    label      	"initClassLoaders()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@101

+			supplier   	@101

+			Focus_Src  	@102

+			Focus_Entry 	@103

+			origin     	(240, 368)

+			terminus   	(390, 368)

+			ordinal    	0)

+		    (object NoteView @117

+			location   	(1152, 1072)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@117

+			    location   	(1014, 1012)

+			    fill_color 	13434879

+			    nlines     	2

+			    max_width  	240

+			    label      	"parse server.xml")

+			line_color 	3342489

+			fill_color 	13434879

+			width      	300

+			height     	132)

+		    (object NoteView @118

+			location   	(1376, 80)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@118

+			    location   	(1238, 20)

+			    fill_color 	13434879

+			    nlines     	2

+			    max_width  	240

+			    label      	"MBeans")

+			line_color 	3342489

+			fill_color 	13434879

+			width      	300

+			height     	132)

+		    (object AttachView "" @119

+			stereotype 	TRUE

+			line_color 	3342489

+			client     	@118

+			supplier   	@107

+			line_style 	0)

+		    (object AttachView "" @120

+			stereotype 	TRUE

+			line_color 	3342489

+			client     	@109

+			supplier   	@118

+			line_style 	0)

+		    (object NoteView @121

+			location   	(2160, 2176)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@121

+			    location   	(1947, 2113)

+			    fill_color 	13434879

+			    nlines     	2

+			    max_width  	390

+			    label      	"#1Catalina.load()")

+			line_color 	3342489

+			fill_color 	13434879

+			width      	450

+			height     	138)

+		    (object InterObjView "Catalina" @122

+			location   	(560, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@122

+			    location   	(560, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"Catalina")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFDF90A0330"

+			width      	300

+			height     	1972

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @123

+			    location   	(560, 464)

+			    line_color 	3342489

+			    InterObjView 	@122

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @124

+			    location   	(560, 608)

+			    line_color 	3342489

+			    InterObjView 	@122

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @125

+			    location   	(560, 720)

+			    line_color 	3342489

+			    InterObjView 	@122

+			    height     	1326

+			    y_coord    	1266

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @126

+			    location   	(560, 896)

+			    line_color 	3342489

+			    InterObjView 	@122

+			    height     	194

+			    y_coord    	134

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @127

+			    location   	(560, 896)

+			    InterObjView 	@122

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @128

+			    location   	(560, 1024)

+			    line_color 	3342489

+			    InterObjView 	@122

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @129

+			    location   	(560, 1024)

+			    InterObjView 	@122

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @130

+			    location   	(560, 1152)

+			    line_color 	3342489

+			    InterObjView 	@122

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @131

+			    location   	(560, 1152)

+			    InterObjView 	@122

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object SelfMessView "" @132

+			location   	(16, 896)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @133

+			    Parent_View 	@132

+			    location   	(651, 852)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFDFA8001DA"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	160

+			    justify    	0

+			    label      	"initDirs()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@122

+			supplier   	@122

+			Focus_Src  	@127

+			Focus_Entry 	@126

+			origin     	(576, 896)

+			terminus   	(726, 896)

+			ordinal    	4)

+		    (object SelfMessView "" @134

+			location   	(16, 1024)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @135

+			    Parent_View 	@134

+			    location   	(701, 981)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFDFA8B0347"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	228

+			    justify    	0

+			    label      	"initNaming()"

+			    pctDist    	0.840000

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@122

+			supplier   	@122

+			Focus_Src  	@129

+			Focus_Entry 	@128

+			origin     	(576, 1024)

+			terminus   	(726, 1024)

+			ordinal    	5)

+		    (object SelfMessView "" @136

+			location   	(16, 1152)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @137

+			    Parent_View 	@136

+			    location   	(686, 1109)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFDFAAD01AC"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	180

+			    justify    	0

+			    label      	"initialize()"

+			    pctDist    	0.733333

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@122

+			supplier   	@122

+			Focus_Src  	@131

+			Focus_Entry 	@130

+			origin     	(576, 1152)

+			terminus   	(726, 1152)

+			ordinal    	6)

+		    (object InterMessView "" @138

+			location   	(16, 464)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @139

+			    Parent_View 	@138

+			    location   	(389, 437)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFDF91A010D"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	265

+			    justify    	0

+			    label      	"newInstance()"

+			    pctDist    	0.495082

+			    height     	28

+			    orientation 	0)

+			line_color 	3342489

+			client     	@101

+			supplier   	@122

+			Focus_Src  	@102

+			Focus_Entry 	@123

+			origin     	(239, 464)

+			terminus   	(544, 464)

+			ordinal    	1)

+		    (object InterMessView "" @140

+			location   	(16, 608)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @141

+			    Parent_View 	@140

+			    location   	(456, 565)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFDF97900C2"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	445

+			    justify    	0

+			    label      	"setParentClassLoader()"

+			    pctDist    	0.711475

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@101

+			supplier   	@122

+			Focus_Src  	@102

+			Focus_Entry 	@124

+			origin     	(239, 608)

+			terminus   	(544, 608)

+			ordinal    	2)

+		    (object InterMessView "" @142

+			location   	(16, 720)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @143

+			    Parent_View 	@142

+			    location   	(391, 676)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFDFA3402F2"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	108

+			    justify    	0

+			    label      	"load()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@101

+			supplier   	@122

+			Focus_Src  	@102

+			Focus_Entry 	@125

+			origin     	(239, 720)

+			terminus   	(544, 720)

+			ordinal    	3)

+		    (object InterMessView "" @144

+			location   	(16, 1232)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @145

+			    Parent_View 	@144

+			    location   	(727, 1188)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFDFAF800C4"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	302

+			    justify    	0

+			    label      	"createDigester()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@122

+			supplier   	@104

+			Focus_Src  	@125

+			Focus_Entry 	@105

+			origin     	(575, 1232)

+			terminus   	(880, 1232)

+			ordinal    	7)

+		    (object InterMessView "" @146

+			location   	(16, 1312)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @147

+			    Parent_View 	@146

+			    location   	(727, 1268)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFDFB0100B2"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	136

+			    justify    	0

+			    label      	"parse()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@122

+			supplier   	@104

+			Focus_Src  	@125

+			Focus_Entry 	@106

+			origin     	(575, 1312)

+			terminus   	(880, 1312)

+			ordinal    	8)

+		    (object AttachView "" @148

+			stereotype 	TRUE

+			line_color 	3342489

+			client     	@147

+			supplier   	@117

+			line_style 	0)

+		    (object InterMessView "" @149

+			location   	(16, 1328)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @150

+			    Parent_View 	@149

+			    location   	(1063, 1284)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFDFB8400A7"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	265

+			    justify    	0

+			    label      	"newInstance()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@104

+			supplier   	@107

+			Focus_Src  	@106

+			Focus_Entry 	@108

+			origin     	(911, 1328)

+			terminus   	(1216, 1328)

+			ordinal    	9)

+		    (object InterMessView "" @151

+			location   	(16, 1456)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @152

+			    Parent_View 	@151

+			    location   	(1231, 1412)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFDFB920148"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	265

+			    justify    	0

+			    label      	"newInstance()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@104

+			supplier   	@109

+			Focus_Src  	@106

+			Focus_Entry 	@110

+			origin     	(911, 1456)

+			terminus   	(1552, 1456)

+			ordinal    	10)

+		    (object InterMessView "" @153

+			location   	(16, 1600)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @154

+			    Parent_View 	@153

+			    location   	(1239, 1556)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFDFBEA00C2"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	265

+			    justify    	0

+			    label      	"newInstance()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@122

+			supplier   	@111

+			Focus_Src  	@125

+			Focus_Entry 	@112

+			origin     	(575, 1600)

+			terminus   	(1904, 1600)

+			ordinal    	11)

+		    (object InterMessView "" @155

+			location   	(16, 1680)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @156

+			    Parent_View 	@155

+			    location   	(1239, 1636)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFDFBF401F2"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	425

+			    justify    	0

+			    label      	"setPackageDefinition()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@122

+			supplier   	@111

+			Focus_Src  	@125

+			Focus_Entry 	@113

+			origin     	(575, 1680)

+			terminus   	(1904, 1680)

+			ordinal    	12)

+		    (object InterMessView "" @157

+			location   	(16, 1760)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @158

+			    Parent_View 	@157

+			    location   	(1239, 1716)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFDFC1203C2"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	386

+			    justify    	0

+			    label      	"setPackageAccess()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@122

+			supplier   	@111

+			Focus_Src  	@125

+			Focus_Entry 	@114

+			origin     	(575, 1760)

+			terminus   	(1904, 1760)

+			ordinal    	13)))

+	    (object InteractionDiagram "2. catalina_initliaze"

+		mechanism_ref 	@83

+		quid       	"3DFDFC44002A"

+		title      	"2. catalina_initliaze"

+		zoom       	100

+		max_height 	28350

+		max_width  	21600

+		origin_x   	0

+		origin_y   	87

+		items      	(list diagram_item_list

+		    (object InterObjView "Catalina" @159

+			location   	(176, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@159

+			    location   	(176, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"Catalina")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFDFC8F015F"

+			width      	300

+			height     	1180

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @160

+			    location   	(176, 400)

+			    line_color 	3342489

+			    InterObjView 	@159

+			    height     	914

+			    y_coord    	854

+			    Nested     	FALSE))

+		    (object InterObjView "StandardServer" @161

+			location   	(496, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@161

+			    location   	(496, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"StandardServer")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFDFCCB006B"

+			width      	300

+			height     	1180

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @162

+			    location   	(496, 400)

+			    line_color 	3342489

+			    InterObjView 	@161

+			    height     	854

+			    y_coord    	794

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @163

+			    location   	(496, 480)

+			    line_color 	3342489

+			    InterObjView 	@161

+			    height     	768

+			    y_coord    	708

+			    Nested     	TRUE))

+		    (object InterObjView "StandardService" @164

+			location   	(832, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@164

+			    location   	(832, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"StandardService")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFDFD370020"

+			width      	300

+			height     	1180

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @165

+			    location   	(832, 480)

+			    line_color 	3342489

+			    InterObjView 	@164

+			    height     	708

+			    y_coord    	648

+			    Nested     	FALSE))

+		    (object InterObjView "CoyoteConnector" @166

+			location   	(1168, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@166

+			    location   	(1168, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"CoyoteConnector")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFDFE810313"

+			width      	300

+			height     	1180

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @167

+			    location   	(1168, 528)

+			    line_color 	3342489

+			    InterObjView 	@166

+			    height     	600

+			    y_coord    	540

+			    Nested     	FALSE))

+		    (object InterObjView "CoyoteAdapter" @168

+			location   	(1504, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@168

+			    location   	(1504, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"CoyoteAdapter")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFDFFA00226"

+			width      	300

+			height     	1180

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @169

+			    location   	(1504, 576)

+			    line_color 	3342489

+			    InterObjView 	@168

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object InterObjView "Http11Protocol" @170

+			location   	(1808, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@170

+			    location   	(1808, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"Http11Protocol")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE016601A6"

+			width      	300

+			height     	1180

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @171

+			    location   	(1808, 704)

+			    line_color 	3342489

+			    InterObjView 	@170

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @172

+			    location   	(1808, 832)

+			    line_color 	3342489

+			    InterObjView 	@170

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object InterObjView "JkCoyoteAdapter" @173

+			location   	(2144, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@173

+			    location   	(2144, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"JkCoyoteAdapter")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE01AD01A8"

+			width      	300

+			height     	1180

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @174

+			    location   	(2144, 928)

+			    line_color 	3342489

+			    InterObjView 	@173

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @175

+			    location   	(2144, 1008)

+			    line_color 	3342489

+			    InterObjView 	@173

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object InterMessView "" @176

+			location   	(16, 400)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @177

+			    Parent_View 	@176

+			    location   	(335, 356)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFDFD1F0076"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	180

+			    justify    	0

+			    label      	"initialize()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@159

+			supplier   	@161

+			Focus_Src  	@160

+			Focus_Entry 	@162

+			origin     	(191, 400)

+			terminus   	(480, 400)

+			ordinal    	0)

+		    (object InterMessView "" @178

+			location   	(16, 480)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @179

+			    Parent_View 	@178

+			    location   	(663, 436)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFDFD3D01C4"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	180

+			    justify    	0

+			    label      	"initialize()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@161

+			supplier   	@164

+			Focus_Src  	@163

+			Focus_Entry 	@165

+			origin     	(511, 480)

+			terminus   	(816, 480)

+			ordinal    	1)

+		    (object InterMessView "" @180

+			location   	(16, 528)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @181

+			    Parent_View 	@180

+			    location   	(999, 484)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFDFE990305"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	180

+			    justify    	0

+			    label      	"initialize()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@164

+			supplier   	@166

+			Focus_Src  	@165

+			Focus_Entry 	@167

+			origin     	(847, 528)

+			terminus   	(1152, 528)

+			ordinal    	2)

+		    (object InterMessView "" @182

+			location   	(16, 576)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @183

+			    Parent_View 	@182

+			    location   	(1335, 532)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE013D0217"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	106

+			    justify    	0

+			    label      	"new()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@166

+			supplier   	@168

+			Focus_Src  	@167

+			Focus_Entry 	@169

+			origin     	(1183, 576)

+			terminus   	(1488, 576)

+			ordinal    	3)

+		    (object InterMessView "" @184

+			location   	(1504, 704)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @185

+			    Parent_View 	@184

+			    location   	(1487, 660)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE01830330"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	106

+			    justify    	0

+			    label      	"new()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@166

+			supplier   	@170

+			Focus_Src  	@167

+			Focus_Entry 	@171

+			origin     	(1183, 704)

+			terminus   	(1792, 704)

+			ordinal    	4)

+		    (object InterMessView "" @186

+			location   	(1504, 832)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @187

+			    Parent_View 	@186

+			    location   	(1487, 788)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE0188032C"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	80

+			    justify    	0

+			    label      	"init()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@166

+			supplier   	@170

+			Focus_Src  	@167

+			Focus_Entry 	@172

+			origin     	(1183, 832)

+			terminus   	(1792, 832)

+			ordinal    	5)

+		    (object InterMessView "" @188

+			location   	(16, 928)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @189

+			    Parent_View 	@188

+			    location   	(1655, 884)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE01BC038C"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	106

+			    justify    	0

+			    label      	"new()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@166

+			supplier   	@173

+			Focus_Src  	@167

+			Focus_Entry 	@174

+			origin     	(1183, 928)

+			terminus   	(2128, 928)

+			ordinal    	6)

+		    (object InterMessView "" @190

+			location   	(16, 1008)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @191

+			    Parent_View 	@190

+			    location   	(1655, 964)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE01C30164"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	80

+			    justify    	0

+			    label      	"init()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@166

+			supplier   	@173

+			Focus_Src  	@167

+			Focus_Entry 	@175

+			origin     	(1183, 1008)

+			terminus   	(2128, 1008)

+			ordinal    	7)

+		    (object NoteView @192

+			location   	(2144, 2016)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@192

+			    location   	(1947, 1957)

+			    fill_color 	13434879

+			    nlines     	2

+			    max_width  	359

+			    label      	"#2 Catalina.initialize()")

+			line_color 	3342489

+			fill_color 	13434879

+			width      	419

+			height     	131)))

+	    (object InteractionDiagram "3. catalina_start"

+		mechanism_ref 	@84

+		quid       	"3DFE026D02D1"

+		title      	"3. catalina_start"

+		zoom       	100

+		max_height 	28350

+		max_width  	21600

+		origin_x   	0

+		origin_y   	2481

+		items      	(list diagram_item_list

+		    (object InterObjView "Bootstrap" @193

+			location   	(192, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@193

+			    location   	(192, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"Bootstrap")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE027700F5"

+			width      	300

+			height     	2912

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @194

+			    location   	(192, 384)

+			    line_color 	3342489

+			    InterObjView 	@193

+			    height     	2662

+			    y_coord    	2602

+			    Nested     	FALSE))

+		    (object InterObjView "Catalina" @195

+			location   	(480, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@195

+			    location   	(480, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"Catalina")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE027D0067"

+			width      	300

+			height     	2912

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @196

+			    location   	(480, 384)

+			    line_color 	3342489

+			    InterObjView 	@195

+			    height     	2602

+			    y_coord    	2542

+			    Nested     	FALSE))

+		    (object InterObjView "StandardServer" @197

+			location   	(784, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@197

+			    location   	(784, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"StandardServer")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE02B30015"

+			width      	300

+			height     	2912

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @198

+			    location   	(784, 416)

+			    line_color 	3342489

+			    InterObjView 	@197

+			    height     	2510

+			    y_coord    	2450

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @199

+			    location   	(784, 480)

+			    line_color 	3342489

+			    InterObjView 	@197

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @200

+			    location   	(784, 592)

+			    line_color 	3342489

+			    InterObjView 	@197

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterObjView "StandardService" @201

+			location   	(1088, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@201

+			    location   	(1088, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"StandardService")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE030400E3"

+			width      	300

+			height     	2912

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @202

+			    location   	(1088, 704)

+			    line_color 	3342489

+			    InterObjView 	@201

+			    height     	2162

+			    y_coord    	2102

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @203

+			    location   	(1088, 752)

+			    line_color 	3342489

+			    InterObjView 	@201

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @204

+			    location   	(1088, 864)

+			    line_color 	3342489

+			    InterObjView 	@201

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterObjView "StandardEngine" @205

+			location   	(1424, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@205

+			    location   	(1424, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	332

+			    justify    	0

+			    label      	"StandardEngine")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE034700C2"

+			width      	350

+			height     	2912

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @206

+			    location   	(1424, 976)

+			    line_color 	3342489

+			    InterObjView 	@205

+			    height     	1830

+			    y_coord    	1770

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @207

+			    location   	(1424, 1056)

+			    line_color 	3342489

+			    InterObjView 	@205

+			    height     	1744

+			    y_coord    	1684

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @208

+			    location   	(1424, 1056)

+			    line_color 	3342489

+			    InterObjView 	@205

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @209

+			    location   	(1424, 1168)

+			    line_color 	3342489

+			    InterObjView 	@205

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @210

+			    location   	(1424, 1296)

+			    line_color 	3342489

+			    InterObjView 	@205

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @211

+			    location   	(1424, 1408)

+			    line_color 	3342489

+			    InterObjView 	@205

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @212

+			    location   	(1424, 1536)

+			    line_color 	3342489

+			    InterObjView 	@205

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @213

+			    location   	(1424, 1648)

+			    line_color 	3342489

+			    InterObjView 	@205

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterObjView "StandardHost" @214

+			location   	(1760, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@214

+			    location   	(1760, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"StandardHost")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE03F2035D"

+			width      	300

+			height     	2912

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @215

+			    location   	(1760, 1760)

+			    line_color 	3342489

+			    InterObjView 	@214

+			    height     	980

+			    y_coord    	920

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @216

+			    location   	(1760, 1808)

+			    line_color 	3342489

+			    InterObjView 	@214

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @217

+			    location   	(1760, 1920)

+			    line_color 	3342489

+			    InterObjView 	@214

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @218

+			    location   	(1760, 2032)

+			    line_color 	3342489

+			    InterObjView 	@214

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @219

+			    location   	(1760, 2144)

+			    line_color 	3342489

+			    InterObjView 	@214

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @220

+			    location   	(1760, 2256)

+			    line_color 	3342489

+			    InterObjView 	@214

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterObjView "StandardPipeline" @221

+			location   	(2080, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@221

+			    location   	(2080, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	326

+			    justify    	0

+			    label      	"StandardPipeline")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE047D006D"

+			width      	344

+			height     	2912

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @222

+			    location   	(2080, 2368)

+			    line_color 	3342489

+			    InterObjView 	@221

+			    height     	312

+			    y_coord    	252

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @223

+			    location   	(2080, 2416)

+			    line_color 	3342489

+			    InterObjView 	@221

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @224

+			    location   	(2080, 2480)

+			    line_color 	3342489

+			    InterObjView 	@221

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @225

+			    location   	(2080, 2560)

+			    line_color 	3342489

+			    InterObjView 	@221

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterMessView "" @226

+			location   	(16, 384)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @227

+			    Parent_View 	@226

+			    location   	(335, 340)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE02830374"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	110

+			    justify    	0

+			    label      	"start()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@193

+			supplier   	@195

+			Focus_Src  	@194

+			Focus_Entry 	@196

+			origin     	(207, 384)

+			terminus   	(464, 384)

+			ordinal    	0)

+		    (object InterMessView "" @228

+			location   	(16, 416)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @229

+			    Parent_View 	@228

+			    location   	(631, 372)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE02BA0188"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	110

+			    justify    	0

+			    label      	"start()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@195

+			supplier   	@197

+			Focus_Src  	@196

+			Focus_Entry 	@198

+			origin     	(495, 416)

+			terminus   	(768, 416)

+			ordinal    	1)

+		    (object SelfMessView "" @230

+			location   	(16, 480)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @231

+			    Parent_View 	@230

+			    location   	(1244, 437)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE02D3006C"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	854

+			    justify    	0

+			    label      	"fireLifecycleEvent(BEFORE_START_EVENT)"

+			    pctDist    	2.960000

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@197

+			supplier   	@197

+			Focus_Src  	@198

+			Focus_Entry 	@199

+			origin     	(800, 480)

+			terminus   	(950, 480)

+			ordinal    	2)

+		    (object SelfMessView "" @232

+			location   	(16, 592)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @233

+			    Parent_View 	@232

+			    location   	(1146, 549)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE02DF02DF"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	658

+			    justify    	0

+			    label      	"fireLifecycleEvent(START_EVENT)"

+			    pctDist    	2.313333

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@197

+			supplier   	@197

+			Focus_Src  	@198

+			Focus_Entry 	@200

+			origin     	(800, 592)

+			terminus   	(950, 592)

+			ordinal    	3)

+		    (object InterMessView "" @234

+			location   	(16, 704)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @235

+			    Parent_View 	@234

+			    location   	(935, 660)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE030C02B3"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	110

+			    justify    	0

+			    label      	"start()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@197

+			supplier   	@201

+			Focus_Src  	@198

+			Focus_Entry 	@202

+			origin     	(799, 704)

+			terminus   	(1072, 704)

+			ordinal    	4)

+		    (object SelfMessView "" @236

+			location   	(16, 752)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @237

+			    Parent_View 	@236

+			    location   	(1531, 708)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE031D0022"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	854

+			    justify    	0

+			    label      	"fireLifecycleEvent(BEFORE_START_EVENT)"

+			    pctDist    	2.853333

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@201

+			supplier   	@201

+			Focus_Src  	@202

+			Focus_Entry 	@203

+			origin     	(1104, 752)

+			terminus   	(1254, 752)

+			ordinal    	5)

+		    (object SelfMessView "" @238

+			location   	(16, 864)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @239

+			    Parent_View 	@238

+			    location   	(1449, 821)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE0330019B"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	658

+			    justify    	0

+			    label      	"fireLifecycleEvent(START_EVENT)"

+			    pctDist    	2.306667

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@201

+			supplier   	@201

+			Focus_Src  	@202

+			Focus_Entry 	@204

+			origin     	(1104, 864)

+			terminus   	(1254, 864)

+			ordinal    	6)

+		    (object InterMessView "" @240

+			location   	(16, 976)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @241

+			    Parent_View 	@240

+			    location   	(1255, 932)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE0370018A"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	110

+			    justify    	0

+			    label      	"start()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@201

+			supplier   	@205

+			Focus_Src  	@202

+			Focus_Entry 	@206

+			origin     	(1103, 976)

+			terminus   	(1408, 976)

+			ordinal    	7)

+		    (object SelfMessView "" @242

+			location   	(16, 1056)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @243

+			    Parent_View 	@242

+			    location   	(1865, 1014)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE03750051"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	854

+			    justify    	0

+			    label      	"fireLifecycleEvent(BEFORE_START_EVENT)"

+			    pctDist    	2.840000

+			    height     	43

+			    orientation 	0)

+			line_color 	3342489

+			client     	@205

+			supplier   	@205

+			Focus_Src  	@207

+			Focus_Entry 	@208

+			origin     	(1440, 1056)

+			terminus   	(1590, 1056)

+			ordinal    	8)

+		    (object SelfMessView "" @244

+			location   	(16, 1168)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @245

+			    Parent_View 	@244

+			    location   	(1639, 1141)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE0389001C"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	373

+			    justify    	0

+			    label      	"addDefaultMapper()"

+			    pctDist    	1.326667

+			    height     	28

+			    orientation 	0)

+			line_color 	3342489

+			client     	@205

+			supplier   	@205

+			Focus_Src  	@207

+			Focus_Entry 	@209

+			origin     	(1440, 1168)

+			terminus   	(1590, 1168)

+			ordinal    	9)

+		    (object SelfMessView "" @246

+			location   	(16, 1296)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @247

+			    Parent_View 	@246

+			    location   	(1592, 1268)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE03980281"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	238

+			    justify    	0

+			    label      	"logger.start()"

+			    pctDist    	1.020000

+			    height     	29

+			    orientation 	0)

+			line_color 	3342489

+			client     	@205

+			supplier   	@205

+			Focus_Src  	@207

+			Focus_Entry 	@210

+			origin     	(1440, 1296)

+			terminus   	(1590, 1296)

+			ordinal    	10)

+		    (object SelfMessView "" @248

+			location   	(16, 1408)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @249

+			    Parent_View 	@248

+			    location   	(1593, 1380)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE03A80107"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	226

+			    justify    	0

+			    label      	"realm.start()"

+			    pctDist    	1.026667

+			    height     	29

+			    orientation 	0)

+			line_color 	3342489

+			client     	@205

+			supplier   	@205

+			Focus_Src  	@207

+			Focus_Entry 	@211

+			origin     	(1440, 1408)

+			terminus   	(1590, 1408)

+			ordinal    	11)

+		    (object SelfMessView "" @250

+			location   	(16, 1536)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @251

+			    Parent_View 	@250

+			    location   	(1608, 1508)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE03BD000D"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	259

+			    justify    	0

+			    label      	"findMappers()"

+			    pctDist    	1.120000

+			    height     	29

+			    orientation 	0)

+			line_color 	3342489

+			client     	@205

+			supplier   	@205

+			Focus_Src  	@207

+			Focus_Entry 	@212

+			origin     	(1440, 1536)

+			terminus   	(1590, 1536)

+			ordinal    	12)

+		    (object SelfMessView "" @252

+			location   	(16, 1648)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @253

+			    Parent_View 	@252

+			    location   	(1515, 1604)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE03E000A4"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	251

+			    justify    	0

+			    label      	"findChildren()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@205

+			supplier   	@205

+			Focus_Src  	@207

+			Focus_Entry 	@213

+			origin     	(1440, 1648)

+			terminus   	(1590, 1648)

+			ordinal    	13)

+		    (object InterMessView "" @254

+			location   	(1664, 1760)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @255

+			    Parent_View 	@254

+			    location   	(1591, 1716)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE03FB027A"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	110

+			    justify    	0

+			    label      	"start()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@205

+			supplier   	@214

+			Focus_Src  	@207

+			Focus_Entry 	@215

+			origin     	(1439, 1760)

+			terminus   	(1744, 1760)

+			ordinal    	14)

+		    (object SelfMessView "" @256

+			location   	(16, 1808)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @257

+			    Parent_View 	@256

+			    location   	(1606, 1784)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE043B02AE"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	854

+			    justify    	0

+			    label      	"fireLifecycleEvent(BEFORE_START_EVENT)"

+			    pctDist    	-1.133333

+			    height     	24

+			    orientation 	0)

+			line_color 	3342489

+			client     	@214

+			supplier   	@214

+			Focus_Src  	@215

+			Focus_Entry 	@216

+			origin     	(1776, 1808)

+			terminus   	(1926, 1808)

+			ordinal    	15)

+		    (object SelfMessView "" @258

+			location   	(16, 1920)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @259

+			    Parent_View 	@258

+			    location   	(1963, 1877)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE045C021F"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	373

+			    justify    	0

+			    label      	"addDefaultMapper()"

+			    pctDist    	1.253333

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@214

+			supplier   	@214

+			Focus_Src  	@215

+			Focus_Entry 	@217

+			origin     	(1776, 1920)

+			terminus   	(1926, 1920)

+			ordinal    	16)

+		    (object InterMessView "" @260

+			location   	(2000, 2368)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @261

+			    Parent_View 	@260

+			    location   	(1919, 2324)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE048E00B9"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	110

+			    justify    	0

+			    label      	"start()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@214

+			supplier   	@221

+			Focus_Src  	@215

+			Focus_Entry 	@222

+			origin     	(1775, 2368)

+			terminus   	(2064, 2368)

+			ordinal    	20)

+		    (object SelfMessView "" @262

+			location   	(16, 2032)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @263

+			    Parent_View 	@262

+			    location   	(1916, 2004)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE049B000C"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	238

+			    justify    	0

+			    label      	"logger.start()"

+			    pctDist    	0.933333

+			    height     	29

+			    orientation 	0)

+			line_color 	3342489

+			client     	@214

+			supplier   	@214

+			Focus_Src  	@215

+			Focus_Entry 	@218

+			origin     	(1776, 2032)

+			terminus   	(1926, 2032)

+			ordinal    	17)

+		    (object SelfMessView "" @264

+			location   	(16, 2144)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @265

+			    Parent_View 	@264

+			    location   	(1916, 2117)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE04A303BB"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	238

+			    justify    	0

+			    label      	"findMapper()"

+			    pctDist    	0.933333

+			    height     	28

+			    orientation 	0)

+			line_color 	3342489

+			client     	@214

+			supplier   	@214

+			Focus_Src  	@215

+			Focus_Entry 	@219

+			origin     	(1776, 2144)

+			terminus   	(1926, 2144)

+			ordinal    	18)

+		    (object SelfMessView "" @266

+			location   	(16, 2256)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @267

+			    Parent_View 	@266

+			    location   	(1916, 2228)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE04A90342"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	251

+			    justify    	0

+			    label      	"findChildren()"

+			    pctDist    	0.933333

+			    height     	29

+			    orientation 	0)

+			line_color 	3342489

+			client     	@214

+			supplier   	@214

+			Focus_Src  	@215

+			Focus_Entry 	@220

+			origin     	(1776, 2256)

+			terminus   	(1926, 2256)

+			ordinal    	19)

+		    (object NoteView @268

+			location   	(2128, 1488)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@268

+			    location   	(1915, 1422)

+			    fill_color 	13434879

+			    nlines     	2

+			    max_width  	390

+			    label      	"#1 Catalina.start()")

+			line_color 	3342489

+			fill_color 	13434879

+			width      	450

+			height     	144)

+		    (object SelfMessView "" @269

+			location   	(16, 2416)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @270

+			    Parent_View 	@269

+			    location   	(1644, 2498)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE05780138"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	854

+			    justify    	0

+			    label      	"fireLifecycleEvent(BEFORE_START_EVENT)"

+			    pctDist    	-3.020000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@221

+			supplier   	@221

+			Focus_Src  	@222

+			Focus_Entry 	@223

+			origin     	(2096, 2416)

+			terminus   	(2246, 2416)

+			ordinal    	21)

+		    (object SelfMessView "" @271

+			location   	(16, 2480)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @272

+			    Parent_View 	@271

+			    location   	(1705, 2582)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE05A80398"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	658

+			    justify    	0

+			    label      	"fireLifecycleEvent(START_EVENT)"

+			    pctDist    	-2.613333

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@221

+			supplier   	@221

+			Focus_Src  	@222

+			Focus_Entry 	@224

+			origin     	(2096, 2480)

+			terminus   	(2246, 2480)

+			ordinal    	22)

+		    (object SelfMessView "" @273

+			location   	(16, 2560)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @274

+			    Parent_View 	@273

+			    location   	(1737, 2423)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE05BA0196"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	658

+			    justify    	0

+			    label      	"fireLifecycleEvent(AFTER_EVENT)"

+			    pctDist    	-2.393333

+			    height     	138

+			    orientation 	0)

+			line_color 	3342489

+			client     	@221

+			supplier   	@221

+			Focus_Src  	@222

+			Focus_Entry 	@225

+			origin     	(2096, 2560)

+			terminus   	(2246, 2560)

+			ordinal    	23)

+		    (object NoteView @275

+			location   	(960, 1680)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@275

+			    location   	(635, 1571)

+			    fill_color 	13434879

+			    nlines     	4

+			    max_width  	615

+			    label      	"All StandardX will fire these events.")

+			line_color 	3342489

+			fill_color 	13434879

+			width      	675

+			height     	231)

+		    (object AttachView "" @276

+			stereotype 	TRUE

+			line_color 	3342489

+			client     	@275

+			supplier   	@272

+			line_style 	0)

+		    (object AttachView "" @277

+			stereotype 	TRUE

+			line_color 	3342489

+			client     	@275

+			supplier   	@270

+			line_style 	0)

+		    (object AttachView "" @278

+			stereotype 	TRUE

+			line_color 	3342489

+			client     	@275

+			supplier   	@274

+			line_style 	0)))

+	    (object InteractionDiagram "4. catalina_start_2"

+		mechanism_ref 	@85

+		quid       	"3DFE050900BF"

+		title      	"4. catalina_start_2"

+		zoom       	100

+		max_height 	28350

+		max_width  	21600

+		origin_x   	0

+		origin_y   	1087

+		items      	(list diagram_item_list

+		    (object InterObjView "StandardHost" @279

+			location   	(208, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@279

+			    location   	(208, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"StandardHost")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE0538017B"

+			width      	300

+			height     	2114

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @280

+			    location   	(208, 384)

+			    line_color 	3342489

+			    InterObjView 	@279

+			    height     	1864

+			    y_coord    	1804

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @281

+			    location   	(208, 384)

+			    line_color 	3342489

+			    InterObjView 	@279

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @282

+			    location   	(208, 1088)

+			    line_color 	3342489

+			    InterObjView 	@279

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @283

+			    location   	(208, 1616)

+			    line_color 	3342489

+			    InterObjView 	@279

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterObjView "HostConfig" @284

+			location   	(544, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@284

+			    location   	(544, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"HostConfig")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE06A60131"

+			width      	300

+			height     	2114

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @285

+			    location   	(544, 512)

+			    line_color 	3342489

+			    InterObjView 	@284

+			    height     	696

+			    y_coord    	636

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @286

+			    location   	(544, 576)

+			    line_color 	3342489

+			    InterObjView 	@284

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @287

+			    location   	(544, 688)

+			    line_color 	3342489

+			    InterObjView 	@284

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @288

+			    location   	(544, 784)

+			    line_color 	3342489

+			    InterObjView 	@284

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @289

+			    location   	(544, 896)

+			    line_color 	3342489

+			    InterObjView 	@284

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @290

+			    location   	(544, 1008)

+			    line_color 	3342489

+			    InterObjView 	@284

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @291

+			    location   	(544, 1536)

+			    line_color 	3342489

+			    InterObjView 	@284

+			    height     	200

+			    y_coord    	140

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @292

+			    location   	(544, 1536)

+			    line_color 	3342489

+			    InterObjView 	@284

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterObjView "StandardHostDeployer" @293

+			location   	(944, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@293

+			    location   	(944, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	426

+			    justify    	0

+			    label      	"StandardHostDeployer")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE079A0055"

+			width      	444

+			height     	2114

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @294

+			    location   	(944, 1280)

+			    line_color 	3342489

+			    InterObjView 	@293

+			    height     	824

+			    y_coord    	764

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @295

+			    location   	(944, 2128)

+			    line_color 	3342489

+			    InterObjView 	@293

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object InterObjView "Digester" @296

+			location   	(1328, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@296

+			    location   	(1328, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"Digester")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE07C9034C"

+			width      	300

+			height     	2114

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @297

+			    location   	(1328, 1280)

+			    line_color 	3342489

+			    InterObjView 	@296

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @298

+			    location   	(1328, 1488)

+			    line_color 	3342489

+			    InterObjView 	@296

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @299

+			    location   	(1328, 1984)

+			    line_color 	3342489

+			    InterObjView 	@296

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object InterObjView "ContextRuleSet" @300

+			location   	(1648, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@300

+			    location   	(1648, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"ContextRuleSet")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE0834016F"

+			width      	300

+			height     	2114

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @301

+			    location   	(1648, 1408)

+			    line_color 	3342489

+			    InterObjView 	@300

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @302

+			    location   	(1648, 1888)

+			    line_color 	3342489

+			    InterObjView 	@300

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object InterObjView "NamingRuleSet" @303

+			location   	(1968, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@303

+			    location   	(1968, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"NamingRuleSet")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE08D00173"

+			width      	300

+			height     	2114

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @304

+			    location   	(1968, 1792)

+			    line_color 	3342489

+			    InterObjView 	@303

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object SelfMessView "" @305

+			location   	(0, 384)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @306

+			    Parent_View 	@305

+			    location   	(555, 342)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE066C0341"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	651

+			    justify    	0

+			    label      	"fireLifecycleEvent(START_EVENT)"

+			    pctDist    	2.206667

+			    height     	43

+			    orientation 	0)

+			line_color 	3342489

+			client     	@279

+			supplier   	@279

+			Focus_Src  	@280

+			Focus_Entry 	@281

+			origin     	(224, 384)

+			terminus   	(374, 384)

+			ordinal    	0)

+		    (object InterMessView "" @307

+			location   	(384, 512)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @308

+			    Parent_View 	@307

+			    location   	(486, 468)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE06D20294"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	507

+			    justify    	0

+			    label      	"interested[i].lifecycleEvent()"

+			    pctDist    	0.865574

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@279

+			supplier   	@284

+			Focus_Src  	@280

+			Focus_Entry 	@285

+			origin     	(223, 512)

+			terminus   	(528, 512)

+			ordinal    	1)

+		    (object SelfMessView "" @309

+			location   	(16, 576)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @310

+			    Parent_View 	@309

+			    location   	(713, 537)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE06E9028D"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	297

+			    justify    	0

+			    label      	"setDeployXML()"

+			    pctDist    	1.026667

+			    height     	40

+			    orientation 	0)

+			line_color 	3342489

+			client     	@284

+			supplier   	@284

+			Focus_Src  	@285

+			Focus_Entry 	@286

+			origin     	(560, 576)

+			terminus   	(710, 576)

+			ordinal    	2)

+		    (object SelfMessView "" @311

+			location   	(16, 688)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @312

+			    Parent_View 	@311

+			    location   	(714, 645)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE06F300FF"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	288

+			    justify    	0

+			    label      	"setLiveDeploy()"

+			    pctDist    	1.033333

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@284

+			supplier   	@284

+			Focus_Src  	@285

+			Focus_Entry 	@287

+			origin     	(560, 688)

+			terminus   	(710, 688)

+			ordinal    	3)

+		    (object SelfMessView "" @313

+			location   	(16, 784)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @314

+			    Parent_View 	@313

+			    location   	(732, 756)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE06FB00D9"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	326

+			    justify    	0

+			    label      	"setUnpacksWar()"

+			    pctDist    	1.153333

+			    height     	29

+			    orientation 	0)

+			line_color 	3342489

+			client     	@284

+			supplier   	@284

+			Focus_Src  	@285

+			Focus_Entry 	@288

+			origin     	(560, 784)

+			terminus   	(710, 784)

+			ordinal    	4)

+		    (object SelfMessView "" @315

+			location   	(16, 896)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @316

+			    Parent_View 	@315

+			    location   	(747, 868)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE070C0015"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	350

+			    justify    	0

+			    label      	"setXMLValidation()"

+			    pctDist    	1.246667

+			    height     	29

+			    orientation 	0)

+			line_color 	3342489

+			client     	@284

+			supplier   	@284

+			Focus_Src  	@285

+			Focus_Entry 	@289

+			origin     	(560, 896)

+			terminus   	(710, 896)

+			ordinal    	5)

+		    (object SelfMessView "" @317

+			location   	(16, 1008)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @318

+			    Parent_View 	@317

+			    location   	(762, 980)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE073B0031"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	359

+			    justify    	0

+			    label      	"deployDescriptors()"

+			    pctDist    	1.346667

+			    height     	29

+			    orientation 	0)

+			line_color 	3342489

+			client     	@284

+			supplier   	@284

+			Focus_Src  	@285

+			Focus_Entry 	@290

+			origin     	(560, 1008)

+			terminus   	(710, 1008)

+			ordinal    	6)

+		    (object InterMessView "" @319

+			location   	(16, 1088)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @320

+			    Parent_View 	@319

+			    location   	(376, 1044)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE078B03BB"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	136

+			    justify    	0

+			    label      	"install()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	1)

+			line_color 	3342489

+			client     	@284

+			supplier   	@279

+			Focus_Src  	@285

+			Focus_Entry 	@282

+			origin     	(528, 1088)

+			terminus   	(224, 1088)

+			ordinal    	7)

+		    (object InterMessView "" @321

+			location   	(576, 1280)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @322

+			    Parent_View 	@321

+			    location   	(575, 1236)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE07B100BE"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	136

+			    justify    	0

+			    label      	"install()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@279

+			supplier   	@293

+			Focus_Src  	@280

+			Focus_Entry 	@294

+			origin     	(223, 1280)

+			terminus   	(928, 1280)

+			ordinal    	8)

+		    (object InterMessView "" @323

+			location   	(1152, 1280)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @324

+			    Parent_View 	@323

+			    location   	(1135, 1236)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE07D200ED"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	144

+			    justify    	0

+			    label      	"create()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@293

+			supplier   	@296

+			Focus_Src  	@294

+			Focus_Entry 	@297

+			origin     	(959, 1280)

+			terminus   	(1312, 1280)

+			ordinal    	9)

+		    (object InterMessView "" @325

+			location   	(1136, 1984)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @326

+			    Parent_View 	@325

+			    location   	(1135, 1940)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE07D603D7"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	136

+			    justify    	0

+			    label      	"parse()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@293

+			supplier   	@296

+			Focus_Src  	@294

+			Focus_Entry 	@299

+			origin     	(959, 1984)

+			terminus   	(1312, 1984)

+			ordinal    	16)

+		    (object InterMessView "" @327

+			location   	(1296, 1408)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @328

+			    Parent_View 	@327

+			    location   	(1295, 1364)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE08DA029B"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	106

+			    justify    	0

+			    label      	"new()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@293

+			supplier   	@300

+			Focus_Src  	@294

+			Focus_Entry 	@301

+			origin     	(959, 1408)

+			terminus   	(1632, 1408)

+			ordinal    	10)

+		    (object InterMessView "" @329

+			location   	(1456, 1792)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @330

+			    Parent_View 	@329

+			    location   	(1455, 1748)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE08E00091"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	106

+			    justify    	0

+			    label      	"new()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@293

+			supplier   	@303

+			Focus_Src  	@294

+			Focus_Entry 	@304

+			origin     	(959, 1792)

+			terminus   	(1952, 1792)

+			ordinal    	14)

+		    (object InterMessView "" @331

+			location   	(16, 1488)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @332

+			    Parent_View 	@331

+			    location   	(1182, 1445)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE08FA003D"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	387

+			    justify    	0

+			    label      	"add(ContextRuleSet)"

+			    pctDist    	0.631728

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@293

+			supplier   	@296

+			Focus_Src  	@294

+			Focus_Entry 	@298

+			origin     	(959, 1488)

+			terminus   	(1312, 1488)

+			ordinal    	11)

+		    (object InterMessView "" @333

+			location   	(1296, 1888)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @334

+			    Parent_View 	@333

+			    location   	(1295, 1844)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE0907015F"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	416

+			    justify    	0

+			    label      	"add(NamingRuleSet())"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@293

+			supplier   	@300

+			Focus_Src  	@294

+			Focus_Entry 	@302

+			origin     	(959, 1888)

+			terminus   	(1632, 1888)

+			ordinal    	15)

+		    (object NoteView @335

+			location   	(2096, 2384)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@335

+			    location   	(1893, 2315)

+			    fill_color 	13434879

+			    nlines     	2

+			    max_width  	371

+			    label      	"#2 Catalina.start()")

+			line_color 	3342489

+			fill_color 	13434879

+			width      	431

+			height     	150)

+		    (object SelfMessView "" @336

+			location   	(16, 1536)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @337

+			    Parent_View 	@336

+			    location   	(697, 1493)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE131F0327"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	244

+			    justify    	0

+			    label      	"deployApps()"

+			    pctDist    	0.913333

+			    height     	43

+			    orientation 	0)

+			line_color 	3342489

+			client     	@284

+			supplier   	@284

+			Focus_Src  	@291

+			Focus_Entry 	@292

+			origin     	(560, 1536)

+			terminus   	(710, 1536)

+			ordinal    	12)

+		    (object InterMessView "" @338

+			location   	(16, 1616)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @339

+			    Parent_View 	@338

+			    location   	(376, 1572)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE132D0309"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	136

+			    justify    	0

+			    label      	"install()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	1)

+			line_color 	3342489

+			client     	@284

+			supplier   	@279

+			Focus_Src  	@291

+			Focus_Entry 	@283

+			origin     	(528, 1616)

+			terminus   	(224, 1616)

+			ordinal    	13)

+		    (object InterMessView "" @340

+			location   	(576, 2128)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @341

+			    Parent_View 	@340

+			    location   	(575, 2084)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE133A036C"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	463

+			    justify    	0

+			    label      	"install() // same as above"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@279

+			supplier   	@293

+			Focus_Src  	@280

+			Focus_Entry 	@295

+			origin     	(223, 2128)

+			terminus   	(928, 2128)

+			ordinal    	17)))

+	    (object InteractionDiagram "5. catalina_start_3"

+		mechanism_ref 	@86

+		quid       	"3DFE094A0346"

+		title      	"5. catalina_start_3"

+		zoom       	100

+		max_height 	28350

+		max_width  	21600

+		origin_x   	0

+		origin_y   	0

+		items      	(list diagram_item_list

+		    (object InterObjView "Digester" @342

+			location   	(176, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@342

+			    location   	(176, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"Digester")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE095A0371"

+			width      	300

+			height     	1214

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @343

+			    location   	(176, 352)

+			    line_color 	3342489

+			    InterObjView 	@342

+			    height     	996

+			    y_coord    	936

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @344

+			    location   	(176, 352)

+			    line_color 	3342489

+			    InterObjView 	@342

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @345

+			    location   	(176, 448)

+			    line_color 	3342489

+			    InterObjView 	@342

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterObjView "Rule" @346

+			location   	(480, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@346

+			    location   	(480, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"Rule")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE0E7400D0"

+			width      	300

+			height     	1214

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @347

+			    location   	(480, 560)

+			    line_color 	3342489

+			    InterObjView 	@346

+			    height     	728

+			    y_coord    	668

+			    Nested     	FALSE))

+		    (object InterObjView "StandardContext" @348

+			location   	(816, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@348

+			    location   	(816, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	332

+			    justify    	0

+			    label      	"StandardContext")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE0FC502A1"

+			width      	350

+			height     	1214

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @349

+			    location   	(816, 592)

+			    line_color 	3342489

+			    InterObjView 	@348

+			    height     	264

+			    y_coord    	204

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @350

+			    location   	(816, 1008)

+			    line_color 	3342489

+			    InterObjView 	@348

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object InterObjView "StandardPipeline" @351

+			location   	(1184, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@351

+			    location   	(1184, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	363

+			    justify    	0

+			    label      	"StandardPipeline")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE112F003F"

+			width      	381

+			height     	1214

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @352

+			    location   	(1184, 736)

+			    line_color 	3342489

+			    InterObjView 	@351

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object InterObjView "StandardContextValve" @353

+			location   	(1552, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@353

+			    location   	(1552, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	300

+			    justify    	0

+			    label      	"StandardContextValve")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE110D0375"

+			width      	318

+			height     	1214

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @354

+			    location   	(1552, 624)

+			    line_color 	3342489

+			    InterObjView 	@353

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object InterObjView "SetPropertiesRule" @355

+			location   	(1920, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@355

+			    location   	(1920, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	363

+			    justify    	0

+			    label      	"SetPropertiesRule")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE100303A4"

+			width      	381

+			height     	1214

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @356

+			    location   	(1920, 928)

+			    line_color 	3342489

+			    InterObjView 	@355

+			    height     	200

+			    y_coord    	140

+			    Nested     	FALSE))

+		    (object InterObjView "SetNextRule" @357

+			location   	(2272, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@357

+			    location   	(2272, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"SetNextRule")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE12690267"

+			width      	300

+			height     	1214

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @358

+			    location   	(2272, 1168)

+			    line_color 	3342489

+			    InterObjView 	@357

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object SelfMessView "" @359

+			location   	(0, 352)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @360

+			    Parent_View 	@359

+			    location   	(267, 308)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE0E7801DB"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	108

+			    justify    	0

+			    label      	"parse"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@342

+			supplier   	@342

+			Focus_Src  	@343

+			Focus_Entry 	@344

+			origin     	(192, 352)

+			terminus   	(342, 352)

+			ordinal    	0)

+		    (object SelfMessView "" @361

+			location   	(16, 448)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @362

+			    Parent_View 	@361

+			    location   	(345, 420)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE0F2F03D2"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	267

+			    justify    	0

+			    label      	"startElement()"

+			    pctDist    	1.020000

+			    height     	28

+			    orientation 	0)

+			line_color 	3342489

+			client     	@342

+			supplier   	@342

+			Focus_Src  	@343

+			Focus_Entry 	@345

+			origin     	(192, 448)

+			terminus   	(342, 448)

+			ordinal    	1)

+		    (object InterMessView "" @363

+			location   	(336, 560)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @364

+			    Parent_View 	@363

+			    location   	(327, 516)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE0F400214"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	132

+			    justify    	0

+			    label      	"begin()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@342

+			supplier   	@346

+			Focus_Src  	@343

+			Focus_Entry 	@347

+			origin     	(191, 560)

+			terminus   	(464, 560)

+			ordinal    	2)

+		    (object InterMessView "" @365

+			location   	(16, 592)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @366

+			    Parent_View 	@365

+			    location   	(647, 548)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE0FD30266"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	265

+			    justify    	0

+			    label      	"newInstance()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@346

+			supplier   	@348

+			Focus_Src  	@347

+			Focus_Entry 	@349

+			origin     	(495, 592)

+			terminus   	(800, 592)

+			ordinal    	3)

+		    (object InterMessView "" @367

+			location   	(864, 928)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @368

+			    Parent_View 	@367

+			    location   	(1199, 884)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE102002E9"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	132

+			    justify    	0

+			    label      	"begin()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@346

+			supplier   	@355

+			Focus_Src  	@347

+			Focus_Entry 	@356

+			origin     	(495, 928)

+			terminus   	(1904, 928)

+			ordinal    	6)

+		    (object InterMessView "" @369

+			location   	(1008, 736)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @370

+			    Parent_View 	@369

+			    location   	(1139, 693)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE114A0193"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	610

+			    justify    	0

+			    label      	"setBasic(StandardContextValve)"

+			    pctDist    	0.915014

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@348

+			supplier   	@351

+			Focus_Src  	@349

+			Focus_Entry 	@352

+			origin     	(831, 736)

+			terminus   	(1168, 736)

+			ordinal    	5)

+		    (object InterMessView "" @371

+			location   	(16, 624)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @372

+			    Parent_View 	@371

+			    location   	(1183, 580)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE115E001F"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	106

+			    justify    	0

+			    label      	"new()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@348

+			supplier   	@353

+			Focus_Src  	@349

+			Focus_Entry 	@354

+			origin     	(831, 624)

+			terminus   	(1536, 624)

+			ordinal    	4)

+		    (object InterMessView "" @373

+			location   	(1440, 1008)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @374

+			    Parent_View 	@373

+			    location   	(1368, 964)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE11D50391"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	1190

+			    justify    	0

+			    label      	"//Using BeanUtil, set the object properties (from ex: admin.xml)"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	1)

+			line_color 	3342489

+			client     	@355

+			supplier   	@348

+			Focus_Src  	@356

+			Focus_Entry 	@350

+			origin     	(1904, 1008)

+			terminus   	(832, 1008)

+			ordinal    	7)

+		    (object InterMessView "" @375

+			location   	(1392, 1168)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @376

+			    Parent_View 	@375

+			    location   	(1375, 1124)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE128501C8"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	99

+			    justify    	0

+			    label      	"end()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@346

+			supplier   	@357

+			Focus_Src  	@347

+			Focus_Entry 	@358

+			origin     	(495, 1168)

+			terminus   	(2256, 1168)

+			ordinal    	8)

+		    (object NoteView @377

+			location   	(1216, 80)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@377

+			    location   	(900, 15)

+			    fill_color 	13434879

+			    nlines     	2

+			    max_width  	596

+			    label      	"HostConfig.deployDescriptor()")

+			line_color 	3342489

+			fill_color 	13434879

+			width      	656

+			height     	143)

+		    (object NoteView @378

+			location   	(2128, 1888)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@378

+			    location   	(1947, 1822)

+			    fill_color 	13434879

+			    nlines     	2

+			    max_width  	327

+			    label      	"#3 Catalina.start()")

+			line_color 	3342489

+			fill_color 	13434879

+			width      	387

+			height     	144)))

+	    (object InteractionDiagram "6. catalina_start_4"

+		mechanism_ref 	@87

+		quid       	"3DFE13890008"

+		title      	"6. catalina_start_4"

+		zoom       	100

+		max_height 	28350

+		max_width  	21600

+		origin_x   	0

+		origin_y   	1818

+		items      	(list diagram_item_list

+		    (object InterObjView "Digester" @379

+			location   	(176, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@379

+			    location   	(176, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"Digester")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE13960364"

+			width      	300

+			height     	2446

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @380

+			    location   	(176, 336)

+			    line_color 	3342489

+			    InterObjView 	@379

+			    height     	1228

+			    y_coord    	1168

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @381

+			    location   	(176, 336)

+			    line_color 	3342489

+			    InterObjView 	@379

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @382

+			    location   	(176, 480)

+			    line_color 	3342489

+			    InterObjView 	@379

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @383

+			    location   	(176, 1616)

+			    line_color 	3342489

+			    InterObjView 	@379

+			    height     	580

+			    y_coord    	520

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @384

+			    location   	(176, 1728)

+			    line_color 	3342489

+			    InterObjView 	@379

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterObjView "StandardHostDeployer" @385

+			location   	(480, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@385

+			    location   	(480, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	301

+			    justify    	0

+			    label      	"StandardHostDeployer")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE1D8A02DC"

+			width      	319

+			height     	2446

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @386

+			    location   	(480, 576)

+			    line_color 	3342489

+			    InterObjView 	@385

+			    height     	928

+			    y_coord    	868

+			    Nested     	FALSE))

+		    (object InterObjView "StandardHost" @387

+			location   	(800, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@387

+			    location   	(800, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"StandardHost")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE1DF20141"

+			width      	300

+			height     	2446

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @388

+			    location   	(800, 592)

+			    line_color 	3342489

+			    InterObjView 	@387

+			    height     	852

+			    y_coord    	792

+			    Nested     	FALSE))

+		    (object InterObjView "StandardContext" @389

+			location   	(1120, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@389

+			    location   	(1120, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	295

+			    justify    	0

+			    label      	"StandardContext")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE196D00D9"

+			width      	313

+			height     	2446

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @390

+			    location   	(1120, 624)

+			    line_color 	3342489

+			    InterObjView 	@389

+			    height     	760

+			    y_coord    	700

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @391

+			    location   	(1120, 800)

+			    line_color 	3342489

+			    InterObjView 	@389

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @392

+			    location   	(1120, 976)

+			    line_color 	3342489

+			    InterObjView 	@389

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @393

+			    location   	(1120, 1072)

+			    line_color 	3342489

+			    InterObjView 	@389

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterObjView "WebappLoader" @394

+			location   	(1440, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@394

+			    location   	(1440, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	295

+			    justify    	0

+			    label      	"WebappLoader")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE1FFA0347"

+			width      	313

+			height     	2446

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @395

+			    location   	(1440, 640)

+			    line_color 	3342489

+			    InterObjView 	@394

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object InterObjView "StandardManager" @396

+			location   	(1760, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@396

+			    location   	(1760, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	301

+			    justify    	0

+			    label      	"StandardManager")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE201F0105"

+			width      	319

+			height     	2446

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @397

+			    location   	(1760, 832)

+			    line_color 	3342489

+			    InterObjView 	@396

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @398

+			    location   	(1760, 1264)

+			    line_color 	3342489

+			    InterObjView 	@396

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object InterObjView "ContextConfig" @399

+			location   	(1952, 352)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@399

+			    location   	(1952, 352)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"ContextConfig")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE2087028C"

+			width      	300

+			height     	2318

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @400

+			    location   	(1952, 412)

+			    InterObjView 	@399

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @401

+			    location   	(1952, 1136)

+			    line_color 	3342489

+			    InterObjView 	@399

+			    height     	1444

+			    y_coord    	1384

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @402

+			    location   	(1952, 1264)

+			    line_color 	3342489

+			    InterObjView 	@399

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @403

+			    location   	(1952, 1456)

+			    line_color 	3342489

+			    InterObjView 	@399

+			    height     	1070

+			    y_coord    	1010

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @404

+			    location   	(1952, 1568)

+			    line_color 	3342489

+			    InterObjView 	@399

+			    height     	952

+			    y_coord    	892

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @405

+			    location   	(1952, 1984)

+			    line_color 	3342489

+			    InterObjView 	@399

+			    height     	152

+			    y_coord    	92

+			    Nested     	TRUE))

+		    (object SelfMessView "" @406

+			location   	(16, 336)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @407

+			    Parent_View 	@406

+			    location   	(267, 292)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE19AE0065"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	108

+			    justify    	0

+			    label      	"parse"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@379

+			supplier   	@379

+			Focus_Src  	@380

+			Focus_Entry 	@381

+			origin     	(192, 336)

+			terminus   	(342, 336)

+			ordinal    	0)

+		    (object SelfMessView "" @408

+			location   	(16, 480)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @409

+			    Parent_View 	@408

+			    location   	(328, 437)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE19B102E9"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	267

+			    justify    	0

+			    label      	"startElement()"

+			    pctDist    	0.906667

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@379

+			supplier   	@379

+			Focus_Src  	@380

+			Focus_Entry 	@382

+			origin     	(192, 480)

+			terminus   	(342, 480)

+			ordinal    	1)

+		    (object InterMessView "" @410

+			location   	(16, 576)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @411

+			    Parent_View 	@410

+			    location   	(327, 552)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE1DFB0022"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	165

+			    justify    	0

+			    label      	"addChild"

+			    pctDist    	0.498645

+			    height     	25

+			    orientation 	0)

+			line_color 	3342489

+			client     	@379

+			supplier   	@385

+			Focus_Src  	@380

+			Focus_Entry 	@386

+			origin     	(191, 576)

+			terminus   	(464, 576)

+			ordinal    	2)

+		    (object InterMessView "" @412

+			location   	(16, 592)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @413

+			    Parent_View 	@412

+			    location   	(639, 548)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE1FB60277"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	165

+			    justify    	0

+			    label      	"addChild"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@385

+			supplier   	@387

+			Focus_Src  	@386

+			Focus_Entry 	@388

+			origin     	(495, 592)

+			terminus   	(784, 592)

+			ordinal    	3)

+		    (object InterMessView "" @414

+			location   	(16, 624)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @415

+			    Parent_View 	@414

+			    location   	(959, 580)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE1FC40228"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	110

+			    justify    	0

+			    label      	"start()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@387

+			supplier   	@389

+			Focus_Src  	@388

+			Focus_Entry 	@390

+			origin     	(815, 624)

+			terminus   	(1104, 624)

+			ordinal    	4)

+		    (object InterMessView "" @416

+			location   	(16, 640)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @417

+			    Parent_View 	@416

+			    location   	(1279, 596)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE200603BE"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	82

+			    justify    	0

+			    label      	"new"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@389

+			supplier   	@394

+			Focus_Src  	@390

+			Focus_Entry 	@395

+			origin     	(1135, 640)

+			terminus   	(1424, 640)

+			ordinal    	5)

+		    (object SelfMessView "" @418

+			location   	(16, 800)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @419

+			    Parent_View 	@418

+			    location   	(1224, 756)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE200C029A"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	186

+			    justify    	0

+			    label      	"setLoader"

+			    pctDist    	0.593333

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@389

+			supplier   	@389

+			Focus_Src  	@390

+			Focus_Entry 	@391

+			origin     	(1136, 800)

+			terminus   	(1286, 800)

+			ordinal    	6)

+		    (object InterMessView "" @420

+			location   	(16, 832)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @421

+			    Parent_View 	@420

+			    location   	(1439, 788)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE202C0250"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	82

+			    justify    	0

+			    label      	"new"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@389

+			supplier   	@396

+			Focus_Src  	@390

+			Focus_Entry 	@397

+			origin     	(1135, 832)

+			terminus   	(1744, 832)

+			ordinal    	7)

+		    (object SelfMessView "" @422

+			location   	(16, 976)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @423

+			    Parent_View 	@422

+			    location   	(1260, 933)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE2032001C"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	221

+			    justify    	0

+			    label      	"setManager"

+			    pctDist    	0.833333

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@389

+			supplier   	@389

+			Focus_Src  	@390

+			Focus_Entry 	@392

+			origin     	(1136, 976)

+			terminus   	(1286, 976)

+			ordinal    	8)

+		    (object SelfMessView "" @424

+			location   	(16, 1072)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @425

+			    Parent_View 	@424

+			    location   	(1481, 1043)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE205B01A2"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	658

+			    justify    	0

+			    label      	"fireLifecycleEvent(START_EVENT)"

+			    pctDist    	2.306667

+			    height     	30

+			    orientation 	0)

+			line_color 	3342489

+			client     	@389

+			supplier   	@389

+			Focus_Src  	@390

+			Focus_Entry 	@393

+			origin     	(1136, 1072)

+			terminus   	(1286, 1072)

+			ordinal    	9)

+		    (object InterMessView "" @426

+			location   	(16, 1136)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @427

+			    Parent_View 	@426

+			    location   	(1535, 1092)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE20960003"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	745

+			    justify    	0

+			    label      	" // Notify interested LifecycleListeners"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@389

+			supplier   	@399

+			Focus_Src  	@390

+			Focus_Entry 	@401

+			origin     	(1135, 1136)

+			terminus   	(1936, 1136)

+			ordinal    	10)

+		    (object SelfMessView "" @428

+			location   	(16, 1264)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @429

+			    Parent_View 	@428

+			    location   	(2043, 1220)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE20CF018C"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	110

+			    justify    	0

+			    label      	"start()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@399

+			supplier   	@399

+			Focus_Src  	@401

+			Focus_Entry 	@402

+			origin     	(1968, 1264)

+			terminus   	(2118, 1264)

+			ordinal    	11)

+		    (object SelfMessView "" @430

+			location   	(16, 1456)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @431

+			    Parent_View 	@430

+			    location   	(2027, 1413)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE20E303E2"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	275

+			    justify    	0

+			    label      	"defaultConfig()"

+			    pctDist    	0.393333

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@399

+			supplier   	@399

+			Focus_Src  	@401

+			Focus_Entry 	@403

+			origin     	(1968, 1456)

+			terminus   	(2118, 1456)

+			ordinal    	13)

+		    (object SelfMessView "" @432

+			location   	(16, 1568)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @433

+			    Parent_View 	@432

+			    location   	(2043, 1524)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE211D01A1"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	349

+			    justify    	0

+			    label      	"applicationConfig()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@399

+			supplier   	@399

+			Focus_Src  	@401

+			Focus_Entry 	@404

+			origin     	(1968, 1568)

+			terminus   	(2118, 1568)

+			ordinal    	14)

+		    (object InterMessView "" @434

+			location   	(1664, 1264)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @435

+			    Parent_View 	@434

+			    location   	(1439, 1220)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE20B600E5"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	110

+			    justify    	0

+			    label      	"start()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@389

+			supplier   	@396

+			Focus_Src  	@390

+			Focus_Entry 	@398

+			origin     	(1135, 1264)

+			terminus   	(1744, 1264)

+			ordinal    	12)

+		    (object InterMessView "" @436

+			location   	(16, 1616)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @437

+			    Parent_View 	@436

+			    location   	(1064, 1572)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE21B60288"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	145

+			    justify    	0

+			    label      	"create()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	1)

+			line_color 	3342489

+			client     	@399

+			supplier   	@379

+			Focus_Src  	@404

+			Focus_Entry 	@383

+			origin     	(1936, 1616)

+			terminus   	(192, 1616)

+			ordinal    	15)

+		    (object SelfMessView "" @438

+			location   	(16, 1728)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @439

+			    Parent_View 	@438

+			    location   	(457, 1701)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE21BE021B"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	530

+			    justify    	0

+			    label      	"// Process web.xml * tld.xml"

+			    pctDist    	1.773333

+			    height     	28

+			    orientation 	0)

+			line_color 	3342489

+			client     	@379

+			supplier   	@379

+			Focus_Src  	@383

+			Focus_Entry 	@384

+			origin     	(192, 1728)

+			terminus   	(342, 1728)

+			ordinal    	16)

+		    (object InterObjView "StandardWrapper" @440

+			location   	(2208, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@440

+			    location   	(2208, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"StandardWrapper")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE220C0122"

+			width      	300

+			height     	2446

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @441

+			    location   	(2208, 2016)

+			    line_color 	3342489

+			    InterObjView 	@440

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @442

+			    location   	(2208, 2176)

+			    line_color 	3342489

+			    InterObjView 	@440

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @443

+			    location   	(2208, 2288)

+			    line_color 	3342489

+			    InterObjView 	@440

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @444

+			    location   	(2208, 2400)

+			    line_color 	3342489

+			    InterObjView 	@440

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object InterMessView "" @445

+			location   	(16, 1984)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @446

+			    Parent_View 	@445

+			    location   	(1063, 1940)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE228B03BA"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	1478

+			    justify    	0

+			    label      	"createWarpper() // Invoked by a WebWrapperRule (not Directly by the Digester)"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@379

+			supplier   	@399

+			Focus_Src  	@383

+			Focus_Entry 	@405

+			origin     	(191, 1984)

+			terminus   	(1936, 1984)

+			ordinal    	17)

+		    (object InterMessView "" @447

+			location   	(16, 2016)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @448

+			    Parent_View 	@447

+			    location   	(2079, 1972)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE229A0004"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	82

+			    justify    	0

+			    label      	"new"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@399

+			supplier   	@440

+			Focus_Src  	@405

+			Focus_Entry 	@441

+			origin     	(1967, 2016)

+			terminus   	(2192, 2016)

+			ordinal    	18)

+		    (object InterMessView "" @449

+			location   	(16, 2176)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @450

+			    Parent_View 	@449

+			    location   	(2116, 2134)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE22A700C1"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	405

+			    justify    	0

+			    label      	"addInstanceListener()"

+			    pctDist    	0.662295

+			    height     	43

+			    orientation 	0)

+			line_color 	3342489

+			client     	@399

+			supplier   	@440

+			Focus_Src  	@404

+			Focus_Entry 	@442

+			origin     	(1967, 2176)

+			terminus   	(2192, 2176)

+			ordinal    	19)

+		    (object InterMessView "" @451

+			location   	(2496, 2288)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @452

+			    Parent_View 	@451

+			    location   	(2116, 2245)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE22C701CC"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	410

+			    justify    	0

+			    label      	"addLifecycleListener()"

+			    pctDist    	0.662295

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@399

+			supplier   	@440

+			Focus_Src  	@404

+			Focus_Entry 	@443

+			origin     	(1967, 2288)

+			terminus   	(2192, 2288)

+			ordinal    	20)

+		    (object InterMessView "" @453

+			location   	(16, 2400)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @454

+			    Parent_View 	@453

+			    location   	(2124, 2357)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE22E80364"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	428

+			    justify    	0

+			    label      	"addContainerListener()"

+			    pctDist    	0.701639

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@399

+			supplier   	@440

+			Focus_Src  	@404

+			Focus_Entry 	@444

+			origin     	(1967, 2400)

+			terminus   	(2192, 2400)

+			ordinal    	21)

+		    (object NoteView @455

+			location   	(1216, 80)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@455

+			    location   	(825, 14)

+			    fill_color 	13434879

+			    nlines     	2

+			    max_width  	746

+			    label      	"Deploy App.")

+			line_color 	3342489

+			fill_color 	13434879

+			width      	806

+			height     	144)

+		    (object NoteView @456

+			location   	(2144, 2704)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@456

+			    location   	(1953, 2641)

+			    fill_color 	13434879

+			    nlines     	2

+			    max_width  	347

+			    label      	"#4 Catalina.start()")

+			line_color 	3342489

+			fill_color 	13434879

+			width      	407

+			height     	138)))

+	    (object InteractionDiagram "1. catalina_request"

+		mechanism_ref 	@88

+		quid       	"3DFE3B5001C3"

+		title      	"1. catalina_request"

+		zoom       	100

+		max_height 	28350

+		max_width  	21600

+		origin_x   	0

+		origin_y   	0

+		items      	(list diagram_item_list

+		    (object InterObjView "ThreadPool" @457

+			location   	(176, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@457

+			    location   	(176, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"ThreadPool")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE402B02C5"

+			width      	300

+			height     	1276

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @458

+			    location   	(176, 384)

+			    line_color 	3342489

+			    InterObjView 	@457

+			    height     	304

+			    y_coord    	244

+			    Nested     	FALSE))

+		    (object InterObjView "TcpWorkerThread" @459

+			location   	(512, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@459

+			    location   	(512, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	332

+			    justify    	0

+			    label      	"TcpWorkerThread")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE403200F8"

+			width      	350

+			height     	1276

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @460

+			    location   	(512, 384)

+			    line_color 	3342489

+			    InterObjView 	@459

+			    height     	244

+			    y_coord    	184

+			    Nested     	FALSE))

+		    (object InterObjView "Http11Protocol" @461

+			location   	(848, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@461

+			    location   	(848, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"Http11Protocol")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE40750177"

+			width      	300

+			height     	1276

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @462

+			    location   	(848, 400)

+			    line_color 	3342489

+			    InterObjView 	@461

+			    height     	168

+			    y_coord    	108

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @463

+			    location   	(848, 448)

+			    line_color 	3342489

+			    InterObjView 	@461

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @464

+			    location   	(848, 592)

+			    line_color 	3342489

+			    InterObjView 	@461

+			    height     	120

+			    y_coord    	60

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @465

+			    location   	(848, 592)

+			    line_color 	3342489

+			    InterObjView 	@461

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @466

+			    location   	(848, 736)

+			    line_color 	3342489

+			    InterObjView 	@461

+			    height     	674

+			    y_coord    	614

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @467

+			    location   	(848, 736)

+			    line_color 	3342489

+			    InterObjView 	@461

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterObjView "CoyoteAdapter" @468

+			location   	(1168, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@468

+			    location   	(1168, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"CoyoteAdapter")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE410600DF"

+			width      	300

+			height     	1276

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @469

+			    location   	(1168, 848)

+			    line_color 	3342489

+			    InterObjView 	@468

+			    height     	502

+			    y_coord    	442

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @470

+			    location   	(1168, 944)

+			    line_color 	3342489

+			    InterObjView 	@468

+			    height     	352

+			    y_coord    	292

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @471

+			    location   	(1168, 944)

+			    line_color 	3342489

+			    InterObjView 	@468

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterObjView "StandardEngine" @472

+			location   	(1520, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@472

+			    location   	(1520, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	363

+			    justify    	0

+			    label      	"StandardEngine")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE424B0349"

+			width      	381

+			height     	1276

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @473

+			    location   	(1520, 1008)

+			    line_color 	3342489

+			    InterObjView 	@472

+			    height     	228

+			    y_coord    	168

+			    Nested     	FALSE))

+		    (object InterObjView "StandardPipeline" @474

+			location   	(1872, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@474

+			    location   	(1872, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"StandardPipeline")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE42900045"

+			width      	300

+			height     	1276

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @475

+			    location   	(1872, 1040)

+			    line_color 	3342489

+			    InterObjView 	@474

+			    height     	136

+			    y_coord    	76

+			    Nested     	FALSE))

+		    (object InterObjView "StandardValveContext" @476

+			location   	(2192, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@476

+			    location   	(2192, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"StandardValveContext")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE42C002B1"

+			width      	300

+			height     	1276

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @477

+			    location   	(2192, 1056)

+			    line_color 	3342489

+			    InterObjView 	@476

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object InterMessView "" @478

+			location   	(16, 384)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @479

+			    Parent_View 	@478

+			    location   	(343, 340)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE40E701AE"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	112

+			    justify    	0

+			    label      	"runIt()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@457

+			supplier   	@459

+			Focus_Src  	@458

+			Focus_Entry 	@460

+			origin     	(191, 384)

+			terminus   	(496, 384)

+			ordinal    	0)

+		    (object InterMessView "" @480

+			location   	(16, 400)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @481

+			    Parent_View 	@480

+			    location   	(679, 356)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE40FC010E"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	359

+			    justify    	0

+			    label      	"processConnection"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@459

+			supplier   	@461

+			Focus_Src  	@460

+			Focus_Entry 	@462

+			origin     	(527, 400)

+			terminus   	(832, 400)

+			ordinal    	1)

+		    (object SelfMessView "" @482

+			location   	(16, 448)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @483

+			    Parent_View 	@482

+			    location   	(969, 405)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE4111029F"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	175

+			    justify    	0

+			    label      	"process()"

+			    pctDist    	0.706667

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@461

+			supplier   	@461

+			Focus_Src  	@462

+			Focus_Entry 	@463

+			origin     	(864, 448)

+			terminus   	(1014, 448)

+			ordinal    	2)

+		    (object SelfMessView "" @484

+			location   	(16, 592)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @485

+			    Parent_View 	@484

+			    location   	(1048, 549)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE415C0151"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	291

+			    justify    	0

+			    label      	"parseHeaders()"

+			    pctDist    	1.226667

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@461

+			supplier   	@461

+			Focus_Src  	@464

+			Focus_Entry 	@465

+			origin     	(864, 592)

+			terminus   	(1014, 592)

+			ordinal    	3)

+		    (object SelfMessView "" @486

+			location   	(16, 736)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @487

+			    Parent_View 	@486

+			    location   	(1052, 692)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE41A60161"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	328

+			    justify    	0

+			    label      	"prepareRequest()"

+			    pctDist    	1.253333

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@461

+			supplier   	@461

+			Focus_Src  	@466

+			Focus_Entry 	@467

+			origin     	(864, 736)

+			terminus   	(1014, 736)

+			ordinal    	4)

+		    (object InterMessView "" @488

+			location   	(992, 848)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @489

+			    Parent_View 	@488

+			    location   	(1007, 804)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE41D60107"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	162

+			    justify    	0

+			    label      	"service()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@461

+			supplier   	@468

+			Focus_Src  	@466

+			Focus_Entry 	@469

+			origin     	(863, 848)

+			terminus   	(1152, 848)

+			ordinal    	5)

+		    (object SelfMessView "" @490

+			location   	(16, 944)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @491

+			    Parent_View 	@490

+			    location   	(1372, 916)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE422C01F1"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	373

+			    justify    	0

+			    label      	"postParseRequest()"

+			    pctDist    	1.253333

+			    height     	28

+			    orientation 	0)

+			line_color 	3342489

+			client     	@468

+			supplier   	@468

+			Focus_Src  	@470

+			Focus_Entry 	@471

+			origin     	(1184, 944)

+			terminus   	(1334, 944)

+			ordinal    	6)

+		    (object InterMessView "" @492

+			location   	(1344, 1008)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @493

+			    Parent_View 	@492

+			    location   	(1343, 964)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE42800238"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	149

+			    justify    	0

+			    label      	"invoke()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@468

+			supplier   	@472

+			Focus_Src  	@470

+			Focus_Entry 	@473

+			origin     	(1183, 1008)

+			terminus   	(1504, 1008)

+			ordinal    	7)

+		    (object InterMessView "" @494

+			location   	(16, 1040)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @495

+			    Parent_View 	@494

+			    location   	(1695, 996)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE429A002D"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	149

+			    justify    	0

+			    label      	"invoke()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@472

+			supplier   	@474

+			Focus_Src  	@473

+			Focus_Entry 	@475

+			origin     	(1535, 1040)

+			terminus   	(1856, 1040)

+			ordinal    	8)

+		    (object InterMessView "" @496

+			location   	(16, 1056)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @497

+			    Parent_View 	@496

+			    location   	(2031, 1012)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE42CE0230"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	149

+			    justify    	0

+			    label      	"invoke()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@474

+			supplier   	@476

+			Focus_Src  	@475

+			Focus_Entry 	@477

+			origin     	(1887, 1056)

+			terminus   	(2176, 1056)

+			ordinal    	9)

+		    (object NoteView @498

+			location   	(2000, 2016)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@498

+			    location   	(1862, 1956)

+			    fill_color 	13434879

+			    nlines     	2

+			    max_width  	240

+			    label      	"See next diagram")

+			line_color 	3342489

+			fill_color 	13434879

+			width      	300

+			height     	132)

+		    (object AttachView "" @499

+			stereotype 	TRUE

+			line_color 	3342489

+			client     	@498

+			supplier   	@476

+			line_style 	0)))

+	    (object InteractionDiagram "2. catalina_request_2"

+		mechanism_ref 	@89

+		quid       	"3DFE42F7024C"

+		title      	"2. catalina_request_2"

+		zoom       	100

+		max_height 	28350

+		max_width  	21600

+		origin_x   	0

+		origin_y   	0

+		items      	(list diagram_item_list

+		    (object InterObjView "StandardContextValve" @500

+			location   	(224, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@500

+			    location   	(224, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	401

+			    justify    	0

+			    label      	"StandardContextValve")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE4307001E"

+			width      	419

+			height     	1678

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @501

+			    location   	(224, 384)

+			    line_color 	3342489

+			    InterObjView 	@500

+			    height     	386

+			    y_coord    	326

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @502

+			    location   	(224, 704)

+			    line_color 	3342489

+			    InterObjView 	@500

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @503

+			    location   	(224, 896)

+			    line_color 	3342489

+			    InterObjView 	@500

+			    height     	916

+			    y_coord    	856

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @504

+			    location   	(224, 1024)

+			    line_color 	3342489

+			    InterObjView 	@500

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @505

+			    location   	(224, 1280)

+			    line_color 	3342489

+			    InterObjView 	@500

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterObjView "StandardEngineValve" @506

+			location   	(592, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@506

+			    location   	(592, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"StandardEngineValve")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE432801F3"

+			width      	300

+			height     	1678

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @507

+			    location   	(592, 384)

+			    line_color 	3342489

+			    InterObjView 	@506

+			    height     	264

+			    y_coord    	204

+			    Nested     	FALSE))

+		    (object InterObjView "StandardHost" @508

+			location   	(912, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@508

+			    location   	(912, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"StandardHost")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE436503BD"

+			width      	300

+			height     	1678

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @509

+			    location   	(912, 416)

+			    line_color 	3342489

+			    InterObjView 	@508

+			    height     	431

+			    y_coord    	371

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @510

+			    location   	(912, 528)

+			    line_color 	3342489

+			    InterObjView 	@508

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @511

+			    location   	(912, 704)

+			    line_color 	3342489

+			    InterObjView 	@508

+			    height     	120

+			    y_coord    	60

+			    Nested     	TRUE))

+		    (object InterObjView "ErrorReportValve" @512

+			location   	(1264, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@512

+			    location   	(1264, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	294

+			    justify    	0

+			    label      	"ErrorReportValve")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE438C028D"

+			width      	312

+			height     	1678

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @513

+			    location   	(1264, 896)

+			    line_color 	3342489

+			    InterObjView 	@512

+			    height     	248

+			    y_coord    	188

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @514

+			    location   	(1264, 944)

+			    line_color 	3342489

+			    InterObjView 	@512

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterObjView "ErrorDispatcherValve" @515

+			location   	(1584, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@515

+			    location   	(1584, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	295

+			    justify    	0

+			    label      	"ErrorDispatcherValve")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE451F01EC"

+			width      	313

+			height     	1678

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @516

+			    location   	(1584, 1168)

+			    line_color 	3342489

+			    InterObjView 	@515

+			    height     	232

+			    y_coord    	172

+			    Nested     	FALSE))

+		    (object InterObjView "StandardHostValve" @517

+			location   	(1904, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@517

+			    location   	(1904, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	295

+			    justify    	0

+			    label      	"StandardHostValve")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE47310130"

+			width      	313

+			height     	1678

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @518

+			    location   	(1904, 1472)

+			    line_color 	3342489

+			    InterObjView 	@517

+			    height     	280

+			    y_coord    	220

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @519

+			    location   	(1904, 1536)

+			    line_color 	3342489

+			    InterObjView 	@517

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterObjView "StandardContext" @520

+			location   	(2224, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@520

+			    location   	(2224, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"StandardContext")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE47C100F1"

+			width      	300

+			height     	1678

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @521

+			    location   	(2224, 1632)

+			    line_color 	3342489

+			    InterObjView 	@520

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object InterMessView "" @522

+			location   	(16, 384)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @523

+			    Parent_View 	@522

+			    location   	(407, 340)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE434C019B"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	146

+			    justify    	0

+			    label      	"invoke()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@500

+			supplier   	@506

+			Focus_Src  	@501

+			Focus_Entry 	@507

+			origin     	(239, 384)

+			terminus   	(576, 384)

+			ordinal    	0)

+		    (object InterMessView "" @524

+			location   	(16, 416)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @525

+			    Parent_View 	@524

+			    location   	(751, 372)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE436C009D"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	107

+			    justify    	0

+			    label      	"map()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@506

+			supplier   	@508

+			Focus_Src  	@507

+			Focus_Entry 	@509

+			origin     	(607, 416)

+			terminus   	(896, 416)

+			ordinal    	1)

+		    (object InterMessView "" @526

+			location   	(800, 528)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @527

+			    Parent_View 	@526

+			    location   	(751, 484)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE43830063"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	146

+			    justify    	0

+			    label      	"invoke()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@506

+			supplier   	@508

+			Focus_Src  	@507

+			Focus_Entry 	@510

+			origin     	(607, 528)

+			terminus   	(896, 528)

+			ordinal    	2)

+		    (object InterMessView "" @528

+			location   	(608, 704)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @529

+			    Parent_View 	@528

+			    location   	(568, 660)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE43B903BF"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	146

+			    justify    	0

+			    label      	"invoke()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	1)

+			line_color 	3342489

+			client     	@508

+			supplier   	@500

+			Focus_Src  	@511

+			Focus_Entry 	@502

+			origin     	(896, 704)

+			terminus   	(240, 704)

+			ordinal    	3)

+		    (object InterMessView "" @530

+			location   	(752, 896)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @531

+			    Parent_View 	@530

+			    location   	(743, 852)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE43C203A4"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	146

+			    justify    	0

+			    label      	"invoke()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@500

+			supplier   	@512

+			Focus_Src  	@503

+			Focus_Entry 	@513

+			origin     	(239, 896)

+			terminus   	(1248, 896)

+			ordinal    	4)

+		    (object SelfMessView "" @532

+			location   	(16, 944)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @533

+			    Parent_View 	@532

+			    location   	(1355, 900)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE442501B1"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	135

+			    justify    	0

+			    label      	"report()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@512

+			supplier   	@512

+			Focus_Src  	@513

+			Focus_Entry 	@514

+			origin     	(1280, 944)

+			terminus   	(1430, 944)

+			ordinal    	5)

+		    (object InterMessView "" @534

+			location   	(16, 1024)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @535

+			    Parent_View 	@534

+			    location   	(744, 980)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE46330293"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	230

+			    justify    	0

+			    label      	"invokeNext()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	1)

+			line_color 	3342489

+			client     	@512

+			supplier   	@500

+			Focus_Src  	@513

+			Focus_Entry 	@504

+			origin     	(1248, 1024)

+			terminus   	(240, 1024)

+			ordinal    	6)

+		    (object InterMessView "" @536

+			location   	(944, 1168)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @537

+			    Parent_View 	@536

+			    location   	(903, 1124)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE46E70026"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	146

+			    justify    	0

+			    label      	"invoke()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@500

+			supplier   	@515

+			Focus_Src  	@503

+			Focus_Entry 	@516

+			origin     	(239, 1168)

+			terminus   	(1568, 1168)

+			ordinal    	7)

+		    (object InterMessView "" @538

+			location   	(16, 1280)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @539

+			    Parent_View 	@538

+			    location   	(904, 1236)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE475D03A0"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	206

+			    justify    	0

+			    label      	"invokeNext"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	1)

+			line_color 	3342489

+			client     	@515

+			supplier   	@500

+			Focus_Src  	@516

+			Focus_Entry 	@505

+			origin     	(1568, 1280)

+			terminus   	(240, 1280)

+			ordinal    	8)

+		    (object InterMessView "" @540

+			location   	(1184, 1472)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @541

+			    Parent_View 	@540

+			    location   	(1063, 1428)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE476503CA"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	146

+			    justify    	0

+			    label      	"invoke()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@500

+			supplier   	@517

+			Focus_Src  	@503

+			Focus_Entry 	@518

+			origin     	(239, 1472)

+			terminus   	(1888, 1472)

+			ordinal    	9)

+		    (object SelfMessView "" @542

+			location   	(16, 1536)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @543

+			    Parent_View 	@542

+			    location   	(1995, 1492)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE47CD0167"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	295

+			    justify    	0

+			    label      	"map() //Context"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@517

+			supplier   	@517

+			Focus_Src  	@518

+			Focus_Entry 	@519

+			origin     	(1920, 1536)

+			terminus   	(2070, 1536)

+			ordinal    	10)

+		    (object InterMessView "" @544

+			location   	(16, 1632)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @545

+			    Parent_View 	@544

+			    location   	(2063, 1588)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE47D500B4"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	146

+			    justify    	0

+			    label      	"invoke()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@517

+			supplier   	@520

+			Focus_Src  	@518

+			Focus_Entry 	@521

+			origin     	(1919, 1632)

+			terminus   	(2208, 1632)

+			ordinal    	11)))

+	    (object InteractionDiagram "3. catalina_request_3"

+		mechanism_ref 	@90

+		quid       	"3DFE48A202AD"

+		title      	"3. catalina_request_3"

+		zoom       	100

+		max_height 	28350

+		max_width  	21600

+		origin_x   	612

+		origin_y   	938

+		items      	(list diagram_item_list

+		    (object InterObjView "StandardContext" @546

+			location   	(160, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@546

+			    location   	(160, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"StandardContext")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE48B001D1"

+			width      	300

+			height     	2226

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @547

+			    location   	(160, 400)

+			    line_color 	3342489

+			    InterObjView 	@546

+			    height     	1960

+			    y_coord    	1900

+			    Nested     	FALSE))

+		    (object InterObjView "StandardPipeline" @548

+			location   	(480, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@548

+			    location   	(480, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"StandardPipeline")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE48B80088"

+			width      	300

+			height     	2226

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @549

+			    location   	(480, 400)

+			    line_color 	3342489

+			    InterObjView 	@548

+			    height     	1900

+			    y_coord    	1840

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @550

+			    location   	(480, 1088)

+			    line_color 	3342489

+			    InterObjView 	@548

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterObjView "StandardValveContext" @551

+			location   	(800, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@551

+			    location   	(800, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"StandardValveContext")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE48D000DC"

+			width      	300

+			height     	2226

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @552

+			    location   	(800, 736)

+			    line_color 	3342489

+			    InterObjView 	@551

+			    height     	1510

+			    y_coord    	1450

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @553

+			    location   	(800, 1168)

+			    line_color 	3342489

+			    InterObjView 	@551

+			    height     	1072

+			    y_coord    	1012

+			    Nested     	TRUE))

+		    (object InterObjView "StandardContextValve" @554

+			location   	(1104, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@554

+			    location   	(1104, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"StandardContextValve")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE490303A7"

+			width      	300

+			height     	2226

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @555

+			    location   	(1104, 800)

+			    line_color 	3342489

+			    InterObjView 	@554

+			    height     	468

+			    y_coord    	408

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @556

+			    location   	(1104, 848)

+			    line_color 	3342489

+			    InterObjView 	@554

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterObjView "StandardWrapper" @557

+			location   	(1424, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@557

+			    location   	(1424, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	288

+			    justify    	0

+			    label      	"StandardWrapper")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE49370351"

+			width      	306

+			height     	2226

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @558

+			    location   	(1424, 944)

+			    line_color 	3342489

+			    InterObjView 	@557

+			    height     	264

+			    y_coord    	204

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @559

+			    location   	(1424, 1520)

+			    line_color 	3342489

+			    InterObjView 	@557

+			    height     	340

+			    y_coord    	280

+			    Nested     	FALSE))

+		    (object InterObjView "StandardWrapperValve" @560

+			location   	(1744, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@560

+			    location   	(1744, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"StandardWrapperValve")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE49890056"

+			width      	300

+			height     	2226

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @561

+			    location   	(1744, 1440)

+			    line_color 	3342489

+			    InterObjView 	@560

+			    height     	740

+			    y_coord    	680

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @562

+			    location   	(1744, 1616)

+			    line_color 	3342489

+			    InterObjView 	@560

+			    height     	184

+			    y_coord    	124

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @563

+			    location   	(1744, 2000)

+			    line_color 	3342489

+			    InterObjView 	@560

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterObjView "ApplicationFilterChain" @564

+			location   	(2064, 224)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@564

+			    location   	(2064, 224)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"ApplicationFilterChain")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE4A1500B2"

+			width      	300

+			height     	2226

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @565

+			    location   	(2064, 1680)

+			    line_color 	3342489

+			    InterObjView 	@564

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @566

+			    location   	(2064, 1808)

+			    line_color 	3342489

+			    InterObjView 	@564

+			    height     	312

+			    y_coord    	252

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @567

+			    location   	(2064, 1872)

+			    line_color 	3342489

+			    InterObjView 	@564

+			    height     	60

+			    y_coord    	0

+			    Nested     	TRUE))

+		    (object InterMessView "" @568

+			location   	(336, 400)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @569

+			    Parent_View 	@568

+			    location   	(319, 356)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE48BE0268"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	147

+			    justify    	0

+			    label      	"invoke()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@546

+			supplier   	@548

+			Focus_Src  	@547

+			Focus_Entry 	@549

+			origin     	(175, 400)

+			terminus   	(464, 400)

+			ordinal    	0)

+		    (object InterMessView "" @570

+			location   	(16, 736)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @571

+			    Parent_View 	@570

+			    location   	(639, 692)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE48EA003A"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	147

+			    justify    	0

+			    label      	"invoke()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@548

+			supplier   	@551

+			Focus_Src  	@549

+			Focus_Entry 	@552

+			origin     	(495, 736)

+			terminus   	(784, 736)

+			ordinal    	1)

+		    (object InterMessView "" @572

+			location   	(16, 800)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @573

+			    Parent_View 	@572

+			    location   	(951, 756)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE491102D6"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	147

+			    justify    	0

+			    label      	"invoke()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@551

+			supplier   	@554

+			Focus_Src  	@552

+			Focus_Entry 	@555

+			origin     	(815, 800)

+			terminus   	(1088, 800)

+			ordinal    	2)

+		    (object SelfMessView "" @574

+			location   	(16, 848)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @575

+			    Parent_View 	@574

+			    location   	(1322, 821)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE492F033D"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	437

+			    justify    	0

+			    label      	"map //return Wrapper"

+			    pctDist    	1.346667

+			    height     	28

+			    orientation 	0)

+			line_color 	3342489

+			client     	@554

+			supplier   	@554

+			Focus_Src  	@555

+			Focus_Entry 	@556

+			origin     	(1120, 848)

+			terminus   	(1270, 848)

+			ordinal    	3)

+		    (object InterMessView "" @576

+			location   	(1264, 944)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @577

+			    Parent_View 	@576

+			    location   	(1262, 901)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE494A0151"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	147

+			    justify    	0

+			    label      	"invoke()"

+			    pctDist    	0.498270

+			    height     	44

+			    orientation 	0)

+			line_color 	3342489

+			client     	@554

+			supplier   	@557

+			Focus_Src  	@555

+			Focus_Entry 	@558

+			origin     	(1119, 944)

+			terminus   	(1408, 944)

+			ordinal    	4)

+		    (object InterMessView "" @578

+			location   	(960, 1088)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @579

+			    Parent_View 	@578

+			    location   	(952, 1044)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE495F0288"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	147

+			    justify    	0

+			    label      	"invoke()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	1)

+			line_color 	3342489

+			client     	@557

+			supplier   	@548

+			Focus_Src  	@558

+			Focus_Entry 	@550

+			origin     	(1408, 1088)

+			terminus   	(496, 1088)

+			ordinal    	5)

+		    (object InterMessView "" @580

+			location   	(16, 1168)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @581

+			    Parent_View 	@580

+			    location   	(639, 1124)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE4976015D"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	147

+			    justify    	0

+			    label      	"invoke()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@548

+			supplier   	@551

+			Focus_Src  	@549

+			Focus_Entry 	@553

+			origin     	(495, 1168)

+			terminus   	(784, 1168)

+			ordinal    	6)

+		    (object InterMessView "" @582

+			location   	(1296, 1440)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @583

+			    Parent_View 	@582

+			    location   	(1271, 1396)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE4993023C"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	147

+			    justify    	0

+			    label      	"invoke()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@551

+			supplier   	@560

+			Focus_Src  	@553

+			Focus_Entry 	@561

+			origin     	(815, 1440)

+			terminus   	(1728, 1440)

+			ordinal    	7)

+		    (object InterMessView "" @584

+			location   	(1616, 1520)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @585

+			    Parent_View 	@584

+			    location   	(1584, 1476)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE49EC004F"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	175

+			    justify    	0

+			    label      	"allocate()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	1)

+			line_color 	3342489

+			client     	@560

+			supplier   	@557

+			Focus_Src  	@561

+			Focus_Entry 	@559

+			origin     	(1728, 1520)

+			terminus   	(1440, 1520)

+			ordinal    	8)

+		    (object InterMessView "" @586

+			location   	(1616, 1616)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @587

+			    Parent_View 	@586

+			    location   	(1583, 1572)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE4A200067"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	242

+			    justify    	0

+			    label      	"return servlet"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@557

+			supplier   	@560

+			Focus_Src  	@559

+			Focus_Entry 	@562

+			origin     	(1439, 1616)

+			terminus   	(1728, 1616)

+			ordinal    	9)

+		    (object InterMessView "" @588

+			location   	(1936, 1680)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @589

+			    Parent_View 	@588

+			    location   	(1937, 1636)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE4A29027E"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	343

+			    justify    	0

+			    label      	"createFilterChain()"

+			    pctDist    	0.619377

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@560

+			supplier   	@564

+			Focus_Src  	@562

+			Focus_Entry 	@565

+			origin     	(1759, 1680)

+			terminus   	(2048, 1680)

+			ordinal    	10)

+		    (object InterMessView "" @590

+			location   	(16, 1808)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @591

+			    Parent_View 	@590

+			    location   	(1902, 1764)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE4A490283"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	170

+			    justify    	0

+			    label      	"doFilter()"

+			    pctDist    	0.498270

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@560

+			supplier   	@564

+			Focus_Src  	@561

+			Focus_Entry 	@566

+			origin     	(1759, 1808)

+			terminus   	(2048, 1808)

+			ordinal    	11)

+		    (object InterObjView "$UNNAMED$0" @592

+			location   	(2240, 368)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	TRUE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object ItemLabel

+			    Parent_View 	@592

+			    location   	(2240, 368)

+			    fill_color 	13434879

+			    anchor_loc 	1

+			    nlines     	2

+			    max_width  	282

+			    justify    	0

+			    label      	"")

+			stereotype 	(object ItemLabel

+			    Parent_View 	@592

+			    location   	(2240, 368)

+			    fill_color 	13434879

+			    anchor     	10

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	222

+			    justify    	0

+			    label      	"<<Servlet>>")

+			icon_style 	"Icon"

+			line_color 	3342489

+			fill_color 	13434879

+			quidu      	"3DFE4BAE0056"

+			width      	300

+			height     	2082

+			icon_height 	0

+			icon_width 	0

+			icon_y_offset 	0

+			annotation 	1

+			Focus_Of_Control 	(object Focus_Of_Control "" @593

+			    location   	(2240, 428)

+			    InterObjView 	@592

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE)

+			Focus_Of_Control 	(object Focus_Of_Control "" @594

+			    location   	(2240, 1984)

+			    line_color 	3342489

+			    InterObjView 	@592

+			    height     	60

+			    y_coord    	0

+			    Nested     	FALSE))

+		    (object SelfMessView "" @595

+			location   	(16, 1872)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @596

+			    Parent_View 	@595

+			    location   	(2155, 1828)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE4C2701C3"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	308

+			    justify    	0

+			    label      	"internalDoFilter()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@564

+			supplier   	@564

+			Focus_Src  	@566

+			Focus_Entry 	@567

+			origin     	(2080, 1872)

+			terminus   	(2230, 1872)

+			ordinal    	12)

+		    (object InterMessView "" @597

+			location   	(2144, 1984)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @598

+			    Parent_View 	@597

+			    location   	(2151, 1940)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE4CA502BF"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	162

+			    justify    	0

+			    label      	"service()"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	0)

+			line_color 	3342489

+			client     	@564

+			supplier   	@592

+			Focus_Src  	@566

+			Focus_Entry 	@594

+			origin     	(2079, 1984)

+			terminus   	(2224, 1984)

+			ordinal    	13)

+		    (object InterMessView "" @599

+			location   	(16, 2000)

+			font       	(object Font

+			    size       	10

+			    face       	"Arial"

+			    bold       	FALSE

+			    italics    	FALSE

+			    underline  	FALSE

+			    strike     	FALSE

+			    color      	0

+			    default_color 	TRUE)

+			label      	(object SegLabel @600

+			    Parent_View 	@599

+			    location   	(1904, 1956)

+			    font       	(object Font

+				size       	10

+				face       	"Arial"

+				bold       	FALSE

+				italics    	FALSE

+				underline  	FALSE

+				strike     	FALSE

+				color      	0

+				default_color 	TRUE)

+			    quidu      	"3DFE4CB4025B"

+			    anchor_loc 	1

+			    nlines     	1

+			    max_width  	113

+			    justify    	0

+			    label      	"return"

+			    pctDist    	0.500000

+			    height     	45

+			    orientation 	1)

+			line_color 	3342489

+			client     	@564

+			supplier   	@560

+			Focus_Src  	@566

+			Focus_Entry 	@563

+			origin     	(2048, 2000)

+			terminus   	(1760, 2000)

+			ordinal    	14)))))

+    root_subsystem 	(object SubSystem "Component View"

+	quid       	"3DFDF6CE036A"

+	physical_models 	(list unit_reference_list)

+	physical_presentations 	(list unit_reference_list

+	    (object Module_Diagram "Main"

+		quid       	"3DFDF6D201FD"

+		title      	"Main"

+		zoom       	100

+		max_height 	28350

+		max_width  	21600

+		origin_x   	0

+		origin_y   	0

+		items      	(list diagram_item_list))))

+    process_structure 	(object Processes

+	quid       	"3DFDF6CE0373"

+	ProcsNDevs 	(list

+	    (object Process_Diagram "Deployment View"

+		quid       	"3DFDF6CE0387"

+		title      	"Deployment View"

+		zoom       	100

+		max_height 	28350

+		max_width  	21600

+		origin_x   	0

+		origin_y   	0

+		items      	(list diagram_item_list))))

+    properties 	(object Properties

+	attributes 	(list Attribute_Set

+	    (object Attribute

+		tool       	"Data Modeler"

+		name       	"propertyId"

+		value      	"809135966")

+	    (object Attribute

+		tool       	"Data Modeler"

+		name       	"default__Project"

+		value      	(list Attribute_Set

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"project"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"TableCounter"

+			value      	0)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ViewCounter"

+			value      	0)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DomainCounter"

+			value      	0)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"SPPackageCounter"

+			value      	0)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"TriggerCounter"

+			value      	0)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IndexCounter"

+			value      	0)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ConstraintCounter"

+			value      	0)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"StoreProcedureCounter"

+			value      	0)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"PrimaryKeyCounter"

+			value      	0)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ForeignKeyCounter"

+			value      	0)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"JoinCounter"

+			value      	0)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"TableSpaceCounter"

+			value      	0)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"cONTAINERCounter"

+			value      	0)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"TablePrefix"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ViewPrefix"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DomainPrefix"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"TriggerPrefix"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IndexPrefix"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ConstraintPrefix"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"StoreProcedurePrefix"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"PrimaryKeyPrefix"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ForeignKeyPrefix"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"TableSpacePrefix"

+			value      	"")))

+	    (object Attribute

+		tool       	"Data Modeler"

+		name       	"default__Module-Spec"

+		value      	(list Attribute_Set

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"dmItem"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DMName"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsDatabase"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"TargetDatabase"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"Location"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsTableSpace"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"TableSpaceType"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsDeault"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"BufferPool"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ExtentSize"

+			value      	1)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"PrefetchSize"

+			value      	1)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"PageSize"

+			value      	4)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ManagedBy"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ContainerList"

+			value      	"")))

+	    (object Attribute

+		tool       	"Data Modeler"

+		name       	"default__Category"

+		value      	(list Attribute_Set

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"dmItem"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DMName"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"dmSchema"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"dmDomainPackage"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsSchema"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsDomainPackage"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsRootSchema"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsRootDomainPackage"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsSchemaPackage"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DatabaseID"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DBMS"

+			value      	"")))

+	    (object Attribute

+		tool       	"Data Modeler"

+		name       	"default__Class"

+		value      	(list Attribute_Set

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"dmItem"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DMName"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsTable"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsView"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsDomain"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsSPPackage"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"Synonymns"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"TableSpaceID"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"SourceId"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"SourceType"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"CorrelationName"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"SelectClause"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsUpdateable"

+			value      	TRUE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"CheckOption"

+			value      	"None")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsSnapShot"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsDistinct"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"PersistToServer"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsPackage"

+			value      	FALSE)))

+	    (object Attribute

+		tool       	"Data Modeler"

+		name       	"default__Attribute"

+		value      	(list Attribute_Set

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"dmItem"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DMName"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"Ordinal"

+			value      	0)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsIdentity"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsUnique"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"NullsAllowed"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"Length"

+			value      	0)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"Scale"

+			value      	0)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ColumnType"

+			value      	"Native")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ForBitData"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DefaultValueType"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DefaultValue"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"SourceId"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"SourceType"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"OID"

+			value      	FALSE)))

+	    (object Attribute

+		tool       	"Data Modeler"

+		name       	"default__Association"

+		value      	(list Attribute_Set

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"dmItem"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DMName"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsRelationship"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"SourceId"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"SourceType"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"RIMethod"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ParentUpdateRule"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ParentUpdateRuleName"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ParentDeleteRule"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ParentDeleteRuleName"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ChildInsertRestrict"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ChildInsertRestrictName"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ChildMultiplicity"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ChildMultiplicityName"

+			value      	"")))

+	    (object Attribute

+		tool       	"Data Modeler"

+		name       	"default__Role"

+		value      	(list Attribute_Set

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"dmItem"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DMName"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ConstraintName"

+			value      	"")))

+	    (object Attribute

+		tool       	"Data Modeler"

+		name       	"default__Operation"

+		value      	(list Attribute_Set

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"dmItem"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DMName"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsConstraint"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ConstraintType"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsIndex"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsTrigger"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsStoredProcedure"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsCluster"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"TableSpace"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"FillFactor"

+			value      	0)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"KeyList"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"CheckPredicate"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsUnique"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DeferalMode"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"InitialCheckTime"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"TriggerType"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsInsertEvent"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsUpdateEvent"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsDeleteEvent"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"RefOldTable"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"RefNewTable"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"RefOldRow"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"RefNewRow"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsRow"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"WhenClause"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"Language"

+			value      	"SQL")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ProcType"

+			value      	"Procedure")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsDeterministic"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ParameterStyle"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ReturnedNull"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ExternalName"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"Length"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"Scale"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ForBitData"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DefaultValue"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DefaultValueType"

+			value      	"")))

+	    (object Attribute

+		tool       	"Data Modeler"

+		name       	"default__Parameter"

+		value      	(list Attribute_Set

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"dmItem"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DMName"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsInParameter"

+			value      	TRUE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"IsOutParameter"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"Ordinal"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"Length"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"Scale"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"ForBitData"

+			value      	FALSE)

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DefaultValueType"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"DefaultValue"

+			value      	"")

+		    (object Attribute

+			tool       	"Data Modeler"

+			name       	"OperationID"

+			value      	"")))

+	    (object Attribute

+		tool       	"Data Modeler"

+		name       	"HiddenTool"

+		value      	FALSE)

+	    (object Attribute

+		tool       	"Data Modeler Communicator"

+		name       	"HiddenTool"

+		value      	FALSE)

+	    (object Attribute

+		tool       	"Deploy"

+		name       	"HiddenTool"

+		value      	FALSE)

+	    (object Attribute

+		tool       	"Rose Model Integrator"

+		name       	"HiddenTool"

+		value      	FALSE)

+	    (object Attribute

+		tool       	"Rose Web Publisher"

+		name       	"HiddenTool"

+		value      	FALSE)

+	    (object Attribute

+		tool       	"Web Modeler"

+		name       	"HiddenTool"

+		value      	FALSE))

+	quid       	"3DFDF6CE0374"))

diff --git a/tomcat-uid/webapps/docs/architecture/startup.html b/tomcat-uid/webapps/docs/architecture/startup.html
new file mode 100644
index 0000000..80c7e8b
--- /dev/null
+++ b/tomcat-uid/webapps/docs/architecture/startup.html
@@ -0,0 +1,44 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Architecture (6.0.39) - Startup</title><meta name="author" content="Yoav Shapira"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li></ul><p><strong>Contents</strong></p><ul><li><a href="index.html">Contents</a></li><li><a href="overview.html">Overview</a></li><li><a href="startup.html">Server Startup</a></li><li><a href="requestProcess.html">Request Process</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Architecture</h1><h2>Startup</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Server Startup"><!--()--></a><a name="Server_Startup"><strong>Server Startup</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>

+This page describes how the Tomcat server starts up.  There are several

+different ways to start tomcat, including:

+<ul>

+  <li>From the command line.</li>

+  <li>From a Java program as an embedded server.</li>

+  <li>Automatically as a Windows service.</li>

+</ul>

+</p>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="description"><strong>description</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+A text description of the startup procedure is available

+<a href="startup/serverStartup.txt">here.</a>

+</p>

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="diagram"><strong>diagram</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+A UML sequence diagram of the startup procedure is available

+<a href="startup/serverStartup.pdf">here.</a>

+</p>

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="comments"><strong>comments</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+The startup process can be customized in many ways, both

+by modifying Tomcat code and by implementing your own

+LifecycleListeners which are then registered in the server.xml

+configuration file.

+</p>

+

+</blockquote></td></tr></table>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/architecture/startup/serverStartup.pdf b/tomcat-uid/webapps/docs/architecture/startup/serverStartup.pdf
new file mode 100644
index 0000000..34aa598
--- /dev/null
+++ b/tomcat-uid/webapps/docs/architecture/startup/serverStartup.pdf
Binary files differ
diff --git a/tomcat-uid/webapps/docs/architecture/startup/serverStartup.txt b/tomcat-uid/webapps/docs/architecture/startup/serverStartup.txt
new file mode 100644
index 0000000..7eac279
--- /dev/null
+++ b/tomcat-uid/webapps/docs/architecture/startup/serverStartup.txt
@@ -0,0 +1,138 @@
+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+

+Tomcat 5 Startup Sequence

+

+Sequence 1. Start from Command Line

+Class: org.apache.catalina.startup.Bootstrap

+What it does:

+	a) Set up classloaders 

+		commonLoader (common)-> System Loader

+		sharedLoader (shared)-> commonLoader -> System Loader

+		catalinaLoader(server) -> commonLoader -> System Loader

+	b) Load startup class (reflection)

+		org.apache.catalina.startup.Catalina

+		setParentClassloader -> sharedLoader

+		Thread.contextClassloader -> catalinaLoader

+	c) Bootstrap.daemon.init() complete

+	

+Sequence 2. Process command line argument (start, startd, stop, stopd)

+Class: org.apache.catalina.startup.Bootstrap (assume command->start)

+What it does: 

+	a) Catalina.setAwait(true);

+	b) Catalina.load()

+		b1) initDirs() -> set properties like 

+		                  catalina.home

+		                  catalina.base == catalina.home (most cases)

+		b2) initNaming

+			setProperty(javax.naming.Context.INITIAL_CONTEXT_FACTORY,

+				    org.apache.naming.java.javaURLContextFactory ->default)

+		b3) createStartDigester() 

+			Configures a digester for the main server.xml elements like

+			org.apache.catalina.core.StandardServer (can change of course :)

+			org.apache.catalina.deploy.NamingResources

+				Stores naming resources in the J2EE JNDI tree

+			org.apache.catalina.LifecycleListener

+				implements events for start/stop of major components

+			org.apache.catalina.core.StandardService

+				The single entry for a set of connectors,

+				so that a container can listen to multiple connectors

+				ie, single entry

+			org.apache.coyote.tomcat5.CoyoteConnector

+				Connectors to listen for incoming requests only

+			It also adds the following rulesets to the digester

+				NamingRuleSet

+				EngineRuleSet

+				HostRuleSet

+				ContextRuleSet

+		b4) Load the server.xml and parse it using the digester

+		    Parsing the server.xml using the digester is an automatic

+		    XML-object mapping tool, that will create the objects defined in server.xml

+		    Startup of the actual container has not started yet.

+		b5) Assigns System.out and System.err to the SystemLogHandler class

+		b6) Calls initialize on all components, this makes each object register itself with the 

+		    JMX agent.

+		    During the process call the Connectors also initialize the adapters.

+		    The adapters are the components that do the request pre-processing.

+		    Typical adapters are HTTP1.1 (default if no protocol is specified,

+		    org.apache.coyote.http11.Http11Protocol)

+		    AJP1.3 for mod_jk etc.

+

+	c) Catalina.start()

+		c1) Starts the NamingContext and binds all JNDI references into it

+		c2) Starts the services under <Server> which are:

+			StandardService -> starts Engine (ContainerBase ->Logger,Loader,Realm,Cluster etc)

+		c3) StandardHost (started by the service)

+				Configures a ErrorReportValvem to do proper HTML output for different HTTP 

+				errors codes

+				Starts the Valves in the pipeline (at least the ErrorReportValve)

+				Configures the StandardHostValve, 

+					this valves ties the Webapp Class loader to the thread context

+					it also finds the session for the request

+					and invokes the context pipeline

+				Starts the HostConfig component

+					This component deploys all the webapps

+						(webapps & conf/Catalina/localhost/*.xml)

+					Webapps are installed using the deployer (StandardHostDeployer)

+					The deployer will create a Digester for your context, this digester

+					will then invoke ContextConfig.start()

+						The ContextConfig.start() will process the default web.xml (conf/web.xml)

+						and then process the applications web.xml (WEB-INF/web.xml)

+						

+		c4) During the lifetime of the container (StandardEngine) there is a background thread that 

+		    keeps checking if the context has changed. If a context changes (timestamp of war file, 

+		    context xml file, web.xml) then a reload is issued (stop/remove/deploy/start)

+		    

+	d) Tomcat receives a request on an HTTP port

+	    d1) The request is received by a separate thread which is waiting in the PoolTcpEndPoint 

+	         class. It is waiting for a request in a regular ServerSocket.accept() method.

+	         When a request is received, this thread wakes up.

+	    d2) The PoolTcpEndPoint assigns the a TcpConnection to handle the request. 

+	        It also supplies a JMX object name to the catalina container (not used I believe)

+	    d3) The processor to handle the request in this case is Coyote Http11Processor, 

+	        and the process method is invoked.

+	        This same processor is also continuing to check the input stream of the socket

+	        until the keep alive point is reached or the connection is disconnected.

+	    d4) The HTTP request is parsed using an internal buffer class (Coyote Http11 Internal Buffer)

+	        The buffer class parses the request line, the headers, etc and store the result in a 

+	        Coyote request (not an HTTP request) This request contains all the HTTP info, such

+	        as servername, port, scheme, etc.

+	    d5) The processor contains a reference to an Adapter, in this case it is the 

+	        Coyote Tomcat 5 Adapter. Once the request has been parsed, the Http11 processor

+	        invokes service() on the adapter. In the service method, the Request contains a 

+	        CoyoteRequest and CoyoteRespons (null for the first time)

+	        The CoyoteRequest(Response) implements HttpRequest(Response) and HttpServletRequest(Response)

+	        The adapter parses and associates everything with the request, cookies, the context through a 

+	        Mapper, etc

+	    d6) When the parsing is finished, the CoyoteAdapter invokes its container (StandardEngine)

+	        and invokes the invoke(request,response) method.

+	        This initiates the HTTP request into the Catalina container starting at the engine level

+	    d7) The StandardEngine.invoke() simply invokes the container pipeline.invoke()

+	    d8) By default the engine only has one valve the StandardEngineValve, this valve simply

+	        invokes the invoke() method on the Host pipeline (StandardHost.getPipeLine())

+	    d9) the StandardHost has two valves by default, the StandardHostValve and the ErrorReportValve

+	    d10) The standard host valve associates the correct class loader with the current thread

+	         It also retrieves the Manager and the session associated with the request (if there is one)

+	         If there is a session access() is called to keep the session alive

+	    d11) After that the StandardHostValve invokes the pipeline on the context associated

+	         with the request.

+	    d12) The first valve that gets invoked by the Context pipeline is the FormAuthenticator

+	         valve. Then the StandardContextValve gets invoke.

+	         The StandardContextValve invokes any context listeners associated with the context.

+	         Next it invokes the pipeline on the Wrapper component (StandardWrapperValve)

+	    d13) During the invocation of the StandardWrapperValve, the JSP wrapper (Jasper) gets invoked

+	         This results in the actual compilation of the JSP.

+	         And then invokes the actual servlet.

+	e) Invocation of the servlet class

diff --git a/tomcat-uid/webapps/docs/balancer-howto.html b/tomcat-uid/webapps/docs/balancer-howto.html
new file mode 100644
index 0000000..8c2bc84
--- /dev/null
+++ b/tomcat-uid/webapps/docs/balancer-howto.html
@@ -0,0 +1,21 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Load Balancer HOW-TO</title><meta name="author" content="Yoav Shapira"><meta name="author" content="Remy Maucherat"><meta name="author" content="Andy Oliver"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Load Balancer HOW-TO</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Using_the_JK_1.2.x_native_connector">Using the JK 1.2.x native connector</a></li><li><a href="#Using_Apache_HTTP_Server_2.x_with_mod_proxy">Using Apache HTTP Server 2.x with mod_proxy</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Using the JK 1.2.x native connector"><!--()--></a><a name="Using_the_JK_1.2.x_native_connector"><strong>Using the JK 1.2.x native connector</strong></a></font></td></tr><tr><td><blockquote>

+

+Please refer to the JK 1.2.x documentation.

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Using Apache HTTP Server 2.x with mod_proxy"><!--()--></a><a name="Using_Apache_HTTP_Server_2.x_with_mod_proxy"><strong>Using Apache HTTP Server 2.x with mod_proxy</strong></a></font></td></tr><tr><td><blockquote>

+

+Please refer to the mod_proxy documentation for Apache HTTP Server 2.2. This supports either

+HTTP or AJP load balancing. This new version of mod_proxy is also usable with

+Apache HTTP Server 2.0, but mod_proxy will have to be compiled separately using the code

+from Apache HTTP Server 2.2.

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/building.html b/tomcat-uid/webapps/docs/building.html
new file mode 100644
index 0000000..a1d7609
--- /dev/null
+++ b/tomcat-uid/webapps/docs/building.html
@@ -0,0 +1,187 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Building Tomcat</title><meta name="author" content="Remy Maucherat"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Building Tomcat</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Download_a_Java_Development_Kit_(JDK)_release_(version_5)">Download a Java Development Kit (JDK) release (version 5)</a></li><li><a href="#Install_Apache_Ant_1.6.5_or_later">Install Apache Ant 1.6.5 or later</a></li><li><a href="#Checkout_or_obtain_the_source_code_for_Tomcat_6.0">Checkout or obtain the source code for Tomcat 6.0</a></li><li><a href="#Building_Tomcat">Building Tomcat</a></li><li><a href="#Building_with_Eclipse">Building with Eclipse</a></li><li><a href="#Building_with_other_IDEs">Building with other IDEs</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>

+Building Apache Tomcat from SVN is very easy, and is the first step to contributing to

+Tomcat. The following is a step by step TODO list.

+</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Download a Java Development Kit (JDK) release (version 5)"><!--()--></a><a name="Download_a_Java_Development_Kit_(JDK)_release_(version_5)"><strong>Download a Java Development Kit (JDK) release (version 5)</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>

+The JDK can be downloaded following the "Previous Releases" link from

+<a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">here</a>.

+</p>

+

+<p>

+<b>IMPORTANT</b>: Set an environment variable JAVA_HOME to the pathname of the 

+directory into which you installed the JDK release.

+</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Install Apache Ant 1.6.5 or later"><!--()--></a><a name="Install_Apache_Ant_1.6.5_or_later"><strong>Install Apache Ant 1.6.5 or later</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>

+Download a binary distribution of Ant 1.6.5 or later from 

+<a href="http://ant.apache.org/bindownload.cgi">here</a>.

+</p>

+

+<p>

+Unpack the binary distribution into a convenient location so that the

+Ant release resides in its own directory (conventionally named

+"apache-ant-1.6.x").  For the purposes of the remainder of this document,

+the symbolic name "${ant.home}" is used to refer to the full pathname of

+ the release directory.

+</p>

+

+<p>

+Create an ANT_HOME environment variable to point the directory ${ant.home}, 

+and modify the PATH environment variable to include directory

+"${ant.home}/bin" in its list.  This makes the "ant" command line script

+available, which will be used to actually perform the build.

+</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Checkout or obtain the source code for Tomcat 6.0"><!--()--></a><a name="Checkout_or_obtain_the_source_code_for_Tomcat_6.0"><strong>Checkout or obtain the source code for Tomcat 6.0</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>

+  Tomcat 6.0 SVN repository URL:

+  <a href="http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/">http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/</a>

+  </p>

+

+  <p>

+  Download a source package from:

+  <a href="http://tomcat.apache.org/download-60.cgi">http://tomcat.apache.org/download-60.cgi</a>

+  </p>

+

+  <p>

+  Checkout the source using SVN, selecting a tag for released version or

+  trunk for the current development code, or download and unpack a

+  source package. The location where the source has been

+  placed will be referred as <code>${tomcat.source}</code>.

+  </p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Building Tomcat"><!--()--></a><a name="Building_Tomcat"><strong>Building Tomcat</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>

+Use the following commands:

+<code><br>

+    cd ${tomcat.source}<br>

+    ant download<br>

+    ant<br>

+</code>

+</p>

+

+<p>

+<b>WARNING:</b> Running "ant download" command will download libraries required

+  to build Tomcat to the <code>/usr/share/java</code> directory by default.

+  On a typical Linux or MacOX system, an ordinary user

+  will not have access to write to this directory, and, even if you do,

+  it may not be appropriate for you to write there. On Windows

+  this usually corresponds to the <code>C:\usr\share\java</code> directory,

+  unless Cygwin is used. Read below to learn how to customize the directory

+  used to download the binaries.

+</p>

+

+<p>

+<b>NOTE:</b> Users accessing the Internet through a proxy must use a properties

+  file to indicate to Ant the proxy configuration. Read below.

+</p>

+

+<p>

+The build can be controlled by creating a ${tomcat.source}/build.properties

+  file, and adding the following content to it:

+<code><br>

+    # ----- Proxy setup -----<br>

+    # Uncomment if using a proxy server.<br>

+    #proxy.host=proxy.domain<br>

+    #proxy.port=8080<br>

+    #proxy.use=on<br>

+<br>

+    # ----- Default Base Path for Dependent Packages -----<br>

+    # Replace this path with the directory path where<br>

+    # dependencies binaries should be downloaded.<br>

+    base.path=/home/me/some-place-to-download-to<br>

+</code>

+</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Building with Eclipse"><!--()--></a><a name="Building_with_Eclipse"><strong>Building with Eclipse</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>

+<b>Important:</b>

+This is not a supported means of building Tomcat; this information is

+provided without warranty :-).

+The only supported means of building Tomcat is with the "ant build"

+described above.

+However, some developers like to work on Java code with a Java IDE,

+and the following steps have been used by some developers.

+</p>

+

+<p>

+Note that you <b>must</b> complete all the above steps to fetch

+dependent libraries and build some JAR files the first time.

+After you have completed the above steps, you can set up an

+Eclipse project.

+<b>Note</b> that this will not let you build everything under Eclipse;

+the build process requires use of Ant for the many stages that aren't

+simple Java compilations.

+However, it will allow you to view and edit the Java code,

+get warnings, reformat code, perform refactorings, run Tomcat

+under the IDE, and so on.

+</p>

+

+<p>

+Use Windows-&gt;Preferences and then Java-&gt;Build Path-&gt;Classpath

+Variables to add two new Classpath variables:

+</p>

+

+<p>

+<table border="1">

+ <tr><td>TOMCAT_LIBS_BASE</td><td>the base path where the binary dependencies have been downloaded</td></tr>

+ <tr><td>ANT_HOME</td><td>the base path of Ant 1.6.2 or later</td></tr>

+</table>

+</p>

+

+<p>

+There are two files in the root directory, <code>eclipse.classpath</code> and

+<code>eclipse.project</code>. Create their copies with new names,

+<code>.classpath</code> and <code>.project</code> respectively.

+</p>

+

+<p>

+Use File-&gt;Import and chose "Existing Projects into Workspace".

+From there import the root directory where you have checked out tomcat.

+</p>

+

+<p>

+Eclipse .project and .classpath files provided in the root directory of

+tomcat repository should allow Eclipse to find all source trees and jars, and

+hopefully compile without problems. <b>Note</b> that these

+files assume you are using Eclipse with a 5.0 or later JDK.

+</p>

+

+<p>

+To run Tomcat without a special IDE plug-in, you can simply use Run-&gt;Run...

+enter "org.apache.catalina.startup.Catalina" as the main class,

+"start" as program arguments, and

+"-Dcatalina.home=..." (with the name of your build directory) 

+as VM arguments.

+</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Building with other IDEs"><!--()--></a><a name="Building_with_other_IDEs"><strong>Building with other IDEs</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+The same caveats apply as for Eclipse, above.

+</p>

+

+<p>

+The same general idea should work in most IDEs; it has been reported

+to work in Idea, for example.

+</p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/cgi-howto.html b/tomcat-uid/webapps/docs/cgi-howto.html
new file mode 100644
index 0000000..1a5cbdb
--- /dev/null
+++ b/tomcat-uid/webapps/docs/cgi-howto.html
@@ -0,0 +1,71 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - CGI How To</title><meta name="author" content="Glenn L. Nielsen"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>CGI How To</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Installation">Installation</a></li><li><a href="#Configuration">Configuration</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The CGI (Common Gateway Interface) defines a way for a web server to

+interact with external content-generating programs, which are often

+referred to as CGI programs or CGI scripts.

+</p>

+

+<p>Within Tomcat, CGI support can be added when you are using Tomcat as your

+HTTP server and require CGI support.  Typically this is done

+during development when you don't want to run a web server like 

+Apache httpd.

+Tomcat's CGI support is largely compatible with Apache httpd's, 

+but there are some limitations (e.g., only one cgi-bin directory).

+</p>

+

+<p>CGI support is implemented using the servlet class

+<code>org.apache.catalina.servlets.CGIServlet</code>.  Traditionally,

+this servlet is mapped to the URL pattern "/cgi-bin/*".</p>

+

+<p>By default CGI support is disabled in Tomcat.</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Installation"><strong>Installation</strong></a></font></td></tr><tr><td><blockquote>

+

+<p><strong>CAUTION</strong> - CGI scripts are used to execute programs

+external to the Tomcat JVM. If you are using the Java SecurityManager this

+will bypass your security policy configuration in <code>catalina.policy.</code></p>

+

+<p>Remove the XML comments from around the CGI servlet and servlet-mapping

+configuration in <code>$CATALINA_BASE/conf/web.xml</code>.</p>

+

+<p>Only Contexts which are marked as privileged may use the CGI servlet (see the

+privileged property of the Context element).</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Configuration"><strong>Configuration</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>There are several servlet init parameters which can be used to

+configure the behaviour of the CGI servlet.

+<ul>

+<li><strong>cgiPathPrefix</strong> - The CGI search path will start at

+the web application root directory + File.separator + this prefix.

+The default cgiPathPrefix is <code>WEB-INF/cgi</code></li>

+<li><strong>debug</strong> - Debugging detail level for messages logged

+by this servlet. Default 0.</li>

+<li><strong>executable</strong> - The of the executable to be used to

+run the script. You may explicitly set this parameter to be an empty string

+if your script is itself executable (e.g. an exe file). Default is

+<code>perl</code>.</li>

+<li><strong>executable-arg-1</strong>, <strong>executable-arg-2</strong>,

+and so on - additional arguments for the executable. These precede the

+CGI script name. By default there are no additional arguments.</li>

+<li><strong>parameterEncoding</strong> - Name of the parameter encoding

+to be used with the CGI servlet. Default is

+<code>System.getProperty("file.encoding","UTF-8")</code>.</li>

+<li><strong>passShellEnvironment</strong> - Should the shell environment

+variables (if any) be passed to the CGI script? Default is

+<code>false</code>.</li>

+<li><strong>stderrTimeout</strong> - The time (in milliseconds) to wait for

+the reading of stderr to complete before terminating the CGI process. Default

+is 2000.</li>

+</ul>

+</p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/changelog.html b/tomcat-uid/webapps/docs/changelog.html
new file mode 100644
index 0000000..5620168
--- /dev/null
+++ b/tomcat-uid/webapps/docs/changelog.html
@@ -0,0 +1,6042 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Changelog</title><meta name="author" content="Remy Maucherat"><meta name="author" content="Yoav Shapira"><meta name="author" content="Filip Hanik"><meta name="author" content="Rainer Jung"><meta name="author" content="Peter Rossbach"><meta name="author" content="Konstantin Kolinko"><meta name="author" content="Jean-Frederic Clere"><meta name="author" content="Keiichi Fujino"><meta name="author" content="Mladen Turk"><meta name="author" content="Tim Whittington"><meta name="author" content="Sylvain Laurent"><meta name="author" content="Christopher Schultz"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Changelog</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.39 (markt)"><!--()--></a><a name="Tomcat_6.0.39_(markt)"><strong>Tomcat 6.0.39 (markt)</strong></a></font></td></tr><tr><td><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.39 (markt)/Catalina"><!--()--></a><a name="Tomcat_6.0.39_(markt)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=55166">55166</a>: Fix regression that broke XML validation when running

+        on some Java 5 JVMs. (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.39 (markt)/Coyote"><!--()--></a><a name="Tomcat_6.0.39_(markt)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Make the HTTP NIO connector tolerant of whitespace in the individual

+        values used for the ciphers attribute. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove dependency introduced on the jsp-api.jar as part of the XML

+        validation changes introduced in 6.0.38. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.39 (markt)/Jasper"><!--()--></a><a name="Tomcat_6.0.39_(markt)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct several errors in jspxml Schema and DTD. (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.39 (markt)/Cluster"><!--()--></a><a name="Tomcat_6.0.39_(markt)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="code" class="icon" src="./images/code.gif"></td><td>

+        Remove an empty TestTwoPhaseCommit test from Tribes. (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.39 (markt)/Web applications"><!--()--></a><a name="Tomcat_6.0.39_(markt)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix broken link in Jasper How-To documentation. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Align index.html and index.jsp in ROOT web application. Correct links

+        to specifications and to the Tomcat mailing lists. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove second copy of RUNNING.txt from the full-docs distribution. Some

+        unpacking utilities can't handle multiple copies of a file with the same

+        name in a directory. (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.39 (markt)/Other"><!--()--></a><a name="Tomcat_6.0.39_(markt)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update sample Eclipse IDE project: use JUnit 4 library and prefer a

+        Java 5 JDK when several JDKs are configured. Cleanup the Ant build

+        files. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct Maven dependencies for individual JAR files. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.38 (markt)"><!--()--></a><a name="Tomcat_6.0.38_(markt)"><strong>Tomcat 6.0.38 (markt)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>not released</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.38 (markt)/Catalina"><!--()--></a><a name="Tomcat_6.0.38_(markt)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Ensure that when Tomcat's anti-resource locking features are used

+        that the temporary copy of the web application and not the original is

+        removed when the web application stops. (markt/kkolinko) 

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=55019">55019</a>: Fix a potential exception when accessing JSPs while

+        running under a SecurityManager. (jfclere)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=55052">55052</a>: Make JULI's LogManager to additionally look for

+        logging properties without prefixes if the property cannot be found with

+        a prefix. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=55266">55266</a>: Ensure that the session ID is parsed from the request

+        before any redirect as the session ID may need to be encoded as part of

+        the redirect URL. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=55404">55404</a>: Log warnings about using security roles in web.xml as

+        warnings. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=55268">55268</a>: Added optional --service-start-wait-time

+        command-line option to change service start wait time from default

+        of 10 seconds. (schultz)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correctly associate the default resource bundle with the English locale

+        so that requests that specify an Accept-Language of English ahead of

+        French, Spanish or Japanese get the English messages they asked for.

+        (markt) 

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Add missing JavaEE 5 XML schema definitions. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        When Catalina parses TLD files, always use a namespace aware parser to

+        be consistent with how Jasper parses TLD files. The

+        <code>tldNamespaceAware</code> attribute of the Context is now ignored.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        As per section SRV.14.4.3 of the Servlet 2.5 specification, a namespace

+        aware, validating parser will be used when processing <code>*.tld</code>

+        and <code>web.xml</code> files if the system property

+        <code>org.apache.catalina.STRICT_SERVLET_COMPLIANCE</code> is set to

+        <code>true</code>. (markt) 

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Ensure that sessions IDs are not parsed from URLs for Contexts where

+        <code>disableURLRewriting</code> is <code>true</code>. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add an option to the Context to control the blocking of XML external

+        entities when parsing XML configuration files and enable this blocking

+        by default when a security manager is used. The block is implemented via

+        a custom resolver to enable the logging of any blocked entities. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=56016">56016</a>: When loading resources for XML schema validation, take

+        account of the possibility that servlet-api.jar and jsp-api.jar may not

+        be loaded by the same class loader. Patch by Juan Carlos Estibariz.

+        (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.38 (markt)/Coyote"><!--()--></a><a name="Tomcat_6.0.38_(markt)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52811">52811</a>: Fix parsing of Content-Type header in

+        <code>HttpServletResponse.setContentType()</code>. Introduces a new HTTP

+        header parser that follows RFC2616. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54691">54691</a>: Add configuration attribute "sslEnabledProtocols"

+        to HTTP connector and document it. (Internally this attribute has

+        been already implemented but not documented, under names "protocols"

+        and "sslProtocols". Those names of this attribute are now deprecated).

+        (schultz)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54947">54947</a>: Fix the HTTP NIO connector that incorrectly rejected a

+        request if the CRLF terminating the request line was split across

+        multiple packets. Patch by Konstantin Prei&szlig;er. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=55228">55228</a>: Allow web applications to set a HTTP Date header.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Better adherence to RFC2616 for content-length headers. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Add support for limiting the size of chunk extensions when using chunked

+        encoding. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=55749">55749</a>: Improve the error message when SSLEngine is disabled

+        in the AprLifecycleListener and SSL is configured for an APR/native

+        connector. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Avoid possible NPE if a content type is specified without a character set.

+        (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.38 (markt)/Jasper"><!--()--></a><a name="Tomcat_6.0.38_(markt)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=55198">55198</a>: Ensure attribute values in tagx files that include EL

+        and quoted XML characters are correctly quoted in the output. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=55671">55671</a>: Consistently use the configuration option name

+        <code>genStringAsCharArray</code> rather than a mixture of

+        <code>genStrAsCharArray</code> and <code>genStringAsCharArray</code> but

+        retain support for <code>genStrAsCharArray</code> as in initialisation

+        parameter for the JSP servlet to retain backwards compatibility with

+        existing configurations. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=55691">55691</a>: Fix <code>javax.el.ArrayELResolver</code> to correctly

+        handle the case where the base object is an array of primitives. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=55973">55973</a>: Fix processing of XML schemas when validation is

+        enabled in Jasper. (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.38 (markt)/Web applications"><!--()--></a><a name="Tomcat_6.0.38_(markt)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add documentation for

+        <code>o.a.c.tribes.group.interceptors.TcpFailureDetector</code>.

+        (kfujino)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Complete the documentation for

+        <code>MessageDispatch15Interceptor</code>. (kfujino)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add to cluster document a description of

+        <code>notifyLifecycleListenerOnFailure</code> and

+        <code>heartbeatBackgroundEnabled</code>. (kfujino)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=55746">55746</a>: Add documentation on the <code>allRolesMode</code> to

+        the <code>CombinedRealm</code> and <code>LockOutRealm</code>. Patch by

+        C&eacute;dric Couralet. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix the sample configuration of <code>StaticMembershipInterceptor</code>

+        in order to prevent warning log. uniqueId must be 16 bytes. (kfujino)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=55119">55119</a>: Avoid CVE-2013-1571 when generating Javadoc. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.38 (markt)/Other"><!--()--></a><a name="Tomcat_6.0.38_(markt)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update Maven Central location used to download dependencies at build

+        time to be <code>repo.maven.apache.org</code>. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=55663">55663</a>: Minor correction to the wording of the NOTICE files to

+        align them with the

+        <a href="http://www.apache.org/legal/src-headers.html#notice">requirements

+        for NOTICE files</a>. (violetagg)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Add <code>@since</code> markers to the common annotations classes and

+        fix a few specification compliance issues. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update to Eclipse JDT Compiler 4.3.1. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update the Apache Jakarta JSTL implementation used by the exmaples web

+        application to 1.1.2. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.37 (jfclere)"><!--()--></a><a name="Tomcat_6.0.37_(jfclere)"><strong>Tomcat 6.0.37 (jfclere)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>released 2013-05-03</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.37 (jfclere)/Catalina"><!--()--></a><a name="Tomcat_6.0.37_(jfclere)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52055">52055</a>: Ensure that filters are recycled. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52184">52184</a>: Reduce log level for invalid cookies. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53481">53481</a>: Added support for SSLHonorCipherOrder to allow

+        the server to impose its cipher order on the client. Based on a patch

+        provided by Marcel &#352;ebek. (schultz)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54044">54044</a>: Correct bug in timestamp cache used by logging

+        (including the access log valve) that meant entries could be made with

+        an earlier timestamp than the true timestamp. (markt) 

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        In FormAuthenticator: If it is configured to change Session IDs,

+        do the change before displaying the login form. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54054">54054</a>: Do not share shell environment variables between

+        multiple instances of the CGI servlet. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54087">54087</a>: Correctly handle (ignore) invalid If-Modified-Since

+        header rather than throwing an exception. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54220">54220</a>: Ensure the ErrorReportValve only generates an error

+        report if the error flag on the response has been set. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix memory leak of servlet instances when running with a

+        SecurityManager and either init() or destroy() methods fail

+        or the servlet is a SingleThreadModel one, and of filter instances

+        if their destroy() method fails with an Error. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54382">54382</a>: Fix NPE when SSI processing is enabled and an empty

+        SSI directive is present. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54483">54483</a>: Correct one of the Spanish translations. Based on a

+        suggestion from adinamita. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54527">54527</a>: Synchronize conf/web.xml mime mapping with Tomcat 7.

+        (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.37 (jfclere)/Coyote"><!--()--></a><a name="Tomcat_6.0.37_(jfclere)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54248">54248</a>: Ensure that byte order marks are swallowed when using

+        a Reader to read a request body with a BOM for those encodings that

+        require byte order marks. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54324">54324</a>: Allow APR connector to disable TLS compression

+        if OpenSSL supports it. (schultz)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54456">54456</a>: Ensure that if a client aborts a request when sending

+        a chunked request body that this is communicated correctly to the client

+        reading the request body. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update the native component of the APR/native connector to 1.1.27 and

+        make that version the recommended minimum version. (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.37 (jfclere)/Jasper"><!--()--></a><a name="Tomcat_6.0.37_(jfclere)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54615">54615</a>:  Tomcat 6 doesn't build against ecj 4.x (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.37 (jfclere)/Cluster"><!--()--></a><a name="Tomcat_6.0.37_(jfclere)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54045">54045</a>: Make sure getMembers() returns available member when

+        TcpFailureDetector works in static cluster. (kfujino)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.37 (jfclere)/Web applications"><!--()--></a><a name="Tomcat_6.0.37_(jfclere)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=22278">22278</a>: Add a commented out sample configuration of

+        <code>RemoteAddrValve</code> to <code>META-INF/context.xml</code>

+        files of the Manager and Host Manager applications. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54080">54080</a>: Clarify documentation for initial value of

+        <code>internalProxies</code> attribute of <code>RemoteIpValve</code>.

+        (schultz/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54198">54198</a>: Clarify that

+        <code>HttpServletResponse.sendError(int)</code> results in an HTML

+        response by default. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54207">54207</a>: Correct JNDI factory package name in Javadoc for

+        <code>org.apache.naming.java.javaURLContextFactory</code>. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.37 (jfclere)/Other"><!--()--></a><a name="Tomcat_6.0.37_(jfclere)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+       Add sample Apache Commons Daemon JSVC wrapper script bin/daemon.sh that

+       can be used with /etc/init.d. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        In the build configuration: introduce property "tomcat.output" that is

+        used to specify location of the build output directory. This simplifies

+        configuration if someone wants to move the <code>output</code> directory

+        elsewhere (e.g. out of the source tree). (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54390">54390</a>: Use 'java_home' on Mac OS X to auto-detect JAVA_HOME.

+        (schultz)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54601">54601</a>: Change catalina.sh to consistently use LOGGING_MANAGER

+          variable to configure logging, instead of modifying JAVA_OPTS one.

+          (kkolinko) 

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=54890">54890</a>: Update to Apache Commons Daemon 1.0.15. (mturk)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.36 (jfclere)"><!--()--></a><a name="Tomcat_6.0.36_(jfclere)"><strong>Tomcat 6.0.36 (jfclere)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>released 2012-10-19</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.36 (jfclere)/Catalina"><!--()--></a><a name="Tomcat_6.0.36_(jfclere)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48692">48692</a>: Provide option to parse

+        <code>application/x-www-form-urlencoded</code> PUT requests. (schultz)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50306">50306</a>: New StuckThreadDetectionValve to detect requests that

+        take a long time to process, which might indicate that their processing

+        threads are stuck. Based on a patch provided by TomLu. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50570">50570</a>: Enable FIPS mode to be set in AprLifecycleListener.

+        Based upon a patch from Chris Beckey. Note that this mode requires

+        tomcat-native 1.1.23 or later linked to a FIPS-capable OpenSSL library,

+        which one has to build by themselves. (schultz/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Improve synchronization and error handling in AprLifecycleListener.

+        Do not allow to change SSL options if SSL has already been initialized.

+        (schultz/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52225">52225</a>: Fix ClassCastException when adding an alias for an

+        existing host via JMX. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52293">52293</a>: Correctly handle the case when

+        <code>antiResourceLocking</code> is enabled at the Context level when

+        <code>unpackWARs</code> is disabled at the Host level. Correctly

+        handle multi-level contexts when <code>antiResourceLocking</code>

+        is enabled. Patch by Justin Miller. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Do not throw IllegalArgumentException from parseParameters() call

+        when chunked POST request is too large, but treat it like an IO error.

+        The <code>FailedRequestFilter</code> filter can be used to detect this

+        condition. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52384">52384</a>: Do not fail with parameter parsing when debug logging

+        is enabled. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Do not flag extra '&amp;' characters in parameters as parse errors.

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52488">52488</a>: Correct typos: exipre -&gt; expire. Based on a patch by

+        prockter. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Reduce log level for the message about hitting

+        <code>maxParameterCount</code> limit from WARN to INFO.

+        Fix limit comparison to allow exactly <code>maxParameterCount</code>

+        parameters, as documentation says, instead of

+        <code>(maxParameterCount-1)</code>. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Slightly improve performance of UDecoder.convert(). Align

+        <code>%2f</code> handling between implementations. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add <code>denyStatus</code> attribute to <code>RequestFilterValve</code>

+        (<code>RemoteAddrValve</code>, <code>RemoteHostValve</code> valves).

+        It allows to use different HTTP response code when rejecting denied

+        request. E.g. 404 instead of 403. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add <code>SetCharacterEncodingFilter</code> (similar to the one

+        contained in the examples web application) to the

+        <code>org.apache.catalina.filters</code> package so that it is

+        available for all web applications. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52500">52500</a>: Added configurable mechanism to retrieve user names

+        from X509 client certificates. Based on a patch provided by

+        Michael Furman. (schultz/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52719">52719</a>: Fix a theoretical resource leak in the JAR validation

+        that checks for non-permitted classes in web application JARs. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52830">52830</a>: Correct JNDI lookups when using

+        <code>javax.naming.Name</code> to identify the resource rather than a

+        <code>java.lang.String</code>. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52850">52850</a>: Extend memory leak prevention and detection code to

+        work with IBM as well as Oracle JVMs. Based on a patch provided by

+        Rohit Kelapure. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52996">52996</a>: In <code>StandardThreadExecutor</code>:

+        Add the ability to configure a job queue size

+        (<code>maxQueueSize</code> attribute).

+        Add a variant of execute method that allows to specify a timeout for

+        how long we want to try to add something to the queue.

+        Based on a patch by R&uuml;diger Pl&uuml;m. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53047">53047</a>: If a JDBCRealm or DataSourceRealm is configured for

+        an all roles mode that only requires authorization (and no roles) and no

+        role table or column is defined, don't populate the Principal's roles.

+        (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53050">53050</a>: Fix handling of entropy value when initializing

+        session id generator in session manager. Based on proposal by

+        Andras Rozsa. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53056">53056</a>: Add APR version number to tcnative version INFO log

+        message. (schultz)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53057">53057</a>: Add OpenSSL version number INFO log message when

+        initializing. (schultz)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53071">53071</a>: Use the message from the Throwable for the error

+        report generated by the <code>ErrorReportValve</code> if none was

+        specified via <code>sendError()</code>. Use the standard text for HTTP

+        error codes. (markt/rjung)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53230">53230</a>: Change session managers to throw

+        TooManyActiveSessionsException instead of IllegalStateException

+        when the maximum number of sessions has been exceeded and a new

+        session will not be created. (schultz/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53267">53267</a>: Ensure that using the GC Daemon Protection feature of

+        the <code>JreMemoryLeakPreventionListener</code> does not trigger a

+        full GC every hour. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53531">53531</a>: Fix ExpandWar.expand to check the return value of

+        File.mkdir and File.mkdirs. (schultz)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Make the CSRF nonce cache in <code>CsrfPreventionFilter</code>

+        serializable so that it can be replicated across a cluster and/or

+        persisted across Tomcat restarts. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53584">53584</a>: Ignore path parameters when comparing URIs for FORM

+        authentication. This prevents users being prompted twice for passwords

+        when logging in when session IDs are being encoded as path parameters.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Various improvements to the DIGEST authenticator including

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52954">52954</a>, the disabling caching of an authenticated user in the

+        session by default, tracking server rather than client nonces and better

+        handling of stale nonce values. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        CVE-2012-3546: Fix bypass of security constraint checks with FORM

+        authentication. Remove unneeded processing in <code>RealmBase</code>.

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53800">53800</a>: <code>FileDirContext.list()</code> did not provide

+        correct paths for subdirectories. Patch provided by Kevin Wooten.

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53830">53830</a>: Better handling of <code>Manager.randomFile</code>

+        default value on Windows. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        CVE-2012-4431: Fix bypass of <code>CsrfPreventionFilter</code> when

+        there is no session. Improve session management in the filter.

+        (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.36 (jfclere)/Coyote"><!--()--></a><a name="Tomcat_6.0.36_(jfclere)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42181">42181</a>: Better handling of edge conditions in chunk header

+        processing. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51477">51477</a>: Support all SSL protocol combinations in the APR/native

+        connector. This only works when using the native library version 1.1.21

+        or later. (rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52055">52055</a> (comment 14): Correctly reset

+        <code>ChunkedInputFilter.needCRLFParse</code> flag when the filter

+        is recycled. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52606">52606</a>: Ensure replayed POST bodies are available when using

+        AJP. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52858">52858</a>, CVE-2012-4534: Fix high CPU load with SSL, NIO and

+        sendfile when client breaks the connection before reading all the

+        requested data.

+        (fhanik/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53119">53119</a>: Prevent buffer overflow errors being reported when a

+        client disconnects before the response has been fully written from an

+        AJP connection using the APR/native connector. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Improve <code>InternalNioInputBuffer.parseHeaders()</code>. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Implement <code>maxHeaderCount</code> attribute on Connector.

+        It is equivalent of LimitRequestFields directive of

+        <a href="http://httpd.apache.org/">Apache HTTPD</a>.

+        Default value is 100. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        In JkCoyoteHandler connector for AJP/1.3 protocol

+        (in <code>JkMain.setProperty()</code>):

+        Fix setting of properties when connector has already started for

+        properties that have aliases. E.g. it now allows to change

+        <code>maxHeaderCount</code> attribute on Connector MBean via JMX.

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53725">53725</a>: Fix possible corruption of GZIP'd output. (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.36 (jfclere)/Jasper"><!--()--></a><a name="Tomcat_6.0.36_(jfclere)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48097">48097</a> (comment 7), <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53366">53366</a> (comment 1):

+        If JSP page unexpectedly fails to initialize PageContext instance,

+        write exception to the logs instead of silent swallowing. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52335">52335</a>: Only handle <code>&lt;\%</code> and not

+        <code>\%</code> as escaped in template text. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52666">52666</a>: Correct coercion order in EL when processing the

+        equality and inequality operators. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53001">53001</a>: Revert the fix for <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46915">46915</a> since the use case

+        described in the bug is invalid since it breaks the EL specification.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53032">53032</a>: Modify <code>JspC</code> so it extends

+        <code>org.apache.tools.ant.Task</code> enabling it to work with features

+        such as namespaces within build.xml files. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.36 (jfclere)/Cluster"><!--()--></a><a name="Tomcat_6.0.36_(jfclere)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Replicate principal in ClusterSingleSignOn. (kfujino)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53513">53513</a>: Fix race condition between the processing of session

+        sync message and transfer complete message. (kfujino)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53606">53606</a>: Fix potential NPE in <code>TcpPingInterceptor</code>.

+        Based on a patch by F. Arnoud. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53607">53607</a>: To avoid NPE, set TCP PING data to ChannelMessage.

+        Patch provided by F.Arnoud (kfujino)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix a behavior of TcpPingInterceptor#useThread.

+        Do not start a ping thread when useThread is set to false. (kfujino)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.36 (jfclere)/Web applications"><!--()--></a><a name="Tomcat_6.0.36_(jfclere)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52243">52243</a>: Improve windows service documentation to clarify how

+        to include <code>#</code> and/or <code>;</code> in the value of an

+        environment variable that is passed to the service. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52515">52515</a>: Make it clear in the Realm how-to in the documentation

+        web application that digested password storage when using DIGEST

+        authentication requires that MD5 digests are used. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52641">52641</a>: Remove mentioning of ldap.jar from docs.

+        Patch provided by Felix Schumacher. (rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove obsolete bug warning from windows service

+        documentation page. (rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52983">52983</a>: Remove unnecessary code that makes switching to

+        other authentication methods difficult. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53158">53158</a>: Fix documented defaults for DBCP.

+        Patch provided by ph.dezanneau at gmail.com. (rjung)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update JavaSE documentation links to point to the current

+        docs.oracle.com site, instead of obsolete ones (download.oracle.com,

+        java.sun.com). (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53289">53289</a>: Clarify <code>ResourceLink</code> example that

+        uses DataSource.getConnection(username, password) method. Not all

+        data source implementations support it. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Prevent the custom error pages for the Manager and Host Manager

+        applications from being accessed directly. Configure custom

+        pages for error codes 401 and 403 in Host Manager application.

+        (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct documentation for <code>enableLookups</code> attribute

+        of a Connector. By default DNS lookups are disabled. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix several HTML markup errors in servlets of examples web application.

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Change the index page of ROOT webapp to mention "manager-gui" role

+        instead of "manager" one. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53473">53473</a>: Correct the allowed values for the SSI option

+        <code>isVirtualWebappRelative</code> which are <code>true</code> or

+        <code>false</code>. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53664">53664</a>: Minor JNDI Howto document enhancement concerning mail

+        properties. Patch provided by Mark Eggers. (schultz)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53601">53601</a>: Clarify that to build Apache Tomcat 6 from sources

+        a Java 5 JDK is recommended. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53793">53793</a>: Change links on the list of applications in the

+        Manager to point to <code>/appname/</code> instead of

+        <code>/appname</code>. (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.36 (jfclere)/Other"><!--()--></a><a name="Tomcat_6.0.36_(jfclere)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49402">49402</a>, <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52124">52124</a>: Fix Maven publishing script:

+        make sure it finds tomcat-juli.jar and use later version of

+        wagon-ssh. (jfclere)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Update Apache Commons Daemon to 1.0.10. It resolves <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52548">52548</a>

+        which meant that services created with service.bat did not set the

+        <code>catalina.home</code> and <code>catalina.base</code> system

+        properties. (markt, kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update Apache Commons Pool to 1.5.7. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52579">52579</a>: Add a note about Sun's Charset.decode() bug to the

+        RELEASE-NOTES file. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52805">52805</a>: Update to Eclipse JDT Compiler 3.7.2. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update the native component of the APR/native connectors to 1.1.23

+        and take advantage of the simplified distribution. (kkolinko) 

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        When building a Windows installer do not copy whole "res" folder to

+        output/dist, but only the files that we need. Apply fixcrlf filter

+        only after the files are copied, so that <code>INSTALLLICENSE</code>

+        file had correct line ends. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Remove <code>res/License.rtf</code>. The file that is actually shown

+        by the Windows installer is <code>res/INSTALLLICENSE</code>.

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Improve <code>RUNNING.txt</code>. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Align the script that deploys Maven jars for Tomcat

+        (<code>res/maven/mvn-pub.xml</code>) with the Tomcat 7 version,

+        making full use of Nexus. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53034">53034</a>: Add <code>project.url</code> and

+        <code>project.licenses</code> sections to the POMs for the Maven

+        artifacts. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=53454">53454</a>: Return correct content-length header for HEAD requests

+        when content length is greater than 2GB. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.35 (jfclere)"><!--()--></a><a name="Tomcat_6.0.35_(jfclere)"><strong>Tomcat 6.0.35 (jfclere)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>released 2011-12-05</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.35 (jfclere)/Catalina"><!--()--></a><a name="Tomcat_6.0.35_(jfclere)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix regression in decoding of parameters that contain spaces.

+        Patch by Willem Fibbe. (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.34 (jfclere)"><!--()--></a><a name="Tomcat_6.0.34_(jfclere)"><strong>Tomcat 6.0.34 (jfclere)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>not released</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.34 (jfclere)/Catalina"><!--()--></a><a name="Tomcat_6.0.34_(jfclere)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51550">51550</a>: Display an error page rather than an empty response

+        for an IllegalStateException caused by too many active sessions. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51640">51640</a>: Improve the memory leak prevention for leaks

+        triggered by java.sql.DriverManager. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51688">51688</a>: JreMemoryLeakPreventionListener now protects against

+        AWT thread creation. (schultz)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51758">51758</a>: The digester (used for processing XML files) used the

+        logger name <code>org.apache.commons.digester.Digester</code> rather

+        than the expected <code>org.apache.tomcat.util.digester.Digester</code>.

+        The digester has been changed to use the expected logger name.

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51862">51862</a>: Added a <code>classesToInitialize</code> attribute to 

+        <code>JreMemoryLeakPreventionListener</code> to allow pre-loading of configurable

+        classes to avoid some classloader leaks. (slaurent)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51872">51872</a>: Ensure that the access log always uses the correct

+        value for the remote IP address associated with the request and that

+        requests with multiple errors do not result in multiple entries in

+        the access log. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Allow to overwrite the check for distributability

+        of session attributes by session implementations. (rjung)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Provide the log format "OneLineFormatter" for JULI that provides the same

+        information as the default plus thread name but on a single line.

+        (markt/rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Ensure the the memory leak protection for the HttpClient keep-alive

+        always operates even if the thread has already stopped. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51940">51940</a>: Do not limit saving of request bodies during FORM

+        authentication to POST requests since any HTTP method may include a

+        request body. Based on a patch by Nicholas Sushkin. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52091">52091</a>: Address performance issues related to lock contention

+        in StandardWrapper. Based on patch provided by Taiki Sugawara.

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        In GenericPrincipal, SerializablePrincipal: Do not sort lists of roles

+        that have only one element. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Make configuration issue for CsrfPreventionFilter result in the

+        failure of the filter rather than just a warning message. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Ensure changes to the configuration of RemoteAddrValve and

+        RemoteHostValve via JMX are thread-safe. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Make configuration issue for RemoteAddrValve and

+        RemoteHostValve result in the failure of the valve rather than

+        just a warning message. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        In <code>RequestFilterValve</code> (<code>RemoteAddrValve</code>,

+        <code>RemoteHostValve</code>): refactor value matching logic into

+        separate method and expose this new method <code>isAllowed</code>

+        through JMX. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Improve performance of parameter processing for GET and POST requests.

+        Also add an option to limit the maximum number of parameters processed

+        per request. This defaults to 10000. Excessive parameters are ignored.

+        Note that <code>FailedRequestFilter</code> can be used to reject the

+        request if some parameters were ignored. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        New filter <code>FailedRequestFilter</code> that will reject a request

+        if there were errors during HTTP parameter parsing. (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.34 (jfclere)/Coyote"><!--()--></a><a name="Tomcat_6.0.34_(jfclere)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50394">50394</a>: Return -1 from read operation instead of throwing an

+        exception when encountering an EOF with the HTTP APR connector.

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51698">51698</a>: Fix CVE-2011-3190. Prevent AJP message injection.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Detect incomplete AJP messages and reject the associated request if one

+        is found. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51794">51794</a>: Fix race condition in NioEndpoint selector. Patch

+        provided by dlord. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51905">51905</a>: Fix infinite loop in AprEndpoint shutdown if

+        acceptor unlock fails. Reduce timeout before forcefully closing

+        the socket from 30s to 10s. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52121">52121</a>: Fix possible output corruption when compression is

+        enabled for a connector and the response is flushed. Test

+        case provided by David Marcks. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Replace unneeded call that iterated events queue in NioEndpoint.Poller.

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Improve MimeHeaders.toString(). (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Allow the BIO HTTP connector to be used with SSL when running under Java

+        7. (markt) 

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Improve multi-byte character handling in all connectors. (rjung)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.34 (jfclere)/Jasper"><!--()--></a><a name="Tomcat_6.0.34_(jfclere)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51220">51220</a>: Correct copy/paste error in original commit for this

+        issue. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52091">52091</a>: Address performance issues related to log creation

+        in TagHandlerPool. Patch provided by Taiki Sugawara. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.34 (jfclere)/Cluster"><!--()--></a><a name="Tomcat_6.0.34_(jfclere)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51736">51736</a>: Make rpcTimeout configurable in BackupManager. 

+        (kfujino)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        New cluster manager attribute <code>sessionAttributeFilter</code>

+        allows to filter which session attributes are replicated using a

+        regular expression applied to the attribute name. (rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Avoid an unnecessary session ID change notice. 

+        Notice of changed session ID by JvmRouteBinderValve is unnecessary to 

+        BackupManager. In BackupManager, change of session ID is replicated by 

+        the call of a setId() method. (kfujino)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix unneeded duplicate <code>resetDeltaRequest()</code> call in

+        <code>DeltaSession.setId(String)</code>. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        When Context manager does not exist, no context manager message is 

+        replied in order to avoid timeout (default 60 sec) of 

+        GET_ALL_SESSIONS sync phase. (kfujino)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.34 (jfclere)/Web applications"><!--()--></a><a name="Tomcat_6.0.34_(jfclere)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct the documentation for the connectionLinger attribute of the HTTP

+        connector. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Show build date and version in the header on every documentation

+        page. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52049">52049</a>: Improve setup instructions for running as a Windows

+        service: correct information on how a JRE is identified and selected.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52172">52172</a>: Clarify Tomcat build instructions. Patch provided

+        by bmargulies. (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.34 (jfclere)/Other"><!--()--></a><a name="Tomcat_6.0.34_(jfclere)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update the native component of the APR/native connectors to 1.1.22.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update the recommended version of the native component of the APR/native

+        connectors to 1.1.22. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update the Eclipse compiler (used for JSPs) to 3.7. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct two typos in the Windows installer. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=52059">52059</a>: In Windows uninstaller: Do not forget to remove

+        Tomcat keys from 32-bit registry on deinstallation. (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.33 (jfclere)"><!--()--></a><a name="Tomcat_6.0.33_(jfclere)"><strong>Tomcat 6.0.33 (jfclere)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>released 2011-08-18</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.33 (jfclere)/Catalina"><!--()--></a><a name="Tomcat_6.0.33_(jfclere)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Allow to search the virtual paths before the webapp or after it. (rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=27988">27988</a>: Improve reporting of missing files. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=28852">28852</a>: Add URL encoding where missing to parameters in URLs

+        presented by Ant tasks to the Manager application. Based on a patch by

+        Stephane Bailliez. (markt) 

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46252">46252</a>: Allow to specify character set to be used to write

+        the access log in AccessLogValve. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48863">48863</a>: Provide an warning if there is a problem with a class

+        path entry but use debug level logging if it is expected due to catalina

+        home/base split. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49180">49180</a>: Add an option to disable file rotation in JULI

+        FileHandler. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50189">50189</a>: Once the application has finished writing to the

+        response, prevent further reads from the request since this causes

+        various problems in the connectors which do not expect this. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50700">50700</a>: Ensure that the override attribute of context

+        parameters is correctly followed. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50734">50734</a>: Return 404 rather than 400 for requests to the ROOT

+        context when no ROOT context is deployed. Patch provided by Violeta

+        Georgieva. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50751">50751</a>: When authenticating with the JNDI Realm, only attempt

+        to read user attributes from the directory if attributes are required.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50752">50752</a>: Fix typo in debug message in

+        <code>org.apache.catalina.startup.Embedded</code>. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50855">50855</a>: Fix NPE on AuthenticatorBase.register() when debug

+        logging is enabled. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correctly format the timestamp reported by version.[sh|bat]. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove unnecessary whitespace from MIME mapping entries in global

+        web.xml file. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51042">51042</a>: Don't trigger session creation listeners when a

+        session ID is changed as part of the authentication process. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51119">51119</a>: Add JAAS authentication support to the

+        JMXRemoteLifecycleListener. Patch provided by Neil Laurance. (markt) 

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Implement display of multiple request headers in AccessLogValve:

+        print not just the value of the first header, but of the all of them,

+        separated by commas. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct the SSLValve so it returns the SSL key size as an Integer rather

+        than as a String. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51162">51162</a>: Prevent possible NPE when removing a web application.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51249">51249</a>: Improve system property replacement code

+        in ClassLoaderLogManager of Tomcat JULI to cover some corner cases.

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51315">51315</a>: Fix IAE when removing an authenticator valve from a

+        container. Patch provided by Violeta Georgieva. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51324">51324</a>: Improve handling of exceptions when flushing the

+        response buffer to ensure that the doFlush flag does not get stuck in

+        the enabled state. Patch provided by Jeremy Norris. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51348">51348</a>: Fix possible NPE when processing WebDAV locks. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add a container event that is fired when a session's ID is changed,

+        e.g. on authentication. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix CVE-2011-2204. Prevent user passwords appearing in log files if a

+        runtime exception (e.g. OOME) occurs while creating a new user for a

+        MemoryUserDatabase via JMX. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51400">51400</a>: Avoid jvm bottleneck on String/byte[] conversion

+        triggered by a JVM bug. Based on patches by Dave Engberg and Konstantin

+        Prei&szlig;er. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51403">51403</a>: Avoid NPE in JULI FileHandler if formatter is

+        misconfigured. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Create a directory for access log or error log (in AccessLogValve and

+        in JULI FileHandler) automatically when it is specified as a part of

+        the file name, e.g. in the <code>prefix</code> attribute. Earlier this

+        happened only if it was specified with the <code>directory</code>

+        attribute. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Log a failure if access log file cannot be opened. Improve i18n

+        of messages. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Improve handling of URLs with path parameters and prevent incorrect 404

+        responses that could occur when path parameters were present. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51473">51473</a>: Fix concatenation of values in

+        <code>SecurityConfig.setSecurityProperty()</code>. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51509">51509</a>: Fix potential concurrency issue in CSRF prevention

+        filter that may lead to some requests failing that should not. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51588">51588</a>: Make it easier to extend the AccessLogValve to add

+        support for custom elements. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Unregister DataSource MBeans when web application stops. (kfujino)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        CVE-2011-1184: Add additional configuration options to the DIGEST

+        authenticator. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.33 (jfclere)/Coyote"><!--()--></a><a name="Tomcat_6.0.33_(jfclere)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Reduce level of log message for invalid URL parameters from WARNING to

+        INFO. (kkolinko) 

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48208">48208</a>: Provide an option to specify a custom trust manager

+        for BIO and NIO HTTP connectors using SSL. Based on a patch by Luciana

+        Moreira. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49595">49595</a>: Protect against crashes when using the APR/native

+        connector. (jfclere)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49929">49929</a>: Make sure flush packet is not send after END_RESPONSE

+        packet. (mturk/markt) 

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50887">50887</a>: Enable the provider to be configured when generating

+        SSL certs. Based on a patch by pknopp. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51073">51073</a>: Throw an exception and do not start the APR connector

+        if it is configured for SSL and an invalid value is provided for

+        SSLProtocol. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix CVE 2011-2526. Protect against infinite loops (HTTP NIO) and crashes

+        (HTTP APR) if sendfile is configured to send more data than is available

+        in the file. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Prevent NPEs when a socket is closed in non-error conditions after

+        sendfile processing when using the HTTP NIO connector. (markt) 

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51515">51515</a>: Prevent immediate socket close when comet is used over

+        HTTPS. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.33 (jfclere)/Jasper"><!--()--></a><a name="Tomcat_6.0.33_(jfclere)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=36362">36362</a>: Handle the case where tag file attributes (which can

+        use any valid XML name) have a name which is not a Java identifier.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47371">47371</a>: Correctly coerce the empty string to zero when used as

+        an operand in EL arithmetic. Patch provided by gbt. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50726">50726</a>: Ensure that the use of the genStringAsCharArray does

+        not result in String constants that are too long for valid Java code.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50895">50895</a>: Don't initialize classes created during the

+        compilation stage. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51124">51124</a>: Make Tomcat more robust if an OOME occurs. Usually

+        after an OOME all bets are off but this change appears to help some

+        users and the description of a 'recoverable' OOME in the bug

+        is a plausible one. Based on a patch by Ramiro. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51177">51177</a>: Ensure Tomcat's MapELResolver and ListELResolver

+        always return <code>Object.class</code> for <code>getType()</code> as

+        required by the EL specification. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct possible threading issue in JSP compilation when development

+        mode is used. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51220">51220</a>: Add a system property to enable tag pooling with JSPs

+        that use a custom base class. Based on a patch by Dan Mikusa. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Broaden the exception handling in the EL Parser so that more failures to

+        parse an expression include the failed expression in the exception

+        message. Hopefully, this will help track down the cause of

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51088">51088</a>. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Improve error reporting of Jasper compilation. (schultz)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.33 (jfclere)/Cluster"><!--()--></a><a name="Tomcat_6.0.33_(jfclere)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50646">50646</a>: Fix cluster message data corruption if message size

+        exceeds the underlying buffer size. Patch provided by Olivier Costet.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50771">50771</a>: Ensure HttpServletRequest#getAuthType() returns the 

+        name of the authentication scheme if request has already been 

+        authenticated. (kfujino)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50950">50950</a>: Correct possible NotSerializableException for an

+        authenticated session when running with a security manager. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51306">51306</a>: Avoid NPE when handleSESSION_EXPIRED is processed 

+        while handleSESSION_CREATED is being processed. (kfujino)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        The change in session ID is notified to the container event listener on 

+        the backup node in cluster. This notification is controlled by 

+        notifyContainerListenersOnReplication. (kfujino)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.33 (jfclere)/Web applications"><!--()--></a><a name="Tomcat_6.0.33_(jfclere)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41498">41498</a>: Add the allRolesMode attribute to the Realm

+        configuration page in the documentation web application. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48997">48997</a>: Fixed some typos and improve cross-referencing to the

+        HTTP Connector and APR documentation with the SSL How-To page of the

+        documentation web application. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50804">50804</a>: Update links for Servlet 2.5 and JSP 2.1 Javadoc.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Improve class loading documentation and logging documentation.

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Configure Security Manager How-To to include a copy of the actual

+        conf/catalina.policy file when the documentation is built, rather

+        than maintaining a copy of its content. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51147">51147</a>: Fix deployment via HTML Manager that was broken by

+        addition of CRSF protection. Patch provided by Alexis Hassler. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51156">51156</a>: Ensure session expiration option is available in

+        Manager application was running web applications that were defined in

+        server.xml. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct the log4j configuration settings when defining conversion

+        patterns in the documentation web application. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Update Maven repository information in the documentation to reflect

+        current usage. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51346">51346</a>: Update the documentation web application to make clear

+        the circumstances in which the RequestDumperValve will consume the

+        request's InputStream. Based on a patch by pid. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51443">51443</a>: Document the notifySessionListenersOnReplication

+        attribute for the DeltaManager. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51516">51516</a>: Correct documentation web application to show correct

+        system property name for changing the name of the SSO session cookie.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update documentation to be even more explicit about the implications

+        of setting the <code>path</code> attribute on a <code>Context</code>

+        element in <code>server.xml</code>. (markt/kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.33 (jfclere)/Other"><!--()--></a><a name="Tomcat_6.0.33_(jfclere)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Clarify error messages in *.sh files to mention that if a script is

+        not found it might be because execute permission is needed. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=33262">33262</a>, <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40510">40510</a>, <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50949">50949</a>, <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51135">51135</a>:

+        Various improvements to the Windows installer to be able to install

+        several copies of Tomcat 6 side by side. Allow to configure service

+        name, connector and shutdown ports. Allow to choose whether to install

+        Start menu shortcuts and Apache Tomcat monitor application for all

+        users or for the current one only. Improve auto-detection of JAVA_HOME

+        for 64-bit Windows platforms: autoselect 32-bit JRE if it exists and

+        64-bit one is not available. Improve server.xml file handling.

+        Fix uninstallation icon. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50854">50854</a>: Add additional entries to the default catalina.policy

+        file to support running the manager web application from CATALINA_HOME

+        or CATALINA_BASE. (markt) 

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Update default download sources to use the central Apache Maven 2

+        repository as some libraries have been removed from the central Apache

+        Maven 1 repository. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51155">51155</a>: Add comments to @deprecated tags that have none. Patch

+        provided by sebb. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=51309">51309</a>: Correct logic in catalina.sh stop when using a PID

+        file to ensure the correct message is shown. Patch provided by Caio

+        Cezar. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update Apache Commons Pool to 1.5.6. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update Apache Commons Daemon to 1.0.7. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        At build time use two alternative download locations for components

+        downloaded from apache.org. (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.32 (jfclere)"><!--()--></a><a name="Tomcat_6.0.32_(jfclere)"><strong>Tomcat 6.0.32 (jfclere)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>released 2011-02-03</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.32 (jfclere)/Catalina"><!--()--></a><a name="Tomcat_6.0.32_(jfclere)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48822">48822</a>: Include context name in reload and stop log statements.

+        Based on the patch provided by Marc Guillemot. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50673">50673</a>: Improve Catalina shutdown when running as a service.

+        Do not call System.exit(). (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50689">50689</a>: Provide 100 Continue responses at appropriate points

+        during FORM authentication if client indicates that they are expected.

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Improve HTTP specification compliance in support of

+        <code>Accept-Language</code> header. This protects from known exploit

+        of the Oracle JVM bug that triggers a DoS, CVE-2010-4476. (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.32 (jfclere)/Coyote"><!--()--></a><a name="Tomcat_6.0.32_(jfclere)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49795">49795</a>: Backport AprEndpoint shutdown improvements, to make

+        it more robust. (mturk/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50325">50325</a>: When the JVM indicates support for RFC 5746, disable

+        Tomcat's <code>allowUnsafeLegacyRenegotiation</code> configuration

+        attribute and use the JVM configuration to control renegotiation.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50631">50631</a>: InternalNioInputBuffer should honor

+        <code>maxHttpHeadSize</code>. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50651">50651</a>: Fix NPE in InternalNioOutputBuffer.recycle().

+        (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.32 (jfclere)/Cluster"><!--()--></a><a name="Tomcat_6.0.32_(jfclere)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Be consistent with locks on sessionCreationTiming,

+        sessionExpirationTiming in DeltaManager.resetStatistics(). (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.31 (jfclere)"><!--()--></a><a name="Tomcat_6.0.31_(jfclere)"><strong>Tomcat 6.0.31 (jfclere)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>not released</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.31 (jfclere)/Catalina"><!--()--></a><a name="Tomcat_6.0.31_(jfclere)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49543">49543</a>: Allow Tomcat to use shared data sources with per

+        application credentials. (fhanik)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50205">50205</a>: Add the deployIgnorePaths attribute to the Host

+        element. Based on a patch by Jim Riggs. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50413">50413</a>: Additional fix that ensures the error page is served

+        regardless of any Range headers in the original request. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50550">50550</a>: When a new directory is created (e.g. via WebDAV)

+        ensure that a subsequent request for that directory does not result in a

+        404 response. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Provide session creation and destruction rate metrics in the session

+        managers. (markt) 

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50606">50606</a>: Improve CGIServlet: Provide support for specifying

+        empty value for the <code>executable</code> init-param. Provide support

+        for explicit additional arguments for the executable. Those were

+        broken when implementing fix for bug <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49657">49657</a>. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50620">50620</a>: Stop exceptions that occur during

+        <code>Session.endAccess()</code> from preventing the normal completion

+        of <code>Request.recycle()</code>. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.31 (jfclere)/Coyote"><!--()--></a><a name="Tomcat_6.0.31_(jfclere)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove a huge memory leak in the NIO connector introduced by the fix

+        for <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49884">49884</a>. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.31 (jfclere)/Cluster"><!--()--></a><a name="Tomcat_6.0.31_(jfclere)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50600">50600</a>: Prevent a <code>ConcurrentModificationException</code>

+        when removing a WAR file via the FarmWarDeployer. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.30 (jfclere)"><!--()--></a><a name="Tomcat_6.0.30_(jfclere)"><strong>Tomcat 6.0.30 (jfclere)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>released 2011-01-13</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.30 (jfclere)/General"><!--()--></a><a name="Tomcat_6.0.30_(jfclere)/General"><strong>General</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Filter input of manager app servlets. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43960">43960</a>: Expose available property of StandardWrapper via JMX.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update to Commons Daemon 1.0.5. (mturk)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Switch to using the Eclipse compiler JAR directly rather than creating

+        it from the larger JDT download. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Allow the off-line building of the extras package. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update to Commons Pool 1.5.5. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49728">49728</a>, <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50084">50084</a>: Improve PID file handling when

+        another process is managing the PID file and Tomcat does not have write

+        access. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49909">49909</a>, <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50201">50201</a>: Provide a mechanism to log requests

+        rejected before they reach the AccessLogValve to appear in the access

+        log. (markt/kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.30 (jfclere)/Catalina"><!--()--></a><a name="Tomcat_6.0.30_(jfclere)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=38113">38113</a>: Provide a system property that enables a strict

+        interpretation of the specification for <code>getQueryString()</code>

+        when an empty query string is provided by the user agent. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Return a copy of the current URLs for the <code>WebappClassLoader</code>

+        to prevent modification. This facilitated, although it wasn't the root

+        cause, CVE-2010-1622. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48837">48837</a>: Extend thread local memory leak detection to include

+        classes loaded by subordinate class loaders to the web

+        application's class loader such as the Jasper class loader.

+        Patch provided by Sylvain Laurent. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48973">48973</a>: Avoid creating a SESSIONS.ser file when stopping an 

+        application if there's no session. Patch provided by Marc Guillemot.

+        (slaurent)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49030">49030</a>: Failure during start of one connector should not leave

+        some connectors started and some ignored. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49195">49195</a>: Don't report an error when shutting down a Windows

+        service for a Tomcat instance that has a disabled shutdown port. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49209">49209</a>: Fix problem with JDBC driver memory leak prevention

+        when running under a security manager. Patch provided by Sylvain

+        Laurent. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49613">49613</a>: Improve performance when using SSL for applications

+        that make multiple class to <code>Request.getAttributeNames()</code>.

+        Patch provided by Sampo Savolainen. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49657">49657</a>: Handle CGI executables with spaces in the path.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49667">49667</a>: Ensure that using the JDBC driver memory leak

+        prevention code does not cause a one of the memory leaks it is meant to

+        avoid. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49749">49749</a>: Respect <code>httpOnly</code> setting of Context

+        when creating SSO cookie. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Provide better web application state information via JMX. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49811">49811</a>: Add an option to disable URL rewriting on a per

+        Context basis. The option name is <code>disableURLRewriting</code>.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49856">49856</a>: Expose the executor name for the connector via JMX.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49915">49915</a>: Make error more obvious, particularly when accessed

+        via JConsole, if StandardServer.storeConfig() is called when there is

+        no StoreConfig implementation present. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49965">49965</a>: Use correct i18n resources for StringManager in

+        JAASRealm. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49987">49987</a>: Fix potential data race in the population of the

+        Servlet Context initialisation parameters. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Code clean-up. Avoid some casts in StandardContext. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add security policy and token poller protection to the JRE memory leak

+        protection provided in Tomcat 6. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50026">50026</a>: Add support for mapping the default servlet to URLs

+        other than /. (timw)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50128">50128</a>: Improve exception handling in PersistentManagerBase

+        when running with a security manager. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50131">50131</a>: Avoid possible NPE in debug output in PersistentValve.

+        Patch provided by sebb. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50138">50138</a>: Fix threading issues in

+        <code>org.apache.catalina.security.SecurityUtil</code>. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add a new filter, <code>org.apache.catalina.filters.CsrfPreventionFilter</code>,

+        to provide generic cross-site request forgery (CSRF)

+        protection for web applications. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Make sure Contexts defined in server.xml pick up any <code>configClass</code>

+        setting from the parent Host. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50222">50222</a>: Modify memory leak prevention code so it pins the

+        system class loader in memory rather than than the common class loader,

+        which is better for embedded systems. (schultz) 

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Make memory leak prevention code that clears ThreadLocal instances more

+        robust against objects with <code>toString()</code> methods that throw

+        exceptions. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50282">50282</a>: Load <code>javax.security.auth.login.Configuration</code>

+        with <code>JreMemoryLeakPreventionListener</code> to avoid memory leak

+        when stopping a webapp that would use JAAS.

+        (slaurent)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50413">50413</a>: Ensure 304s are not returned when using static files

+        as error pages. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50453">50453</a>: Correctly handle multiple <code>X-Forwarded-For</code>

+        headers in the RemoteIpValve. Patch provided by Jim Riggs. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50459">50459</a>: Fix thread/classloader binding issues in

+        StandardContext. (slaurent) 

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50527">50527</a>: Improve an error message shown by HttpServlet. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50556">50556</a>: Improve JreMemoryLeakPreventionListener to prevent

+        a potential class loader leak caused by a thread spawned when the class

+        <code>com.sun.jndi.ldap.LdapPoolManager</code> is initialized and the 

+        system property <code>com.sun.jndi.ldap.connect.pool.timeout</code> is 

+        set to a value greater than 0. (slaurent)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50642">50642</a>: Move the <code>sun.net.www.http.HttpClient</code>

+        keep-alive thread memory leak protection from the 

+        JreMemoryLeakPreventionListener to the WebappClassLoader since the

+        thread that triggers the memory leak is created on demand. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.30 (jfclere)/Coyote"><!--()--></a><a name="Tomcat_6.0.30_(jfclere)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47913">47913</a>: Return the IP address rather than null for

+        <code>getRemoteHost()</code> with the APR connector if the IP address

+        does not resolve. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Avoid a NPE for APR connector unlockAccept with default soTimeout.

+        (mturk)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48545">48545</a>: Allow JSSE trust stores to be used without providing

+        a password. Based on a patch by smmwpf54. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48738">48738</a>: Add support for flushing gzipped output. Based on a

+        patch by Jiong Wang. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Avoid a NPE in the DeltaManager when a parallel request invalidates the

+        session before the current request has a chance to send the replication

+        message. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48925">48925</a>: <code>request.getLocalAddr()</code> returns

+        <code>null</code> when using the default Jk AJP/1.3 connector. (rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49497">49497</a>: Stop accepting new requests (inc keep-alive) once the

+        BIO connector is paused and the current request has finished processing.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49521">49521</a>: Disable scanning for a free port in Jk AJP/1.3

+        connector by default. Do not change <code>maxPort</code> field value of ChannelSocket

+        in its <code>setPort()</code> and <code>init()</code> methods. Add

+        support for <code>maxPort</code> attribute on a <code>Connector</code>

+        element as a synonym for <code>channelSocket.maxPort</code>. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49625">49625</a>: Ensure Vary header is set if response may be

+        compressed rather than only setting it if it is compressed. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49730">49730</a>: Fix race condition in StandardThreadExecutor that can

+        lead to long delays in processing requests. Patch provided by Sylvain

+        Laurent. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49860">49860</a>: Add support for trailing headers in chunked HTTP

+        requests. The header length is limited to 8192 by default and the limit

+        can be changed via a system property. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49972">49972</a>: Fix potential thread safe issue when formatting dates

+        for use in HTTP headers. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50072">50072</a>: NIO connector can mis-read request line if not sent in

+        a single packet. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Improve recycling of processors in Http11NioProtocol. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50273">50273</a>: Provide a workaround for an HP-UX issue that can

+        result in large numbers of SEVERE log messages appearing in the logs as

+        a result of normal operation. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Make SSL certificate encoding algorithm consistent between connectors by

+        using the JVM default for all connectors. This also fixes an issue with

+        the NIO connector on IBM JVMs. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50467">50467</a>: Protected against NPE triggered by a race condition

+        that causes the NIO poller to fail, preventing the processing of further

+        requests. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.30 (jfclere)/Jasper"><!--()--></a><a name="Tomcat_6.0.30_(jfclere)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49217">49217</a>: Ensure that identifiers used in EL meet the

+        requirements of the Java Language Specification. This check is off by

+        default and can be enabled by setting a system property. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49555">49555</a>: Correctly handled Tag Libraries where functions are

+        defined in static inner classes. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49665">49665</a>: Provide better information including JSP file name and

+        location when a missing file is detected during TLD handling. Patch

+        provided by Ted Leung. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49985">49985</a>: Fix thread safety issue in EL parser. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49986">49986</a>: Fix thread safety issue in JSP reloading. (timw))

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49998">49998</a>: Make jsp:root detection work with single quoted

+        attributes as well. (timw)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50066">50066</a>: Compile a recursive tag file if it depends on a JAR.

+        Patch provided by Sylvain Laurent. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50078">50078</a>: Fix threading issues in EL caches and make cache sizes

+        configurable. Threading patch provided by Takayoshi Kimura. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50105">50105</a>: When processing composite EL expressions use

+        <code>Enum.name()</code> rather than <code>Enum.toString()</code> as

+        required by the EL specification. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50228">50228</a>: Improve recycling of <code>BodyContentImpl</code>.

+        This avoids keeping a cached reference to a webapp-provided Writer

+        used in JspFragment.invoke() calls. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50460">50460</a>: Fix memory leak in JspDocumentParser triggered by

+        first access to a jspx page. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50500">50500</a>: Use correct coercions (as per the EL spec) for

+        arithmetic operations involving string values containing '.',

+        'e' or 'E'. Based on a patch by Brian Weisleder.

+        (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.30 (jfclere)/Cluster"><!--()--></a><a name="Tomcat_6.0.30_(jfclere)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49343">49343</a>: When ChannelException is thrown, remove listener from

+        channel. (kfujino)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Add Null check when CHANGE_SESSION_ID message received. (kfujino)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        When a cluster node disappears when using the backup manager, handle the

+        failed ping message rather than propagating the exception (which just

+        logs the stack trace but doesn't do anything to deal with the failure).

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49905">49905</a>: Fix potential memory leak when using asynchronous

+        session replication. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49924">49924</a>: When non-primary node changes into a primary node,

+        make sure isPrimarySession is changed to true. (kfujino)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Add support for <code>maxActiveSessions</code> attribute to

+        BackupManager. (kfujino)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Improve sending an access message in DeltaManager.

+        Use <code>maxInactiveInterval</code> not of the Manager, but of the session. 

+        If <code>maxInactiveInterval</code> is negative, the access message is not

+        being sent. (kfujino)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50547">50547</a>: Add time stamp for CHANGE_SESSION_ID message and 

+        SESSION_EXPIRED message. (kfujino)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.30 (jfclere)/Web applications"><!--()--></a><a name="Tomcat_6.0.30_(jfclere)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49585">49585</a>: Update JSVC documentation to reflect new packaging

+        of Commons Daemon. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Configure the Manager web application to use the new CSRF protection. To

+        take advantage of this protection, the <code>manager</code> role must be

+        removed from all users and the new <code>manager-gui</code> and

+        <code>manager-script</code> roles used instead. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Configure the Host Manager web application to use the new CSRF

+        protection. To take advantage of this protection, the <code>admin</code> role

+        must be removed from all users and the new <code>admin-gui</code> and

+        <code>admin-script</code> roles used instead. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50303">50303</a>: Update JNDI how-to to reflect new JavaMail and JAF

+        download locations and that JAF is now included in Java SE 6. (markt) 

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        CVE-2010-4172: Multiple XSS in Manager application. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Improve Tomcat Logging documentation. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50242">50242</a>: Provide a sample log4j  configuration that more

+        closely matches the default JULI configuration. Patch provided by

+        Christopher Schultz. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50294">50294</a>: Add more information to documentation regarding format

+        of configuration files. Patch provided by Luke Meyer. (markt) 

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Configure the Manager and Host-Manager web applications to use HttpOnly

+        flag for their session cookies. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50316">50316</a>: Fix display of negative values in the Manager web

+        application. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Improve documentation of database connection factory. (rjung)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.30 (jfclere)/Other"><!--()--></a><a name="Tomcat_6.0.30_(jfclere)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48716">48716</a>: Do not call reset if the default LogManager is in use.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Use native line endings for example Eclipse configuration files in

+        source distribution. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49428">49428</a>: Add a work-around for the known namespace issues for

+        some Microsoft WebDAV clients. Based on the patch provided by

+        Panagiotis Astithas. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49861">49861</a>: Fix formatting of log messages in JXM remote listener.

+        Do not use commas when printing RMI port numbers. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50140">50140</a>: Don't ignore a user specified install directory

+        on 64-bit platforms when using the Windows installer. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=50552">50552</a>: Avoid NPE that hides error message when using Ant

+        tasks. (schultz)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Numerous improvements to the Windows installer: update install/uninstall

+        icons, create an installation log, allow 32-bit JVMs to be selected when

+        installing on a 64-bit platform, replace the .ini files with the script

+        equivalents, use the new manager and host-manager roles, provide the

+        ability to edit the roles for the added user, add support for the

+        <code>/?</code> command line switch, clean up fully after installation,

+        add DetailPrint statements for operations that may take time and

+        improve the descriptions of the components. (kkolinko, mturk, markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.29 (jfclere)"><!--()--></a><a name="Tomcat_6.0.29_(jfclere)"><strong>Tomcat 6.0.29 (jfclere)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>released 2010-07-22</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.29 (jfclere)/Catalina"><!--()--></a><a name="Tomcat_6.0.29_(jfclere)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48960">48960</a>: Add a new option to the SSI Servlet and SSI Filter to

+        allow the disabling of the <code>exec</code> command. This is now

+        disabled by default. Based on a patch by Yair Lenga. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49551">49551</a>: Allow default context.xml location to be specified

+        using an absolute path. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49598">49598</a>: When session is changed and the session cookie is

+        replaced, ensure that the new Set-Cookie header overwrites the old

+        Set-Cookie header. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix order when listing Webapp loader search URLs. (rjung)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add support for <code>*.jar</code> pattern in VirtualWebappLoader.

+        (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.28 (jfclere)"><!--()--></a><a name="Tomcat_6.0.28_(jfclere)"><strong>Tomcat 6.0.28 (jfclere)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>released 2010-07-09</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.28 (jfclere)/Catalina"><!--()--></a><a name="Tomcat_6.0.28_(jfclere)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>Arrange filter logic. (jfclere)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49230">49230</a>: Enhance JRE leak prevention listener with protection

+        for the keep-alive thread started by

+        <code>sun.net.www.http.HttpClient</code>. Patch provided by Rob Kooper.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49351">49351</a>: Fix possible NPE when embedding and no name is

+        specified for the Service. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49424">49424</a>: Avoid NPE if client provides no data with a chunked

+        POST request. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49414">49414</a>: Improve diagnostic of memory leaks.

+        Differentiate between request threads and application

+        created threads when warning about still running threads when an

+        application stops. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49443">49443</a>: Fix RemoteIpValve documentation. Use remoteIpHeader

+        rather than remoteIPHeader consistently. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add property <code>searchExternalFirst</code> to WebappLoader.

+        If set, the external repositories will be searched before

+        the WEB-INF ones. (rjung)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.28 (jfclere)/Cluster"><!--()--></a><a name="Tomcat_6.0.28_(jfclere)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49445">49445</a>: When session ID is changed after authentication,

+        ensure the DeltaManager replicates the change in ID to the other nodes

+        in the cluster. (kfujino)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.28 (jfclere)/Web applications"><!--()--></a><a name="Tomcat_6.0.28_(jfclere)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49213">49213</a>: Grant permissions required by manager application when

+        running under a security manager. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49436">49436</a>: Correct documented default for <code>readonly</code>

+        attribute of the UserDatabase component. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.27 (jfclere)"><!--()--></a><a name="Tomcat_6.0.27_(jfclere)"><strong>Tomcat 6.0.27 (jfclere)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>not released</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.27 (jfclere)/General"><!--()--></a><a name="Tomcat_6.0.27_(jfclere)/General"><strong>General</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update DBCP to 1.3. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.27 (jfclere)/Catalina"><!--()--></a><a name="Tomcat_6.0.27_(jfclere)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix CVE-2010-1157. Prevent possible disclosure of host name or IP

+        address via the HTTP WWW-Authenticate header when using BASIC or DIGEST

+        authentication. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Include context name when reporting memory leaks to aid root cause

+        identification. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Improve exception handling on session de-serialization to assist in

+        identifying the root cause of <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48007">48007</a>. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48379">48379</a>: Make session cookie name, domain and path configurable

+        per context. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48589">48589</a>: Make JNDIRealm easier to extend. Based on a patch by

+        Candid Dauth. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48629">48629</a>: Allow user names as well as DNs to be used with the

+        nested role search. Add roleNested to the documentation. Patch provided

+        by Felix Schumacher. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48661">48661</a>: Make error page behavior consistent, regardless of how

+        the error page is defined. If a response has been committed, always

+        include the error page. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48729">48729</a>: Return roles defined by both userRoleName and roleName

+        mechanisms. Patch provided by 'eric'. Also make user's role list

+        immutable.(markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48760">48760</a>: Fix potential multi-threading issue in static resource

+        serving where multiple threads could try to use the the same

+        InputStream. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48790">48790</a>: Fix thread safety issue in the count of the maximum

+        number of active session. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48793">48793</a>: Make catalina.sh more robust to different return

+        values on different platforms. Patch provided by Thomas GL. (markt)

+      </td></tr>

+       <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48840">48840</a>: Swallow output (if any) from use of cd when determining

+        $CATALINA_HOME in catalina.sh and tool-wrapper.sh scripts. Based on patch

+        provided by mdietze. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48895">48895</a>: Make clearing of ThreadLocals that are causing memory

+        leaks on web application stop, reload or undeploy configurable since the

+        process of clearing them is not thread-safe. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48903">48903</a>: Fix deadlock in webapp class loader. (rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48971">48971</a>: Make stopping of leaking Timer threads optional and

+        disabled by default. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48976">48976</a>: Document JAVA_ENDORSED_DIRS in start-up scripts. Patch

+        provided by Laurent Vaills. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48983">48983</a>: Improve debug logging for situations when

+        <code>RemoteIpValve</code> is bypassed. Patch provided by Cyrille Le

+        Clerc. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49018">49018</a>: Fix processing of time argument in the Expire sessions

+        action in the Manager web application. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49116">49116</a>: If session is already invalid, expire session to

+        prevent memory leak. (kfujino)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49158">49158</a>: Ensure only one session cookie is returned for a

+        single request. (markt/fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49245">49245</a>: Fix session expiration check in cross-context

+        requests. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49398">49398</a>: ByteChunk.indexOf(String, int, int, int) could not

+        find a string of length 1. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix possible overflows when calculating session statistics. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Log unexpected exceptions when providing access to web application

+        resources in ApplicationContext. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Improve exception handling in CatalinaShutdownHook. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Expose properties of VirtualWebappLoader and WebappClassLoader via JMX.

+        (rjung)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.27 (jfclere)/Coyote"><!--()--></a><a name="Tomcat_6.0.27_(jfclere)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48839">48839</a>: Correctly handle HTTP header folding in the NIO

+        connector. Patch suggested by Richa Baronia. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48843">48843</a>: Prevent possible deadlock for worker allocation in

+        connectors. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48843">48843</a>: Fix handling of add queues in AprEndpoint.Poller and

+        AprEndpoint.Sendfile. Do not miss wakeups. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48862">48862</a>: Add support for the backlog parameter to the AJP

+        connector. (pero/markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48917">48917</a>: Correct name of mod_jk module in ApacheConfig. Patch

+        provided by Todd Hicks. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49095">49095</a>: AprEndpoint did not wakeup acceptors during shutdown

+        when deferAccept option was enabled. Based on a patch provided by

+        Ruediger Pluem. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Use chunked encoding for http 1.1 requests with no content-length

+        (regardless of keep-alive) so client can differentiate between complete

+        and partial responses. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct the SSL session timeout attribute name so the code agrees with

+        the documentation. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        CoyotePrincipal now implements Serializable. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Enable the BIO AJP connector to run under a security manager. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.27 (jfclere)/Jasper"><!--()--></a><a name="Tomcat_6.0.27_(jfclere)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45015">45015</a>: Correct a regression in quote handling caused by the

+        re-factoring of attribute parsing. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48701">48701</a>: Add a system property to allow disabling enforcement

+        of JSP.5.3. The specification recommends, but does not require, this

+        enforcement. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48737">48737</a>: Don't assume paths that start with /META-INF/... are

+        always in JARs. This is not true for some IDEs. Patch provided by

+        Fabrizio Giustina. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49081">49081</a>: Correctly handle EL expressions of the form #${...}.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49196">49196</a>: Avoid NullPointerException in PageContext.getErrorData()

+        if an error-handling JSP page is called directly. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.27 (jfclere)/Cluster"><!--()--></a><a name="Tomcat_6.0.27_(jfclere)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48717">48717</a>: When a node joins a cluster and it receives all the

+        current sessions, ensure the sessionCreated event is fired if the

+        Manager is configured to replicate session events. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48934">48934</a>: Previous fix to handle dropped connections incorrectly

+        permanently disabled session replication. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49051">49051</a>: memberAlive is not called if member has not already

+        existed in membership. (kfujino)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49151">49151</a>: Avoid ClassCastException in BackupManager#stop.

+        (kfujino)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49170">49170</a>: Do not send duplicated session. (kfujino)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Add missing messages and ensure cluster listeners log messages to

+        correct logger. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.27 (jfclere)/Web applications"><!--()--></a><a name="Tomcat_6.0.27_(jfclere)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Use underscores instead of spaces in anchor names in Tomcat

+        documentation. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add support for displaying the Spring Security user name (if present) in

+        the Manager application. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Improve the ChatServlet <a href="aio.html">Comet</a> example

+        (/examples/jsp/chat/). (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.27 (jfclere)/Other"><!--()--></a><a name="Tomcat_6.0.27_(jfclere)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>Update to Commons Daemon 1.0.2. Use service launcher (procrun)

+      from the Commons Daemon release. Do not keep a copy of it in our source

+      tree. (mturk/kkolinko)</td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update to NSIS 2.46. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48990">48990</a>: Fix the <code>skip.installer</code> build property

+        so if set, only the Windows installer is skipped. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49178">49178</a>: Provide in catalina.policy an example of additional

+        permissions that might be needed for code located in

+        <code>$CATALINA_BASE/lib</code>. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=49236">49236</a>: Do not use indexing when packing Tomcat JARs.

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove unused code from org.apache.tomcat.util.buf classes. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Rearrange tomcat-juli.jar permissions and wrap long lines in the

+        <code>conf/catalina.policy</code> file, to make the text more readable

+        when cited in documentation. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Do not evaluate the <code>execute.installer</code> property when building

+        a release. The <code>skip.installer</code> property is used instead.

+        (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.26 (jfclere)"><!--()--></a><a name="Tomcat_6.0.26_(jfclere)"><strong>Tomcat 6.0.26 (jfclere)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>released 2010-03-11</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.26 (jfclere)/Catalina"><!--()--></a><a name="Tomcat_6.0.26_(jfclere)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Close security hole in unreleased 6.0.25 by ensuring new find leaks

+        functionality is protected by a security constraint. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48831">48831</a>: Improve logging shutdown behaviour. Use Catalina's

+        shutdown hook to shutdown JULI. This enables them to be shutdown in the

+        correct order. Do not shutdown global handlers several times.

+        (markt/kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.26 (jfclere)/Coyote"><!--()--></a><a name="Tomcat_6.0.26_(jfclere)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48584">48584</a>: Prevent the APR connector logging an error if the

+        acceptor fails during shutdown since this is expected. (mturk)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48660">48660</a>: Using compression should not overwrite any Vary header

+        set by a web application. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.26 (jfclere)/Jasper"><!--()--></a><a name="Tomcat_6.0.26_(jfclere)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48371">48371</a>: Ensure generated servlet mappings are inserted at the

+        correct location when using JspC and allow the option that controls this

+        to be configured on the command line. Also allow the encoding of web.xml

+        to be configured when using JspC and deprecate some unused JspC methods.

+        (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48498">48498</a>: Avoid ArrayIndexOutOfBoundsException triggered by a

+        Java 6/7 XML parser bug. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48668">48668</a>: Additional fixes to ensure deferred syntax is handled

+        correctly. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48827">48827</a>: Correct a regression in the fix for <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47977">47977</a>

+        that caused an incorrect non-empty body error to be reported for valid

+        JSP documents. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.26 (jfclere)/Web applications"><!--()--></a><a name="Tomcat_6.0.26_(jfclere)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Make changelog.xml be directly rendered as HTML by certain browsers.

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add support for automated generation of TOC tables and for links to svn

+        revisions to tomcat-docs.xsl in documentation. (kkolinko/fhanik)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Move Manager application JSPs that are not intended to be accessed

+        directly under the WEB-INF directory. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Improve the messages displayed by the find leaks diagnostic in the

+        Manager application. (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.26 (jfclere)/Other"><!--()--></a><a name="Tomcat_6.0.26_(jfclere)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Encode all property files using ascii escaped UTF-8. Also fixes

+        deployment problem when using French locale. (jfclere/rjung)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.25 (jfclere)"><!--()--></a><a name="Tomcat_6.0.25_(jfclere)"><strong>Tomcat 6.0.25 (jfclere)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>not released</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.25 (jfclere)/Catalina"><!--()--></a><a name="Tomcat_6.0.25_(jfclere)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48039">48039</a>: Return immediately if start() is called on an already

+        started StandardService. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48109">48109</a>: Ensure InputStream is closed on error condition in web

+        application class loader. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48179">48179</a>: Clean up dead code that was used to read tldCache

+        file. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48318">48318</a>: Handle case where WebDAV resource is in directory

+        listing but is not accessible. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48384">48384</a>: Add a per context xslt option for directory listings.

+        Make the fallback options work as described in the documentation.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48577">48577</a>: Filter URL when displaying missing included page.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48612">48612</a>: Prevent exception on shutdown if the address attribute

+        is specified for a connector. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48613">48613</a>: Further fixes to ensure APRLifecycleListener is only

+        used if defined in server.xml. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48614">48614</a>: Correct JULI log file buffering so default behaviour

+        is no buffering. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48625">48625</a>: Provide an option to exit if an error occurs during

+        the initialization phase. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48645">48645</a>: Use specified encoding rather than null in calls to

+        <code>RequestUtil.URLDecode(byte[] bytes, String enc)</code> (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48653">48653</a>: Force request.secure and request.scheme to

+        <code>false</code> and <code>http</code> if the X-Forwarded-Proto header

+        has the value http. Patch provided by Cyrille Le Clerc. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48678">48678</a>: Remove duplicate server field from

+        <code>org.apache.catalina.startup.Catalina</code>. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48694">48694</a>: Remove potential deadlock in web application class

+        loader. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48716">48716</a>: Provide additional configuration options for JULI.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48726">48726</a>: Prevent OOME when uploading large WAR files with the

+        deployer. Patch provided by adam. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Improve memory leak protection by safely stopping threads started via

+        <code>java.util.Timer</code> that an application starts but fails to

+        stop and by clearing references retained due to the use of

+        <code>java.util.ResourceBundle</code>. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Modify ThreadLocal memory leak detection to not report false positives

+        and to simplify implementation. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Basic memory leak detection was added to the standard Host

+        implementation and exposed via JMX to detect memory leaks on web

+        application reload. (markt/kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.25 (jfclere)/Coyote"><!--()--></a><a name="Tomcat_6.0.25_(jfclere)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update the native/APR library version bundled with Tomcat to 1.1.20.

+        (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.25 (jfclere)/Jasper"><!--()--></a><a name="Tomcat_6.0.25_(jfclere)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add some debug logging to the compiler where exceptions were previously

+        swallowed. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48170">48170</a>: Remove unnecessary synchronization that is causing

+        issues under load. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48580">48580</a>: Prevent AccessControlException if first access is to a

+        JSP that uses a FunctionMapper. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48582">48582</a>: Avoid NPE on background compilation failure. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48616">48616</a>: Don't declare or synchronize scripting variables for

+        JSP fragments since they are scriptless. This is an alternative fix for

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42390">42390</a> that avoids both the original problem and the

+        regression in the first fix. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48627">48627</a>: Fix regression in re-factored EL parsing. Keep

+        literals as literals and handle deferredSyntaxAllowedAsLiteral.

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48668">48668</a>: When parsing JSPs only parse EL as EL if EL is enabled

+        else strings such as ${ will be silently dropped. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Various EL TCK failures. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.25 (jfclere)/Cluster"><!--()--></a><a name="Tomcat_6.0.25_(jfclere)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Force a disconnect if an error occurs during replication such as

+        a firewall dropping the connection. (fhanik)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.25 (jfclere)/Web applications"><!--()--></a><a name="Tomcat_6.0.25_(jfclere)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add new "Find leaks" command to the Manager application. It allows to

+        detect web applications that have caused memory leaks on stop,

+        reload or undeploy. (markt/kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.25 (jfclere)/Other"><!--()--></a><a name="Tomcat_6.0.25_(jfclere)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Ensure files in conf directory have CRLF line endings when using the

+        Windows installer. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Allow special characters recognized by the Windows command-line shell to

+        be present in the names of CATALINA_HOME/_BASE and the current directory

+        used to call the Tomcat scripts. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Don't use @Deprecated annotations in

+        <code>javax.servlet.jsp.JspContext</code> since the specification does

+        not include them in the API definition. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Improve the information in the JAR manifest files. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.24 (jfclere)"><!--()--></a><a name="Tomcat_6.0.24_(jfclere)"><strong>Tomcat 6.0.24 (jfclere)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>released 2010-01-21</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.24 (jfclere)/Catalina"><!--()--></a><a name="Tomcat_6.0.24_(jfclere)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct TCK failures with security manager caused by the original fix

+        for <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47774">47774</a>. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.24 (jfclere)/Other"><!--()--></a><a name="Tomcat_6.0.24_(jfclere)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove broken link in README.html. (jfclere)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Add <code>.notice</code> files to the set of files that have their line

+        endings changed. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <code>.zip</code> distributions should have windows line endings.

+        (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.23 (jfclere)"><!--()--></a><a name="Tomcat_6.0.23_(jfclere)"><strong>Tomcat 6.0.23 (jfclere)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>not released</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.23 (jfclere)/Catalina"><!--()--></a><a name="Tomcat_6.0.23_(jfclere)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47774">47774</a>: Ensure web application class loader is used when

+        calling session listeners. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48006">48006</a>: Add additional information to the optional

+        X-Powered-By header to align with the content suggested in the Servlet

+        specification. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48345">48345</a>: Sessions timed out too early when using

+        PersistentManager. Patch provided by Keiichi Fujino. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48398">48398</a>: Make objects used as locks final to ensure correct

+        operation. Patch provided by sebb. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48417">48417</a>: Update French translations. Patch provided by Andr&eacute;

+        Warnier. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48421">48421</a>: Fix file descriptor and potential memory leak when a

+        web application uses a local logging.properties file. Allow a web

+        application's log files to be deleted once the web application has been

+        stopped. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48454">48454</a>: Ensure stderr is completely read before terminating

+        the CGI process. Patch provided by Markus Grieder. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48516">48516</a>: Prevent NPE in JNDIRealm if requested user does not

+        exist. Patch provided by Kevin Conaway. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix implementation of log buffer size and provide a cleaner interface.

+        (fhanik/kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.23 (jfclere)/Coyote"><!--()--></a><a name="Tomcat_6.0.23_(jfclere)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update version of native bundled in Windows installer to 1.1.19. (mturk)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update recommended version for native to 1.1.19. (rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48004">48004</a>: All web applications to set the http

+        <code>Server</code> header. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48470">48470</a>: Ensure Tomcat does not lock up if shut down under

+        load. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.23 (jfclere)/Jasper"><!--()--></a><a name="Tomcat_6.0.23_(jfclere)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+  <table border="0" cellpadding="2" cellspacing="2">

+    <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+      <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47977">47977</a>: Using a body with a tag that has an empty body should

+      cause an error. (markt)

+    </td></tr>

+    <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+      <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48112">48112</a>: Correct handling of } character in literals when parsing

+      expressions. This also improves the fix for <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47413">47413</a>. (markt)

+    </td></tr>

+  </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.23 (jfclere)/Web applications"><!--()--></a><a name="Tomcat_6.0.23_(jfclere)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48530">48530</a>: Add information on the Manager Server Status page to

+        the Manager How-To in the documentation webapp. Based on a patch by

+        Arnaud Espy. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48532">48532</a>: Add information to the BIO/NIO SSL configuration page

+        in the documentation web application to specify how the defaults for the

+        various trust store attributes are determined. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.23 (jfclere)/Other"><!--()--></a><a name="Tomcat_6.0.23_(jfclere)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove hard coded version numbers and instead apply version filter

+        already defined in ant scripts. (rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47609">47609</a>: Correct regression in previous fix. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48464">48464</a>: Provide an option to specify the command window title

+        in catalina.bat on Windows. Patch provided by LiuYan. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Add some missing deprecation markers for

+        <code>javax.servlet.jsp.JspContext</code>. (markt/kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.22 (jfclere)"><!--()--></a><a name="Tomcat_6.0.22_(jfclere)"><strong>Tomcat 6.0.22 (jfclere)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>not released</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.22 (jfclere)/Catalina"><!--()--></a><a name="Tomcat_6.0.22_(jfclere)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Log errors if a web application starts a thread but fails to stop the

+        thread when the web application stops or is reloaded. Failure to stop a

+        thread is very likely to result in a memory leak. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Provide an option to stop any threads a web application starts but fails

+        to stop when the web application stops or is reloaded. Using this option

+        is very likely to result in instability and should be viewed as a last

+        resort in development and is not recommended at all in production.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Log errors if a web application creates a ThreadLocal but fails to clear

+        it when the web application stops or is reloaded. Failure to clear a

+        ThreadLocal is very likely to result in a memory leak. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Clear any unintentional references remaining in

+        <code>sun.rmi.transport.Target</code> when the web application stops or

+        is reloaded. Failure to clear these is very likely to result in a memory

+        leak. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.22 (jfclere)/Coyote"><!--()--></a><a name="Tomcat_6.0.22_(jfclere)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove unneeded line from the method that normalizes decodedURI.

+        (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.22 (jfclere)/Other"><!--()--></a><a name="Tomcat_6.0.22_(jfclere)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct MD5 generation in the build process. (jfclere/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47609">47609</a>: Provide fail-safe EOL conversion for build process.

+        Based on patches by sebb/kkolinko. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.21 (jfclere)"><!--()--></a><a name="Tomcat_6.0.21_(jfclere)"><strong>Tomcat 6.0.21 (jfclere)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>not released</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.21 (jfclere)/Catalina"><!--()--></a><a name="Tomcat_6.0.21_(jfclere)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix issues with expression language when running under a

+        SecurityManager. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove duplicate mime-mapping entries in web.xml. Re-order entries

+        alphabetically to make it easier to identify duplicates. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Use a more sensible default (webapps) for a Host's appBase.

+        (markt/idarwin)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37794">37794</a>: Support the parsing of parameters from chunked POSTs.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37984">37984</a>: Strip {MD5} as well as {SHA} if present in digest

+        passwords in LDAP directories. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=38352">38352</a>: Allow JSPs to write to the directory defined by

+        <code>javax.servlet.context.tempdir</code> when running under a security

+        manager. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=39231">39231</a>: Call LoginContext.logout() when using JAAS realm and

+        session expires. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40380">40380</a>: Fix potential synchronization issue in

+        StandardSession.expire(). (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41059">41059</a>: Reduce chances of errors when ENABLE_CLEAR_REFERENCES

+        is used. Patch provided by Curt Arnold. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43343">43343</a>: Fix additional concurrency issues identified with the

+        persistent session manager. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44041">44041</a>: Fix threading issue in WebappClassLoader that can lead

+        to duplicate class definition under high load. (markt/fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44943">44943</a>: Use the same engine name in server.xml comments to

+        reduce copy and pastes issues. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45255">45255</a>: Provide protection against session fixation by

+        changing session ID automatically on authentication. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45403">45403</a>: Add additional checks on web application deployment

+        and do not swallow IO errors. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45785">45785</a>: Additional fix required for the extension validator.

+        Based on a patch by Rolf Wojtech. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46908">46908</a>: Try and support java encoding names when using an xml

+        parser provided via the endorsed mechanism. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46967">46967</a>: Better handling of errors when trying to use

+        Manager.randomFile. Based on a patch by Kirk Wolf. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47046">47046</a>: Unregister all MBeans, including when non-default

+        engine names are used. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Use native2ascii to ensure non-ASCII characters in property files are

+        handled correctly in all circumstances. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47050">47050</a>: Remove unnecessary filtering of error messages.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47080">47080</a>: Fix NPE in RealmBase when uri is null. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47158">47158</a>: Fix some thread safety issues in the AccessLogValve.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47228">47228</a>: Correct French translations. Patch provided by sebb.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47299">47299</a>: Simplify code and make embedding easier. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47316">47316</a>: Allow different values for Service name and Engine

+        name. This corrects a regression introduced by the fix for

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42707">42707</a>. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47343">47343</a>: Editing context.xml for a directory should not delete

+        the directory. This was a regression caused by the fix for

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42747">42747</a>. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47364">47364</a>: Improve Javadoc for

+        org.apache.catalina.connector.Request.getAttributeNames() to include

+        information on the handling of Tomcat's internal request attributes.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47451">47451</a>: Don't throw an NPE if the various response.setHeader()

+        methods are called with null header name, zero length header name or

+        null value. Silently ignore the calls in the same way they are ignored

+        if the response has already been committed. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47462">47462</a>: Allow individual web applications to override metadata

+        complete if set in the global web.xml. Patch provided by Keiichi Fujino.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47495">47495</a>: Provide a more meaningful error message is server.xml

+        is not readable and exit immediately if a server cannot be created.

+        (funkman/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47518">47518</a>: Correct reference in Valve Javadoc that referred to an

+        old method. Patch provided by Christopher Schultz. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47537">47537</a>: Return an error page rather than a zero length 200

+        response if the forward to the login or error page fails during FORM

+        authentication. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47718">47718</a>: Fix file descriptor leak on context stop/reload. Patch

+        provided by George Sexton. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47796">47796</a>: Fix OpenEJB integration. Reset annotation processor on

+        context stop. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47826">47826</a>: Correct error in debug message in

+        org.apache.catalina.Bootstrap (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47836">47836</a>: Clear cached TLD information on context reload.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47841">47841</a>: When using the CombinedRealm, if one of the nested

+        Realms fails to start, skip that Realm rather than preventing the

+        CombinedRealm from starting. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47881">47881</a>: Fix processing of startd and stopd arguments. Patch

+        provided by Qingyang Xu. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47918">47918</a>: Correct mbean descriptors for the host deployer. Patch

+        provided by Uwe G&uuml;nther. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47930">47930</a>: Fix thread safety issues on session swap-in in the

+        persistent session manager. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47976">47976</a>: Correct usage message and Javadoc for

+        <code>org.apache.catalina.startup.Catalina</code>. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47997">47997</a>: Ensure the NamingContextListener applies to all naming

+        contexts, not just the global one. Patch provided by Michael Allman.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48049">48049</a>: Fix copy and paste error so

+        <code>NamingContext.destroySubContext()</code> works correctly.

+        Patch provided by gingyang.xu (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48097">48097</a>: Make WebappClassLoader to do not swallow

+        AccessControlException. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48097">48097</a>: Avoid throwing an AccessControlException which can

+        lead to a NoClassDefFoundError on first access of first jsp.

+        (kkolinko/markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48257">48257</a>: Correct error in Spanish translations. Patch provided

+        by Guillermo Guti&eacute;rrez. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48306">48306</a>, <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48307">48307</a>: Correct French translations. Patches

+        provided by Marc Paquette. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48322">48322</a>: Single quote characters are not HTTP separators and

+        should not be treated as such in the cookie handling. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48413">48413</a>: Correct some French translations. Patch provided by

+        Andr&eacute; Warnier. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Deprecate the <code>caseSensitive</code> option on the

+        <code>StandardContext</code> which will be removed in Tomcat 7 onwards.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Log deployments consistently for WAR, directory and descriptor

+        deployments. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Better logging for parameter decoding issues to help identify broken

+        requests. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update Apache Commons Pool from 1.4 to 1.5.4. This update includes

+        various fixes to prevent deadlocks, reduces synchronization and makes

+        object allocation occur fairly - i.e. objects are allocated to threads

+        in the order that the threads request them. This update fixes a number

+        of issues in Tomcat's built-in copy of DBCP. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Allow log file encoding to be configured for JULI FileHandler. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Provide debug logging for JNDI lookups. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct JDBC driver de-registration on web application stop and fix NPE

+        that is exposed by the fix. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Ensure JDBC driver de-registration works with a security manager.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48214">48214</a>: Ensure JDBC driver de-registration is not too zealous.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Various JNDI realm improvements for Active Directory. These include the

+        ability to specify a default role, optional handling for nested roles

+        and an option to ignore PartialResultExceptions (markt).

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Expose Servlet Filters via JMX. Based on a patch by Xie Xiaodong as part

+        of GSOC2009. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Tomcat now uses the Platform MBean server by default so all MBeans

+        registered by Tomcat will be exposed via JMX (eg via JConsole) without

+        requiring any additional configuration. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        The JMX Remote Lifecycle Listener allows the ports used by JMX to be

+        fixed, making it easier to configure firewalls to all JMX traffic to

+        pass through. Part of the extras package. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Make context deployment error message for fixDocBase() more meaningful.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Add an additional permission required by JULI when running under newer

+        JDKs and a security manager. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove unnecessary reference to tomcat-coyote.jar from the bootstrap JAR

+        manifest. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Use correct method to create URLs in VirtualWebappLoader. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Provide a new listener to protect against a memory leak caused by a

+        change in the Sun JRE from version 1.6.0_15 onwards. Also include

+        protection against locked JAR files, memory leaks triggered by

+        XML parsing and the GC Daemon. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Don't swallow exceptions in ApplicationContextFacade.doPrivileged()

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Close resource stream in WebappClassLoader after read error. (pero)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Include attribute name into the text of Non-serializable exception

+        that might be thrown by Session.setAttribute() in distributable

+        applications. (mturk)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add RemoteIpValve, a port of mod_remoteip. Patch provided by Cyrille Le

+        Clerc. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Allow per instance configuration of JULI or log4j for core Tomcat

+        logging when using CATALINA_BASE. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Prevent NPE in JULI during shutdown when resources try to log messages

+        after JULI has been shutdown. (fhanik/kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Make the JULI FileHandler easier to extend. (fhanik)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Make buffer size for FileHandler configurable. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Make JULI FileHandler thread safe. (fhanik)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Provide an option to disable buffering in the JULI FileHandler.

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Ensure log messages are not lost on shutdown. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44679">44679</a>: Provide an option to allow the equals character in

+        unquoted cookie values. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add support for a connectionTimeout parameter to the JNDIRealm. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Various (un)deployment related improvements including better handling of

+        failed (un)deployment, additional checking for valid zip entries that

+        don't make sense in a WAR and improved validation of WAR file names.

+        (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.21 (jfclere)/Coyote"><!--()--></a><a name="Tomcat_6.0.21_(jfclere)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>Implement <code>socket.unlockTimeout</code> attribute for NIO connector.</td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update version of native bundled in Windows installer

+        to 1.1.18. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update minimum required version for native to 1.1.17. (rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46950">46950</a>: Fix doing SSL renegotiation when a resource with CLIENT-CERT

+        auth is requested. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Align tcnative native and Java method names. (rjung)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>Dont report thread count from connector if an external executor is used.</td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=39637">39637</a>: Enable the AJP connectors to correctly handle client

+        certificate chains. Patch by Patrik Schnellmann. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46985">46985</a>: Clean up code and remove impossible condition.

+        (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47225">47225</a>: Fix error in calculation of a buffer length in the

+        mapper. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47320">47320</a>: Don't rely on the platform default encoding being

+        suitable to parse the session ID. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47499">47499</a>: Don't swallow bind exceptions. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47744">47744</a>: Prevent a medium term memory leak if using SSL with

+        the JSSE provider and also using a security manager. Based on a patch by

+        Greg Vanore. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47963">47963</a>: Ensure that any HTTP status messages are compliant

+        with RFC2616. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47987">47987</a>: Limit size of not found resources cache. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48009">48009</a>: Protect against the situation where editing a

+        context.xml file may result in the file disappearing for a very short

+        time. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Use correct connector attribute (SSLEnabled) rather than secure to

+        determine if SSL should be used. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Provide a workaround for CVE-2009-3555, the TLS renegotiation issue, for

+        the default Blocking IO Java connector.

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48252">48252</a>: Fix stack overflow exception when setting jkHome on

+        NIO connector. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48311">48311</a>: Only the APR lifecycle listener should try and

+        initialise APR. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.21 (jfclere)/Jasper"><!--()--></a><a name="Tomcat_6.0.21_(jfclere)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=38797">38797</a>: Fix a regression in the previous patch for

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37933">37933</a>. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=38897">38897</a>: Add uri of broken TLD to error message to aid

+        debugging. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41661">41661</a>: Fix thread safety issue with JspConfig.init() (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41824">41824</a>: Need to use canonical rather than binary form when

+        writing code. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42390">42390</a>: Fix compilation issue with some nested tag files and

+        simple tags. (kkolinko/markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43656">43656</a>: Correctly coerce <code>null</code> to zero when the

+        target type is <code>Number</code>. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46907">46907</a>: Don't swallow input stream when debug logging is

+        enabled. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47318">47318</a>: Process directives found in include preludes and

+        codas. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47331">47331</a>: Treat uninterpreted tags as template text for JSP.2.2.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47413">47413</a>: Ensure expressions of the form "${a}${b}"

+        are correctly coerced to String. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47453">47453</a>: Handle void return types for deferred methods.

+        (funkman)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Remove the code that auto-detects the value for compilerSourceVM,

+        compilerTargetVM options of Jasper, because we know that this version

+        of Tomcat cannot run on JDK 1.4 and thus the value is always "1.5".

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Change default values for JDK version compliance options of JspC

+        (-source and -target when running from command line)

+        to be "1.5", to be the same as the ones used by Jasper servlet.

+        (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Make constants in the TagHandlerPool really constant. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        When development mode is enabled and a JSP is deleted, ensure next

+        request for that JSP is consistent with the JSP having been removed.

+        (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48019">48019</a>: Be more careful about skipping content that does not

+        need to be parsed. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Better handling of exception in JSP if parsed JSP source is not

+        available. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.21 (jfclere)/Cluster"><!--()--></a><a name="Tomcat_6.0.21_(jfclere)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        DeltaSession needs endAccess so that CrossContext replication works. (pero)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        DeltaManager needs to replicate changed attributes even if session

+        gets invalidated. Otherwise session listeners will not see the right

+        data on the secondary nodes. (rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Spurious startup errors during session transfer.

+        Sessions get transferred, but node still waits until timeout. (rjung)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Perform deserializtion events with context class loader. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47515">47515</a>: Correctly replicate timestamp during startup. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47478">47478</a>: Call replication listeners when using BackupManager. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47369">47369</a>: Reset data diff after replication. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40551">40551</a>: Enable the JvmRouteBinderValve to work with

+        PersistentManagers as well as clustering. Based on a patch by Chris

+        Chandler. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47342">47342</a>: Fix potential NPE on replicated context start. Patch

+        provided by Keiichi Fujino. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47389">47389</a>: DeltaManager doesn't do session replication if

+        notifySessionListenersOnReplication=false.

+        Patch by Keiichi Fujino. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47502">47502</a>: Don't replicate session attributes known not to be

+        serializable. (funkman)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47554">47554</a>: Include httpOnly attribute when re-writing session

+        cookie after fail over. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47799">47799</a>: Enable the domain to be configured for Membership and

+        DomainFilterInterceptor. Patch provided by Keiichi Fujino. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48113">48113</a>: Display IP addresses using 0 to 255 rather than -128

+        to +127. Based on a patch by Quintin Beukes. (fhanik/kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.21 (jfclere)/Web applications"><!--()--></a><a name="Tomcat_6.0.21_(jfclere)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41564">41564</a>: Add some documentation on installing Tomcat as a

+        service on operating systems with User Account Control, e.g. Vista.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47161">47161</a>: Report thread count correctly in Manager when exectors

+        are used and return -1 when it can not easily be determined. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47235">47235</a>: Remove use of autoReconnect from MySQL examples.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47324">47324</a>: Fix submit URL for session list page so it works

+        behind a reverse proxy. Patch provided by Maik Jablonski. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47425">47425</a>: Add crlFile attribute to the SSL configuration

+        documentation. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47444">47444</a>: Remove Jakarta references from the documentation.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47656">47656</a>: Add information to documentation on system property

+        replacement in configuration files. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47705">47705</a>: Fix division by zero error in the manager when trying

+        to expire sessions when the session timeout is set to infinite.

+        (funkman)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix display of session information pages of Manager application

+        in Internet Explorer. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Do not reuse windows (tabs) for session detail pages in Manager

+        application. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47769">47769</a>: Clarify the JNDI docs with repect to use of

+        &lt;resource-ref&gt; and related elements, specifically when they are

+        required and when they may be omitted. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=48381">48381</a>: Add information on how Tomcat treats host names to the

+        host configuration documentation. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.21 (jfclere)/Other"><!--()--></a><a name="Tomcat_6.0.21_(jfclere)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37847">37847</a>: Make location and filename of catalina.out configurable

+        in catalina.sh. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37848">37848</a>: Re-fix not outputting info messages when there is no

+        terminal. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=39194">39194</a>: Make classpath configuration consistent in the startup

+        scripts. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update Tomcat Windows service application (procrun) to version 2.0.5.

+        It contains a fix for issue <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41538">41538</a> (mturk)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40786">40786</a>: Include 64-bit Windows service wrapper in

+        distributions. Update the Windows installer to automatically use the

+        correct binary on 64-bit machines. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update Windows Installer to use NSIS 2.45. They say that this version

+        provides support for the upcoming Microsoft Windows 7. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Don't add blank lines to end of files when fixing line-endings for

+        tar.gz distribution. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Use explicit encoding during filtering operations when building Tomcat

+        for distribution. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Remove references to unused commons-collections from the build scripts.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix download task check for commons-pool and commons-dbcp in the

+        build scripts. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Include deployer-howto.html into the deployer distributive. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47149">47149</a>: Build scripts: Explicitly specify encoding when

+        compiling. (kkolinko)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47267">47267</a>: Ensure release notes displayed by Windows installer

+        have CRLF line-endings regardless of which OS the install package is

+        built on. (markt/kkolinko)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Include NOTICE, LICENSE and manifest files in all Tomcat JARs and add a

+        mechanism to the build process to enable these files to be customised

+        per JAR as required. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47699">47699</a>: Provide better handling of PID files. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47824">47824</a>: Make Servlet API an optional dependency for JULI when

+        using Maven. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add support for per instance (using $CATALINA_BASE) log4j.properties

+        files, JDBC drivers etc by adding ${catalina.base}/lib and

+        ${catalina.base}/lib/*.jar to the start of the common loader class

+        path. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct CVE-2009-3548. When installed via the Windows installer and

+        using defaults, don't create an administrative user with a blank

+        password. Additionally, the administrative user is only created if the

+        manager or host-manager web applications are selected for installation.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Further improvements to the administrative user name and password

+        handling in the Windows installer. (kkolinko)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.20 (remm)"><!--()--></a><a name="Tomcat_6.0.20_(remm)"><strong>Tomcat 6.0.20 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>released 2009-06-03</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.20 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.20_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42579">42579</a>: Handle both relative and absolute search results in

+        the JNDIRealm. Patch provided by Brandon DuRette. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46562">46562</a>: Close shtml files after processing to allow other

+        processes to modify the files. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46815">46815</a>: Make the MemoryUserDatabase read-only by default.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46816">46816</a>: Align session manager mbean descriptor with

+        implementation. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix a typo in the OPTIONS response from the default servlet. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46822">46822</a>: Remove unnecessary object creation from

+        StandardContext. Patch provided by Anthony Whitford. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46866">46866</a>: Better initialisation of Random objects. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46875">46875</a>: Catch and handle possible IllegalStateExceptions

+        in CometConnectionManagerValve related to session expiration. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct some errors reported when testing the WebDAV servlet with the

+        Litmus test suite. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46933">46933</a>: Update StringManager to use Java 5 features. Patch

+        provided by Jens Kapitza. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46990">46990</a>: Fix synchronization issues reported by FindBugs. Patch

+        provided by Sebb. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.20 (remm)/Coyote"><!--()--></a><a name="Tomcat_6.0.20_(remm)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Allow huge request body packets for AJP13. (rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45026">45026</a>: Never return an empty HTTP status reason phrase.

+        mod_jk and httpd 2.x do not like that. (rjung)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Set remote port for AJP connectors from the optional request

+        attribute AJP_REMOTE_PORT. (rjung)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update tc-native to 1.1.16 (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46982">46982</a>: Correct reporting of DST offset in access logs.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46984">46984</a>: Invalid characters in HTTP request method now result

+        in a 400 response. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46991">46991</a>: Fix AJP connector always reporting bytes received as

+        zero. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.20 (remm)/Jasper"><!--()--></a><a name="Tomcat_6.0.20_(remm)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37929">37929</a>: Fix invalidated session causing pageContext methods to

+        fail. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41606">41606</a>: Prevent double initialisation of JSPs. Patch provided

+        by Chris Halstead. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46354">46354</a>: ArrayIndexOutOfBoundsException when using

+        org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true

+        Patch provided by Konstantin Kolinko. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46909">46909</a>: Only include semi-colon in type attribute for

+        &lt;jsp:plugin&gt; when it is required. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=47013">47013</a>: Use system property rather than hard-coded string for

+        pre-compilation flag. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.20 (remm)/Cluster"><!--()--></a><a name="Tomcat_6.0.20_(remm)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        A node should ignore its own heartbeat messages. (rjung)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.20 (remm)/Web applications"><!--()--></a><a name="Tomcat_6.0.20_(remm)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46509">46509</a>: Use correct link on error page in JSP security

+        example. Patch provided by Michael Moody. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46599">46599</a>: Document known DAEMON issue. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46807">46807</a>: Correct docs for configuration of tag pooling. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46924">46924</a>: Clarify behaviour when auto deployment is enabled and

+        a WAR, directory or context file is deleted or updated. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46958">46958</a>: All xml manager status output to work regardless of

+        context path. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.20 (remm)/Other"><!--()--></a><a name="Tomcat_6.0.20_(remm)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46351">46351</a>: Refactor the build script. Patch provided by Marc

+        Guillemot. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46910">46910</a>: Properties files corrupted by build process. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46915">46915</a>: When resolving ResourceBundle properties, don't claim

+        to have resolved the property unless we really have resolved it. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix .pdf and .exe corruption in -src.tar.gz distribution. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Enable running Tomcat directly from the build directory on linux

+        systems. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.19 (remm)"><!--()--></a><a name="Tomcat_6.0.19_(remm)"><strong>Tomcat 6.0.19 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>not released</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.19 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.19_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Manager application prints FAIL if application was deployed but failed to start (fhanik)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        When shutdown port is disabled, print user friendly message and not a stack trace. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37458">37458</a>: Correct sync issue that leads to NPE in rare

+        circumstances. Patch provided by Konstantin Kolinko. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=38553">38553</a>: Return 401 rather than 400 if client does not present

+        a certificate CLIENT-CERT authentication. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=38570">38570</a>: When checking docBase against appBase, make sure we

+        check for an exact match against the appBase. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=39013">39013</a>: When testing for invalid docBase, test for an exact

+        match with the appBase dir. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=39396">39396</a>: Don't include TRACE in OPTIONS response unless we

+        know it hasn't been disabled in the connector. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42747">42747</a>: Ensure context.xml takes effect on first deployment

+        for WAR and DIR deployments. context.xml is now copied to

+        CATALINA_BASE/&lt;engine name&gt;/&lt;host name&gt; for DIR as well as

+        WAR deployments. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43071">43071</a>: Start poller before acceptor (r719267)</td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Fix read/write timeout of async comet operations

+        (r719264)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Implement async close behaviour for Comet/NIO.

+        No-op for APR (same behavior as before)

+        (r719262)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Default thread count for HTTP connectors is 200. (r713186)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Comet should always invoke END and properly invoke READ (r713174)

+     </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix class cast exception when shutting down a replicated context but no cluster has been configured in server.xml (r713177)

+     </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Dererence socket when its no longer used. Frees up socket buffers and memory. No functional change. (r713175)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct wrong "No role found" debug message,

+        logged in RealmBase even if a role was found. (rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44809">44809</a>: Improve AprLifecycleListener Error Messages. (jfclere)</td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Log AccessControlException for context specific logging.properties

+        during startup with security manager. (rjung)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41407">41407</a>: Add CLIENT-CERT support to the JAAS Realm. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42409">42409</a>: Make custom and standard error page handling

+        consistent by using resetBuffer() which will not alter previously set

+        headers. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42673">42673</a>: Fix SSI virtual includes for multi-level contexts.

+        Patch provided by Peter Jodeleit. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42707">42707</a>: Make adding a host alias via JMX take effect

+        immediately. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43656">43656</a>: Correct regression in previous fix for this bug. Patch

+        provided by Nils Eckert. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45419">45419</a>: Set Accept-Ranges for static resources served by

+        DefaultServlet. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45441">45441</a>: Correctly map filters for FORWARD and INCLUDE. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45447">45447</a>: Convert Spanish resource files to use UTF-8 and provide

+        translations where previously missing. Patch provided by Jesus Marin.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45453">45453</a>: Remove potential race condition in JDBC Realm.

+        Based on a patch by Santtu Hyrkk. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45576">45576</a>: Add DIGEST support to the JAAS Realm. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45585">45585</a>: Allow Tomcat to start if using

+        <code>$CATALINA_BASE</code> but not JULI. Patch based on a suggestion by

+        Ian Ward Comfort. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        The JAAS Realm did not assign roles to authenticated users. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Provide full stacktrace and message when the ErrorReportValveClass can't

+        be instantiated. (funkman)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45608">45608</a>: Make allocated servlet count synchronized to ensure

+        the correct allocated servlet count is available during shutdown.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45628">45628</a>: When checking MANIFEST dependancies, JARs without

+        dependencies should allows be considered to be full-filled. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45735">45735</a>: Improve ETag handling. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45785">45785</a>: Ignore directories named xxx.jar in WEB-INF/lib.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45823">45823</a>: Log missing request headers as '-' not 'null'. Based

+        on a patch by Per Landberg. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45825">45825</a>: Correctly handle annotations in parent classes. Based

+        on a patch by Florent Benoit. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45906">45906</a>: Further ETag handling improvements. Patch provided by

+        Chris Hubick. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add the CombinedRealm that enables authentication to be attempted

+        against multiple realms. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add the LockOutRealm that enables a standard Realm to be wrapped with

+        the functionality to lock out a user after too many failed logins.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Make the upper size limit of the static resource cache configurable

+        since the default of <code>cacheMaxSize/20</code> gave too high a value

+        for large caches. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix HTML decoding error in SSI processing. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix cast error in JULI log factory. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix some thread safety issues in date formatting. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix a String comparison bug in the digester property replacement that

+        resulted in non-optimal operation. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct handle multi-level contexts defined using context.xml files.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45933">45933</a>: Don't use xml parser from web-app to process tld

+        files. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45951">45951</a>: Support changing of JSESSIONID cookie name and

+        jsessionid path parameter name. Based on a patch by Jean-frederic Clere.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46011">46011</a>: Make Principal accessible (if set) via

+        <code>Subject.getSubject(AccessController.getContext())</code> when

+        processing filters. Based on a patch by tsveg1. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46075">46075</a>: When uploading files, don't create buffers at the

+        maximum configured size. Use the default size and let the buffers grow

+        to the maximum size if necessary. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46085">46085</a>: Fix a rare thread safety issue with session

+        expiration. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46096">46096</a>:  Support annotation processing whilst running under a

+        security manager. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        The invoker servlet has been deprecated and will be removed in Tomcat 7

+        onwards. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46105">46105</a>:  Correctly set URI encoding when replaying a request

+        after FORM authentication. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove unnecessary reference to commons-logging from the bootstrap JAR

+        manifest. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46232">46232</a>: Enabled the XMl parser to be over-ridden using the

+        standard endorsed mechanism. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46261">46261</a>: Treat %2F in a context name literally rather than

+        converting it (inconsistently) to '/' - that is what '#' is for. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46298">46298</a>: Throw an SQLException with a useful message rather

+        than a NPE if the URL for the JDBCRealm is invalid. Based on a patch by

+        Owen Jacobson. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46304">46304</a>: Further fixes to make Principal accessible (if set)

+        via <code>Subject.getSubject(AccessController.getContext())</code> when

+        processing filters. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46403">46403</a>: Provide a workaround for an IE and Safari bug that

+        means the Max-Age attribute of a cookie is ignored. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46408">46408</a>: Fix invalid cast in security utility package. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove duplicate normalisation implementations and make normalise

+        behaviour consistent throughout code base. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46683">46683</a>: Fix typo in French localisation file name for the

+        org.apache.catalina.loader package. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46606">46606</a>: Make the max DEPTH for a WebDAV request configurable.

+        The default is still 3. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44382">44382</a>: Add support for using httpOnly for session cookies.

+        This is disabled by default. (markt/fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix possible NCDFE when using FORM authentication. (jfclere)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix possible synchronisation bottleneck in cookie creation. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix various spelling errors reported on the mailing lists. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Make the logging manager and properties file configurable via

+        environment variables. (fhanik)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.19 (remm)/Coyote"><!--()--></a><a name="Tomcat_6.0.19_(remm)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45154">45154</a>:

+        Implement SEND_FILE behavior for SSL connections using NIO (fhanik)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Fix file descriptor leak during NIO send file behavior. (fhanik)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Implement usage of keyAlias attribute for NIO, previously attribute was ignored. (fhanik)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Prevent server from calling close on an already closed NIO socket. One that had timed out. (fhanik)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Fix bug with SEND_FILE behavior in NIO. Send file would delay until selector timed out, even though socket was ready to be written. (fhanik)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Fix possible NPE in NioEndpoint.java (fhanik)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update tc-native to 1.1.15 in build.properties.default (jfclere)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43327">43327</a>: Socket bind fails when using APR on a system with IPv6

+        enabled but no explicit IPv6 address configured. (markt/jfclere)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44285">44285</a>: Make the SSL session cache size and timeout

+        configurable. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45074">45074</a>: Add configuration parameters to enable the tuning

+        of sendfile and poller thread count in the APR HTTP connector. Patch

+        provided by Alex Barclay. (jfclere/markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45528">45528</a>: Add detection for invalid SSL configuration to prevent

+        infinite logging loop on start-up. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45591">45591</a>: NPE on start-up failure in some cases. Based on a

+        patch by Matt Passell. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46077">46077</a>: Expose deferAccept for configuration. Patch provided

+        by Michael Leinartas. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+         Don't swallow input if we know the connection is going to be closed. (billbarker)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46125">46125</a>: Return a status code of 400 if the request headers are

+        too large. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+       Make certain that classes are first loaded by trusted code when working in a sandbox. (billbarker)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Log a message if we reach maxThreads in a connector thread pool. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Enable the thread pool limits to be modified via JMX. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+       Fix HTTP/1.0 redirects handling with APR AJP connector. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46666">46666</a>: keepAliveTimeout should be used regardless of setting

+        of disableUploadTimeout. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.19 (remm)/Jasper"><!--()--></a><a name="Tomcat_6.0.19_(remm)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=36923">36923</a>: Treat EL expressions as template text if EL

+        expressions are disabled. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37515">37515</a>: Support 1.6 and 1.7 as source and target for

+        compilation. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        ClassCastException in EL ExpressionBuilder. (rjung)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Use more generics in EL to improve type safety. (rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Use a lookahead to remove potential ambiguity in EL parsing. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct typo in JSP EL examples. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=38197">38197</a>: Take account of jsp:attribute elements when pooling

+        tags. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42077">42077</a>: Ensure the iterator returned by

+        javax.el.CompositeELResolver#getFeatureDescriptor() skips any null

+        FeatureDescriptors. Patch provided by Mathias Broekelmann. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42693">42693</a>: Fix JSP generation error with recursive tag file

+        structure. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45427">45427</a>: Correctly handle unmatched quotes in EL expressions.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45511">45511</a>: The failure of the <code>empty</code> keyword was a

+        regression caused by the previous fix for <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42565">42565</a>. The original

+        fix for <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42565">42565</a> has been reverted and a new fix applied.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45648">45648</a>: Don't trim the last character when parsing the EL

+        namespace. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45666">45666</a>: Prevent infinite loop on include. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45691">45691</a>: Prevent generation of duplicate variable names when

+        generating code for JSPs. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct signed/unsigned conversion error in ASCII parsing. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix various edge-cases when parsing EL, particularly inside attribute

+        values. Note the the Expert Group has confirmed that JSP.1.6 takes

+        precedence over JSP.1.3.10. Therefore EL in attributes must be escaped

+        twice. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46047">46047</a>: Include the path to the JAR when recording

+        dependencies that are located inside a JAR file. Patch provided by

+        C&eacute;dric Mailleux. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46381">46381</a>: Composite expressions used for attribute values must

+        be coerced to Strings. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46397">46397</a>: Don't pool tag instances that implement JspIdConsumer.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46462">46462</a>: Limit package test to just the o.a.jsp package to

+        allow use of packages such as o.a.jspwiki. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46471">46471</a>: Fix naming clash when tags in different libraries have

+        the same name. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46564">46564</a>: Make page encoding check for tagx compilation

+        case-insensitive. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.19 (remm)/Cluster"><!--()--></a><a name="Tomcat_6.0.19_(remm)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Prevent NPE for ReplicationValve (pero)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Provide TCP only start-up option when using static membership. (fhanik)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Document the multicast recovery options. (fhanik)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45261">45261</a>: Add a new SimpleCoordinator for tribes provided by

+        Robert Newson. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45618">45618</a>: Make sure NIO selector is closed when no longer used.

+        Unlikely to be an issue in normal usage. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45851">45851</a>: Fix out of order message processing issues with the

+        FarmWarDeployer. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix small memory leak in FarmWarDeployer. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46357">46357</a>: Corrected test for host's parent must be an engine.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix so that JvmrouteBinderValve can rewrite session suffix with parallel

+        requests from same client. (pero)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.19 (remm)/Web applications"><!--()--></a><a name="Tomcat_6.0.19_(remm)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45940">45940</a>: Correct name of username attribute for JDBC resources

+        in JNDI how to. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46035">46035</a>: Fix multiple typos in monitoring how to. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46067">46067</a>: Fix typos in Advanced IO how to. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46115">46115</a>: Correct Manager UI to show that path is required when

+        using the deploy command. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46121">46121</a>: Add note to manager documentation regarding possible

+        naming clash with new Ant 1.7 resources datatype and how to avoid it.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove unsed parameters from Native/APR example connector configuration

+        in docs. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Use CSS based solution for printer-friendly docs. Patch provided by

+        vitezslav.smid as part of GSoc with additional work by Tim Funk. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Update the FAQ linsk in the docs to refer to the wiki. Use xlst task

+        rather than style task to generate docs. (funkman/markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Document the LifecycleListeners. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix broken URL mapping in the examples. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46563">46563</a>: Update doc for correct default for pollerThreadCount.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46600">46600</a>: Document maxKeepAliveRequests for the NIO connector.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix CVE-2009-0781. XSS in calendar example. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.19 (remm)/Other"><!--()--></a><a name="Tomcat_6.0.19_(remm)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41861">41861</a>: Update service name to Apache Tomcat 6 to prevent

+        conflicts with previous major Tomcat versions. (markt/rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45852">45852</a>: Add special handling for cp932 (aka ms932) when

+        creating tomcat-users.xml with Windows installer. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45878">45878</a>: Restore manifest, licence and notice files to the jsp

+        and servlet jars. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45879">45879</a>: Move NOTICE file from documentation webapp to the

+        installation directory. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Add a workaround for DBCP-191. Tomcat will now build without error on a

+        1.6 JDK but because it does this by skipping DBCP, release builds must

+        be generated with a 1.5 JDK. (costin/markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=46366">46366</a>: Correct information in RUNNING.txt regarding use of

+        CATALINA_HOME and CATALINA_BASE. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Use more useful JPDA defaults in catalina.bat. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct error in 2.5 web-app XSD.

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.18 (remm)"><!--()--></a><a name="Tomcat_6.0.18_(remm)"><strong>Tomcat 6.0.18 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>released 2008-07-31</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.18 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.18_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42727">42727</a>: Correctly handle request lines that are exact

+        multiples of 4096 in length. Patch provided by Will Pugh. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42678">42678</a>: Only ignore docBase if it really is a subdir of

+        appBase. Patch provided by juergen. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42722">42722</a>: Possible NPE in CGI Servlet. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45285">45285</a>: Look for annotations in class hierarchy. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Add additional checks for URI normalization. (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.18 (remm)/Jasper"><!--()--></a><a name="Tomcat_6.0.18_(remm)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42565">42565</a>: Make EL ternary expression without space before colon

+        work. Patch provided by Lucas Galfaso. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.18 (remm)/Web applications"><!--()--></a><a name="Tomcat_6.0.18_(remm)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45323">45323</a>: Add note that context.xml files can only contain a

+        single Context element. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.18 (remm)/Cluster"><!--()--></a><a name="Tomcat_6.0.18_(remm)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45317">45317</a>: Properly document and log the value of the state transfer timeout flag (fhanik)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.18 (remm)/Other"><!--()--></a><a name="Tomcat_6.0.18_(remm)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45332">45332</a>: Specify the correct encoding (the current Windows code

+        page) rather than assuming UTF-8 when creating tomcat-users.xml with the

+        Windows installer. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.17 (remm)"><!--()--></a><a name="Tomcat_6.0.17_(remm)"><strong>Tomcat 6.0.17 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>not released</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.17 (remm)/General"><!--()--></a><a name="Tomcat_6.0.17_(remm)/General"><strong>General</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45315">45315</a>: Add Unix support for NSIS. (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.17 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.17_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45272">45272</a>: Put in work around for Internet Explorer not accepting a quoted Path: value using the Set-Cookie header (fhanik)</td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        APR connector now adds connection to poller after using send file.

+        (remm)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Add ManagerBase session getLastAccessedTimestamp and

+        getCreationTimestamp for better remote JMX access. (pero)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Expose alwaysSend flag for message dispatch interceptor. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=29936">29936</a>: Create digesters and parsers earlier so we aren't

+        using the webapp class loader when we create them. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42662">42662</a>: Properly resolve reflection proxies during session

+        replication. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42750">42750</a>: Request line should be tolerant of multiple

+        whitespaces. (markt/fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42934">42934</a>: Change the order of events on context start so

+        <code>contextInitialized()</code> event is fired before

+        <code>sessionDidActivate()</code>. The spec isn't 100% clear on the

+        required order but this seems more logical than the current behaviour.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43079">43079</a>: Fix identification of suspicious URL patterns. Patch

+        provided by John Kew. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43080">43080</a>: Log suspicious URL patterns to the correct web app.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43117">43117</a>: Setting an empty workDir could result in all of

+        CATALINA_HOME being deleted. Patch provided by Takayuki Kaneko. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43142">43142</a>: Don't assume a directory named xxx.war is a war file.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43150">43150</a>: Allow Tomcat to start correctly when installed on a

+        path that contains a # character. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        The fix for <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43285">43285</a> had the side-effect of coercing

+        <code>null</code> values to zero. This side-effect has been made

+        configurable with a system property,

+        <code>org.apache.el.parser.COERCE_TO_ZERO</code> which defaults to

+        <code>true</code>. Patch provided by Nils Eckert. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43343">43343</a>: Correctly handle requesting a session we are in the

+        middle of persisting. Based on a suggestion by Wade Chandler. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43425">43425</a>: Make annotations spec compliant. Patch provided by

+        Dain Sundstrom. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43470">43470</a>: Fix various class cast exceptions. Based on a patch

+        by Lucas Galfaso. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43578">43578</a>: Fix startup when installation path contains a space.

+        Patch provided by Ray Sauers. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43683">43683</a>: Fix 404 that could occur if a Servlet is accessed

+        while the context is reloading. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>ExtendedAccessLogValve cs-uri not print empty querystring. (pero)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        ServletContext.getResource("noslash/resource") only requires forward

+        slash if STRICT_SERVLET_COMPLIANCE flag is set to true. This mimics the

+        behavior of 6.0.15 and earlier. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44021">44021</a>: Add support for using the # character to define

+        multi-level contexts in WARs and directories in the appBase. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44282">44282</a>: Fix TRACE level class loader logging message when a

+        security manager is used. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44337">44337</a>: Dir listing crashes if no readme-file present.

+        (funkman)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        If listener declared in web.xml, only add it once. (funkman)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix NPE when iterating through sessions for expiration. (fhanik/jim)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44380">44380</a>: Don't scan non-file URLs for TLDs. Patch provided by

+        Florent Benoit. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44389">44389</a>: Fix memory leak that occurred if using a

+        RequestDispatcher. Patch provided by Arto Huusko. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44529">44529</a>: Correct handling of resource constraints so no roles

+        (deny all) overrides no aoth-constraint (allow all). (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44562">44562</a>: HEAD requests cannot use includes. Patch provided by

+        David Jencks. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44595">44595</a>: Add possibility to request the QueueSize of an

+        executor via JMX. (jfclere)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix CGI Servlet so it correctly reads the environment variables on

+        Vista. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44611">44611</a>: DirContextURLConnection didn't implement

+        getHeaderFields(), getHeaderField(String name) was case sensitive and

+        returned "" rather than null for header values that did not exist. Patch

+        provided by Chris Hubick. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44633">44633</a>: Provide a more helpful error message if a class can't

+        be loaded due to a version error. (rjung/markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44646">44646</a>: Correct various issues, including an ISE, in

+        CometConnectionManagerValve. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44673">44673</a>: ServletInputStream is no longer readable once closed.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Better handling of lack of permission for context specific logging.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Add permission required to read JDK logging config. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Update web.xml to reflect packaging of SSI and CGI. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Add missing access check for ThreadWithAttributes. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44833">44833</a>: Correctly override StandardSession methods from

+        DeltaSession. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44943">44943</a>: Use the same engine name in server.xml comments to

+        reduce copy and pastes issues. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44988">44988</a>: Use Java5 syntax for debug options. Patch provided

+        by C&eacute;drik Lime. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45101">45101</a>: Format header dates obtained from

+        <code>DirContextURLConnection</code> as per the HTTP spec. Patch

+        provided by Chris Hubick. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        A new valve, <code>org.apache.catalina.valves.WebdavFixValve</code>,

+        that forces MS clients connecting to the WebDAV Servlet on port 80 to

+        use a client that works rather than the default broken one. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45195">45195</a>: Passing in null into setAttribute or removeAttribute

+        cause NPE. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.17 (remm)/Coyote"><!--()--></a><a name="Tomcat_6.0.17_(remm)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        NIO: Fix bug in NIO sendfile, symptoms during heavy traffic is that

+        connection don't get closed. For previous versions, one can disable

+        sendfile to work around the problem. (fhanik)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        APR: Allow to specify the "random device" to use to collect the entropy.

+        (jfclere)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Fix NIO/SSL live lock during client disconnect. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix possible ArrayIndexOutOfBoundsException. Patch provided by Charles R

+        Caldarale. (markt/jim)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Add support for keystore types that do not need a file. Based on a patch

+        by Bruno Harbulot. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43094">43094</a>: Allow specification of keystore providers. Based on a

+        patch by Bruno Harbulot. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43191">43191</a>: Make it possible to override the defaults with the

+        compressableMimeType attribute. Based on a patch by Len Popp. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44391">44391</a>: Correct handling of escaped values in SSI processing.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44392">44392</a>: HTML entities now handled correctly in SSI processing.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44558">44558</a>: Improve error message so address is included if

+        binding fails. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44494">44494</a>: Character input limited to 8KB. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44620">44620</a>: Infinite loop in NIO connector. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44785">44785</a>: Correctly document default maxThreads for AJP

+        connector. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Log errors for AJP signoffs at DEBUG level,

+        since it is harmless if mod_jk has hung up the phone. (billbarker)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44968">44968</a>: Provide more information when the load of a keystore

+        fails. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.17 (remm)/Jasper"><!--()--></a><a name="Tomcat_6.0.17_(remm)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=31257">31257</a>: Quote endorsed dirs if they contain a space. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42943">42943</a>: Make sure nested element is inside &lt;jsp:text&gt;

+        element before throwing exception. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43617">43617</a>: Correctly escape attribute values in tag files.

+        Based on a patch by Lucas Galfaso. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43656">43656</a>: Fix various numeric coercion bugs. Includes a patch by

+        Nils Eckert and fixes related issues identified in a test case provided

+        by Konstantin Kolinko. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43741">43741</a>: Correctly handle dependencies for tag files in JARs.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44408">44408</a>: Reduce synchronisation when evaluating EL expressions.

+        Patch provided by Robert Andersson. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44428">44428</a>: Fix possible NPE during serialization. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44766">44766</a>: EL doesn't coerce custom Number subclasses. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44877">44877</a>: Prevent collisions on tag pool names. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44986">44986</a>: Make page encoding consistency checks

+        case-insensitive. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44994">44994</a>: Enable nested conditional expressions in JSP EL. Patch

+        provided by James Manger. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45015">45015</a>: You can't use an unescaped quote if you quote the

+        value with that character. (markt/fhanik)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add HTML filtering of error messages for included resources in case the

+        app has tried to include an unsafe URL that does not exist. This is

+        really an app responsibility but the filtering has been added for XSS

+        safety. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.17 (remm)/Web applications"><!--()--></a><a name="Tomcat_6.0.17_(remm)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update documentation to use correct version number, correct file paths

+        and to use $CATALINA_BASE rather than $CATALINA_HOME where applicable.

+        (markt/jim)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add a section on available system property configuration options.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Amend the JNDI datasource doc to reflect new value for no limit used by

+        updated commons-pool and commons-DBCP. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43333">43333</a>: Fix errors in sendfile documentation. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43366">43366</a>: Provide backwards compatibility for manager sessions

+        command. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44541">44541</a>: Document packetSize attribute for AJP connector.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44715">44715</a>: Document secret attribute for AJP connector. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix some links in the ROOT application that are broken if ROOT is

+        renamed. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Align the Realm documentation so that both the configuration and the

+        how-to are consistent. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45277">45277</a>: Fix typo in logging docs. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.17 (remm)/Cluster"><!--()--></a><a name="Tomcat_6.0.17_(remm)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45212">45212</a>: AbstractReplicatedMap.entrySet() now returns entries

+        rather than vaules. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=45279">45279</a>: Properly close multicast socket.</td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Fix session replication dead lock during non sticky load balancing.

+        (fhanik)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.17 (remm)/Other"><!--()--></a><a name="Tomcat_6.0.17_(remm)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Improve the Tests for unit tests for the cookie issues. (jfclere)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix build for JavaDoc. Patch provided by Stephen Bannasch. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44955">44955</a>: Use correct location for endorsed directory in Windows

+        installer. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.16 (remm)"><!--()--></a><a name="Tomcat_6.0.16_(remm)"><strong>Tomcat 6.0.16 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>released 2008-02-08</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.16 (remm)/General"><!--()--></a><a name="Tomcat_6.0.16_(remm)/General"><strong>General</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update commons-logging to version 1.1.1 and the NSIS installer to 2.34.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update to commons-pool version 1.4, native version 1.1.12 and update

+        the download location for the commons libraries. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Change chunked input parsing, always parse CRLF directly after a chunk has been

+        received, except if data is not available. If data is not available for CRLF

+        parsing, we run into BZ 11117, and must defer the parsing of CRLF to the next read event.

+        This fixes the incorrect blocking when using CometProcessor and the draining data during the READ event

+        where it before would block incorrectly waiting for the next chunk (fhanik)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        The CometProcessor interface now extends the javax.servlet.Servlet interface(fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix CVE-2007-5342 by limiting permissions granted to JULI. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Fix handling of CometEvent.close when called during BEGIN event (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43594">43594</a>: Use setenv from CATALINA_BASE (if set) in preference

+        to the one in CATALINA_HOME. Patch provided by Shaddy Baddah.

+        (markt/jim)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43692">43692</a>: Clean up unused entries from build scripts. Patch

+        provided by Paul Shemansky. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43775">43775</a>: Don't try to change line endings of binary files in

+        the source distribution. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43846">43846</a>:

+        Fix block simulated read and writes causing timeouts.

+        Add non blocking parsing of HTTP request headers.

+        Perf improvements(fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43957">43957</a>: Service.bat doesn't configure logging correctly. Patch

+        provided by  Richard Fearn. (markt/jim)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Cookie handling/parsing changes!

+        The following behavior has been changed with regards to Tomcat's cookie handling

+        a) Cookies containing control characters, except 0x09(HT), are rejected using an InvalidArgumentException <br>

+        b) If cookies are not quoted, they will be quoted if they contain tspecials(ver0), tspecials2(ver1) characters<br>

+        c) Escape character '\\' is allowed and respected as a escape character, will be unescaped during parsing

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Cookie parsing of $Version regression from 6.0.15 has been fixed

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        The script that builds the windows installer was including additional

+        files due to the way it processes recurrsive file selectors. The

+        selectors have been modified to only include the intended files. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.16 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.16_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix ManagerServlet.expireSessions throws Exceptions as iterate longer

+        session lists at production servers. (pero)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=38131">38131</a>: WatchedResource doesn't work if app is outside host appbase webapps.

+        Patch provided by Peter Lynch (pero)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>Add -Dorg.apache.catalina.tribes.dns_lookups=false as default. The ability to turn off reverse DNS lookups for membership.(fhanik)</td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         Set correct StandardManager.sessionCounter after reload/restart. (pero)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42503">42503</a>: ServletContext.getResourceAsStream() could return

+        stale data. Patch provided by Arvind Srinivasan. (funkman/jim)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43236">43236</a>: When resetting the response, also reset the flags

+        associated with using a writer or an output stream to allow the user to

+        change character set after the reset. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43241">43241</a>: Make ServletContext.getResourceAsStream() conform to

+        the specification. Patch provided by John Kew. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43530">43530</a>: doc link fixes provided by  Paul Shemansky (funkman)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43675">43675</a>: Fix a possible logging related classloader leak.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43687">43687</a>: Remove conditional headers on Form Auth replay,

+           since the UA (esp. FireFox) isn't expecting it.

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43706">43706</a>: WebDAV copy/move now returns 201 on success. Based on

+        a patch by Panagiotis Astithas. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43840">43840</a>: Include user principal if possible when serializing /

+        de-serializing sessions. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43868">43868</a>: MBean methods getInvoke and getSetter were broken.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43887">43887</a>: Make error messages much more helpful when illegal

+        Servlet names are used. Based on a patch provided by Mike Baranczak.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix a bug that causes CGI Servlet to fail when it is included. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Improve the webDAV Servlet Javadocs to make clear that the WebDAV

+        Servlet can not be used as the default servlet. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43993">43993</a>: mime mapping for WS-Policy. Patch by Fabian Ritzmann  (funkman)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44041">44041</a>: Fix duplicate class definition under load. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44084">44084</a>: JASSRealm was broken for application provided

+        Principals. Patch provided by Noah Levitt. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44223">44223</a>: Use the javax.net.ssl.trustStoreType setting if no

+        explicit connector configuration is provided and the property is set.

+        (markt/jim)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44268">44268</a>: Log a warning if a duplicate listener configuration is

+        ignored. (markt/jim)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.16 (remm)/Coyote"><!--()--></a><a name="Tomcat_6.0.16_(remm)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43622">43622</a>: Don't overwrite the min compression size set by the

+        compression attribute with the default. (markt/jim)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43839">43839</a>: URL based session tracking failed when a session

+        cookie from a parent context was present. Based on a patch by Yuan

+        Qingyun. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43914">43914</a>: URLs in location headers should be encoded. Patch

+        provided by Ivan Todoroski. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.16 (remm)/Jasper"><!--()--></a><a name="Tomcat_6.0.16_(remm)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43285">43285</a>: Missing EL Coercion causes argument type mismatch.

+        Patch provided by Bernhard Huemer. (funkman/jim)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43675">43675</a>: Fix a possible logging related classloader leak.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43702">43702</a>: Inner class files have unnecessarily long names.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43743">43743</a>: Fix NPE when compiling nest tag files packaged in a

+        JAR. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43757">43757</a>: Rather than use string matching to work out the line

+        in the JSP with the error, use the SMAP info and the knowledge that for

+        a scriptlet there is a one to one line mapping. (markt/jim)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43758">43758</a>: Fix NPE when scripting elements are empty. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43909">43909</a>: Make sure locale maps to wrapped ELContext. Patch

+        provided by Tuomas Kiviaho. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43944">43944</a>: Fix a missing resource exception. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Improve docs for Jasper configuration. Put options in alphabetcial

+        order, add some missing options, deprecate an unused one and address

+        feedback about the page provided on the users list.

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.16 (remm)/Web applications"><!--()--></a><a name="Tomcat_6.0.16_(remm)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43173">43173</a>: Fix typo in logging documentation regarding location

+        of logging.properties. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43344">43344</a>: Fix typo in if.jsp example. Patch provided by Tim

+        Nowaczyk. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43468">43468</a>: Fix possible NPE when listing contexts in the Manager

+        application. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43515">43515</a>: Fix bug in Manager application that may have caused

+        problems when listing contexts. Patch provided by Lucas Galfaso. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43611">43611</a>: Provide an error message if user tries to upload a war

+        for a context defined in server.xml rather than failing silently.

+        (markt/jim)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43800">43800</a>: Make relationship between APR and the native connector

+        clearer. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44088">44088</a>: Fix expire session button in manager. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=44094">44094</a>: Add a note about the side effects of configuring a

+        context as privileged. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update JNDI documentation to refer to configuring contexts via

+        context.xml rather than server.xml. (markt/jim)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+   <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.16 (remm)/Cluster"><!--()--></a><a name="Tomcat_6.0.16_(remm)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix FarmWarDeployer can be only configured as host subelement (pero)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix wrong &amp;&amp; at ReplicationValve (pero)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Add get/set methods for properties in the Tcp Failure detector.

+        (fhanik/jim)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.15 (remm)"><!--()--></a><a name="Tomcat_6.0.15_(remm)"><strong>Tomcat 6.0.15 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>not released</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.15 (remm)/General"><!--()--></a><a name="Tomcat_6.0.15_(remm)/General"><strong>General</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>Fix the MD5 file contents in distribution</td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Add ANT script to be able to publish signed Tomcat JAR's to ASF Maven repo (fhanik)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Use Eclipse JDT 3.3.1. (pero)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.15 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.15_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>Guess java location from the PATH environment and improve fix for 37284</td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>Add NIO connector to server.xml parsing warning, remove Connector as exception case</td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43653">43653</a>: Fix SSL buffer mixup when response is unable to write more than socket buffer can handle</td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43643">43643</a>: If connector doesn't support external executor, display warning</td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43641">43641</a>: Property bind multicast address for cluster membership</td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42693">42693</a>: Fix JSP compiler bug</td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>Add mbean descriptor for virtual webapp loader</td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td><a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43487">43487</a>:

+        Fix request processing stats

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43435">43435</a>: Don't iterate and relocate sessions if they are not part of the map.

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43356">43356</a>: Keystore parameter is relative to CATALINA_BASE,

+        Truststore is either defined as parameter, javax.net.ssl.trustStore or if empty

+        defaults to the keystore.

+        SSL Client cert authentication changed from boolean to "true|false|want" (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=30949">30949</a>: Improve previous fix. Ensure requests are re-cycled

+        on cross-context includes and forwards when an exception occurs in the

+        target page. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42944">42944</a>: Correctly handle servlet mappings that use a '+'

+        character as part of the url pattern. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42951">42951</a>: Don't use CATALINA_OPTS when stopping Tomcat. This

+         allows options for starting and stopping to be set on JAVA_OPTS and

+         options for starting only to be set on CATALINA_OPTS. Without this

+         fix, some startup options (eg the port for remote JMX) would cause

+         stop to fail. Based on a fix suggested by Michael Vorburger.

+         Port of r454193 (<a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=36976">36976</a>) from Tomcat 5.5.x. (markt,rjung)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+         Validation of attributes and elements used in server.xml. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43175">43175</a>: Fix typos in servlet XSD files. Patch provided by

+        Takayuki Kaneko. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43216">43216</a>: Set correct StandardSession#accessCount as StandardSession.ACTIVITY_CHECK is true.

+        Patch provided by Takayuki Kaneko (pero)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Made session createTime accessible for all SessionManager via JMX (pero)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43129">43129</a>: Support logging of all response header values at AccessLogValve (ex. add %{Set-Cookie}o to your pattern). (pero)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Support logging of all response header values at ExtendedAccessLogValve (ex. add x-O(Set-Cookie) to your pattern). (pero)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Support logging of current thread name at AccessLogValve (ex. add %I to your pattern).

+        Usefull to compare access logging entry later with a stacktraces. (pero)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Improve large-file support (more then 4 Gb) at all AccessLogValves, backport from 5.5.25. (pero)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Optimized JDBCAccessLogValve combined pattern request attribute access. (pero)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        o.a.juli.ClassLoaderLogManager handle more then one system property replacement at file logging.properties. (pero)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43338">43338</a>: Support '*' servlet-name mapping at filter-mapping.

+        Patch provided by Keiichi Fujino. (pero)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41797">41797</a>: CNFE/NPE thrown from function mapper when externalizing

+        Patch by Tuomas Kiviaho- tuomas.kiviahos at ikis fi (funkman)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43453">43453</a>: ClassCastException at

+        org.apache.catalina.core.StandardContext.findStatusPage(int)

+         (funkman)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix important vulnerability when webdav is enabled for write. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Call stopAwait in StandardServer.stop if port == -1. (pero)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43668">43668</a>: Fix NPE when the outer most wrapper is a ServletRequest/ResponseWrapper, but not a HttpServletRequest/ResponseWrapper on a Forward. (billbarker)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.15 (remm)/Coyote"><!--()--></a><a name="Tomcat_6.0.15_(remm)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Harmonize with HTTP java.io code. Otherwise the socket is not closed.

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        In the APR connector, start accepting connections after fully starting

+        the connector, to prevent possible exceptions due to non initialized fields. (remm)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Cookie parser refactoring, submitted by John Kew. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Make cookie escaping / unescaping consistent. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43479">43479</a>: Memory leak cleaning up sendfile connections, submitted by Chris Elving. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42925">42925</a>: Add maintain for sendfile. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix explicit flush before response commit in the org.apache.jk AJP connector. (pero)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=43621">43621</a>: Fix possible Dos condition when using the experimental NIO/AJP Connector (billbarker)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.15 (remm)/Jasper"><!--()--></a><a name="Tomcat_6.0.15_(remm)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37326">37326</a>: No error reported when an included page does not

+        exist. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.15 (remm)/Web applications"><!--()--></a><a name="Tomcat_6.0.15_(remm)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix WebDAV Servlet so it works correctly with MS clients. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix CVE-2007-5461, an important information disclosure vulnerability in

+        the WebDAV Servlet. Based on a patch by Marc Schoenefeld. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42979">42979</a>: Update sample.war to include recent security fixes

+        in the source code. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Minor connector doc fix. (jfclere)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+   <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.15 (remm)/Cluster"><!--()--></a><a name="Tomcat_6.0.15_(remm)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         Set correct BioReceiver transfer buffer size. (pero)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.15 (remm)/Other"><!--()--></a><a name="Tomcat_6.0.15_(remm)/Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+         Tests for unit tests for the cookie issues. (jfclere)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.14 (remm)"><!--()--></a><a name="Tomcat_6.0.14_(remm)"><strong>Tomcat 6.0.14 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>released 2007-08-13</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.14 (remm)/General"><!--()--></a><a name="Tomcat_6.0.14_(remm)/General"><strong>General</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="docs" class="icon" src="./images/docs.gif"></td><td>

+        Correct j.u.l log levels in JULI docs. (rjung)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.14 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.14_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Handle special case of ROOT when re-loading webapp after ROOT.xml has

+        been modified. In some circumstances the reloaded ROOT webapp had no

+        associated resources. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove invalid attribute "encoding" of MBean MemoryUserDatabase,

+        which lead to errors in the manager webapp JMXProxy output. (rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=33774">33774</a>: Retry JNDI authentiction on ServiceUnavailableException

+        as at least one provider throws this after an idle connection has been

+        closed. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=39875">39875</a>: Fix BPE in RealmBase.init(). Port of yoavs's fix from

+         Tomcat 5. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41722">41722</a>: Make the role-link element optional (as required by

+        the spec) when using a security-role-ref element. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42361">42361</a>: Handle multi-part forms when saving requests during

+         FORM authentication process. Patch provided by Peter Runge. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42401">42401</a>: Update RUNNING.txt with better JRE/JDK information.

+         (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42444">42444</a>: prevent NPE for AccessLogValve

+         Patch provided by Nils Hammar (funkman)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42449">42449</a>:

+         JNDIRealm does not catch NullPointerException for Sun's

+         LDAP provider (See bug for details) (funkman)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42497">42497</a>: Ensure ETag header is present in a 304 response.

+         Patch provided by Len Popp. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix XSS security vulnerability (CVE-2007-2450) in the Manager and Host

+        Manager. Reported by Daiki Fukumori. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42547">42547</a>: Fix NPE when a ResourceLink in context.xml tries to

+        override an env-entry in web.xml. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Avoid some casting in ErrorReportValve (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix persistence API annotation, submitted by Bill Burke (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        In Comet mode, if bytes are not read, send an error event (otherwise,

+        fields referring to the connection could remain) (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix Comet when running Tomcat with the security manager (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.14 (remm)/Jasper"><!--()--></a><a name="Tomcat_6.0.14_(remm)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=39425">39425</a>: Add additional system property permission to

+        catalina.policy for pre-compiled JSPs. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42438">42438</a>: Duplicate temporary variables were created when

+        jsp:attribute was used in conjunction with custom tags. Patch provided

+        by Brian Lenz. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42643">42643</a>: Prevent creation of duplicate JSP function mapper

+        variables. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.14 (remm)/Coyote"><!--()--></a><a name="Tomcat_6.0.14_(remm)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Separate sequence increment from getter in ThreadPool to avoid

+        misleading increments during monitoring via JMX. (rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Add back missing socketBuffer attribute in the java.io HTTP connector (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.14 (remm)/Web applications"><!--()--></a><a name="Tomcat_6.0.14_(remm)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Don't write error on System.out, use log() instead. (rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=39813">39813</a>: Correct handling of new line characters in JMX

+        attributes. Patch provided by R Bramley. Ported from tc5.5.x r415029. (markt,rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42459">42459</a>: Fix Tomcat Web Application Manager table error. (rjung)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix XSS security vulnerabilities (CVE-2007-2449) in the examples.

+        Reported by Toshiharu Sugiyama. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.13 (remm)"><!--()--></a><a name="Tomcat_6.0.13_(remm)"><strong>Tomcat 6.0.13 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>released 2007-05-15</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.13 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.13_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         More accurate available() method. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         Add recycle check in the event object, since it is a facade like the others. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         When processing a read event, enforce that the servlet consumes all available bytes. (remm)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+         Add a flag in ContainerBase which could be used in embedded scenarios to avoid a double start

+         of contexts (this problem generally occurs when adding contexts to a started host). (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42309">42309</a>: Ability to create a connector using a custom protocol specification for embedded.

+         (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         Add SSL engine flag to AprLifecycleListener. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         Improve event processing, so that an END event is generated when encountering EOF, and an

+         ERROR is always generated on client disconnects. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         Add declarations for the new XSD files. (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.13 (remm)/Coyote"><!--()--></a><a name="Tomcat_6.0.13_(remm)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         Add heartbeatBackgroundEnabled flag to SimpleTcpCluster.

+         Enable this flag don't forget to disable the channel heartbeat thread (pero)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         Possible memory leak when using comet, caused by adding the socket to the poller before

+         cleaning up the connection tracking structure. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42308">42308</a>: nextRequest recycles the request, which caused issues with statistics. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         Fix non recycled comet flag in the APR connector. (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.13 (remm)/Cluster"><!--()--></a><a name="Tomcat_6.0.13_(remm)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         Add heartbeatBackgroundEnabled flag to SimpleTcpCluster.

+         Enable this flag don't forget to disable the channel heartbeat thread (pero)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         Method name cleanup. (fhanik)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.13 (remm)/Web applications"><!--()--></a><a name="Tomcat_6.0.13_(remm)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         Some examples webapp fixes. Submitted by Frank McCown. (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.12 (remm)"><!--()--></a><a name="Tomcat_6.0.12_(remm)"><strong>Tomcat 6.0.12 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>not released</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.12 (remm)/General"><!--()--></a><a name="Tomcat_6.0.12_(remm)/General"><strong>General</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        License source headers. Submitted by Niall Pemberton. (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.12 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.12_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42039">42039</a>: Log a stack trace if a servlet throws an

+         UnavailableException. Patch provided by Kawasima Kazuh. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41990">41990</a>: Add some additional mime-type mappings. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41655">41655</a>: Fix message translations. Japanese translations

+        provided by Suzuki Yuichiro. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add enabled attribute to AccessLogValve (pero)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42085">42085</a>: Avoid adding handlers for the root logger twice when they are explicitly

+        specified. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Reduce thread local manipulation in the request dispatcher. Submitted by

+        Arvind Srinivasan. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Avoid keeping references to loggers tied to the webapp classloaders after a reload in

+        a couple more places. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42202">42202</a>: Fix container parsing of TLDs in webapps when Tomcat is installed in

+        a URL encodable path. (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.12 (remm)/Coyote"><!--()--></a><a name="Tomcat_6.0.12_(remm)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42119">42119</a>: Fix return value for request.getCharacterEncoding() when

+        Content-Type headers contain parameters other than charset. Patch by

+        Leigh L Klotz Jr. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Move away from using a thread local processor for the APR and java.io

+        connectors, as this does not work well when using an executor. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove Comet timeout hack in the APR connector. Comet connections will now

+        use the regular timeout or the keepalive timeout if specified. (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.12 (remm)/Web applications"><!--()--></a><a name="Tomcat_6.0.12_(remm)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42025">42025</a>: Update valve documentation to refer to correct regular

+        expression implementation. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix various paths in the manager webapps (remm)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Session viewer and editor for the HTML manager. Submitted by C&eacute;drik Lime. (remm)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Session handling tools for the manager. Submitted by Rainer Jung. (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.12 (remm)/Jasper"><!--()--></a><a name="Tomcat_6.0.12_(remm)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41869">41869</a>: TagData.getAttribute() should return

+        TagData.REQUEST_TIME_VALUE when the attribute value is an EL expression.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42071">42071</a>: Fix IllegalStateException on multiple requests to

+        an unavailable JSP. Patch provided by Kawasima Kazuh. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        After a JSP throws an UnavailableException allow it to be accessed once

+        the unavailable period has expired. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.12 (remm)/Cluster"><!--()--></a><a name="Tomcat_6.0.12_(remm)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+         Add toString method to better logging session replication message at tribes MESSAGES (pero)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.11 (remm)"><!--()--></a><a name="Tomcat_6.0.11_(remm)"><strong>Tomcat 6.0.11 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>not released</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.11 (remm)/General"><!--()--></a><a name="Tomcat_6.0.11_(remm)/General"><strong>General</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update DBCP to 1.2.2, pool to 1.3, JDT to 3.2.2 and remove collections

+        build dependency (pero, remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.11 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.11_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Don't log pattern subtoken at ExtendedAccesLogValve (pero)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Add some missing JMX attributes for new AccessLogValve (pero)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41786">41786</a>: Incorrect reference to catalina_home in catalina.sh/bat Patch provided by Mike Hanafey (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41703">41703</a>: SingleSignOnMessage invalid setter, patch provided by Nils Hammar (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41682">41682</a>: ClassCastException when logging is turned on (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41530">41530</a>: Don't log error messages when connector is stopped (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41166">41166</a>: Invalid handling when using replicated context (fhanik)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Added SENDFILE support for the NIO connector. (fhanik) <br>

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Added support for shared thread pools by adding in the &lt;Executor&gt;

+        element as a nested element to the &lt;Service&gt; element. (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41666">41666</a>: Correct handling of boundary conditions for

+        If-Unmodified-Since and If-Modified-Since headers. Patch provided by

+        Suzuki Yuichiro. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41739">41739</a>: Correct handling of servlets with a load-on-startup

+        value of zero. These are now the first servlets to be started. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41747">41747</a>: Correct example ant script for deploy task. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41752">41752</a>: Correct error message on exception in MemoryRealm.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=39883">39883</a>: Add documentation warning about using antiResourceLocking

+        on a webapp outside the Host's appBase. (yoavs)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40150">40150</a>: Ensure user and roll classnames are validated on startup.  Patch by

+          Tom. (yoavs)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Refactor extend access log valve using the optimized access log valve. Submitted by

+        Takayuki Kaneko. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Possible deadlock in classloading when defining packages. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove excessive syncing from listener support. (remm)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Web services support. The actual factory implementations are implemented in the

+        extras. Submitted by Fabien Carrion. (remm)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Add logging to display APR capabilities on the platform. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Expose executors in JMX. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        CRLF inside a URL pattern is always invalid. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Tweak startup time display. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Adjustments to handling exceptions with Comet. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        If the event is closed asynchronously, generate an end event for cleanup on the

+        next event. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Cleanup hello webapp from the docs and fix a XSS issue in the JSP.  (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Examples webapp cleanup. Submitted by Takayuki Kaneko and Markus Sch&ouml;nhaber. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41289">41289</a>: Create configBase, since it is no longer created elsewhere.

+        Submitted by Shiva Kumar H R. (remm)

+      </td></tr>

+     </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.11 (remm)/Coyote"><!--()--></a><a name="Tomcat_6.0.11_(remm)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Fixed NIO memory leak caused by the NioChannel cache not working properly.

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Added flag to enable/disable the usage of the pollers selector instead of a Selector pool

+        when the serviet is reading/writing from the input/output streams

+        The flag is <code>-Dorg.apache.tomcat.util.net.NioSelectorShared=true</code>

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Requests with multiple content-length headers are now rejected. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41675">41675</a>: Add a couple of DEBUG-level logging statements to Http11Processors

+          when sending error responses.  Patch by Ralf Hauser. (yoavs)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Reuse digester used by the modeler. (remm)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        When the platform does not support deferred accept, put accepted sockets in the

+        poller. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix problem with blocking reads for keepalive when using an executor (the number

+        of busy threads is always 0). (remm)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        The poller now has good performance, so remove firstReadTimeout. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=42119">42119</a>: Fix return value for request.getCharacterEncoding() when

+        Content-Type headers contain parameters other than charset. Patch by

+        Leigh L Klotz Jr. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.11 (remm)/Web applications"><!--()--></a><a name="Tomcat_6.0.11_(remm)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix previous update to servlet 2.5 xsd to use correct declaration.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update host configuration document for new behaviour for directories

+        in appBase. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=39540">39540</a>: Add link to httpd 2.2 mod_proxy_ajp docs in AJP connector doc. (yoavs)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.11 (remm)/Jasper"><!--()--></a><a name="Tomcat_6.0.11_(remm)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41227">41227</a>: Add a bit of DEBUG-level logging to JspC so users know

+          which file is being compiled. (yoavs)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Remove some dead utility code, and refactor stream capture as part of the Ant compiler. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Support the trim directive of JSP 2.1 as an equivalent of Jasper's own parameter. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41790">41790</a>: Close file stream used to read the Java source. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix reporting of errors which do not correspond to a portion of the JSP source. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove try/catch usage for annotation processing in classic tags. The usage

+        of the log method might have been questionable as well. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Cleanup of the message that is displayed for compilation errors. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Skip BOM when reading a JSP file. (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+ </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.10 (remm)"><!--()--></a><a name="Tomcat_6.0.10_(remm)"><strong>Tomcat 6.0.10 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>released 2007-02-28</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.10 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.10_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Unify usage of security manager flag, submitted by Arvind Srinivasan. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix formatting of CGI variable SCRIPT_NAME. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41521">41521</a>: Support * for servlet-name, submitted by Paul McMahan. (remm)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Cache getServletContext value, submitted by Arvind Srinivasan. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Add options for handling special URL characters in paths, and disallow '\' and encoded '/'

+        due to possible differences in behavior between Tomcat and a front end webserver. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix bad comparison for FORM processing, submitted by Anil Saldhana. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41608">41608</a>: Make log levels consistent when Servlet.service()

+        throws an exception. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.10 (remm)/Coyote"><!--()--></a><a name="Tomcat_6.0.10_(remm)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Reduce usage of MessageBytes.getLength(), submitted by Arvind Srinivasan. (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.10 (remm)/Jasper"><!--()--></a><a name="Tomcat_6.0.10_(remm)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41558">41558</a>: Don't call synced method on every request, submitted by Arvind Srinivasan. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Switch to a thread local page context pool. (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.9 (remm)"><!--()--></a><a name="Tomcat_6.0.9_(remm)"><strong>Tomcat 6.0.9 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>beta, 2007-02-08</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.9 (remm)/General"><!--()--></a><a name="Tomcat_6.0.9_(remm)/General"><strong>General</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Use 2.5 xsd in Tomcat webapps. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Compression filter improvements, submitted by Eric Hedstr&ouml;m. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.9 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.9_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Properly return connector names. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Remove logging of the XML validation flag. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Correct error messages for context.xml. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41217">41217</a>: Set secure flag correctly on SSO cookie, submitted by

+        Chris Halstead. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40524">40524</a>: request.getAuthType() now returns CLIENT_CERT rather

+        than CLIENT-CERT. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40526">40526</a>: Return support for JPDA_OPTS to catalina.bat and add

+        a new option JPDA_SUSPEND, submitted by by Kurt Roy. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41265">41265</a>: In embedded, remove the code that resets checkInterval

+        values of zero to 300. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.9 (remm)/Coyote"><!--()--></a><a name="Tomcat_6.0.9_(remm)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37869">37869</a>: Fix getting client certificate, submitted by Christophe Pierret. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40960">40960</a>: Throw a timeout exception when getting a timeout rather than a

+        generic IOE, submitted by Christophe Pierret. (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.9 (remm)/Jasper"><!--()--></a><a name="Tomcat_6.0.9_(remm)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        EL validation fixes for attributes. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41327">41327</a>: Show full URI for a 404. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        JspException now uses getCause() as the result for getRootCause(). (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.9 (remm)/Cluster"><!--()--></a><a name="Tomcat_6.0.9_(remm)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41466">41466</a>: When using the NioChannel and SecureNioChannel its

+        important to use the channels buffers. (fhanik)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.8 (remm)"><!--()--></a><a name="Tomcat_6.0.8_(remm)"><strong>Tomcat 6.0.8 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>alpha</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.8 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.8_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Make provided instances of RequestDispatcher thread safe. (markt)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Optional development oriented loader implementation. (funkman)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Optimized access log valve, submitted by Takayuki Kaneko. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix error messages when parsing context.xml that incorrectly referred to

+        web.xml. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41217">41217</a>: Set secure attribute on SSO cookie when cookie is

+        created during a secure request. Patch provided by Chris Halstead.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40524">40524</a>: HttpServletRequest.getAuthType() now returns

+        CLIENT_CERT rather than CLIENT-CERT for certificate authentication

+        as per the spec. Note that web.xml continues to use CLIENT-CERT to

+        specify the certificate authentication should be used. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41401">41401</a>: Add support for JPDA_OPTS to catalina.bat and add a

+        JPDA_SUSPEND environment variable to both startup scripts. Patch

+        provided by Kurt Roy. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.8 (remm)/Coyote"><!--()--></a><a name="Tomcat_6.0.8_(remm)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Use the tomcat-native-1.1.10 as recommended version.

+        OpenSSL detection on some platforms was broken 1.1.8 will continue to work,

+        although on some platforms there can be JVM crash if IPV6 is enabled and

+        platform doesn't support IPV4 mapped addresses on IPV6 sockets.

+      </td></tr>

+  </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.8 (remm)/Jasper"><!--()--></a><a name="Tomcat_6.0.8_(remm)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        When displaying JSP source after an exception, handle included files.

+        (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Display the JSP source when a compilation error occurs and display

+        the correct line number rather than start of a scriptlet block. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix NPE when processing dynamic attributes. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        More accurate EL usage validation. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix regression for implicit taglib and page data version numbers. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41265">41265</a>: Allow JspServlet checkInterval init parameter to be

+        explicitly set to the stated default value of zero by removing the

+        code that resets it to 300 if explicitly specified as zero. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41327">41327</a>: Show full URI for a 404. Patch provided by Vijay.

+        (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.8 (remm)/Web applications"><!--()--></a><a name="Tomcat_6.0.8_(remm)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="docs" class="icon" src="./images/docs.gif"></td><td>

+        Add a virtual hosting how-to contributed by Hassan Schroeder. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update all webapps to use the servlet 2.5 xsd. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=39572">39572</a>: Improvements to CompressionFilter example provided by

+        Eric Hedstr&ouml;m. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.7 (remm)"><!--()--></a><a name="Tomcat_6.0.7_(remm)"><strong>Tomcat 6.0.7 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>beta, 2007-01-10</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.7 (remm)/General"><!--()--></a><a name="Tomcat_6.0.7_(remm)/General"><strong>General</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix installer's bitmap (mturk)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.7 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.7_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Refactor logging of errors which may occur when reading a post body (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.7 (remm)/Coyote"><!--()--></a><a name="Tomcat_6.0.7_(remm)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37869">37869</a>: Also use the SSL_INFO_CLIENT_CERT field if the chain is empty,

+        submitted by Grzegorz Grzybek (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.6 (remm)"><!--()--></a><a name="Tomcat_6.0.6_(remm)"><strong>Tomcat 6.0.6 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>alpha</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.6 (remm)/General"><!--()--></a><a name="Tomcat_6.0.6_(remm)/General"><strong>General</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix tagging which did not include 6.0.5's changelog (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.5 (remm)"><!--()--></a><a name="Tomcat_6.0.5_(remm)"><strong>Tomcat 6.0.5 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>not released</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.5 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.5_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40585">40585</a>: Fix parameterised constructor for o.a.juli.FileHandler

+        so parameters have an effect. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Escape invalid characters from request.getLocale. (markt, remm)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update required version for native to 1.1.8. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Do not log broken pipe errors which can occur when flushing the content of an error page. (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.5 (remm)/Coyote"><!--()--></a><a name="Tomcat_6.0.5_(remm)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix firstReadTimeout behavior for the AJP connector. (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.5 (remm)/Jasper"><!--()--></a><a name="Tomcat_6.0.5_(remm)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41057">41057</a>: Make jsp:plugin output XHTML compliant. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.5 (remm)/Cluster"><!--()--></a><a name="Tomcat_6.0.5_(remm)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Cluster interface cleanup. (fhanik)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Refactoring to allow usage of executors. (fhanik)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.4 (remm)"><!--()--></a><a name="Tomcat_6.0.4_(remm)"><strong>Tomcat 6.0.4 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>alpha</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.4 (remm)/General"><!--()--></a><a name="Tomcat_6.0.4_(remm)/General"><strong>General</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update to NSIS 2.22 (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix regression in 6.0.3 with Windows wrapper (mturk)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.3 (remm)"><!--()--></a><a name="Tomcat_6.0.3_(remm)"><strong>Tomcat 6.0.3 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>not released</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.3 (remm)/General"><!--()--></a><a name="Tomcat_6.0.3_(remm)/General"><strong>General</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.3 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.3_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37509">37509</a>: Do not remove whitespace from the end of values

+        defined in logging.properties files. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=38198">38198</a>: Add reference to Context documentation from Host

+        documentation that explains how Context name is obtained from the

+        Context filename. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40844">40844</a>: Missing syncs in JDBCRealm. (markt)

+      </td></tr>

+       <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40901">40901</a>: Encode directory listing output. Based on a patch

+        provided by Chris Halstead. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40929">40929</a>: Correct JavaDoc for StandardClassLoader. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41008">41008</a>: Allow POST to be used for indexed queries with CGI

+        Servlet. Patch provided by Chris Halstead. (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix usage of print on the servlet output stream if the processor never used

+        a writer (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix logic of sameSameObjects used to determine correct wrapping of request and

+        response objects (fhanik)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Update TLD scan lists, and disable caching for now (remm)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Add system property to WebappClassLoader to allow disabling setting references

+        to null when stopping it (remm)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add clustered SSO code, submitted by Fabien Carrion (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.3 (remm)/Coyote"><!--()--></a><a name="Tomcat_6.0.3_(remm)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40860">40860</a>: Log exceptions and other problems during parameter

+        processing. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Enable JMX for trust store attributes for SSL connector. (markt)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Port memory usage reduction changes to the java.io HTTP connector. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        MessageBytes.setString(null) will remove the String value. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41057">41057</a>: Caching large strings is not useful and takes too much

+        memory, so don't cache these (remm)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Add keepAliveTimeout attribute to most connectors (mturk, remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.3 (remm)/Jasper"><!--()--></a><a name="Tomcat_6.0.3_(remm)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Relax EL type validation for litterals. (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Update some version numbers to 2.1. (funkman, remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Add xsds for JSP 2.1 (remm)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41106">41106</a>: Update validation checks for EL to also include

+        legacy 1.2 tags (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.3 (remm)/Web applications"><!--()--></a><a name="Tomcat_6.0.3_(remm)/Web_applications"><strong>Web applications</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40677">40677</a>: Update SSL documentation to indicate that PKCS11

+        keystores may be used. (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.2 (remm)"><!--()--></a><a name="Tomcat_6.0.2_(remm)"><strong>Tomcat 6.0.2 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>beta, 2006-11-23</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.2 (remm)/General"><!--()--></a><a name="Tomcat_6.0.2_(remm)/General"><strong>General</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Various tweaks to distribution (remm, funkman)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update Tomcat native to 1.1.7 (mturk)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Update to JDT 3.2.1 (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.2 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.2_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix EJB annotation interface (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.2 (remm)/Coyote"><!--()--></a><a name="Tomcat_6.0.2_(remm)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        Fix passing of the keystore password for the NIO connector (fhanik)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.1 (remm)"><!--()--></a><a name="Tomcat_6.0.1_(remm)"><strong>Tomcat 6.0.1 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>alpha</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.1 (remm)/General"><!--()--></a><a name="Tomcat_6.0.1_(remm)/General"><strong>General</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37439">37439</a>, <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40823">40823</a>: Documentation cleanup (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.1 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.1_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Refactor exception processing using Throwable.getCause to improve exception chaining (remm)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Remove dead code involving the Logger (funkman)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37458">37458</a>: Fix some exceptions which could happen during classloading (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40817">40817</a>: Fix CGI path (markt)

+      </td></tr>

+      <tr><td><img alt="fix" class="icon" src="./images/fix.gif"></td><td>

+        <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=34956">34956</a>: Add the possibility to enforce usage of request and response

+        wrapper objects (markt)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.1 (remm)/Jasper"><!--()--></a><a name="Tomcat_6.0.1_(remm)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Many fixes for JSP 2.1 compliance, invloving tag files handling, deferred expressions

+        validation, bom encoding support (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.1 (remm)/Coyote"><!--()--></a><a name="Tomcat_6.0.1_(remm)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Many HTTP NIO connector fixes and refactorings (fhanik)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        HTTP NIO connector performance improvements (fhanik)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Add packetSize option for the classic AJP connector (jfclere)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Implement explicit flushing in AJP (mturk)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.0 (remm)"><!--()--></a><a name="Tomcat_6.0.0_(remm)"><strong>Tomcat 6.0.0 (remm)</strong></a></font></td><td align="right" bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><strong>alpha</strong></font></td></tr><tr><td colspan="2"><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.0 (remm)/Catalina"><!--()--></a><a name="Tomcat_6.0.0_(remm)/Catalina"><strong>Catalina</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        SSLEngine attribute added to the AprLifecycleListener(fhanik)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Add API for Comet IO handling (remm, fhanik)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Servlet 2.5 support (remm)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.0 (remm)/Jasper"><!--()--></a><a name="Tomcat_6.0.0_(remm)/Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        JSP 2.1 support (jhook, remm)

+      </td></tr>

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        Unifed EL 2.1 support (jhook)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.0 (remm)/Coyote"><!--()--></a><a name="Tomcat_6.0.0_(remm)/Coyote"><strong>Coyote</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        SSLEnabled attribute required for SSL to be turned on, on all HTTP connectors (fhanik)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Memory usage reduction for the HTTP connectors, except java.io (remm)

+      </td></tr>

+      <tr><td><img alt="update" class="icon" src="./images/update.gif"></td><td>

+        Modeler update to use dynamic mbeans rather than model mbeans, which consume more

+        resources (costin)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat 6.0.0 (remm)/Cluster"><!--()--></a><a name="Tomcat_6.0.0_(remm)/Cluster"><strong>Cluster</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellpadding="2" cellspacing="2">

+      <tr><td><img alt="add" class="icon" src="./images/add.gif"></td><td>

+        New cluster configuration and new documentation (fhanik)

+      </td></tr>

+    </table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/class-loader-howto.html b/tomcat-uid/webapps/docs/class-loader-howto.html
new file mode 100644
index 0000000..5e48781
--- /dev/null
+++ b/tomcat-uid/webapps/docs/class-loader-howto.html
@@ -0,0 +1,201 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Class Loader HOW-TO</title><meta name="author" content="Craig R. McClanahan"><meta name="author" content="Yoav Shapira"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Class Loader HOW-TO</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Overview">Overview</a></li><li><a href="#Class_Loader_Definitions">Class Loader Definitions</a></li><li><a href="#XML_Parsers_and_Java">XML Parsers and Java</a></li><li><a href="#Running_under_a_security_manager">Running under a security manager</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Overview"><strong>Overview</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Like many server applications, Tomcat installs a variety of class loaders

+(that is, classes that implement <code>java.lang.ClassLoader</code>) to allow

+different portions of the container, and the web applications running on the

+container, to have access to different repositories of available classes and

+resources.  This mechanism is used to provide the functionality defined in the

+Servlet Specification, version 2.4&nbsp;&mdash; in particular, Sections 9.4

+and 9.6.</p>

+

+<p>In a Java environment, class loaders are

+arranged in a parent-child tree.  Normally, when a class loader is asked to

+load a particular class or resource, it delegates the request to a parent

+class loader first, and then looks in its own repositories only if the parent

+class loader(s) cannot find the requested class or resource.  Note, that the

+model for web application class loaders <em>differs</em> slightly from this,

+as discussed below, but the main principles are the same.</p>

+

+<p>When Tomcat is started, it creates a set of class loaders that are

+organized into the following parent-child relationships, where the parent

+class loader is above the child class loader:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+      Bootstrap

+          |

+       System

+          |

+       Common

+       /     \

+  Webapp1   Webapp2 ... 

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>The characteristics of each of these class loaders, including the source

+of classes and resources that they make visible, are discussed in detail in

+the following section.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Class Loader Definitions"><!--()--></a><a name="Class_Loader_Definitions"><strong>Class Loader Definitions</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>As indicated in the diagram above, Tomcat 6 creates the following class

+loaders as it is initialized:</p>

+<ul>

+<li><p><strong>Bootstrap</strong> &mdash; This class loader contains the basic

+    runtime classes provided by the Java Virtual Machine, plus any classes from

+    JAR files present in the System Extensions directory

+    (<code>$JAVA_HOME/jre/lib/ext</code>).  <em>Note</em>: some JVMs may

+    implement this as more than one class loader, or it may not be visible

+    (as a class loader) at all.</p></li>

+<li><p><strong>System</strong> &mdash; This class loader is normally initialized

+    from the contents of the <code>CLASSPATH</code> environment variable.  All

+    such classes are visible to both Tomcat internal classes, and to web

+    applications.  However, the standard Tomcat startup scripts

+    (<code>$CATALINA_HOME/bin/catalina.sh</code> or

+    <code>%CATALINA_HOME%\bin\catalina.bat</code>) totally ignore the contents

+    of the <code>CLASSPATH</code> environment variable itself, and instead

+    build the System class loader from the following repositories:

+    </p>

+    <ul>

+    <li><p><em>$CATALINA_HOME/bin/bootstrap.jar</em> &mdash; Contains the

+        main() method that is used to initialize the Tomcat server, and the

+        class loader implementation classes it depends on.</p></li>

+    <li><p><em>$CATALINA_BASE/bin/tomcat-juli.jar</em> and

+        <em>$CATALINA_HOME/bin/tomcat-juli.jar</em> &mdash; Logging

+        implementation classes. These include enhancement classes to

+        <code>java.util.logging</code> API, known as Tomcat JULI,

+        and a package-renamed copy of Apache Commons Logging library

+        used internally by Tomcat.

+        See <a href="logging.html">logging documentation</a> for more

+        details.</p></li>

+    <li><p><em>$CATALINA_HOME/bin/commons-daemon.jar</em> &mdash; The classes

+        from <a href="http://commons.apache.org/daemon/">Apache Commons

+        Daemon</a> project.</p></li>

+    </ul>

+    <p>The <em>tomcat-juli.jar</em> and <em>commons-daemon.jar</em> JARs in

+    <em>$CATALINA_HOME/bin</em> are not present in the <code>CLASSPATH</code>

+    built by <code>catalina.bat</code>|<code>.sh</code> scripts, but are

+    referenced from the manifest file of <em>bootstrap.jar</em>.

+    </p>

+    <p>If <em>$CATALINA_BASE</em> and <em>$CATALINA_HOME</em> do differ and

+    <em>$CATALINA_BASE/bin/tomcat-juli.jar</em> does exist, the startup scripts

+    will add it to <code>CLASSPATH</code> before <em>bootstrap.jar</em>, so

+    that Java will look into <em>$CATALINA_BASE/bin/tomcat-juli.jar</em> for

+    classes before it will look into <em>$CATALINA_HOME/bin/tomcat-juli.jar</em>

+    referenced by <em>bootstrap.jar</em>. It should work in most cases but,

+    if you are using such configuration, it might be recommended to remove

+    <em>tomcat-juli.jar</em> from <em>$CATALINA_HOME/bin</em> so that only

+    one copy of the file is present on the classpath. The next version of

+    Tomcat, Tomcat 7, takes different approach here.

+    </p></li>

+<li><p><strong>Common</strong> &mdash; This class loader contains additional

+    classes that are made visible to both Tomcat internal classes and to all

+    web applications.</p>

+    <p>Normally, application classes should <strong>NOT</strong>

+    be placed here.  The locations searched by this class loader are defined by

+    the <code>common.loader</code> property in

+    $CATALINA_BASE/conf/catalina.properties. The default setting will search the

+    following locations in the order they are listed:</p>

+    <ul>

+      <li>unpacked classes and resources in <code>$CATALINA_BASE/lib</code></li>

+      <li>JAR files in <code>$CATALINA_BASE/lib</code></li>

+      <li>unpacked classes and resources in <code>$CATALINA_HOME/lib</code></li>

+      <li>JAR files in <code>$CATALINA_HOME/lib</code></li>

+    </ul>

+    <p>By default, this includes the following:</p>

+    <ul>

+    <li><em>annotations-api.jar</em> &mdash; JavaEE annotations classes.</li>

+    <li><em>catalina.jar</em> &mdash; Implementation of the Catalina servlet

+        container portion of Tomcat.</li>

+    <li><em>catalina-ant.jar</em> &mdash; Tomcat Catalina Ant tasks.</li>

+    <li><em>catalina-ha.jar</em> &mdash; High availability package.</li>

+    <li><em>catalina-tribes.jar</em> &mdash; Group communication package.</li>

+    <li><em>ecj-*.jar</em> &mdash; Eclipse JDT Java compiler.</li>

+    <li><em>el-api.jar</em> &mdash; EL 2.1 API.</li>

+    <li><em>jasper.jar</em> &mdash; Tomcat Jasper JSP Compiler and Runtime.</li>

+    <li><em>jasper-el.jar</em> &mdash; Tomcat Jasper EL implementation.</li>

+    <li><em>jsp-api.jar</em> &mdash; JSP 2.1 API.</li>

+    <li><em>servlet-api.jar</em> &mdash; Servlet 2.5 API.</li>

+    <li><em>tomcat-coyote.jar</em> &mdash; Tomcat connectors and utility classes.</li>

+    <li><em>tomcat-dbcp.jar</em> &mdash; Database connection pool

+        implementation based on package-renamed copy of Apache Commons Pool

+        and Apache Commons DBCP.</li>

+    <li><em>tomcat-i18n-**.jar</em> &mdash; Optional JARs containing resource bundles

+        for other languages. As default bundles are also included in each 

+        individual JAR, they can be safely removed if no internationalization

+        of messages is needed.</li>

+    </ul></li>

+<li><p><strong>WebappX</strong> &mdash; A class loader is created for each web

+    application that is deployed in a single Tomcat instance.  All unpacked

+    classes and resources in the <code>/WEB-INF/classes</code> directory of

+    your web application, plus classes and resources in JAR files

+    under the <code>/WEB-INF/lib</code> directory of your web application,

+    are made visible to this web application, but not to other ones.</p></li>

+</ul>

+

+<p>As mentioned above, the web application class loader diverges from the

+default Java 2 delegation model (in accordance with the recommendations in the

+Servlet Specification, version 2.4, section 9.7.2 Web Application Classloader).  

+When a request to load a

+class from the web application's <em>WebappX</em> class loader is processed,

+this class loader will look in the local repositories <strong>first</strong>,

+instead of delegating before looking.  There are exceptions. Classes which are

+part of the JRE base classes cannot be overriden. For some classes (such as

+the XML parser components in J2SE 1.4+), the J2SE 1.4 endorsed feature can be 

+used.

+Last, any JAR file that contains Servlet API classes will be explicitly

+ignored by the classloader &mdash; Do not include such JARs in your web

+application.

+All other class loaders in Tomcat 6 follow the usual delegation pattern.</p>

+

+<p>Therefore, from the perspective of a web application, class or resource

+loading looks in the following repositories, in this order:</p>

+<ul>

+<li>Bootstrap classes of your JVM</li>

+<li>System class loader classes (described above)</li>

+<li><em>/WEB-INF/classes</em> of your web application</li>

+<li><em>/WEB-INF/lib/*.jar</em> of your web application</li>

+<li>Common class loader classes (described above)</li>

+</ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="XML Parsers and Java"><!--()--></a><a name="XML_Parsers_and_Java"><strong>XML Parsers and Java</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Starting with Java 1.4 a copy of JAXP APIs and an XML parser are packed

+inside the JRE.  This has impacts on applications that wish to use their own

+XML parser.</p>

+

+<p>In old versions of Tomcat, you could simply replace the XML parser

+in the Tomcat libraries directory to change the parser

+used by all web applications.  However, this technique will not be effective

+when you are running modern versions of Java, because the usual class loader

+delegation process will always choose the implementation inside the JDK in

+preference to this one.</p>

+

+<p>Java supports a mechanism called the "Endorsed Standards Override

+Mechanism" to allow replacement of APIs created outside of the JCP

+(i.e. DOM and SAX from W3C).  It can also be used to update the XML parser

+implementation.  For more information, see:

+<a href="http://docs.oracle.com/javase/1.5.0/docs/guide/standards/index.html">

+http://docs.oracle.com/javase/1.5.0/docs/guide/standards/index.html</a>.</p>

+

+<p>Tomcat utilizes this mechanism by including the system property setting

+<code>-Djava.endorsed.dirs=$JAVA_ENDORSED_DIRS</code> in the

+command line that starts the container. The default value of this option is

+<em>$CATALINA_HOME/endorsed</em>. This <em>endorsed</em> directory is not

+created by default.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Running under a security manager"><!--()--></a><a name="Running_under_a_security_manager"><strong>Running under a security manager</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>When running under a security manager the locations from which classes

+are permitted to be loaded will also depend on the contents of your policy

+file. See <a href="security-manager-howto.html">Security Manager HOW-TO</a>

+for further information.</p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/cluster-howto.html b/tomcat-uid/webapps/docs/cluster-howto.html
new file mode 100644
index 0000000..7fa0ec1
--- /dev/null
+++ b/tomcat-uid/webapps/docs/cluster-howto.html
@@ -0,0 +1,576 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Clustering/Session Replication HOW-TO</title><meta name="author" content="Filip Hanik"><meta name="author" content="Peter Rossbach"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Clustering/Session Replication HOW-TO</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Important Note"><!--()--></a><a name="Important_Note"><strong>Important Note</strong></a></font></td></tr><tr><td><blockquote>

+<p><b>You can also check the <a href="config/cluster.html">configuration reference documentation.</a></b>

+</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#For_the_impatient">For the impatient</a></li><li><a href="#Cluster_Basics">Cluster Basics</a></li><li><a href="#Overview">Overview</a></li><li><a href="#Cluster_Information">Cluster Information</a></li><li><a href="#Bind_session_after_crash_to_failover_node">Bind session after crash to failover node</a></li><li><a href="#Configuration_Example">Configuration Example</a></li><li><a href="#Cluster_Architecture">Cluster Architecture</a></li><li><a href="#How_it_Works">How it Works</a></li><li><a href="#FAQ">FAQ</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="For the impatient"><!--()--></a><a name="For_the_impatient"><strong>For the impatient</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+    Simply add <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>&lt;Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/&gt;</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    to your <code>&lt;Engine&gt;</code> or your <code>&lt;Host&gt;</code> element to enable clustering.

+  </p>

+  <p>

+    Using the above configuration will enable all-to-all session replication

+    using the <code>DeltaManager</code> to replicate session deltas. By all-to-all we mean that the session gets replicated to all the other 

+    nodes in the cluster. This works great for smaller cluster but we don't recommend it for larger clusters(a lot of tomcat nodes).

+    Also when using the delta manager it will replicate to all nodes, even nodes that don't have the application deployed.<br>

+    To get around this problem, you'll want to use the BackupManager. This manager only replicates the session data to one backup

+    node, and only to nodes that have the application deployed. Downside of the BackupManager: not quite as battle tested as the delta manager.

+    <br>

+    Here are some of the important default values:<br>

+    1. Multicast address is 228.0.0.4<br>

+    2. Multicast port is 45564 (the port and the address together determine cluster membership.<br>

+    3. The IP broadcasted is <code>java.net.InetAddress.getLocalHost().getHostAddress()</code> (make sure you don't broadcast 127.0.0.1, this is a common error)<br>

+    4. The TCP port listening for replication messages is the first available server socket in range <code>4000-4100</code><br>

+    5. Two listeners are configured <code>ClusterSessionListener</code> and <code>JvmRouteSessionIDBinderListener</code><br>

+    6. Two interceptors are configured <code>TcpFailureDetector</code> and <code>MessageDispatch15Interceptor</code><br>

+    The following is the default cluster configuration:<br>

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+        &lt;Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"

+                 channelSendOptions="8"&gt;

+

+          &lt;Manager className="org.apache.catalina.ha.session.DeltaManager"

+                   expireSessionsOnShutdown="false"

+                   notifyListenersOnReplication="true"/&gt;

+

+          &lt;Channel className="org.apache.catalina.tribes.group.GroupChannel"&gt;

+            &lt;Membership className="org.apache.catalina.tribes.membership.McastService"

+                        address="228.0.0.4"

+                        port="45564"

+                        frequency="500"

+                        dropTime="3000"/&gt;

+            &lt;Receiver className="org.apache.catalina.tribes.transport.nio.NioReceiver"

+                      address="auto"

+                      port="4000"

+                      autoBind="100"

+                      selectorTimeout="5000"

+                      maxThreads="6"/&gt;

+

+            &lt;Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter"&gt;

+              &lt;Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/&gt;

+            &lt;/Sender&gt;

+            &lt;Interceptor className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/&gt;

+            &lt;Interceptor className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/&gt;

+          &lt;/Channel&gt;

+

+          &lt;Valve className="org.apache.catalina.ha.tcp.ReplicationValve"

+                 filter=""/&gt;

+          &lt;Valve className="org.apache.catalina.ha.session.JvmRouteBinderValve"/&gt;

+

+          &lt;Deployer className="org.apache.catalina.ha.deploy.FarmWarDeployer"

+                    tempDir="/tmp/war-temp/"

+                    deployDir="/tmp/war-deploy/"

+                    watchDir="/tmp/war-listen/"

+                    watchEnabled="false"/&gt;

+

+          &lt;ClusterListener className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"/&gt;

+          &lt;ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener"/&gt;

+        &lt;/Cluster&gt;    

+    </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+  </p>

+  <p>Will cover this section in more detail later in this document.</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Cluster Basics"><!--()--></a><a name="Cluster_Basics"><strong>Cluster Basics</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>To run session replication in your Tomcat 6.0 container, the following steps

+should be completed:</p>

+<ul>

+  <li>All your session attributes must implement <code>java.io.Serializable</code></li>

+  <li>Uncomment the <code>Cluster</code> element in server.xml</li>

+  <li>If you have defined custom cluster valves, make sure you have the <code>ReplicationValve</code>  defined as well under the Cluster element in server.xml</li>

+  <li>If your Tomcat instances are running on the same machine, make sure the <code>tcpListenPort</code>

+      attribute is unique for each instance, in most cases Tomcat is smart enough to resolve this on it's own by autodetecting available ports in the range 4000-4100</li>

+  <li>Make sure your <code>web.xml</code> has the

+      <code>&lt;distributable/&gt;</code> element</li>

+  <li>If you are using mod_jk, make sure that jvmRoute attribute is set at your Engine <code>&lt;Engine name="Catalina" jvmRoute="node01" &gt;</code>

+      and that the jvmRoute attribute value matches your worker name in workers.properties</li>

+  <li>Make sure that all nodes have the same time and sync with NTP service!</li>

+  <li>Make sure that your loadbalancer is configured for sticky session mode.</li>

+</ul>

+<p>Load balancing can be achieved through many techniques, as seen in the

+<a href="balancer-howto.html">Load Balancing</a> chapter.</p>

+<p>Note: Remember that your session state is tracked by a cookie, so your URL must look the same from the out

+   side otherwise, a new session will be created.</p>

+<p>Note: Clustering support currently requires the JDK version 1.5 or later.</p>

+<p>The Cluster module uses the Tomcat JULI logging framework, so you can configure logging 

+   through the regular logging.properties file. To track messages, you can enable logging on the key:<code>org.apache.catalina.tribes.MESSAGES</code></p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Overview"><strong>Overview</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>To enable session replication in Tomcat, three different paths can be followed to achieve the exact same thing:</p>

+<ol>

+  <li>Using session persistence, and saving the session to a shared file system (PersistenceManager + FileStore)</li>

+  <li>Using session persistence, and saving the session to a shared database (PersistenceManager + JDBCStore)</li>

+  <li>Using in-memory-replication, using the SimpleTcpCluster that ships with Tomcat 6 (lib/catalina-tribes.jar + lib/catalina-ha.jar)</li>

+</ol>

+

+<p>In this release of session replication, Tomcat can perform an all-to-all replication of session state using the <code>DeltaManager</code> or 

+   perform backup replication to only one node using the <code>BackupManager</code>.

+   The all-to-all replication is an algorithm that is only efficient when the clusters are small. For larger clusters,  to use 

+   a primary-secondary session replication where the session will only be stored at one backup server simply setup the BackupManager. <br>

+   Currently you can use the domain worker attribute (mod_jk &gt; 1.2.8) to build cluster partitions

+   with the potential of having a more scaleable cluster solution with the DeltaManager(you'll need to configure the domain interceptor for this).

+   In order to keep the network traffic down in an all-to-all environment, you can split your cluster

+   into smaller groups. This can be easily achieved by using different multicast addresses for the different groups.

+   A very simple setup would look like this:

+   </p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+        DNS Round Robin

+               |

+         Load Balancer

+          /           \

+      Cluster1      Cluster2

+      /     \        /     \

+  Tomcat1 Tomcat2  Tomcat3 Tomcat4

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>What is important to mention here, is that session replication is only the beginning of clustering.

+   Another popular concept used to implement clusters is farming, i.e., you deploy your apps only to one

+   server, and the cluster will distribute the deployments across the entire cluster.

+   This is all capabilities that can go into with the FarmWarDeployer (s. cluster example at <code>server.xml</code>)</p>

+<p>In the next section will go deeper into how session replication works and how to configure it.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Cluster Information"><!--()--></a><a name="Cluster_Information"><strong>Cluster Information</strong></a></font></td></tr><tr><td><blockquote>

+<p>Membership is established using multicast heartbeats. 

+   Hence, if you wish to subdivide your clusters, you can do this by 

+   changing the multicast IP address or port in the <code>&lt;Membership&gt;</code> element.

+</p>

+<p>

+   The heartbeat contains the IP address of the Tomcat node and the TCP port that 

+   Tomcat listens to for replication traffic. All data communication happens over TCP.

+</p>

+<p>

+    The <code>ReplicationValve</code> is used to find out when the request has been completed and initiate the

+    replication, if any. Data is only replicated if the session has changed (by calling setAttribute or removeAttribute

+    on the session).

+</p>

+<p>

+    One of the most important performance considerations is the synchronous versus asynchronous replication.

+    In a synchronous replication mode the request doesn't return until the replicated session has been

+    sent over the wire and reinstantiated on all the other cluster nodes.

+    Synchronous vs. asynchronous is configured using the <code>channelSendOptions</code>

+    flag and is an integer value. The default value for the <code>SimpleTcpCluster/DeltaManager</code> combo is

+    8, which is asynchronous. You can read more on the <a href="tribes/introduction.html">send flag(overview)</a> or the 

+    <a href="http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/tribes/Channel.html">send flag(javadoc)</a>.

+    During async replication, the request is returned before the data has been replicated. async replication yields shorter

+    request times, and synchronous replication guarantees the session to be replicated before the request returns.

+</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Bind session after crash to failover node"><!--()--></a><a name="Bind_session_after_crash_to_failover_node"><strong>Bind session after crash to failover node</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+    If you are using mod_jk and not using sticky sessions or for some reasons sticky session don't 

+    work, or you are simply failing over, the session id will need to be modified as it previously contained 

+    the worker id of the previous tomcat (as defined by jvmRoute in the Engine element).

+    To solve this, we will use the JvmRouteBinderValve.

+</p>

+<p> 

+    The JvmRouteBinderValve rewrites the session id to ensure that the next request will remain sticky

+    (and not fall back to go to random nodes since the worker is no longer available) after a fail over.

+    The valve rewrites the JSESSIONID value in the cookie with the same name.

+    Not having this valve in place, will make it harder to ensure stickyness in case of a failure for the mod_jk module.

+</p>

+<p>

+    By default, if no valves are configured, the JvmRouteBinderValve is added on.

+    The cluster message listener called JvmRouteSessionIDBinderListener is also defined by default and is used to actually rewrite the 

+    session id on the other nodes in the cluster once a fail over has occurred.

+    Remember, if you are adding your own valves or cluster listeners in server.xml then the defaults are no longer valid,

+    make sure that you add in all the appropriate valves and listeners as defined by the default.

+</p>

+<p>

+    <b>Hint:</b><br>

+    With attribute <i>sessionIdAttribute</i> you can change the request attribute name that included the old session id.

+    Default attribute name is <i>org.apache.catalina.cluster.session.JvmRouteOrignalSessionID</i>.

+</p>

+<p>

+    <b>Trick:</b><br>

+    You can enable this mod_jk turnover mode via JMX before you drop a node to all backup nodes!

+    Set enable true on all JvmRouteBinderValve backups, disable worker at mod_jk 

+    and then drop node and restart it! Then enable mod_jk Worker and disable JvmRouteBinderValves again. 

+    This use case means that only requested session are migrated.

+</p>

+

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Configuration Example"><!--()--></a><a name="Configuration_Example"><strong>Configuration Example</strong></a></font></td></tr><tr><td><blockquote>

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+        &lt;Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"

+                 channelSendOptions="6"&gt;

+

+          &lt;Manager className="org.apache.catalina.ha.session.BackupManager"

+                   expireSessionsOnShutdown="false"

+                   notifyListenersOnReplication="true"

+                   mapSendOptions="6"/&gt;

+          &lt;!--

+          &lt;Manager className="org.apache.catalina.ha.session.DeltaManager"

+                   expireSessionsOnShutdown="false"

+                   notifyListenersOnReplication="true"/&gt;

+          --&gt;        

+          &lt;Channel className="org.apache.catalina.tribes.group.GroupChannel"&gt;

+            &lt;Membership className="org.apache.catalina.tribes.membership.McastService"

+                        address="228.0.0.4"

+                        port="45564"

+                        frequency="500"

+                        dropTime="3000"/&gt;

+            &lt;Receiver className="org.apache.catalina.tribes.transport.nio.NioReceiver"

+                      address="auto"

+                      port="5000"

+                      selectorTimeout="100"

+                      maxThreads="6"/&gt;

+

+            &lt;Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter"&gt;

+              &lt;Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/&gt;

+            &lt;/Sender&gt;

+            &lt;Interceptor className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/&gt;

+            &lt;Interceptor className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/&gt;

+            &lt;Interceptor className="org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor"/&gt;

+          &lt;/Channel&gt;

+

+          &lt;Valve className="org.apache.catalina.ha.tcp.ReplicationValve"

+                 filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;"/&gt;

+

+          &lt;Deployer className="org.apache.catalina.ha.deploy.FarmWarDeployer"

+                    tempDir="/tmp/war-temp/"

+                    deployDir="/tmp/war-deploy/"

+                    watchDir="/tmp/war-listen/"

+                    watchEnabled="false"/&gt;

+

+          &lt;ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener"/&gt;

+        &lt;/Cluster&gt;

+    </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <p>

+      Break it down!!

+    </p>

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+        &lt;Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"

+                 channelSendOptions="6"&gt;

+    </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <p>

+      The main element, inside this element all cluster details can be configured.

+      The <code>channelSendOptions</code> is the flag that is attached to each message sent by the

+      SimpleTcpCluster class or any objects that are invoking the SimpleTcpCluster.send method.

+      The description of the send flags is available at <a href="http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/tribes/Channel.html">

+      our javadoc site</a>

+      The <code>DeltaManager</code> sends information using the SimpleTcpCluster.send method, while the backup manager

+      sends it itself directly through the channel.

+      <br>For more info, Please visit the <a href="config/cluster.html">reference documentation</a>

+    </p>

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+          &lt;Manager className="org.apache.catalina.ha.session.BackupManager"

+                   expireSessionsOnShutdown="false"

+                   notifyListenersOnReplication="true"

+                   mapSendOptions="6"/&gt;

+          &lt;!--

+          &lt;Manager className="org.apache.catalina.ha.session.DeltaManager"

+                   expireSessionsOnShutdown="false"

+                   notifyListenersOnReplication="true"/&gt;

+          --&gt;        

+    </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <p>

+        This is a template for the manager configuration that will be used if no manager is defined in the &lt;Context&gt;

+        element. In Tomcat 5.x each webapp marked distributable had to use the same manager, this is no longer the case

+        since Tomcat 6 you can define a manager class for each webapp, so that you can mix managers in your cluster.

+        Obviously the managers on one node's application has to correspond with the same manager on the same application on the other node.

+        If no manager has been specified for the webapp, and the webapp is marked &lt;distributable/&gt; Tomcat will take this manager configuration 

+        and create a manager instance cloning this configuration.

+        <br>For more info, Please visit the <a href="config/cluster-manager.html">reference documentation</a>

+    </p>

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+          &lt;Channel className="org.apache.catalina.tribes.group.GroupChannel"&gt;

+    </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <p>

+        The channel element is <a href="tribes/introduction.html">Tribes</a>, the group communication framework

+        used inside Tomcat. This element encapsulates everything that has to do with communication and membership logic.

+        <br>For more info, Please visit the <a href="config/cluster-channel.html">reference documentation</a>

+    </p>

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+            &lt;Membership className="org.apache.catalina.tribes.membership.McastService"

+                        address="228.0.0.4"

+                        port="45564"

+                        frequency="500"

+                        dropTime="3000"/&gt;

+    </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <p>

+        Membership is done using multicasting. Please note that Tribes also supports static memberships using the 

+        <code>StaticMembershipInterceptor</code> if you want to extend your membership to points beyond multicasting.

+        The address attribute is the multicast address used and the port is the multicast port. These two together

+        create the cluster separation. If you want a QA cluster and a production cluster, the easiest config is to

+        have the QA cluster be on a separate multicast address/port combination the the production cluster.<br>

+        The membership component broadcasts TCP adress/port of itselt to the other nodes so that communication between

+        nodes can be done over TCP. Please note that the address being broadcasted is the one of the 

+        <code>Receiver.address</code> attribute.

+        <br>For more info, Please visit the <a href="config/cluster-membership.html">reference documentation</a>

+    </p>

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+            &lt;Receiver className="org.apache.catalina.tribes.transport.nio.NioReceiver"

+                      address="auto"

+                      port="5000"

+                      selectorTimeout="100"

+                      maxThreads="6"/&gt;

+    </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <p>

+        In tribes the logic of sending and receiving data has been broken into two functional components. The Receiver, as the name suggests

+        is responsible for receiving messages. Since the Tribes stack is thread less, (a popular improvement now adopted by other frameworks as well),

+        there is a thread pool in this component that has a maxThreads and minThreads setting.<br>

+        The address attribute is the host address that will be broadcasted by the membership component to the other nodes.

+        <br>For more info, Please visit the <a href="config/cluster-receiver.html">reference documentation</a>

+    </p>

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+

+            &lt;Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter"&gt;

+              &lt;Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/&gt;

+            &lt;/Sender&gt;

+    </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <p>

+        The sender component, as the name indicates is responsible for sending messages to other nodes.

+        The sender has a shell component, the <code>ReplicationTransmitter</code> but the real stuff done is done in the 

+        sub component, <code>Transport</code>.

+        Tribes support having a pool of senders, so that messages can be sent in parallel and if using the NIO sender,

+        you can send messages concurrently as well.<br>

+        Concurrently means one message to multiple senders at the same time and Parallel means multiple messages to multiple senders

+        at the same time.

+        <br>For more info, Please visit the <a href="config/cluster-sender.html">reference documentation</a>

+    </p>

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+            &lt;Interceptor className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/&gt;

+            &lt;Interceptor className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/&gt;

+            &lt;Interceptor className="org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor"/&gt;

+          &lt;/Channel&gt;

+    </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <p>

+        Tribes uses a stack to send messages through. Each element in the stack is called an interceptor, and works much like the valves do 

+        in the Tomcat servlet container.

+        Using interceptors, logic can be broken into more managable pieces of code. The interceptors configured above are:<br>

+        TcpFailureDetector - verifies crashed members through TCP, if multicast packets get dropped, this interceptor protects against false positives,

+        ie the node marked as crashed even though it still is alive and running.<br>

+        MessageDispatch15Interceptor - dispatches messages to a thread (thread pool) to send message asynchrously.<br>

+        ThroughputInterceptor - prints out simple stats on message traffic.<br>

+        Please note that the order of interceptors is important. the way they are defined in server.xml is the way they are represented in the 

+        channel stack. Think of it as a linked list, with the head being the first most interceptor and the tail the last.

+        <br>For more info, Please visit the <a href="config/cluster-interceptor.html">reference documentation</a>

+    </p>

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+          &lt;Valve className="org.apache.catalina.ha.tcp.ReplicationValve"

+                 filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;"/&gt;

+    </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <p>

+        The cluster uses valves to track requests to web applications, we've mentioned the ReplicationValve and the JvmRouteBinderValve above.

+        The &lt;Cluster&gt; element itself is not part of the pipeline in Tomcat, instead the cluster adds the valve to its parent container.

+        If the &lt;Cluster&gt; elements is configured in the &lt;Engine&gt; element, the valves get added to the engine and so on.

+        <br>For more info, Please visit the <a href="config/cluster-valve.html">reference documentation</a>

+    </p>

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+          &lt;Deployer className="org.apache.catalina.ha.deploy.FarmWarDeployer"

+                    tempDir="/tmp/war-temp/"

+                    deployDir="/tmp/war-deploy/"

+                    watchDir="/tmp/war-listen/"

+                    watchEnabled="false"/&gt;

+    </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <p>

+        The default tomcat cluster supports farmed deployment, ie, the cluster can deploy and undeploy applications on the other nodes.

+        The state of this component is currently in flux but will be addressed soon. There was a change in the deployment algorithm 

+        between Tomcat 5.0 and 5.5 and at that point, the logic of this component changed to where the deploy dir has to match the 

+        webapps directory.

+        <br>For more info, Please visit the <a href="config/cluster-deployer.html">reference documentation</a>

+    </p>

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+          &lt;ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener"/&gt;

+        &lt;/Cluster&gt;

+    </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <p>

+        Since the SimpleTcpCluster itself is a sender and receiver of the Channel object, components can register themselves as listeners to 

+        the SimpleTcpCluster. The listener above <code>ClusterSessionListener</code> listens for DeltaManager replication messages

+        and applies the deltas to the manager that in turn applies it to the session.

+        <br>For more info, Please visit the <a href="config/cluster-listener.html">reference documentation</a>

+    </p>

+    

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Cluster Architecture"><!--()--></a><a name="Cluster_Architecture"><strong>Cluster Architecture</strong></a></font></td></tr><tr><td><blockquote>

+

+<p><b>Component Levels:</b>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+         Server

+           |

+         Service

+           |

+         Engine

+           |  \ 

+           |  --- Cluster --*

+           |

+         Host

+           |

+         ------

+        /      \

+     Cluster    Context(1-N)                 

+        |             \

+        |             -- Manager

+        |                   \

+        |                   -- DeltaManager

+        |                   -- BackupManager

+        |

+     ---------------------------

+        |                       \

+      Channel                    \

+    ----------------------------- \

+        |                          \

+     Interceptor_1 ..               \

+        |                            \

+     Interceptor_N                    \

+    -----------------------------      \

+     |          |         |             \

+   Receiver    Sender   Membership       \

+                                         -- Valve

+                                         |      \

+                                         |       -- ReplicationValve

+                                         |       -- JvmRouteBinderValve 

+                                         |

+                                         -- LifecycleListener 

+                                         |

+                                         -- ClusterListener 

+                                         |      \

+                                         |       -- ClusterSessionListener

+                                         |       -- JvmRouteSessionIDBinderListener

+                                         |

+                                         -- Deployer 

+                                                \

+                                                 -- FarmWarDeployer

+      

+      

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="How it Works"><!--()--></a><a name="How_it_Works"><strong>How it Works</strong></a></font></td></tr><tr><td><blockquote>

+<p>To make it easy to understand how clustering works, We are gonna take you through a series of scenarios.

+   In the scenario we only plan to use two tomcat instances <code>TomcatA</code> and <code>TomcatB</code>.

+   We will cover the following sequence of events:</p>

+

+<ol>

+<li><code>TomcatA</code> starts up</li>

+<li><code>TomcatB</code> starts up (Wait that TomcatA start is complete)</li>

+<li><code>TomcatA</code> receives a request, a session <code>S1</code> is created.</li>

+<li><code>TomcatA</code> crashes</li>

+<li><code>TomcatB</code> receives a request for session <code>S1</code></li>

+<li><code>TomcatA</code> starts up</li>

+<li><code>TomcatA</code> receives a request, invalidate is called on the session (<code>S1</code>)</li>

+<li><code>TomcatB</code> receives a request, for a new session (<code>S2</code>)</li>

+<li><code>TomcatA</code> The session <code>S2</code> expires due to inactivity.</li>

+</ol>

+

+<p>Ok, now that we have a good sequence, we will take you through exactly what happens in the session repliction code</p>

+

+<ol>

+<li><b><code>TomcatA</code> starts up</b>

+    <p>

+        Tomcat starts up using the standard start up sequence. When the Host object is created, a cluster object is associated with it.

+        When the contexts are parsed, if the distributable element is in place in web.xml

+        Tomcat asks the Cluster class (in this case <code>SimpleTcpCluster</code>) to create a manager

+        for the replicated context. So with clustering enabled, distributable set in web.xml

+        Tomcat will create a <code>DeltaManager</code> for that context instead of a <code>StandardManager</code>.

+        The cluster class will start up a membership service (multicast) and a replication service (tcp unicast).

+        More on the architecture further down in this document.

+    </p><p></p>

+</li>

+<li><b><code>TomcatB</code> starts up</b>

+    <p>

+        When TomcatB starts up, it follows the same sequence as TomcatA did with one exception.

+        The cluster is started and will establish a membership (TomcatA,TomcatB).

+        TomcatB will now request the session state from a server that already exists in the cluster,

+        in this case TomcatA. TomcatA responds to the request, and before TomcatB starts listening

+        for HTTP requests, the state has been transferred from TomcatA to TomcatB.

+        In case TomcatA doesn't respond, TomcatB will time out after 60 seconds, and issue a log

+        entry. The session state gets transferred for each web application that has distributable in

+        its web.xml. Note: To use session replication efficiently, all your tomcat instances should be

+        configured the same.

+    </p><p></p>

+</li>

+<li><B><code>TomcatA</code> receives a request, a session <code>S1</code> is created.</B>

+    <p>

+        The request coming in to TomcatA is treated exactly the same way as without session replication.

+        The action happens when the request is completed, the <code>ReplicationValve</code> will intercept

+        the request before the response is returned to the user.

+        At this point it finds that the session has been modified, and it uses TCP to replicata the

+        session to TomcatB. Once the serialized data has been handed off to the operating systems TCP logic,

+        the request returns to the user, back through the valve pipeline.

+        For each request the entire session is replicated, this allows code that modifies attributes

+        in the session without calling setAttribute or removeAttribute to be replicated.

+        a useDirtyFlag configuration parameter can be used to optimize the number of times

+        a session is replicated.

+    </p><p></p>

+

+</li>

+<li><b><code>TomcatA</code> crashes</b>

+    <p>

+        When TomcatA crashes, TomcatB receives a notification that TomcatA has dropped out

+        of the cluster. TomcatB removes TomcatA from its membership list, and TomcatA will no longer

+        be notified of any changes that occurs in TomcatB.

+        The load balancer will redirect the requests from TomcatA to TomcatB and all the sessions

+        are current.

+    </p><p></p>

+</li>

+<li><b><code>TomcatB</code> receives a request for session <code>S1</code></b>

+    <p>Nothing exciting, TomcatB will process the request as any other request.

+    </p><p></p>

+</li>

+<li><b><code>TomcatA</code> starts up</b>

+    <p>Upon start up, before TomcatA starts taking new request and making itself

+    available to it will follow the start up sequence described above 1) 2).

+    It will join the cluster, contact TomcatB for the current state of all the sessions.

+    And once it receives the session state, it finishes loading and opens its HTTP/mod_jk ports.

+    So no requests will make it to TomcatA until it has received the session state from TomcatB.

+    </p><p></p>

+</li>

+<li><b><code>TomcatA</code> receives a request, invalidate is called on the session (<code>S1</code>)</b>

+    <p>The invalidate is call is intercepted, and the session is queued with invalidated sessions.

+        When the request is complete, instead of sending out the session that has changed, it sends out

+        an "expire" message to TomcatB and TomcatB will invalidate the session as well.

+    </p><p></p>

+

+</li>

+<li><b><code>TomcatB</code> receives a request, for a new session (<code>S2</code>)</b>

+    <p>Same scenario as in step 3)

+    </p><p></p>

+

+

+</li>

+<li><code>TomcatA</code> The session <code>S2</code> expires due to inactivity.

+    <p>The invalidate is call is intercepted the same was as when a session is invalidated by the user,

+       and the session is queued with invalidated sessions.

+       At this point, the invalidet session will not be replicated across until

+       another request comes through the system and checks the invalid queue.

+    </p><p></p>

+</li>

+</ol>

+

+<p>Phuuuhh! :)</p>

+

+<p><b>Membership</b>

+    Clustering membership is established using very simple multicast pings.

+    Each Tomcat instance will periodically send out a multicast ping,

+    in the ping message the instance will broad cast its IP and TCP listen port

+    for replication.

+    If an instance has not received such a ping within a given timeframe, the

+    member is considered dead. Very simple, and very effective!

+    Of course, you need to enable multicasting on your system.

+</p>

+

+<p><b>TCP Replication</b>

+    Once a multicast ping has been received, the member is added to the cluster

+    Upon the next replication request, the sending instance will use the host and

+    port info and establish a TCP socket. Using this socket it sends over the serialized data.

+    The reason I choose TCP sockets is because it has built in flow control and guaranteed delivery.

+    So I know, when I send some data, it will make it there :)

+</p>

+

+<p><b>Distributed locking and pages using frames</b>

+    Tomcat does not keep session instances in sync across the cluster.

+    The implementation of such logic would be to much overhead and cause all

+    kinds of problems. If your client accesses the same session

+    simultanously using multiple requests, then the last request

+    will override the other sessions in the cluster.

+</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="FAQ"><strong>FAQ</strong></a></font></td></tr><tr><td><blockquote>

+<p>Please see <a href="http://wiki.apache.org/tomcat/FAQ/Clustering">the clustering section of the FAQ</a>.</p>

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/ajp.html b/tomcat-uid/webapps/docs/config/ajp.html
new file mode 100644
index 0000000..830e271
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/ajp.html
@@ -0,0 +1,281 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The AJP Connector</title><meta name="author" content="Remy Maucherat"><meta name="author" content="Yoav Shapira"><meta name="author" content="Andrew R. Jaquith"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The AJP Connector</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li><li><a href="#Standard_Implementations">Standard Implementations</a></li></ol></li><li><a href="#Nested_Components">Nested Components</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>The <strong>AJP Connector</strong> element represents a

+  <strong>Connector</strong> component that communicates with a web

+  connector via the <code>AJP</code> protocol.  This is used for cases

+  where you wish to invisibly integrate Tomcat 6 into an existing (or new)

+  Apache installation, and you want Apache to handle the static content

+  contained in the web application, and/or utilize Apache's SSL

+  processing.</p>

+

+  <p>This connector supports load balancing when used in conjunction with

+  the <code>jvmRoute</code> attribute of the 

+  <a href="engine.html">Engine</a>.</p>

+

+<p>The native connectors supported with this Tomcat release are:

+<ul>

+  <li>JK 1.2.x with any of the supported servers</li>

+  <li>mod_proxy on Apache httpd 2.x (included by default in Apache HTTP Server 2.2), 

+      with AJP enabled: see

+      <a href="http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html">the httpd docs</a>

+      for details.</li>

+</ul>

+</p>

+

+<p><b>Other native connectors supporting AJP may work, but are no longer supported.</b></p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>All implementations of <strong>Connector</strong>

+  support the following attributes:</p>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>allowTrace</code></td><td align="left" valign="center">

+      <p>A boolean value which can be used to enable or disable the TRACE

+      HTTP method. If not specified, this attribute is set to false.</p>

+    </td></tr><tr><td align="left" valign="center"><code>emptySessionPath</code></td><td align="left" valign="center">

+      <p>If set to <code>true</code>, all paths for session cookies will be set

+      to <code>/</code>. This can be useful for portlet specification implementations.

+      If not specified, this attribute is set to <code>false</code>.</p>

+    </td></tr><tr><td align="left" valign="center"><code>enableLookups</code></td><td align="left" valign="center">

+      <p>Set to <code>true</code> if you want calls to

+      <code>request.getRemoteHost()</code> to perform DNS lookups in

+      order to return the actual host name of the remote client.  Set

+      to <code>false</code> to skip the DNS lookup and return the IP

+      address in String form instead (thereby improving performance).

+      By default, DNS lookups are disabled.</p>

+    </td></tr><tr><td align="left" valign="center"><code>maxHeaderCount</code></td><td align="left" valign="center">

+      <p>The maximum number of headers in a request that are allowed by the

+      container. A request that contains more headers than the specified limit

+      will be rejected. A value of less than 0 means no limit.

+      If not specified, a default of 100 is used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>maxParameterCount</code></td><td align="left" valign="center">

+      <p>The maximum number of parameters (GET plus POST) which will be

+      automatically parsed by the container. A value of less than 0 means no

+      limit. If not specified, a default of 10000 is used. Note that

+      <code>FailedRequestFilter</code> <a href="filter.html">filter</a> can be

+      used to reject requests that hit the limit.</p>

+    </td></tr><tr><td align="left" valign="center"><code>maxPostSize</code></td><td align="left" valign="center">

+      <p>The maximum size in bytes of the POST which will be handled by

+      the container FORM URL parameter parsing. The feature can be disabled by

+      setting this attribute to a value less than or equal to 0.

+      If not specified, this attribute is set to 2097152 (2 megabytes).</p>

+    </td></tr><tr><td align="left" valign="center"><code>maxSavePostSize</code></td><td align="left" valign="center">

+      <p>The maximum size in bytes of the POST which will be saved/buffered by

+      the container during FORM or CLIENT-CERT authentication. For both types

+      of authentication, the POST will be saved/buffered before the user is

+      authenticated. For CLIENT-CERT authentication, the POST is buffered for

+      the duration of the SSL handshake and the buffer emptied when the request

+      is processed. For FORM authentication the POST is saved whilst the user

+      is re-directed to the login form and is retained until the user

+      successfully authenticates or the session associated with the

+      authentication request expires. The limit can be disabled by setting this

+      attribute to -1. Setting the attribute to zero will disable the saving of

+      POST data during authentication. If not specified, this attribute is set

+      to 4096 (4 kilobytes).</p>

+    </td></tr><tr><td align="left" valign="center"><code>parseBodyMethods</code></td><td align="left" valign="center">

+      <p>A comma-separated list of HTTP methods for which request

+      bodies will be parsed for request parameters identically

+      to POST. This is useful in RESTful applications that want to

+      support POST-style semantics for PUT requests.

+      Note that any setting other than <code>POST</code> causes Tomcat

+      to behave in a way that does against the intent of the servlet

+      specification.

+      The HTTP method TRACE is specifically forbidden here in accordance

+      with the HTTP specification.

+      The default is <code>POST</code></p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>port</code></strong></td><td align="left" valign="center">

+      <p>The TCP port number on which this <strong>Connector</strong>

+      will create a server socket and await incoming connections.  Your

+      operating system will allow only one server application to listen

+      to a particular port number on a particular IP address.</p>

+    </td></tr><tr><td align="left" valign="center"><code>protocol</code></td><td align="left" valign="center">

+      <p>Sets the protocol to handle incoming traffic. The default value is

+        <code>AJP/1.3</code> and configures

+        <code>org.apache.jk.server.JkCoyoteHandler</code> the original blocking

+        Java connector by default.<br>

+        If the <code>PATH</code> (Windows) or <code>LD_LIBRARY_PATH</code>

+        (on most unix systems) environment variables contain the Tomcat

+        native library, the native/APR connector will automatically be

+        configured instead.<br>

+        To use an explicit protocol rather than rely on the auto-switching

+        mechanism described above, the following values may be used:<br>

+        <code>org.apache.jk.server.JkCoyoteHandler</code>

+        - original blocking Java connector<br>

+        <code>org.apache.coyote.ajp.AjpProtocol</code>

+        - new blocking Java connector that supports an executor<br>

+        <code>org.apache.coyote.ajp.AjpAprProtocol</code>

+        - the APR/native connector.<br>

+      Custom implementations may also be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>proxyName</code></td><td align="left" valign="center">

+      <p>If this <strong>Connector</strong> is being used in a proxy

+      configuration, configure this attribute to specify the server name

+      to be returned for calls to <code>request.getServerName()</code>.

+      See <a href="#Proxy Support">Proxy Support</a> for more

+      information.</p>

+    </td></tr><tr><td align="left" valign="center"><code>proxyPort</code></td><td align="left" valign="center">

+      <p>If this <strong>Connector</strong> is being used in a proxy

+      configuration, configure this attribute to specify the server port

+      to be returned for calls to <code>request.getServerPort()</code>.

+      See <a href="#Proxy Support">Proxy Support</a> for more

+      information.</p>

+    </td></tr><tr><td align="left" valign="center"><code>redirectPort</code></td><td align="left" valign="center">

+      <p>If this <strong>Connector</strong> is supporting non-SSL

+      requests, and a request is received for which a matching

+      <code>&lt;security-constraint&gt;</code> requires SSL transport,

+      Catalina will automatically redirect the request to the port

+      number specified here.</p>

+    </td></tr><tr><td align="left" valign="center"><code>request.registerRequests</code></td><td align="left" valign="center">

+      <p>This attribute controls request registration for JMX monitoring

+      of the Connector.  It is enabled by default, but may be turned

+      it off to save a bit of memory.</p>

+    </td></tr><tr><td align="left" valign="center"><code>scheme</code></td><td align="left" valign="center">

+      <p>Set this attribute to the name of the protocol you wish to have

+      returned by calls to <code>request.getScheme()</code>.  For

+      example, you would set this attribute to "<code>https</code>"

+      for an SSL Connector.  The default value is "<code>http</code>".

+      See <a href="#SSL Support">SSL Support</a> for more information.</p>

+    </td></tr><tr><td align="left" valign="center"><code>secure</code></td><td align="left" valign="center">

+      <p>Set this attribute to <code>true</code> if you wish to have

+      calls to <code>request.isSecure()</code> to return <code>true</code>

+      for requests received by this Connector (you would want this on an

+      SSL Connector).  The default value is <code>false</code>.</p>

+    </td></tr><tr><td align="left" valign="center"><code>URIEncoding</code></td><td align="left" valign="center">

+      <p>This specifies the character encoding used to decode the URI bytes,

+      after %xx decoding the URL. If not specified, ISO-8859-1 will be used.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>useBodyEncodingForURI</code></td><td align="left" valign="center">

+      <p>This specifies if the encoding specified in contentType should be used

+      for URI query parameters, instead of using the URIEncoding. This

+      setting is present for compatibility with Tomcat 4.1.x, where the

+      encoding specified in the contentType, or explicitly set using

+      Request.setCharacterEncoding method was also used for the parameters from

+      the URL. The default value is <code>false</code>.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>useIPVHosts</code></td><td align="left" valign="center">

+      <p>Set this attribute to <code>true</code> to cause Tomcat to use

+      the ServerName passed by the native web server to determine the Host

+      to send the request to.  The default value is <code>false</code>.</p>

+    </td></tr><tr><td align="left" valign="center"><code>xpoweredBy</code></td><td align="left" valign="center">

+      <p>Set this attribute to <code>true</code> to cause Tomcat to advertise

+      support for the Servlet specification using the header recommended in the

+      specification.  The default value is <code>false</code>.</p>

+    </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Standard Implementations"><!--()--></a><a name="Standard_Implementations"><strong>Standard Implementations</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>To use AJP, you

+  must specify the protocol attribute (see above).</p>

+

+  <p><strong>These implementations support the AJP 1.3 protocol.</strong></p>

+

+  <p>They support the following additional attributes (in addition to the

+  common attributes listed above):</p>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>address</code></td><td align="left" valign="center">

+      <p>For servers with more than one IP address, this attribute

+      specifies which address will be used for listening on the specified

+      port.  By default, this port will be used on all IP addresses

+      associated with the server. A value of <code>127.0.0.1</code>

+      indicates that the Connector will only listen on the loopback

+      interface.</p>

+    </td></tr><tr><td align="left" valign="center"><code>backlog</code></td><td align="left" valign="center">

+      <p>The maximum queue length for incoming connection requests when

+      all possible request processing threads are in use.  Any requests

+      received when the queue is full will be refused.  The default

+      value is 100.</p>

+    </td></tr><tr><td align="left" valign="center"><code>bufferSize</code></td><td align="left" valign="center">

+      <p>The size of the output buffer to use.  If less than or equal to zero,

+         then output buffering is disabled.  The default value is -1

+         (i.e. buffering disabled)</p>

+    </td></tr><tr><td align="left" valign="center"><code>clientCertProvider</code></td><td align="left" valign="center">

+      <p>When client certificate information is presented in a form other than

+      instances of <code>java.security.cert.X509Certificate</code> it needs to

+      be converted before it can be used and this property controls which JSSE

+      provider is used to perform the conversion. For example it is used with

+      the AJP connectors, the <a href="http.html">HTTP APR connector</a> and

+      with the <a href="valve.html#SSL_Authenticator_Valve">

+      org.apache.catalina.valves.SSLValve</a>.If not specified, the default

+      provider will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>connectionTimeout</code></td><td align="left" valign="center">

+      <p>The number of milliseconds this <strong>Connector</strong> will wait,

+      after accepting a connection, for the request URI line to be

+      presented.  The default value is infinite (i.e. no timeout).</p>

+    </td></tr><tr><td align="left" valign="center"><code>deferAccept</code></td><td align="left" valign="center">

+      <p>Sets the <code>TCP_DEFER_ACCEPT</code> flag on the listening socket for

+      this connector. The default value is <code>true</code> where

+      <code>TCP_DEFER_ACCEPT</code> is supported by the operating system,

+      otherwise it is <code>false</code>.</p>

+    </td></tr><tr><td align="left" valign="center"><code>executor</code></td><td align="left" valign="center">

+      <p>A reference to the name in an <a href="executor.html">Executor</a> element.

+         If this attribute is enabled, and the named executor exists, the connector will

+         use the executor, and all the other thread attributes will be ignored.

+         This attribute is not supported by the original blocking Java

+         connector.</p>

+    </td></tr><tr><td align="left" valign="center"><code>keepAliveTimeout</code></td><td align="left" valign="center">

+      <p>The number of milliseconds this <strong>Connector</strong> will wait for

+       another AJP request before closing the connection.

+       The default value is to use the value that has been set for the

+       connectionTimeout attribute.</p>

+    </td></tr><tr><td align="left" valign="center"><code>maxThreads</code></td><td align="left" valign="center">

+      <p>The maximum number of request processing threads to be created

+      by this <strong>Connector</strong>, which therefore determines the

+      maximum number of simultaneous requests that can be handled.  If

+      not specified, this attribute is set to 200. If an executor is associated

+      with this connector, this attribute is ignored as the connector will 

+      execute tasks using the executor rather than an internal thread pool.</p>

+    </td></tr><tr><td align="left" valign="center"><code>packetSize</code></td><td align="left" valign="center">

+      <p>This attribute sets the maximum AJP packet size in Bytes. The maximum

+      value is 65536. It should be the same as the <code>max_packet_size</code>

+      directive configured for mod_jk. Normally it is not necessary to change

+      the maximum packet size. Problems with the default value have been

+      reported when sending certificates or certificate chains. The default

+      value is 8192.</p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>port</code></strong></td><td align="left" valign="center">

+      <p>The TCP port number on which this <strong>Connector</strong>

+      will create a server socket and await incoming connections.  Your

+      operating system will allow only one server application to listen

+      to a particular port number on a particular IP address.</p>

+    </td></tr><tr><td align="left" valign="center"><code>request.secret</code></td><td align="left" valign="center">

+      <p>Only requests from workers with this secret keyword will be accepted.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>request.shutdownEnabled</code></td><td align="left" valign="center">

+      <p>If true and a secret has been configured, a correctly formatted AJP

+      request (that includes the secret) will shutdown the Tomcat instance

+      associated with this connector. This is set to <code>false</code> by

+      default.</p>

+    </td></tr><tr><td align="left" valign="center"><code>request.useSecret</code></td><td align="left" valign="center">

+      <p>If set to <code>true</code>, then a random value for

+      <code>request.secret</code> will be generated. It is for use with

+      <code>request.shutdownEnabled</code>. This is set to <code>false</code>

+      by default.</p>

+    </td></tr><tr><td align="left" valign="center"><code>tcpNoDelay</code></td><td align="left" valign="center">

+      <p>If set to <code>true</code>, the TCP_NO_DELAY option will be

+      set on the server socket, which improves performance under most

+      circumstances.  This is set to <code>true</code> by default.</p>

+    </td></tr><tr><td align="left" valign="center"><code>tomcatAuthentication</code></td><td align="left" valign="center">

+      <p>If set to <code>true</code>, the authentication will be done in Tomcat. 

+      Otherwise, the authenticated principal will be propagated from the native

+      webserver and used for authorization in Tomcat.  

+      The default value is <code>true</code>.</p>

+    </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nested Components"><!--()--></a><a name="Nested_Components"><strong>Nested Components</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>None at this time.</p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/cluster-channel.html b/tomcat-uid/webapps/docs/config/cluster-channel.html
new file mode 100644
index 0000000..a400877
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/cluster-channel.html
@@ -0,0 +1,65 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Cluster Channel object</title><meta name="author" content="Filip Hanik"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Cluster Channel object</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Nested_Components">Nested Components</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+  The cluster channel is the main component of a small framework we've nicknamed Apache Tribes.<br>

+  The channel manages a set of sub components and together they create a group communication framework.<br>

+  This framework is then used internally by the components that need to send messages between different Tomcat instances.

+  <br>

+  A few examples of these components would be the SimpleTcpCluster that does the messaging for the DeltaManager,

+  or the BackupManager that uses a different replication strategy. The ReplicatedContext object does also 

+  use the channel object to communicate context attribute changes.

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nested Components"><!--()--></a><a name="Nested_Components"><strong>Nested Components</strong></a></font></td></tr><tr><td><blockquote>

+  <p><b><a href="cluster-membership.html">Channel/Membership</a>:</b> <br>

+    The Membership component is responsible for auto discovering new nodes in the cluster

+    and also to provide for notifications for any nodes that have not responded with a heartbeat.

+    The default implementation uses multicast.<br>

+    In the membership component you configure how your nodes, aka. members, are to be discovered and/or 

+    divided up. 

+    You can always find out more about <a href="../tribes/introduction.html">Apache Tribes</a>

+  </p>

+  <p><b><a href="cluster-sender.html">Channel/Sender</a>:</b> <br>

+    The Sender component manages all outbound connections and data messages that are sent 

+    over the network from one node to another.

+    This component allows messages to be sent in parallel.

+    The default implementation uses TCP client sockets, and socket tuning for outgoing messages are

+    configured here.<br>

+    You can always find out more about <a href="../tribes/introduction.html">Apache Tribes</a>

+  </p>

+  <p><b><a href="cluster-sender.html#transport">Channel/Sender/Transport</a>:</b> <br>

+    The Transport component is the bottom IO layer for the sender component.

+    The default implementation uses non-blocking TCP client sockets.<br>

+    You can always find out more about <a href="../tribes/introduction.html">Apache Tribes</a>

+  </p>

+  <p><b><a href="cluster-receiver.html">Channel/Receiver</a>:</b> <br>

+    The receiver component listens for messages from other nodes.

+    Here you will configure the cluster thread pool, as it will dispatch incoming

+    messages to a thread pool for faster processing.

+    The default implementation uses non-blocking TCP server sockets.<br>

+    You can always find out more about <a href="../tribes/introduction.html">Apache Tribes</a>

+  </p>

+  <p><b><a href="cluster-interceptor.html">Channel/Interceptor</a>:</b> <br>

+    The channel will send messages through an interceptor stack. Because of this, you have the ability to 

+    customize the way messages are sent and received, and even how membership is handled.<br>

+    You can always find out more about <a href="../tribes/introduction.html">Apache Tribes</a>

+  </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+       The default value here is <code>org.apache.catalina.tribes.group.GroupChannel</code> and is

+       currently the only implementation available.

+    </td></tr></table>

+

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/cluster-deployer.html b/tomcat-uid/webapps/docs/config/cluster-deployer.html
new file mode 100644
index 0000000..0455b43
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/cluster-deployer.html
@@ -0,0 +1,26 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Cluster Deployer object</title><meta name="author" content="Filip Hanik"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Cluster Deployer object</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+  <p>TODO - Complete documentation</p>

+  

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+

+    </td></tr></table>

+

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/cluster-interceptor.html b/tomcat-uid/webapps/docs/config/cluster-interceptor.html
new file mode 100644
index 0000000..17d5f98
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/cluster-interceptor.html
@@ -0,0 +1,166 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Channel Interceptor object</title><meta name="author" content="Filip Hanik"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Channel Interceptor object</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Available_Interceptors">Available Interceptors</a></li><li><a href="#Static_Membership">Static Membership</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li><li><a href="#org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor_Attributes">org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor Attributes</a></li><li><a href="#org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor_Attributes">org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor Attributes</a></li><li><a href="#org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor_Attributes">org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor Attributes</a></li><li><a href="#org.apache.catalina.tribes.group.interceptors.TcpFailureDetector_Attributes">org.apache.catalina.tribes.group.interceptors.TcpFailureDetector Attributes</a></li><li><a href="#org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor_Attributes">org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor Attributes</a></li><li><a href="#org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor_Attributes">org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor Attributes</a></li><li><a href="#Nested_element_StaticMember_Attributes">Nested element StaticMember Attributes</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+  Apache Tribes supports an interceptor architecture to intercept both messages and membership notifications.

+  This architecture allows decoupling of logic and opens the way for some very kewl feature add ons.

+  </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Available Interceptors"><!--()--></a><a name="Available_Interceptors"><strong>Available Interceptors</strong></a></font></td></tr><tr><td><blockquote>

+ <p>

+   <ul>

+    <li><code>org.apache.catalina.tribes.group.interceptors.TcpFailureDetector</code></li>

+    <li><code>org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor</code></li>

+    <li><code>org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor</code></li>

+    <li><code>org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor</code></li>

+    <li><code>org.apache.catalina.tribes.group.interceptors.NonBlockingCoordinator</code></li>

+    <li><code>org.apache.catalina.tribes.group.interceptors.OrderInterceptor</code></li>

+    <li><code>org.apache.catalina.tribes.group.interceptors.SimpleCoordinator</code></li>

+    <li><code>org.apache.catalina.tribes.group.interceptors.StaticMembershipInterceptor</code></li>

+    <li><code>org.apache.catalina.tribes.group.interceptors.TwoPhaseCommitInterceptor</code></li>

+    <li><code>org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor</code></li>

+    <li><code>org.apache.catalina.tribes.group.interceptors.FragmentationInterceptor</code></li>

+    <li><code>org.apache.catalina.tribes.group.interceptors.GzipInterceptor</code></li>

+    <li><code>org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor</code></li>

+   </ul>

+ </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Static Membership"><!--()--></a><a name="Static_Membership"><strong>Static Membership</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+   In addition to dynamic discovery, Apache Tribes also supports static membership, with membership verification.

+   To achieve this add the <code>org.apache.catalina.tribes.group.interceptors.StaticMembershipInterceptor</code>

+   underneath the <code>org.apache.catalina.tribes.group.interceptors.TcpFailureDetector</code> interceptor.

+   Inside the <code>StaticMembershipInterceptor</code> you can add the static members you wish to have.

+   The <code>TcpFailureDetector</code> will do a health check on the static members,and also monitor them for crashes

+   so they will have the same level of notification mechanism as the members that are automatically discovered.

+   <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+     &lt;Interceptor className="org.apache.catalina.tribes.group.interceptors.StaticMembershipInterceptor"&gt;

+       &lt;Member className="org.apache.catalina.tribes.membership.StaticMember"

+                  port="5678"

+                  securePort="-1"

+                  host="tomcat01.mydomain.com"

+                  domain="staging-cluster"

+                  uniqueId="{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}"/&gt;

+     &lt;/Interceptor&gt;

+   

+   </pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+  </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+   <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+       Required, as there is no default 

+     </td></tr><tr><td align="left" valign="center"><code>optionFlag</code></td><td align="left" valign="center">

+       If you want the interceptor to trigger on certain message depending on the message's option flag,

+       you can setup the interceptors flag here.

+       The default value is <code>0</code>, meaning this interceptor will trigger on all messages.

+     </td></tr></table>

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor Attributes"><!--()--></a><a name="org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor_Attributes"><strong>org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor Attributes</strong></a></font></td></tr><tr><td><blockquote>

+   <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>domain</code></strong></td><td align="left" valign="center">

+       The logical cluster domain that this Interceptor accepts.

+       Two different type of values are possible:<br>

+       1. Regular string values like "staging-domain" or "tomcat-cluster" will be converted into bytes 

+       using ISO-8859-1 encoding.<br>

+       2. byte array in string form, for example {216,123,12,3}<br>

+     </td></tr></table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor Attributes"><!--()--></a><a name="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor_Attributes"><strong>org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor Attributes</strong></a></font></td></tr><tr><td><blockquote>

+   <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+       Required, This dispatcher uses JDK 1.5 java.util.concurrent package 

+     </td></tr><tr><td align="left" valign="center"><code>optionFlag</code></td><td align="left" valign="center">

+       The default and hard coded value is <code>8 (org.apache.catalina.tribes.Channel.SEND_OPTIONS_ASYNCHRONOUS)</code>.

+       The dispatcher will trigger on this value only, as it is predefined by Tribes.

+       The other attributes are inherited from its base class <code>org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor</code>.

+     </td></tr><tr><td align="left" valign="center"><code>maxThreads</code></td><td align="left" valign="center">

+       The maximum number of threads in this pool, default is 10.

+     </td></tr><tr><td align="left" valign="center"><code>maxSpareThreads</code></td><td align="left" valign="center">

+       The number of threads to keep in the pool, default is 2.

+     </td></tr><tr><td align="left" valign="center"><code>keepAliveTime</code></td><td align="left" valign="center">

+       Maximum number of milliseconds of until Idle thread terminates. Default value is 5000(5 seconds).

+     </td></tr></table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor Attributes"><!--()--></a><a name="org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor_Attributes"><strong>org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor Attributes</strong></a></font></td></tr><tr><td><blockquote>

+   <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+       Required, Same implementation as <code>MessageDispatch15Interceptor</code>, but with JDK 1.4 compliance.

+     </td></tr><tr><td align="left" valign="center"><code>optionFlag</code></td><td align="left" valign="center">

+       The default and hard coded value is <code>8 (org.apache.catalina.tribes.Channel.SEND_OPTIONS_ASYNCHRONOUS)</code>.

+       The dispatcher will trigger on this value only, as it is predefined by Tribes.

+     </td></tr><tr><td align="left" valign="center"><code>alwaysSend</code></td><td align="left" valign="center">

+       What behavior should be executed when the dispatch queue is full. If <code>true</code> (default), then the message is

+       is sent synchronously, if <code>false</code> an error is thrown.   

+     </td></tr><tr><td align="left" valign="center"><code>maxQueueSize</code></td><td align="left" valign="center">

+       Size in bytes of the dispatch queue, the default value is <code> 1024*1024*64 (64MB)</code> sets the maximum queue size for the dispatch queue

+       if the queue fills up, one can trigger the behavior, if <code>alwaysSend</code> is set to true, the message will be sent synchronously

+       if the flag is false, an error is thrown  

+     </td></tr></table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector Attributes"><!--()--></a><a name="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector_Attributes"><strong>org.apache.catalina.tribes.group.interceptors.TcpFailureDetector Attributes</strong></a></font></td></tr><tr><td><blockquote>

+   <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>connectTimeout</code></td><td align="left" valign="center">

+       Specifies the timeout, in milliseconds, to use when attempting a TCP connection

+       to the suspect node. Default is 1000.

+     </td></tr><tr><td align="left" valign="center"><code>performSendTest</code></td><td align="left" valign="center">

+       If true is set, send a test message to the suspect node. Default is true.

+     </td></tr><tr><td align="left" valign="center"><code>performReadTest</code></td><td align="left" valign="center">

+       If true is set, read the response of the test message that sent. Default is false.

+       <strong>Note: </strong>if <code>performSendTest</code> is false, this attribute will have no effect.

+     </td></tr><tr><td align="left" valign="center"><code>readTestTimeout</code></td><td align="left" valign="center">

+       Specifies the timeout, in milliseconds, to use when performing a read test

+       to the suspicious node. Default is 5000.

+     </td></tr></table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor Attributes"><!--()--></a><a name="org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor_Attributes"><strong>org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor Attributes</strong></a></font></td></tr><tr><td><blockquote>

+   <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>interval</code></td><td align="left" valign="center">

+       If useThread == true, defines the interval of sending a ping message.

+       default is 1000 ms.

+     </td></tr><tr><td align="left" valign="center"><code>useThread</code></td><td align="left" valign="center">

+       Flag of whether to start a thread for sending a ping message.

+       If set to true, this interceptor will start a local thread for sending a ping message.

+       if set to false, channel heartbeat will send a ping message.

+       default is false.

+     </td></tr></table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor Attributes"><!--()--></a><a name="org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor_Attributes"><strong>org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor Attributes</strong></a></font></td></tr><tr><td><blockquote>

+   <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>interval</code></td><td align="left" valign="center">

+       Defines the interval in number of messages when we are to report the throughput statistics.

+       The report is logged to the <code>org.apache.juli.logging.LogFactory.getLog(ThroughputInterceptor.class)</code>

+       logger under the <code>INFO</code> level.

+       Default value is to report every <code>10000</code> messages.

+     </td></tr></table>

+  </blockquote></td></tr></table>

+  

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nested element StaticMember Attributes"><!--()--></a><a name="Nested_element_StaticMember_Attributes"><strong>Nested element StaticMember Attributes</strong></a></font></td></tr><tr><td><blockquote>

+   <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+       Only one implementation available:<code>org.apache.catalina.tribes.membership.StaticMember</code>

+     </td></tr><tr><td align="left" valign="center"><strong><code>port</code></strong></td><td align="left" valign="center">

+       The port that this static member listens to for cluster messages

+     </td></tr><tr><td align="left" valign="center"><code>securePort</code></td><td align="left" valign="center">

+       The secure port this static member listens to for encrypted cluster messages

+       default value is <code>-1</code>, this value means the member is not listening on a secure port

+     </td></tr><tr><td align="left" valign="center"><strong><code>host</code></strong></td><td align="left" valign="center">

+       The host (or network interface) that this static member listens for cluster messages.

+       Three different type of values are possible:<br>

+       1. IP address in the form of "216.123.1.23"<br>

+       2. Hostnames like "tomcat01.mydomain.com" or "tomcat01" as long as they resolve correctly<br>

+       3. byte array in string form, for example {216,123,12,3}<br>

+     </td></tr><tr><td align="left" valign="center"><strong><code>domain</code></strong></td><td align="left" valign="center">

+       The logical cluster domain for this this static member listens for cluster messages.

+       Two different type of values are possible:<br>

+       1. Regular string values like "staging-domain" or "tomcat-cluster" will be converted into bytes 

+       using ISO-8859-1 encoding.

+       2. byte array in string form, for example {216,123,12,3}<br>

+     </td></tr><tr><td align="left" valign="center"><strong><code>uniqueId</code></strong></td><td align="left" valign="center">

+       A universally uniqueId for this static member.

+       The values must be 16 bytes in the following form:<br>

+       1. byte array in string form, for example {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}<br>

+     </td></tr></table>

+  </blockquote></td></tr></table>

+  

+  

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/cluster-listener.html b/tomcat-uid/webapps/docs/config/cluster-listener.html
new file mode 100644
index 0000000..05d651a
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/cluster-listener.html
@@ -0,0 +1,40 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The ClusterListener object</title><meta name="author" content="Filip Hanik"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The ClusterListener object</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#org.apache.catalina.ha.session.ClusterSessionListener">org.apache.catalina.ha.session.ClusterSessionListener</a></li><li><a href="#org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener">org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+    The <code>org.apache.catalina.ha.ClusterListener</code> base class 

+    lets you listen in on messages that are received by the <code>Cluster</code> component.

+  </p>  

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="org.apache.catalina.ha.session.ClusterSessionListener"><strong>org.apache.catalina.ha.session.ClusterSessionListener</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+   When using the DeltaManager, the messages are received by the Cluster object and are propagated to the 

+   to the manager through this listener.

+   </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"><strong>org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+   Listens for session Id changes. This listener is only used if you are using mod_jk

+   along with the <code>jvmRoute</code> attribute where the session Id can change.

+   In the event of a change, the <code>JvmRouteBinderValve</code> will broadcast the

+   session change and it will get picked up by this listener.

+   </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+

+    </td></tr></table>

+

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/cluster-manager.html b/tomcat-uid/webapps/docs/config/cluster-manager.html
new file mode 100644
index 0000000..b24f122
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/cluster-manager.html
@@ -0,0 +1,112 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The ClusterManager object</title><meta name="author" content="Filip Hanik"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The ClusterManager object</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#The_<Manager>">The &lt;Manager&gt;</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li><li><a href="#org.apache.catalina.ha.session.DeltaManager_Attributes">org.apache.catalina.ha.session.DeltaManager Attributes</a></li><li><a href="#org.apache.catalina.ha.session.BackupManager_Attributes">org.apache.catalina.ha.session.BackupManager Attributes</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+  <p>A cluster manager is an extension to Tomcat's session manager interface, 

+  <code>org.apache.catalina.Manager</code>.

+  A cluster manager must implement the

+  <code>org.apache.catalina.ha.ClusterManager</code> and is solely  responsible

+  for how the session is replicated.<br>

+  There are currently two different managers, the

+  <code>org.apache.catalina.ha.session.DeltaManager</code> replicates deltas of

+  session data to all members in the cluster. This implementation is proven and

+  works very well, but has a limitation as it requires the cluster members to be

+  homogeneous, all nodes must deploy the same applications and be exact

+  replicas. The <code>org.apache.catalina.ha.session.BackupManager</code> also

+  replicates deltas but only to one backup node. The location of the backup node

+  is known to all nodes in the cluster. It also supports heterogeneous

+  deployments, so the manager knows at what locations the web application is

+  deployed.</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="The <Manager>"><!--()--></a><a name="The_<Manager>"><strong>The &lt;Manager&gt;</strong></a></font></td></tr><tr><td><blockquote>

+  <p>The <code>&lt;Manager&gt;</code> element defined inside the

+  <code>&lt;Cluster&gt;</code> element is the template defined for all web

+  applications that are marked <code>&lt;distributable/&gt;</code> in their

+  <code>web.xml</code> file. However, you can still override the manager

+  implementation on a per web application basis, by putting the

+  <code>&lt;Manager&gt;</code> inside the <code>&lt;Context&gt;</code> element

+  either in the <code><a href="context.html">context.xml</a></code> file or the

+  <code><a href="index.html">server.xml</a></code> file.</p> 

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+      </td></tr><tr><td align="left" valign="center"><code>name</code></td><td align="left" valign="center">

+        <b>The name of this cluster manager, the name is used to identify a

+        session manager on a node. The name might get modified by the

+        <code>Cluster</code> element to make it unique in the container.</b>

+      </td></tr><tr><td align="left" valign="center"><code>defaultMode</code></td><td align="left" valign="center">

+        <b>Deprecated since 6.0.0</b>

+      </td></tr><tr><td align="left" valign="center"><code>notifyListenersOnReplication</code></td><td align="left" valign="center">

+        Set to <code>true</code> if you wish to have session listeners notified

+        when session attributes are being replicated or removed across Tomcat

+        nodes in the cluster.

+      </td></tr><tr><td align="left" valign="center"><code>expireSessionsOnShutdown</code></td><td align="left" valign="center">

+        When a web application is being shutdown, Tomcat issues an expire call

+        to each session to notify all the listeners. If you wish for all

+        sessions to expire on all nodes when a shutdown occurs on one node, set

+        this value to <code>true</code>. Default value is <code>false</code>.

+      </td></tr></table>

+  </blockquote></td></tr></table> 

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="org.apache.catalina.ha.session.DeltaManager Attributes"><!--()--></a><a name="org.apache.catalina.ha.session.DeltaManager_Attributes"><strong>org.apache.catalina.ha.session.DeltaManager Attributes</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>domainReplication</code></td><td align="left" valign="center">

+        <b>Deprecated since 6.0.0</b><br>

+        If you wish sessions to be replicated only to members that have the 

+        same logical domain set, use 

+        <code><a href="cluster-interceptor.html">DomainFilterInterceptor </a></code>.

+      </td></tr><tr><td align="left" valign="center"><code>expireSessionsOnShutdown</code></td><td align="left" valign="center">

+        When a web application is being shutdown, Tomcat issues an expire call

+        to each session to notify all the listeners. If you wish for all

+        sessions to expire on all nodes when a shutdown occurs on one node, set

+        this value to <code>true</code>.

+        Default value is <code>false</code>.

+      </td></tr><tr><td align="left" valign="center"><code>maxActiveSessions</code></td><td align="left" valign="center">

+        The maximum number of active sessions that will be created by this

+        Manager, or -1 (the default) for no limit. For this manager, all

+        sessions are counted as active sessions irrespective if whether or not

+        the current node is the primary node for the session.

+      </td></tr><tr><td align="left" valign="center"><code>notifySessionListenersOnReplication</code></td><td align="left" valign="center">

+        Set to <code>true</code> if you wish to have session listeners notified

+        when sessions are created and expired across Tomcat nodes in the

+        cluster.

+      </td></tr><tr><td align="left" valign="center"><code>notifyContainerListenersOnReplication</code></td><td align="left" valign="center">

+        Set to <code>true</code> if you wish to have container listeners notified

+        across Tomcat nodes in the cluster.

+      </td></tr><tr><td align="left" valign="center"><code>stateTransferTimeout</code></td><td align="left" valign="center">

+        The time in seconds to wait for a session state transfer to complete

+        from another node when a node is starting up.

+        Default value is <code>60</code> seconds.

+      </td></tr><tr><td align="left" valign="center"><code>sessionAttributeFilter</code></td><td align="left" valign="center">

+        A regular expression used to filter, which session attributes will

+        be replicated. An attribute will only be replicated, if its name

+        matches this pattern. If the pattern is not set (default), all

+        attributes are eligible for replication. As an example, the value

+        <code>^(userName|sessionHistory)$</code> will only replicate the two

+        session attributes named <code>userName</code> and

+        <code>sessionHistory</code>.

+      </td></tr></table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="org.apache.catalina.ha.session.BackupManager Attributes"><!--()--></a><a name="org.apache.catalina.ha.session.BackupManager_Attributes"><strong>org.apache.catalina.ha.session.BackupManager Attributes</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>mapSendOptions</code></td><td align="left" valign="center">

+        The backup manager uses a replicated map, this map is sending and

+        receiving messages. You can setup the flag for how this map is sending

+        messages, the default value is <code>6</code>(synchronous).<br>

+        Note that if you use asynchronous messaging it is possible for update

+        messages for a session to be processed by the receiving node in a

+        different order to the order in which they were sent.

+      </td></tr><tr><td align="left" valign="center"><code>maxActiveSessions</code></td><td align="left" valign="center">

+        The maximum number of active sessions that will be created by this

+        Manager, or -1 (the default) for no limit. For this manager, only

+        sessions where the current node is the primary node for the session are

+        considered active sessions.

+      </td></tr><tr><td align="left" valign="center"><code>rpcTimeout</code></td><td align="left" valign="center">

+        Timeout for RPC message used for broadcast and transfer state from 

+        another map.

+        Default value is <code>15000</code> milliseconds.

+      </td></tr></table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/cluster-membership.html b/tomcat-uid/webapps/docs/config/cluster-membership.html
new file mode 100644
index 0000000..8503a0a
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/cluster-membership.html
@@ -0,0 +1,113 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Cluster Membership object</title><meta name="author" content="Filip Hanik"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Cluster Membership object</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Default_Implementation">Default Implementation</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Multicast_Attributes">Multicast Attributes</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+    The membership component in the Apache Tribes <a href="cluster-channel.html">Channel</a> is responsible

+    for dynamic discovery of other members(nodes) in the cluster.

+  </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Default Implementation"><!--()--></a><a name="Default_Implementation"><strong>Default Implementation</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+    The default implementation of the cluster group notification is built on top of multicast heartbeats

+    sent using UDP packets to a multicast IP address.

+    Cluster members are grouped together by using the same multicast address/port combination.

+    Each member sends out a heartbeat with a given interval (<code>frequency</code>), and this

+    heartbeat is used for dynamic discovery.

+    In a similar fashion, if a heartbeat has not been received in a timeframe specified by <code>dropTime</code>

+    ms. a member is considered suspect and the channel and any membership listener will be notified.

+  </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Multicast Attributes"><!--()--></a><a name="Multicast_Attributes"><strong>Multicast Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+      <p>

+      The default value is <code>org.apache.catalina.tribes.membership.McastService</code>

+      and is currently the only implementation.

+      This implementation uses multicast heartbeats for member discovery.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>address</code></td><td align="left" valign="center">

+      <p>

+      The multicast address that the membership will broadcast its presence and listen

+      for other heartbeats on. The default value is <code>228.0.0.4</code>

+      Make sure your network is enabled for multicast traffic.<br>

+      The multicast address, in conjunction with the <code>port</code> is what 

+      creates a cluster group. To divide up your farm into several different group, or to 

+      split up QA from production, change the <code>port</code> or the <code>address</code>

+      <br>Previously known as mcastAddr.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>port</code></td><td align="left" valign="center">

+      <p>

+      The multicast port, the default value is <code>45564</code><br>

+      The multicast port, in conjunction with the <code>address</code> is what 

+      creates a cluster group. To divide up your farm into several different group, or to 

+      split up QA from production, change the <code>port</code> or the <code>address</code>

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>frequency</code></td><td align="left" valign="center">

+      <p>

+      The frequency in milliseconds in which heartbeats are sent out. The default value is <code>500</code> ms.<br>

+      In most cases the default value is sufficient. Changing this value, simply changes the interval in between heartbeats.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>dropTime</code></td><td align="left" valign="center">

+      <p>

+      The membership component will time out members and notify the Channel if a member fails to send a heartbeat within 

+      a give time. The default value is <code>3000</code> ms. This means, that if a heartbeat is not received from a 

+      member in that timeframe, the membership component will notify the cluster of this.<br>

+      On a high latency network you may wish to increase this value, to protect against false positives.<br>

+      Apache Tribes also provides a <a href="cluster-interceptor.html#tcpfailuredetector"><code>TcpFailureDetector</code></a> that will

+      verify a timeout using a TCP connection when a heartbeat timeout has occurred. This protects against false positives.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>bind</code></td><td align="left" valign="center">

+      <p>

+      Use this attribute if you wish to bind your multicast traffic to a specific network interface.

+      By default, or when this attribute is unset, it tries to bind to <code>0.0.0.0</code> and sometimes on multihomed hosts

+      this becomes a problem.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>ttl</code></td><td align="left" valign="center">

+      <p>

+      The time-to-live setting for the multicast heartbeats.

+      This setting should be a value between 0 and 255. The default value is VM implementation specific.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>domain</code></td><td align="left" valign="center">

+      <p>

+      Apache Tribes has the ability to logically group members into domains, by using this domain attribute.

+      The <code>org.apache.catalina.tribes.Member.getDomain()</code> method returns the value specified here.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>soTimeout</code></td><td align="left" valign="center">

+      <p>

+      The sending and receiving of heartbeats is done on a single thread, hence to avoid blocking this thread forever,

+      you can control the <code>SO_TIMEOUT</code> value on this socket.<br>

+      If a value smaller or equal to 0 is presented, the code will default this value to frequency

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>recoveryEnabled</code></td><td align="left" valign="center">

+      <p>

+      In case of a network failure, Java multicast socket don't transparently fail over, instead the socket will continuously

+      throw IOException upon each receive request. When recoveryEnabled is set to true, this will close the multicast socket

+      and open a new socket with the same properties as defined above.<br>

+      The default is <code>true</code>. <br>

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>recoveryCounter</code></td><td align="left" valign="center">

+      <p>

+      When <code>recoveryEnabled==true</code> this value indicates how many times we will try recovery.

+      The default is <code>10</code>. <br>

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>recoverySleepTime</code></td><td align="left" valign="center">

+      <p>

+      When <code>recoveryEnabled==true</code> this value indicates how long time (in milliseconds)

+      the system will sleep in between recovery attempts, until we either recovered successfully or we have reached the

+      recoveryCounter limit.

+      The default is <code>5000</code> (5 seconds). <br>

+      </p>

+    </td></tr></table>

+

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/cluster-receiver.html b/tomcat-uid/webapps/docs/config/cluster-receiver.html
new file mode 100644
index 0000000..2ae65ec
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/cluster-receiver.html
@@ -0,0 +1,108 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Cluster Receiver object</title><meta name="author" content="Filip Hanik"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Cluster Receiver object</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Blocking_vs_Non-Blocking_Receiver">Blocking vs Non-Blocking Receiver</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li><li><a href="#NioReceiver">NioReceiver</a></li><li><a href="#BioReceiver">BioReceiver</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+  The receiver component is responsible for receiving cluster messages.

+  As you might notice through the configuration, is that the receiving of messages

+  and sending of messages are two different components, this is different from many other 

+  frameworks, but there is a good reason for it, to decouple the logic for how messages are sent from

+  how messages are received.<br>

+  The receiver is very much like the Tomcat Connector, its the base of the thread pool

+  for incoming cluster messages. The receiver is straight forward, but all the socket settings

+  for incoming traffic are managed here.

+  </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Blocking vs Non-Blocking Receiver"><!--()--></a><a name="Blocking_vs_Non-Blocking_Receiver"><strong>Blocking vs Non-Blocking Receiver</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+  The receiver supports both a non blocking, <code>org.apache.catalina.tribes.transport.nio.NioReceiver</code>, and a 

+  blocking, <code>org.apache.catalina.tribes.transport.bio.BioReceiver</code>. It is preferred to use the non blocking receiver

+  to be able to grow your cluster without running into thread starvation.<br>

+  Using the non blocking receiver allows you to with a very limited thread count to serve a large number of messages.

+  Usually the rule is to use 1 thread per node in the cluster for small clusters, and then depending on your message frequency

+  and your hardware, you'll find an optimal number of threads peak out at a certain number.

+  </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+      The implementation of the receiver component. Two implementations available,

+      <code>org.apache.catalina.tribes.transport.nio.NioReceiver</code> and 

+      <code>org.apache.catalina.tribes.transport.bio.BioReceiver</code>.<br>

+      The <code>org.apache.catalina.tribes.transport.nio.NioReceiver</code> is the 

+      preferred implementation

+    </td></tr><tr><td align="left" valign="center"><code>address</code></td><td align="left" valign="center">

+      The address (network interface) to listen for incoming traffic.

+      Same as the bind address. The default value is <code>auto</code> and translates to

+      <code>java.net.InetAddress.getLocalHost().getHostAddress()</code>.

+    </td></tr><tr><td align="left" valign="center"><code>direct</code></td><td align="left" valign="center">

+      Possible values are <code>true</code> or <code>false</code>. 

+      Set to true if you want the receiver to use direct bytebuffers when reading data

+      from the sockets.

+    </td></tr><tr><td align="left" valign="center"><code>port</code></td><td align="left" valign="center">

+      The listen port for incoming data. The default value is <code>4000</code>.

+      To avoid port conflicts the receiver will automatically bind to a free port within the range of 

+      <code> port &lt;= bindPort &lt;= port+autoBind</code>

+      So for example, if port is 4000, and autoBind is set to 10, then the receiver will open up 

+      a server socket on the first available port in the range 4000-4100.

+    </td></tr><tr><td align="left" valign="center"><code>autoBind</code></td><td align="left" valign="center">

+      Default value is <code>100</code>.

+      Use this value if you wish to automatically avoid port conflicts the cluster receiver will try to open a 

+      server socket on the <code>port</code> attribute port, and then work up <code>autoBind</code> number of times.

+    </td></tr><tr><td align="left" valign="center"><code>securePort</code></td><td align="left" valign="center">

+      The secure listen port. This port is SSL enabled. If this attribute is omitted no SSL port is opened up.

+      There default value is unset, meaning there is no SSL socket available.

+    </td></tr><tr><td align="left" valign="center"><code>selectorTimeout</code></td><td align="left" valign="center">

+      The value in milliseconds for the polling timeout in the <code>NioReceiver</code>. On older versions of the JDK

+      there have been bugs, that should all now be cleared out where the selector never woke up.

+      The default value is a very high <code>5000</code> milliseconds.

+    </td></tr><tr><td align="left" valign="center"><code>maxThreads</code></td><td align="left" valign="center">

+      The maximum number of threads in the receiver thread pool. The default value is <code>6</code>

+      Adjust this value relative to the number of nodes in the cluster, the number of messages being exchanged and 

+      the hardware you are running on. A higher value doesn't mean more efficiency, tune this value according to your 

+      own test results.

+    </td></tr><tr><td align="left" valign="center"><code>minThreads</code></td><td align="left" valign="center">

+      Minimum number of threads to be created when the receiver is started up. Default value is <code>6</code>

+    </td></tr><tr><td align="left" valign="center"><code>ooBInline</code></td><td align="left" valign="center">

+      Boolean value for the socket OOBINLINE option. Possible values are <code>true</code> or <code>false</code>.

+    </td></tr><tr><td align="left" valign="center"><code>rxBufSize</code></td><td align="left" valign="center">

+      The receiver buffer size on the receiving sockets. Value is in bytes, the default value is <code>43800</code> bytes.

+    </td></tr><tr><td align="left" valign="center"><code>txBufSize</code></td><td align="left" valign="center">

+      The sending buffer size on the receiving sockets. Value is in bytes, the default value is <code>25188</code> bytes.

+    </td></tr><tr><td align="left" valign="center"><code>soKeepAlive</code></td><td align="left" valign="center">

+      Boolean value for the socket SO_KEEPALIVE option. Possible values are <code>true</code> or <code>false</code>.

+    </td></tr><tr><td align="left" valign="center"><code>soLingerOn</code></td><td align="left" valign="center">

+      Boolean value to determine whether to use the SO_LINGER socket option. 

+      Possible values are <code>true</code> or <code>false</code>. Default value is <code>true</code>.

+    </td></tr><tr><td align="left" valign="center"><code>soLingerTime</code></td><td align="left" valign="center">

+      Sets the SO_LINGER socket option time value. The value is in seconds. 

+      The default value is <code>3</code> seconds.

+    </td></tr><tr><td align="left" valign="center"><code>soReuseAddress</code></td><td align="left" valign="center">

+     Boolean value for the socket SO_REUSEADDR option. Possible values are <code>true</code> or <code>false</code>.

+    </td></tr><tr><td align="left" valign="center"><code>soTrafficClass</code></td><td align="left" valign="center">

+     Sets the traffic class level for the socket, the value is between 0 and 255.

+     Different values are defined in <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/Socket.html#setTrafficClass(int)">

+     java.net.Socket#setTrafficClass(int)</a>.

+    </td></tr><tr><td align="left" valign="center"><code>tcpNoDelay</code></td><td align="left" valign="center">

+     Boolean value for the socket TCP_NODELAY option. Possible values are <code>true</code> or <code>false</code>.

+     The default value is <code>true</code>

+    </td></tr><tr><td align="left" valign="center"><code>timeout</code></td><td align="left" valign="center">

+     Sets the SO_TIMEOUT option on the socket. The value is in milliseconds and the default value is <code>3000</code> 

+     milliseconds.

+    </td></tr><tr><td align="left" valign="center"><code>useBufferPool</code></td><td align="left" valign="center">

+     Boolean value whether to use a shared buffer pool of cached <code>org.apache.catalina.tribes.io.XByteBuffer</code>

+     objects. If set to true, the XByteBuffer that is used to pass a message up the channel, will be recycled at the end 

+     of the requests. This means that interceptors in the channel must not maintain a reference to the object

+     after the <code>org.apache.catalina.tribes.ChannelInterceptor#messageReceived</code> method has exited.

+    </td></tr></table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="NioReceiver"><strong>NioReceiver</strong></a></font></td></tr><tr><td><blockquote>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="BioReceiver"><strong>BioReceiver</strong></a></font></td></tr><tr><td><blockquote>

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/cluster-sender.html b/tomcat-uid/webapps/docs/config/cluster-sender.html
new file mode 100644
index 0000000..87b06dd
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/cluster-sender.html
@@ -0,0 +1,113 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Cluster Sender object</title><meta name="author" content="Filip Hanik"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Cluster Sender object</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Concurrent_Parallel_Delivery">Concurrent Parallel Delivery</a></li><li><a href="#Nested_Elements">Nested Elements</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Sender_Attributes">Common Sender Attributes</a></li><li><a href="#Common_Transport_Attributes">Common Transport Attributes</a></li><li><a href="#PooledParallelSender_Attributes">PooledParallelSender Attributes</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+  The channel sender component is responsible for delivering outgoing cluster messages over the network.

+  In the default implementation, <code>org.apache.catalina.tribes.transport.ReplicationTransmitter</code>,

+  the sender is a fairly empty shell with not much logic around a fairly complex <code>&lt;Transport&gt;</code>

+  component the implements the actual delivery mechanism.

+  </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Concurrent Parallel Delivery"><!--()--></a><a name="Concurrent_Parallel_Delivery"><strong>Concurrent Parallel Delivery</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+  In the default <code>transport</code> implementation, <code>org.apache.catalina.tribes.transport.nio.PooledParallelSender</code>,

+  Apache Tribes implements what we like to call "Concurrent Parallel Delivery". 

+  This means that we can send a message to more than one destination at the same time(parallel), and

+  deliver two messages to the same destination at the same time(concurrent). Combine these two and we have 

+  "Concurrent Parallel Delivery".

+  </p>

+  <p>

+  When is this useful? The simplest example we can think of is when part of your code is sending a 10MB message,

+  like a war file being deployed, and you need to push through a small 10KB message, say a session being replicated,

+  you don't have to wait for the 10MB message to finish, as a separate thread will push in the small message 

+  transmission at the same time. Currently there is no interrupt, pause or priority mechanism available, but check back soon.

+  </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nested Elements"><!--()--></a><a name="Nested_Elements"><strong>Nested Elements</strong></a></font></td></tr><tr><td><blockquote>

+ <p>

+   The nested element <code>&lt;Transport&gt;</code> is is not required, by encouraged, as this is where

+   you would set all the socket options for the outgoing messages. Please see its attributes below.

+   There are two implementations, in a similar manner to the <a href="cluster-receiver.html">receiver</a>, one is non-blocking

+   based and the other is built using blocking IO. <br>

+   <code>org.apache.catalina.tribes.transport.bio.PooledMultiSender</code> is the blocking implementation and 

+   <code>org.apache.catalina.tribes.transport.nio.PooledParallelSender</code>.

+   Parallel delivery is not available for the blocking implementation due to the fact that it is blocking a thread on sending data.

+ </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Sender Attributes"><!--()--></a><a name="Common_Sender_Attributes"><strong>Common Sender Attributes</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+        Required, only available implementation is <code>org.apache.catalina.tribes.transport.ReplicationTransmitter</code>

+      </td></tr></table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Transport Attributes"><!--()--></a><a name="Common_Transport_Attributes"><strong>Common Transport Attributes</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+        Required, an implementation of the <code>org.apache.catalina.tribes.transport.MultiPointSender</code>.<br>

+        Non-blocking implementation is <code>org.apache.catalina.tribes.transport.nio.PooledParallelSender</code><br>

+        Blocking implementation is <code>org.apache.catalina.tribes.transport.bio.PooledMultiSender</code>

+      </td></tr><tr><td align="left" valign="center"><code>rxBufSize</code></td><td align="left" valign="center">

+        The receive buffer size on the socket.

+        Default value is <code>25188</code> bytes.

+      </td></tr><tr><td align="left" valign="center"><code>txBufSize</code></td><td align="left" valign="center">

+       The send buffer size on the socket.

+       Default value is <code>43800</code> bytes.

+      </td></tr><tr><td align="left" valign="center"><code>directBuffer</code></td><td align="left" valign="center">

+       Possible values are <code>true</code> or <code>false</code>. 

+       Set to true if you want the receiver to use direct bytebuffers when writing data

+       to the sockets. Default value is <code>false</code>

+      </td></tr><tr><td align="left" valign="center"><code>keepAliveCount</code></td><td align="left" valign="center">

+       The number of requests that can go through the socket before the socket is closed, and reopened

+       for the next request. The default value is <code>-1</code>, which is unlimited.

+      </td></tr><tr><td align="left" valign="center"><code>keepAliveTime</code></td><td align="left" valign="center">

+       The number of milliseconds a connection is kept open after its been opened.

+       The default value is <code>-1</code>, which is unlimited.

+      </td></tr><tr><td align="left" valign="center"><code>timeout</code></td><td align="left" valign="center">

+        Sets the SO_TIMEOUT option on the socket. The value is in milliseconds and the default value is <code>3000</code> 

+        milliseconds.(3 seconds) This timeout starts when a message send attempt is starting, until the transfer has been completed.

+        For the NIO sockets, this will mean, that the caller can guarantee that we will not attempt sending the message

+        longer than this timeout value. For the blocking IO implementation, this translated directly to the soTimeout.<br>

+        A timeout will not spawn a retry attempt, in order to guarantee the return of the application thread.

+      </td></tr><tr><td align="left" valign="center"><code>maxRetryAttempts</code></td><td align="left" valign="center">

+        How many times do we retry a failed message, that received a IOException at the socket level.

+        The default value is <code>1</code>, meaning we will retry a message that has failed once. 

+        In other words, we will attempt a message send no more than twice. One is the original send, and one is the 

+        <code>maxRetryAttempts</code>.

+      </td></tr><tr><td align="left" valign="center"><code>ooBInline</code></td><td align="left" valign="center">

+        Boolean value for the socket OOBINLINE option. Possible values are <code>true</code> or <code>false</code>.

+      </td></tr><tr><td align="left" valign="center"><code>soKeepAlive</code></td><td align="left" valign="center">

+        Boolean value for the socket SO_KEEPALIVE option. Possible values are <code>true</code> or <code>false</code>.

+      </td></tr><tr><td align="left" valign="center"><code>soLingerOn</code></td><td align="left" valign="center">

+        Boolean value to determine whether to use the SO_LINGER socket option. 

+        Possible values are <code>true</code> or <code>false</code>. Default value is <code>true</code>.

+      </td></tr><tr><td align="left" valign="center"><code>soLingerTime</code></td><td align="left" valign="center">

+        Sets the SO_LINGER socket option time value. The value is in seconds. 

+        The default value is <code>3</code> seconds.

+      </td></tr><tr><td align="left" valign="center"><code>soReuseAddress</code></td><td align="left" valign="center">

+       Boolean value for the socket SO_REUSEADDR option. Possible values are <code>true</code> or <code>false</code>.

+      </td></tr><tr><td align="left" valign="center"><code>soTrafficClass</code></td><td align="left" valign="center">

+       Sets the traffic class level for the socket, the value is between 0 and 255.

+       Default value is <code>int soTrafficClass = 0x04 | 0x08 | 0x010;</code>

+       Different values are defined in <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/Socket.html#setTrafficClass(int)">

+       java.net.Socket#setTrafficClass(int)</a>.

+      </td></tr><tr><td align="left" valign="center"><code>tcpNoDelay</code></td><td align="left" valign="center">

+       Boolean value for the socket TCP_NODELAY option. Possible values are <code>true</code> or <code>false</code>.

+       The default value is <code>true</code>

+      </td></tr><tr><td align="left" valign="center"><code>throwOnFailedAck</code></td><td align="left" valign="center">

+       Boolean value, default value is <code>true</code>.

+       If set to true, the sender will throw a <code>org.apache.catalina.tribes.RemoteProcessException</code>

+       when we receive a negative ack from the remote member.

+       Set to false, and Tribes will treat a positive ack the same way as a negative ack, that the message was received.

+      </td></tr></table>

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="PooledParallelSender Attributes"><!--()--></a><a name="PooledParallelSender_Attributes"><strong>PooledParallelSender Attributes</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>poolSize</code></td><td align="left" valign="center">

+        The maximum number of concurrent connections from A to B.

+        The value is based on a per-destination count.

+        The default value is <code>25</code>

+      </td></tr></table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/cluster-valve.html b/tomcat-uid/webapps/docs/config/cluster-valve.html
new file mode 100644
index 0000000..f36d321
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/cluster-valve.html
@@ -0,0 +1,61 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Cluster Valve object</title><meta name="author" content="Filip Hanik"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Cluster Valve object</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#org.apache.catalina.ha.tcp.ReplicationValve">org.apache.catalina.ha.tcp.ReplicationValve</a><ol><li><a href="#org.apache.catalina.ha.tcp.ReplicationValve/Attributes">Attributes</a></li></ol></li><li><a href="#org.apache.catalina.ha.session.JvmRouteBinderValve">org.apache.catalina.ha.session.JvmRouteBinderValve</a><ol><li><a href="#org.apache.catalina.ha.session.JvmRouteBinderValve/Attributes">Attributes</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+  A cluster valve is no different from any other <a href="valve.html">Tomcat <code>Valve</code></a>.

+  The cluster valves are interceptors in the invocation chain for HTTP requests, and the clustering implementation

+  uses these valves to make intelligent decision around data and when data should be replicated.

+  </p>

+  <p>

+  A cluster valve must implement the <code>org.apache.catalina.ha.ClusterValve</code> interface.

+  This is a simple interface that extends the <code>org.apache.catalina.Valve</code> interface.

+  </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="org.apache.catalina.ha.tcp.ReplicationValve"><strong>org.apache.catalina.ha.tcp.ReplicationValve</strong></a></font></td></tr><tr><td><blockquote>

+  The <code>ReplicationValve</code> will notify the cluster at the end of a HTTP request

+  so that the cluster can make a decision whether there is data to be replicated or not.

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="org.apache.catalina.ha.tcp.ReplicationValve/Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+        Set value to <code>org.apache.catalina.ha.tcp.ReplicationValve</code>

+      </td></tr><tr><td align="left" valign="center"><code>filter</code></td><td align="left" valign="center">

+        For known file extensions or urls, you can use a filter to 

+        notify the cluster that the session has not been modified during this 

+        request and the cluster doesn't have to probe the session managers for changes.

+        If there is a filter match, the cluster assumes there has been no session change.

+        An example filter would look like <code>filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;"</code>

+        The filter uses regular expressions and each filter is delimited by a semi colon.

+        <code>Pattern#compile(java.lang.String)</code>

+      </td></tr><tr><td align="left" valign="center"><code>primaryIndicator</code></td><td align="left" valign="center">

+        Boolean value, so to true, and the replication valve will insert a request attribute with the name

+        defined by the <code>primaryIndicatorName</code> attribute.

+        The value inserted into the request attribute is either <code>Boolean.TRUE</code> or 

+        <code>Boolean.FALSE</code>

+      </td></tr><tr><td align="left" valign="center"><code>primaryIndicatorName</code></td><td align="left" valign="center">

+        Default value is <code>org.apache.catalina.ha.tcp.isPrimarySession</code>

+        The value defined here is the name of the request attribute that contains the boolean value

+        if the session is primary on this server or not.

+      </td></tr><tr><td align="left" valign="center"><code>statistics</code></td><td align="left" valign="center">

+        Boolean value. Set to <code>true</code> if you want the valve to collect request statistics.

+        Default value is <code>false</code>

+      </td></tr></table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="org.apache.catalina.ha.session.JvmRouteBinderValve"><strong>org.apache.catalina.ha.session.JvmRouteBinderValve</strong></a></font></td></tr><tr><td><blockquote>

+  In case of a mod_jk failover, the <code>JvmRouteBinderValve</code> will replace the 

+  <code>jvmWorker</code> attribute in the session Id, to make future requests stick to this

+  node. If you want failback capability, don't enable this valve, but if you want your failover to stick,

+  and for mod_jk not to have to keep probing the node that went down, you use this valve.

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="org.apache.catalina.ha.session.JvmRouteBinderValve/Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+        <code>org.apache.catalina.ha.session.JvmRouteBinderValve</code>

+      </td></tr><tr><td align="left" valign="center"><code>enabled</code></td><td align="left" valign="center">

+        Default value is <code>true</code>

+        Runtime attribute to turn on and off turn over of the session's jvmRoute value.

+      </td></tr></table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/cluster.html b/tomcat-uid/webapps/docs/config/cluster.html
new file mode 100644
index 0000000..b88eab4
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/cluster.html
@@ -0,0 +1,130 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Cluster object</title><meta name="author" content="Filip Hanik"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Cluster object</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Engine_vs_Host_placement">Engine vs Host placement</a></li><li><a href="#Context_Attribute_Replication">Context Attribute Replication</a></li><li><a href="#Nested_Components">Nested Components</a></li><li><a href="#Deprecated_configuration_options">Deprecated configuration options</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#SimpleTcpCluster_Attributes">SimpleTcpCluster Attributes</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+  The tomcat cluster implementation provides session replication, context attribute replication and

+  cluster wide WAR file deployment.

+  While the <code>Cluster</code> configuration is fairly complex, the default configuration will work

+  for most people out of the box. </p><p>

+  The Tomcat Cluster implementation is very extensible, and hence we have exposed a myriad of options,

+  making the configuration seem like a lot, but don't lose faith, instead you have a tremendous control

+  over what is going on.</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Engine vs Host placement"><!--()--></a><a name="Engine_vs_Host_placement"><strong>Engine vs Host placement</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+   You can place the <code>&lt;Cluster&gt;</code> element inside either the <code>&lt;Engine&gt;</code>

+   container or the <code>&lt;Host&gt;</code> container.<br>

+   Placing it in the engine, means that you will support clustering in all virtual hosts of Tomcat,

+   and share the messaging component. When you place the <code>&lt;Cluster&gt;</code> inside the <code>&lt;Engine&gt;</code>

+   element, the cluster will append the host name of each session manager to the managers name so that two contexts with 

+   the same name but sitting inside two different hosts will be distinguishable.

+  </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Context Attribute Replication"><!--()--></a><a name="Context_Attribute_Replication"><strong>Context Attribute Replication</strong></a></font></td></tr><tr><td><blockquote>

+  <p>To configure context attribute replication, simply do this by swapping out the context implementation

+  used for your application context.

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>&lt;Context className="org.apache.catalina.ha.context.ReplicatedContext"/&gt;</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    This context extends the Tomcat <code><a href="context.html">StandardContext</a></code>

+    so all the options from the <a href="context.html">base implementation</a> are valid.

+  </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nested Components"><!--()--></a><a name="Nested_Components"><strong>Nested Components</strong></a></font></td></tr><tr><td><blockquote>

+  <p><b><a href="cluster-manager.html">Manager</a>:</b> <br>

+    The session manager element identifies what kind of session manager is used in this cluster implementation.

+    This manager configuration is identical to the one you would use in a regular <code><a href="context.html#Nested%20xComponents">&lt;Context&gt;</a></code> configuration.

+    <br>The default value is the <code>org.apache.catalina.ha.session.DeltaManager</code> that is closely coupled with

+    the <code>SimpleTcpCluster</code> implementation. Other managers like the <code>org.apache.catalina.ha.session.BackupManager</code>

+    are/could be loosely coupled and don't rely on the <code>SimpleTcpCluster</code> for its data replication.

+  </p>

+  <p><b><a href="cluster-channel.html">Channel</a>:</b> <br>

+    The Channel and its sub components are all part of the IO layer 

+    for the cluster group, and is a module in it's own that we have nick named "Tribes"

+    <br>

+    Any configuring and tuning of the network layer, the messaging and the membership logic

+    will be done in the channel and its nested components.

+    You can always find out more about <a href="../tribes/introduction.html">Apache Tribes</a>

+  </p>

+  <p><b><a href="cluster-valve.html">Valve</a>:</b> <br>

+    The Tomcat Cluster implementation uses <code>Tomcat <a href="valve.html">Valves</a></code> to

+    track when requests enter and exit the servlet container. It uses these valves to be able to make

+    intelligent decisions on when to replicate data, which is always at the end of a request.

+  </p>

+  <p><b><a href="cluster-deployer.html">Deployer</a>:</b> <br>

+    The Deployer component is the Tomcat Farm Deployer. It allows you to deploy and undeploy applications

+    cluster wide.

+  </p>

+  <p><b><a href="cluster-listener.html">ClusterListener</a>:</b> <br>

+    ClusterListener's are used to track messages sent and received using the <code>SimpleTcpCluster</code>.

+    If you wish to track messages, you can add a listener here, or you can add a valve to the channel object.

+  </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Deprecated configuration options"><!--()--></a><a name="Deprecated_configuration_options"><strong>Deprecated configuration options</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+    <b>Deprecated settings:</b> In the previous version of Tomcat you were able to control session

+       manager settings using manager.&lt;property&gt;=value.

+       This has been discontinued, as the way it was written interferes with 

+       the ability to support multiple different manager classes under one cluster implementation,

+       as the same properties might have the different effect on different managers.

+  </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="SimpleTcpCluster Attributes"><!--()--></a><a name="SimpleTcpCluster_Attributes"><strong>SimpleTcpCluster Attributes</strong></a></font></td></tr><tr><td><blockquote>

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+      <p>The main cluster class, currently only one is available,

+         <code>org.apache.catalina.ha.tcp.SimpleTcpCluster</code>

+      </p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>channelSendOptions</code></strong></td><td align="left" valign="center">

+      <p>The Tribes channel send options, default is <code>8</code>.<br>

+         This option is used to set the flag that all messages sent through the 

+         SimpleTcpCluster uses. The flag decides how the messages are sent, and is a simple logical OR.<br>

+         

+      <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+        int options= Channel.SEND_OPTIONS_ASYNCHRONOUS | 

+                     Channel.SEND_OPTIONS_SYNCHRONIZED_ACK | 

+                     Channel.SEND_OPTIONS_USE_ACK;

+      </pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+      Some of the values are:<br>

+      <code>Channel.SEND_OPTIONS_SYNCHRONIZED_ACK = 0x0004</code><br>

+      <code>Channel.SEND_OPTIONS_ASYNCHRONOUS = 0x0008</code><br>

+      <code>Channel.SEND_OPTIONS_USE_ACK = 0x0002</code><br>

+      So to use ACK and ASYNC messaging, the flag would be <code>10 (8+2) or 0x000B</code><br>

+      Note that if you use ASYNC messaging it is possible for update messages

+      for a session to be processed by the receiving nodes in a different order

+      to the order in which they were sent.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>channelStartOptions</code></td><td align="left" valign="center">

+      <p>Sets the start and stop flags for the &lt;Channel&gt; object used by the cluster.

+         The default is <code>Channel.DEFAULT</code> which starts all the channel services, such as 

+         sender, receiver, multicast sender and multicast receiver.

+         The following flags are available today:

+         <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+           Channel.DEFAULT = Channel.SND_RX_SEQ (1)| Channel.SND_TX_SEQ (2)| Channel.MBR_RX_SEQ (4)| Channel.MBR_TX_SEQ (8);

+         </pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+         To start a channel without multicasting, you would want to use the value <code>Channel.SND_RX_SEQ | Channel.SND_TX_SEQ</code>

+         that equals to <code>3</code>.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>heartbeatBackgroundEnabled</code></td><td align="left" valign="center">

+      <p>Flag whether invoke channel heartbeat at container background thread. Default value is false.

+         Enable this flag don't forget to disable the channel heartbeat thread.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>notifyLifecycleListenerOnFailure</code></td><td align="left" valign="center">

+      <p>Flag whether notify LifecycleListeners if all ClusterListener couldn't accept channel message.

+         Default value is false.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>doClusterLog</code></td><td align="left" valign="center">

+      <p><b>Deprecated since 6.0.0</b></p>

+      <p>Possible values are <code>true</code> or <code>false</code><br>

+         Value is inherited from Tomcat 5.5 and has no official meaning.

+         to configure logging, use the standard tomcat logging configuration.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>clusterLogName</code></td><td align="left" valign="center">

+      <p><b>Deprecated since 6.0.0</b></p>

+      <p>

+        Value is inherited from Tomcat 5.5 and has no official meaning.

+         to configure logging, use the standard tomcat logging configuration.

+      </p>

+    </td></tr></table>

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/context.html b/tomcat-uid/webapps/docs/config/context.html
new file mode 100644
index 0000000..d9a3f8c
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/context.html
@@ -0,0 +1,938 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Context Container</title><meta name="author" content="Craig R. McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Context Container</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a><ol><li><a href="#Naming">Naming</a></li><li><a href="#Defining_a_context">Defining a context</a></li></ol></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li><li><a href="#Standard_Implementation">Standard Implementation</a></li></ol></li><li><a href="#Nested_Components">Nested Components</a></li><li><a href="#Special_Features">Special Features</a><ol><li><a href="#Logging">Logging</a></li><li><a href="#Access_Logs">Access Logs</a></li><li><a href="#Automatic_Context_Configuration">Automatic Context Configuration</a></li><li><a href="#Context_Parameters">Context Parameters</a></li><li><a href="#Environment_Entries">Environment Entries</a></li><li><a href="#Lifecycle_Listeners">Lifecycle Listeners</a></li><li><a href="#Request_Filters">Request Filters</a></li><li><a href="#Resource_Definitions">Resource Definitions</a></li><li><a href="#Resource_Links">Resource Links</a></li><li><a href="#Transaction">Transaction</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <blockquote><em>

+    <p>The description below uses the variable name $CATALINA_BASE to refer the

+    base directory against which most relative paths are resolved. If you have

+    not configured Tomcat 6 for multiple instances by setting a CATALINA_BASE

+    directory, then $CATALINA_BASE will be set to the value of $CATALINA_HOME,

+    the directory into which you have installed Tomcat 6.</p>

+    </em></blockquote>

+

+  <p>The <strong>Context</strong> element represents a <em>web

+  application</em>, which is run within a particular virtual host.

+  Each web application is based on a <em>Web Application Archive</em>

+  (WAR) file, or a corresponding directory containing the corresponding

+  unpacked contents, as described in the Servlet Specification (version

+  2.2 or later).  For more information about web application archives,

+  you can download the

+  <a href="http://wiki.apache.org/tomcat/Specifications">Servlet

+  Specification</a>, and review the Tomcat

+  <a href="../appdev/index.html">Application Developer's Guide</a>.</p>

+

+  <p>The web application used to process each HTTP request is selected

+  by Catalina based on matching the longest possible prefix of the

+  Request URI against the <em>context path</em> of each defined Context.

+  Once selected, that Context will select an appropriate servlet to

+  process the incoming request, according to the servlet mappings defined

+  in the <em>web application deployment descriptor</em> file (which MUST

+  be located at <code>/WEB-INF/web.xml</code> within the web app's

+  directory hierarchy).</p>

+

+  <p>You may define as many <strong>Context</strong> elements as you

+  wish.  Each such Context MUST have a unique context path within a virtual

+  host. In

+  addition, a Context must be present with a context path equal to

+  a zero-length string.  This Context becomes the <em>default</em>

+  web application for this virtual host, and is used to process all

+  requests that do not match any other Context's context path.</p>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Naming"><strong>Naming</strong></a></font></td></tr><tr><td><blockquote>

+  <p>When <code>autoDeploy</code> or <code>deployOnStartup</code> operations

+  are performed by a Host, the web application is specified by a context XML

+  file in <a href="host.html">Host</a>'s <code>xmlBase</code>

+  directory or by a WAR file or a directory file in Host's

+  <code>appBase</code> directory.

+  In this case the context path is derived from the name of the file that

+  is being deployed. Consequently, the context path <strong>may not</strong>

+  be defined in a <code>META-INF/context.xml</code> embedded in

+  the application. There is, therefore, a close relationship between the

+  <em>context path</em> and

+  the <em>base file name</em> (the name minus <code>.war</code> or

+  <code>.xml</code> extension) of the file.</p>

+

+  <p>Let us assume that you want to deploy your application to respond to

+  requests to URIs starting with certain context path. According to the

+  Servlet specification, the context path may be an empty string, or a

+  string starting with '/'. The rules to define the names for this context

+  path are the following:</p>

+

+  <ul>

+    <li>If the context path is a zero length string, the <em>base name</em> is

+    <code>"ROOT"</code> (uppercase)</li>

+    <li>If the context path is not a zero length string, the <em>base

+    name</em> is the context path with the leading '/' removed and any

+    remaining '/' characters in the path replaced with '#'.</li>

+  </ul>

+

+  <p>To help clarify these rules, some examples are given in the following

+  table.</p>

+

+  <table class="detail-table">

+    <tr>

+      <td bgcolor="#039acc" valign="top"><font color="#000000" size="-1" face="arial,helvetica,sanserif">Context Path</font></td>

+      <td bgcolor="#039acc" valign="top"><font color="#000000" size="-1" face="arial,helvetica,sanserif">Base File Name</font></td>

+    </tr>

+    <tr><td bgcolor="#a0ddf0" valign="top" align="left"><font color="#000000" size="-1" face="arial,helvetica,sanserif">/foo</font></td><td bgcolor="#a0ddf0" valign="top" align="left"><font color="#000000" size="-1" face="arial,helvetica,sanserif">foo</font></td></tr>

+    <tr>

+      <td bgcolor="#a0ddf0" valign="top" align="left"><font color="#000000" size="-1" face="arial,helvetica,sanserif">/foo/bar</font></td><td bgcolor="#a0ddf0" valign="top" align="left"><font color="#000000" size="-1" face="arial,helvetica,sanserif">foo#bar</font></td>

+    </tr>

+    <tr>

+      <td bgcolor="#a0ddf0" valign="top" align="left"><font color="#000000" size="-1" face="arial,helvetica,sanserif"><i>Empty String</i></font></td>

+      <td bgcolor="#a0ddf0" valign="top" align="left"><font color="#000000" size="-1" face="arial,helvetica,sanserif">ROOT</font></td>

+    </tr>

+  </table>

+

+  <p>If you want to deploy a WAR file or a directory using a context path that

+  is not related to the base file name then one of the following options must

+  be used to prevent double-deployment:

+  </p>

+  <ul>

+  <li>Disable autoDeploy and deployOnStartup and define all

+  <strong>Context</strong>s in server.xml</li>

+  <li>Locate the WAR and/or directory outside of the Host's appBase and use

+      a context.xml file with a docBase attribute to define it.</li>

+  </ul>

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Defining a context"><!--()--></a><a name="Defining_a_context"><strong>Defining a context</strong></a></font></td></tr><tr><td><blockquote>

+  <p><b>It is NOT recommended to place

+  &lt;Context&gt; elements directly in the server.xml file.</b> This

+  is because it makes modifying the <strong>Context</strong> configuration

+  more invasive since the main <code>conf/server.xml</code> file cannot be

+  reloaded without restarting Tomcat.</p>

+

+  <p>Individual <strong>Context</strong> elements may be explicitly defined:

+  </p>

+  <ul>

+  <li>In an individual file at <code>/META-INF/context.xml</code> inside the

+  application files. In Tomcat 6 this file is automatically copied to

+  <code>$CATALINA_BASE/conf/[enginename]/[hostname]/</code> and renamed to

+  application's base file name plus a ".xml" extension.

+  (This automated copying became optional in Tomcat 7).

+  </li>

+  <li>In individual files (with a ".xml" extension) in the

+  <code>$CATALINA_BASE/conf/[enginename]/[hostname]/</code> directory.

+  The context path will be derived from the base name of the file

+  (the file name less the .xml extension). This file will always take precedence

+  over any context.xml file packaged in the web application's META-INF

+  directory.</li>

+  <li>Inside a <a href="host.html">Host</a> element in the main

+  <code>conf/server.xml</code>.</li>

+  </ul>

+

+  <p>Default <strong>Context</strong> elements may be defined that apply to

+  multiple web applications. Configuration for an individual web application

+  will override anything configured in one of these defaults. Any nested

+  elements, e.g. &lt;Resource&gt; elements, that are defined in a default

+  <strong>Context</strong> will be created once for each

+  <strong>Context</strong> to which the default applies. They will <b>not</b> be

+  shared between <strong>Context</strong> elements.

+  </p>

+  <ul>

+  <li>In the <code>$CATALINA_BASE/conf/context.xml</code> file:

+  the Context element information will be loaded by all web applications.</li>

+  <li>In the

+  <code>$CATALINA_BASE/conf/[enginename]/[hostname]/context.xml.default</code>

+  file: the Context element information will be loaded by all web applications

+  of that host.</li>

+  </ul>

+

+  <p>With the exception of server.xml, files that define <strong>Context

+  </strong> elements may only define a single <strong>Context</strong> element.

+  </p>

+

+  <p>In addition to explicitly specified Context elements, there are

+  several techniques by which Context elements can be created automatically

+  for you.  See <a href="host.html#Automatic_Application_Deployment">

+  Automatic Application Deployment</a> and

+  <a href="host.html#User_Web_Applications">User Web Applications</a>

+  for more information.</p>

+

+  <p>To define multiple contexts that use a single WAR file or directory,

+  use one of the options described in the <a href="#Naming">Naming</a>

+  section above for creating a <strong>Context</strong> that has a path

+  that is not related to the base file name.</p>

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>All implementations of <strong>Context</strong>

+    support the following attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>backgroundProcessorDelay</code></td><td align="left" valign="center">

+        <p>This value represents the delay in seconds between the 

+        invocation of the backgroundProcess method on this context and 

+        its child containers, including all wrappers. 

+        Child containers will not be invoked if their delay value is not 

+        negative (which would mean they are using their own processing 

+        thread). Setting this to a positive value will cause 

+        a thread to be spawn. After waiting the specified amount of time, 

+        the thread will invoke the backgroundProcess method on this host 

+        and all its child containers. A context will use background 

+        processing to perform session expiration and class monitoring for

+        reloading. If not specified, the default value for this attribute is 

+        -1, which means the context will rely on the background processing 

+        thread of its parent host.</p>

+      </td></tr><tr><td align="left" valign="center"><code>className</code></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This class must

+        implement the <code>org.apache.catalina.Context</code> interface.

+        If not specified, the standard value (defined below) will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>cookies</code></td><td align="left" valign="center">

+        <p>Set to <code>true</code> if you want cookies to be used for

+        session identifier communication if supported by the client (this

+        is the default).  Set to <code>false</code> if you want to disable

+        the use of cookies for session identifier communication, and rely

+        only on URL rewriting by the application.</p>

+      </td></tr><tr><td align="left" valign="center"><code>crossContext</code></td><td align="left" valign="center">

+        <p>Set to <code>true</code> if you want calls within this application

+        to <code>ServletContext.getContext()</code> to successfully return a

+        request dispatcher for other web applications running on this virtual

+        host.  Set to <code>false</code> (the default) in security

+        conscious environments, to make <code>getContext()</code> always

+        return <code>null</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>disableURLRewriting</code></td><td align="left" valign="center">

+        <p>Set to <code>true</code> to disable support for using URL rewriting

+        to track session IDs for clients of this Context. URL rewriting is an

+        optional component of the servlet 2.5 specification but disabling URL

+        rewriting will result in non-compliant behaviour since the specification

+        requires that there <em>must</em> be a way to retain sessions if the

+        client doesn't allow session cookies. If not specified, the

+        specification compliant default value of <code>false</code> will be

+        used.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>docBase</code></strong></td><td align="left" valign="center">

+        <p>The <em>Document Base</em> (also known as the <em>Context

+        Root</em>) directory for this web application, or the pathname

+        to the web application archive file (if this web application is

+        being executed directly from the WAR file). You may specify

+        an absolute pathname for this directory or WAR file, or a pathname

+        that is relative to the <code>appBase</code> directory of the

+        owning <a href="host.html">Host</a>.</p>

+        <p>The value of this field must not be set unless the Context element is

+        defined in server.xml or the <code>docBase</code> is not located under

+        the <a href="host.html">Host</a>'s <code>appBase</code>.</p>

+        <p>If a symbolic link is used for docBase then changes to the

+        symbolic link will only be effective after a Tomcat restart or

+        by undeploying and redeploying the context. A context reload is not

+        sufficient.</p>

+      </td></tr><tr><td align="left" valign="center"><code>override</code></td><td align="left" valign="center">

+        <p>Set to <code>true</code> to have explicit settings in this

+        Context element override any corresponding settings in either the global

+        or <a href="host.html">Host</a> default contexts.  By default, settings

+        from a default context will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>privileged</code></td><td align="left" valign="center">

+        <p>Set to <code>true</code> to allow this context to use container

+        servlets, like the manager servlet. Use of the <code>privileged</code>

+        attribute will change the context's parent class loader to be the

+        <em>Server</em> class loader rather than the <em>Shared</em> class

+        loader. Note that in a default installation, the <em>Common</em> class

+        loader is used for both the <em>Server</em> and the <em>Shared</em>

+        class loaders.</p>

+      </td></tr><tr><td align="left" valign="center"><code>path</code></td><td align="left" valign="center">

+        <p>The <em>context path</em> of this web application, which is

+        matched against the beginning of each request URI to select the

+        appropriate web application for processing.  All of the context paths

+        within a particular <a href="host.html">Host</a> must be unique.

+        If you specify a context path of an empty string (""), you are

+        defining the <em>default</em> web application for this Host, which

+        will process all requests not assigned to other Contexts.</p>

+        <p>This attribute must only be used when statically defining a Context

+        in server.xml. In all other circumstances, the path will be inferred

+        from the filenames used for either the .xml context file or the docBase.

+        </p>

+        <p>Even when statically defining a Context in server.xml, this attribute

+        must not be set unless either the docBase is not located under the

+        <a href="host.html">Host</a>'s <code>appBase</code> or both

+        <code>deployOnStartup</code> and <code>autoDeploy</code> are false. If

+        this rule is not followed, double deployment is likely to result.</p>

+      </td></tr><tr><td align="left" valign="center"><code>reloadable</code></td><td align="left" valign="center">

+        <p>Set to <code>true</code> if you want Catalina to monitor classes in

+        <code>/WEB-INF/classes/</code> and <code>/WEB-INF/lib</code> for

+        changes, and automatically reload the web application if a change

+        is detected.  This feature is very useful during application

+        development, but it requires significant runtime overhead and is

+        not recommended for use on deployed production applications.  That's

+        why the default setting for this attribute is <i>false</i>.  You

+        can use the <a href="../manager-howto.html">Manager</a> web

+        application, however, to trigger reloads of deployed applications

+        on demand.</p>

+      </td></tr><tr><td align="left" valign="center"><code>sessionCookieDomain</code></td><td align="left" valign="center">

+        <p>The domain to be used for all session cookies created for this

+        Context. If not set, no domain will be specified for session cookies.

+        </p>

+      </td></tr><tr><td align="left" valign="center"><code>sessionCookieName</code></td><td align="left" valign="center">

+        <p>The name to be used for all session cookies created for this

+        Context. If not set, the default of JSESSIONID will be used. Note that

+        this default will be overridden by the

+        <strong>org.apache.catalina.SESSION_COOKIE_NAME</strong> system

+        property.</p>

+      </td></tr><tr><td align="left" valign="center"><code>sessionCookiePath</code></td><td align="left" valign="center">

+        <p>The path to be used for all session cookies created for this

+        Context. If not set, the context path will be used. Note that this will

+        be overridden by the <strong>emptySessionPath</strong> attribute on the

+        connector used to access this Context.</p>

+      </td></tr><tr><td align="left" valign="center"><code>tldValidation</code></td><td align="left" valign="center">

+        <p>If the value of this flag is <code>true</code>, the TLD files

+        will be XML validated on context startup.  If the

+        <code>org.apache.catalina.STRICT_SERVLET_COMPLIANCE</code>

+        <a href="systemprops.html">system property</a> is set to

+        <code>true</code>, the default value of this attribute will be

+        <code>true</code>, else the default value will be <code>false</code>.

+        Setting this attribute to <code>true</code> will incur a performance

+        penalty.</p>

+      </td></tr><tr><td align="left" valign="center"><code>useHttpOnly</code></td><td align="left" valign="center">

+       <p>Should the HttpOnly flag be set on session cookies to prevent client

+          side script from accessing the session ID? Defaults to

+          <code>false</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>wrapperClass</code></td><td align="left" valign="center">

+        <p>Java class name of the <code>org.apache.catalina.Wrapper</code>

+        implementation class that will be used for servlets managed by this

+        Context.  If not specified, a standard default value will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>xmlBlockExternal</code></td><td align="left" valign="center">

+        <p>If the value of this flag is <code>true</code>, the parsing of

+        <code>web.xml</code>, <code>web-fragment.xml</code>, <code>*.tld</code>,

+        <code>*.jspx</code>, <code>*.tagx</code> and <code>tagPlugins.xml</code>

+        files for this web application will not permit external entities to be

+        loaded. If a <code>SecurityManager</code> is configured then the default

+        value of this attribute will be <code>true</code>, else the default

+        value will be <code>false</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>xmlNamespaceAware</code></td><td align="left" valign="center">

+        <p>If the value of this flag is <code>true</code>, the parsing of the

+        <code>web.xml</code> file for this web application will be

+        namespace-aware. Note that <code>*.tld</code>, <code>*.jspx</code> and

+        <code>*.tagx</code> files are always parsed using a namespace-aware

+        parser and that the <code>tagPlugins.xml</code> file (if any) is never

+        parsed using a namespace-aware parser. Note also that if you turn this

+        flag on, you should probably also turn <code>xmlValidation</code> on. If

+        the <code>org.apache.catalina.STRICT_SERVLET_COMPLIANCE</code>

+        <a href="systemprops.html">system property</a> is set to

+        <code>true</code>, the default value of this attribute will be

+        <code>true</code>, else the default value will be <code>false</code>.

+        Setting this attribute to <code>true</code> will incur a performance

+        penalty.</p>

+      </td></tr><tr><td align="left" valign="center"><code>xmlValidation</code></td><td align="left" valign="center">

+        <p>If the value of this flag is <code>true</code>, the parsing of the

+        <code>web.xml</code> file for this web application will use a validating

+        parser. If the

+        <code>org.apache.catalina.STRICT_SERVLET_COMPLIANCE</code>

+        <a href="systemprops.html">system property</a> is set to

+        <code>true</code>, the default value of this attribute will be

+        <code>true</code>, else the default value will be <code>false</code>.

+        Setting this attribute to <code>true</code> will incur a performance

+        penalty.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Standard Implementation"><!--()--></a><a name="Standard_Implementation"><strong>Standard Implementation</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The standard implementation of <strong>Context</strong> is

+    <strong>org.apache.catalina.core.StandardContext</strong>.

+    It supports the following additional attributes (in addition to the

+    common attributes listed above):</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>allowLinking</code></td><td align="left" valign="center">

+        <p>If the value of this flag is <code>true</code>, symlinks will be

+        allowed inside the web application, pointing to resources outside the

+        web application base path. If not specified, the default value

+        of the flag is <code>false</code>.</p>

+        <p><b>NOTE: This flag MUST NOT be set to true on the Windows platform

+        (or any other OS which does not have a case sensitive filesystem),

+        as it will disable case sensitivity checks, allowing JSP source code

+        disclosure, among other security problems.</b></p>

+      </td></tr><tr><td align="left" valign="center"><code>antiJARLocking</code></td><td align="left" valign="center">

+        <p>If true, the Tomcat classloader will take extra measures to avoid

+        JAR file locking when resources are accessed inside JARs through URLs.

+        This will impact startup time of applications, but could prove to be

+        useful on platforms or configurations where file locking can occur.

+        If not specified, the default value is <code>false</code>.</p>

+

+        <p><code>antiJARLocking</code> is a subset of

+        <code>antiResourceLocking</code> and therefore, to prevent duplicate

+        work and possible issues, only one of these attributes should be set

+        to <code>true</code> at any one time.</p>

+      </td></tr><tr><td align="left" valign="center"><code>antiResourceLocking</code></td><td align="left" valign="center">

+        <p>If true, Tomcat will prevent any file locking.

+        This will significantly impact startup time of applications, 

+        but allows full webapp hot deploy and undeploy on platforms 

+        or configurations where file locking can occur.

+        If not specified, the default value is <code>false</code>.</p>

+   

+        <p><code>antiJARLocking</code> is a subset of

+        <code>antiResourceLocking</code> and therefore, to prevent duplicate

+        work and possible issues, only one of these attributes should be set

+        to <code>true</code> at any one time.</p>

+

+        <p>Please note that setting this to <code>true</code> has some side

+        effects, including the disabling of JSP reloading in a running server:

+        see <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37668">

+        Bugzilla 37668</a>.</p>

+

+        <p>Please note that setting this flag to true in applications that are

+        outside the appBase for the Host (the <code>webapps</code> directory

+        by default) will cause the application to be <strong>deleted</strong> on

+        Tomcat shutdown.  You probably don't want to do this, so think twice 

+        before setting antiResourceLocking=true on a webapp that's outside the

+        appBase for its Host.</p>

+      </td></tr><tr><td align="left" valign="center"><code>cacheMaxSize</code></td><td align="left" valign="center">

+        <p>Maximum size of the static resource cache in kilobytes. 

+        If not specified, the default value is <code>10240</code>

+        (10 megabytes).</p>

+      </td></tr><tr><td align="left" valign="center"><code>cacheObjectMaxSize</code></td><td align="left" valign="center">

+        <p>Maximum size of the static resource that will be placed in the cache.

+        If not specified, the default value is <code>512</code>

+        (512 kilobytes). If this value is greater than

+        <code>cacheMaxSize/20</code> it will be reduced to

+        <code>cacheMaxSize/20</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>cacheTTL</code></td><td align="left" valign="center">

+        <p>Amount of time in milliseconds between cache entries revalidation.

+        If not specified, the default value is <code>5000</code> 

+        (5 seconds).</p>

+      </td></tr><tr><td align="left" valign="center"><code>cachingAllowed</code></td><td align="left" valign="center">

+        <p>If the value of this flag is <code>true</code>, the cache for static

+        resources will be used. If not specified, the default value

+        of the flag is <code>true</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>caseSensitive</code></td><td align="left" valign="center">

+        <p><strong>Deprecated.</strong> This option is removed in Tomcat 7

+        onwards where the default of <code>true</code> is always used.</p>

+        <p>If the value of this flag is <code>false</code>, all case sensitivity

+        checks will be disabled. If not 

+        specified, the default value of the flag is <code>true</code>.</p>

+        <p><b>NOTE: This flag MUST NOT be set to false on the Windows platform

+        (or any other OS which does not have a case sensitive filesystem),

+        as it will disable case sensitivity checks, allowing JSP source code

+        disclosure, among other security problems.</b></p>

+      </td></tr><tr><td align="left" valign="center"><code>clearReferencesHttpClientKeepAliveThread</code></td><td align="left" valign="center">

+        <p>If <code>true</code> and an <code>sun.net.www.http.HttpClient</code>

+        keep-alive timer thread has been started by this web application and is

+        still running, Tomcat will change the context class loader for that

+        thread from the current <code>WebappClassLoader</code> to

+        <code>WebappClassLoader#parent</code> to prevent a memory leak. Note

+        that the keep-alive timer thread will stop on its own once the

+        keep-alives all expire however, on a busy system that might not happen

+        for some time. If not specified, the default value of

+        <code>true</code> will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>clearReferencesStopThreads</code></td><td align="left" valign="center">

+        <p>If <code>true</code>, Tomcat attempts to terminate threads that have

+        been started by the web application. Stopping threads is performed via

+        the deprecated (for good reason) <code>Thread.stop()</code> method and

+        is likely to result in instability. As such, enabling this should be

+        viewed as an option of last resort in a development environment and is

+        not recommended in a production environment. If not specified, the

+        default value of <code>false</code> will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>clearReferencesStopTimerThreads</code></td><td align="left" valign="center">

+        <p>If <code>true</code>, Tomcat attempts to terminate

+        <code>java.util.Timer</code> threads that have been started by the web

+        application. Unlike standard threads, timer threads can be stopped

+        safely although there may still be side-effects for the application. If

+        not specified, the default value of <code>false</code> will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>clearReferencesThreadLocals</code></td><td align="left" valign="center">

+        <p>If <code>true</code>, Tomcat attempts to clear any ThreadLocal

+        objects that are instances of classes loaded by this class loader.

+        Failure to remove any such objects will result in a memory leak on web

+        application stop, undeploy or reload.  If not specified, the default

+        value of <code>false</code> will be used since the clearing of the

+        ThreadLocal objects is not performed in a thread-safe manner.</p>

+      </td></tr><tr><td align="left" valign="center"><code>processTlds</code></td><td align="left" valign="center">

+        <p>Whether the context should process TLDs on startup.  The default

+        is true.  The false setting is intended for special cases

+        that know in advance TLDs are not part of the webapp.</p>

+      </td></tr><tr><td align="left" valign="center"><code>swallowOutput</code></td><td align="left" valign="center">

+        <p>If the value of this flag is <code>true</code>, the bytes output to

+        System.out and System.err by the web application will be redirected to

+        the web application logger. If not specified, the default value

+        of the flag is <code>false</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>unloadDelay</code></td><td align="left" valign="center">

+        <p>Number of ms that the container will wait for servlets to unload.

+        If not specified, the default value is <code>2000</code> ms.</p>

+      </td></tr><tr><td align="left" valign="center"><code>unpackWAR</code></td><td align="left" valign="center">

+        <p>If true, Tomcat will unpack all compressed web applications before

+        running them.

+        If not specified, the default value is <code>true</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>useNaming</code></td><td align="left" valign="center">

+        <p>Set to <code>true</code> (the default) to have Catalina enable a

+        JNDI <code>InitialContext</code> for this web application that is

+        compatible with Java2 Enterprise Edition (J2EE) platform

+        conventions.</p>

+      </td></tr><tr><td align="left" valign="center"><code>workDir</code></td><td align="left" valign="center">

+        <p>Pathname to a scratch directory to be provided by this Context

+        for temporary read-write use by servlets within the associated web

+        application.  This directory will be made visible to servlets in the

+        web application by a servlet context attribute (of type

+        <code>java.io.File</code>) named

+        <code>javax.servlet.context.tempdir</code> as described in the

+        Servlet Specification.  If not specified, a suitable directory

+        underneath <code>$CATALINA_BASE/work</code> will be provided.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nested Components"><!--()--></a><a name="Nested_Components"><strong>Nested Components</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>You can nest at most one instance of the following utility components

+  by nesting a corresponding element inside your <strong>Context</strong>

+  element:</p>

+  <ul>

+  <li><a href="loader.html"><strong>Loader</strong></a> -

+      Configure the web application class loader that will be used to load

+      servlet and bean classes for this web application.  Normally, the

+      default configuration of the class loader will be sufficient.</li>

+  <li><a href="manager.html"><strong>Manager</strong></a> -

+      Configure the session manager that will be used to create, destroy,

+      and persist HTTP sessions for this web application.  Normally, the

+      default configuration of the session manager will be sufficient.</li>

+  <li><a href="realm.html"><strong>Realm</strong></a> -

+      Configure a realm that will allow its

+      database of users, and their associated roles, to be utilized solely

+      for this particular web application.  If not specified, this web

+      application will utilize the Realm associated with the owning

+      <a href="host.html">Host</a> or <a href="engine.html">Engine</a>.</li>

+  <li><a href="resources.html"><strong>Resources</strong></a> -

+      Configure the resource manager that will be used to access the static

+      resources associated with this web application.  Normally, the

+      default configuration of the resource manager will be sufficient.</li>

+  <li><strong>WatchedResource</strong> - The auto deployer will monitor the 

+      specified static resource of the web application for updates, and will

+      reload the web application if is is updated. The content of this element

+      must be a string.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Special Features"><!--()--></a><a name="Special_Features"><strong>Special Features</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Logging"><strong>Logging</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>A context is associated with the 

+       <code>org.apache.catalina.core.ContainerBase.[enginename].[hostname].[path]</code>

+       log category.  Note that the brackets are actually part of the name, don't omit them.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Access Logs"><!--()--></a><a name="Access_Logs"><strong>Access Logs</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>When you run a web server, one of the output files normally generated

+    is an <em>access log</em>, which generates one line of information for

+    each request processed by the server, in a standard format.  Catalina

+    includes an optional <a href="valve.html">Valve</a> implementation that

+    can create access logs in the same standard format created by web servers,

+    or in any number of custom formats.</p>

+

+    <p>You can ask Catalina to create an access log for all requests

+    processed by an <a href="engine.html">Engine</a>,

+    <a href="host.html">Host</a>, or <a href="context.html">Context</a>

+    by nesting a <a href="valve.html">Valve</a> element like this:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Context&gt;

+  ...

+  &lt;Valve className="org.apache.catalina.valves.AccessLogValve"

+         prefix="localhost_access_log." suffix=".txt"

+         pattern="common"/&gt;

+  ...

+&lt;/Context&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>See <a href="valve.html#Access Log Valve">Access Log Valve</a>

+    for more information on the configuration attributes that are

+    supported.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Automatic Context Configuration"><!--()--></a><a name="Automatic_Context_Configuration"><strong>Automatic Context Configuration</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>If you use the standard <strong>Context</strong> implementation,

+    the following configuration steps occur automatically when Catalina

+    is started, or whenever this web application is reloaded.  No special

+    configuration is required to enable this feature.</p>

+    

+    <ul>

+    <li>If you have not declared your own <a href="loader.html">Loader</a>

+       element, a standard web application class loader will be configured.

+       </li>

+    <li>If you have not declared your own <a href="manager.html">Manager</a>

+        element, a standard session manager will be configured.</li>

+    <li>If you have not declared your own <a href="resources.html">Resources</a>

+        element, a standard resources manager will be configured.</li>

+    <li>The web application properties listed in <code>conf/web.xml</code>

+        will be processed as defaults for this web application.  This is used

+        to establish default mappings (such as mapping the <code>*.jsp</code>

+        extension to the corresponding JSP servlet), and other standard

+        features that apply to all web applications.</li>

+    <li>The web application properties listed in the

+        <code>/WEB-INF/web.xml</code> resource for this web application

+        will be processed (if this resource exists).</li>

+    <li>If your web application has specified security constraints that might

+        require user authentication, an appropriate Authenticator that

+        implements the login method you have selected will be configured.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Context Parameters"><!--()--></a><a name="Context_Parameters"><strong>Context Parameters</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>You can configure named values that will be made visible to the

+    web application as servlet context initialization parameters by nesting

+    <code>&lt;Parameter&gt;</code> elements inside this element.  For

+    example, you can create an initialization parameter like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Context&gt;

+  ...

+  &lt;Parameter name="companyName" value="My Company, Incorporated"

+         override="false"/&gt;

+  ...

+&lt;/Context&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>This is equivalent to the inclusion of the following element in the

+    web application deployment descriptor (<code>/WEB-INF/web.xml</code>):

+    </p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;context-param&gt;

+  &lt;param-name&gt;companyName&lt;/param-name&gt;

+  &lt;param-value&gt;My Company, Incorporated&lt;/param-value&gt;

+&lt;/context-param&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <p>but does <em>not</em> require modification of the deployment descriptor

+    to customize this value.</p>

+

+    <p>The valid attributes for a <code>&lt;Parameter&gt;</code> element

+    are as follows:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>description</code></td><td align="left" valign="center">

+        <p>Optional, human-readable description of this context

+        initialization parameter.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>name</code></strong></td><td align="left" valign="center">

+        <p>The name of the context initialization parameter to be created.</p>

+      </td></tr><tr><td align="left" valign="center"><code>override</code></td><td align="left" valign="center">

+        <p>Set this to <code>false</code> if you do <strong>not</strong> want

+        a <code>&lt;context-param&gt;</code> for the same parameter name,

+        found in the web application deployment descriptor, to override the

+        value specified here.  By default, overrides are allowed.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>value</code></strong></td><td align="left" valign="center">

+        <p>The parameter value that will be presented to the application

+        when requested by calling

+        <code>ServletContext.getInitParameter()</code>.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Environment Entries"><!--()--></a><a name="Environment_Entries"><strong>Environment Entries</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>You can configure named values that will be made visible to the

+    web application as environment entry resources, by nesting

+    <code>&lt;Environment&gt;</code> entries inside this element.  For

+    example, you can create an environment entry like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Context&gt;

+  ...

+  &lt;Environment name="maxExemptions" value="10"

+         type="java.lang.Integer" override="false"/&gt;

+  ...

+&lt;/Context&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>This is equivalent to the inclusion of the following element in the

+    web application deployment descriptor (<code>/WEB-INF/web.xml</code>):

+    </p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;env-entry&gt;

+  &lt;env-entry-name&gt;maxExemptions&lt;/env-entry-name&gt;

+  &lt;env-entry-value&gt;10&lt;/env-entry-value&gt;

+  &lt;env-entry-type&gt;java.lang.Integer&lt;/env-entry-type&gt;

+&lt;/env-entry&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <p>but does <em>not</em> require modification of the deployment descriptor

+    to customize this value.</p>

+

+    <p>The valid attributes for an <code>&lt;Environment&gt;</code> element

+    are as follows:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>description</code></td><td align="left" valign="center">

+        <p>Optional, human-readable description of this environment entry.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>name</code></strong></td><td align="left" valign="center">

+        <p>The name of the environment entry to be created, relative to the

+        <code>java:comp/env</code> context.</p>

+      </td></tr><tr><td align="left" valign="center"><code>override</code></td><td align="left" valign="center">

+        <p>Set this to <code>false</code> if you do <strong>not</strong> want

+        an <code>&lt;env-entry&gt;</code> for the same environment entry name,

+        found in the web application deployment descriptor, to override the

+        value specified here.  By default, overrides are allowed.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>type</code></strong></td><td align="left" valign="center">

+        <p>The fully qualified Java class name expected by the web application

+        for this environment entry.  Must be one of the legal values for

+        <code>&lt;env-entry-type&gt;</code> in the web application deployment

+        descriptor:  <code>java.lang.Boolean</code>,

+        <code>java.lang.Byte</code>, <code>java.lang.Character</code>,

+        <code>java.lang.Double</code>, <code>java.lang.Float</code>,

+        <code>java.lang.Integer</code>, <code>java.lang.Long</code>,

+        <code>java.lang.Short</code>, or <code>java.lang.String</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>value</code></strong></td><td align="left" valign="center">

+        <p>The parameter value that will be presented to the application

+        when requested from the JNDI context.  This value must be convertable

+        to the Java type defined by the <code>type</code> attribute.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Lifecycle Listeners"><!--()--></a><a name="Lifecycle_Listeners"><strong>Lifecycle Listeners</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>If you have implemented a Java object that needs to know when this

+    <strong>Context</strong> is started or stopped, you can declare it by

+    nesting a <strong>Listener</strong> element inside this element.  The

+    class name you specify must implement the

+    <code>org.apache.catalina.LifecycleListener</code> interface, and

+    the class must be packaged in a jar and placed in the 

+    <code>$CATALINA_HOME/lib</code> directory. 

+    It will be notified about the occurrence of the corresponding

+    lifecycle events.  Configuration of such a listener looks like this:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Context&gt;

+  ...

+  &lt;Listener className="com.mycompany.mypackage.MyListener" ... &gt;

+  ...

+&lt;/Context&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>Note that a Listener can have any number of additional properties

+    that may be configured from this element.  Attribute names are matched

+    to corresponding JavaBean property names using the standard property

+    method naming patterns.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Request Filters"><!--()--></a><a name="Request_Filters"><strong>Request Filters</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>You can ask Catalina to check the IP address, or host name, on every

+    incoming request directed to the surrounding

+    <a href="engine.html">Engine</a>, <a href="host.html">Host</a>, or

+    <a href="context.html">Context</a> element.  The remote address or name

+    will be checked against a configured list of "accept" and/or "deny"

+    filters, which are defined using <code>java.util.regex</code> Regular

+    Expression syntax.  Requests that come from locations that are

+    not accepted will be rejected with an HTTP "Forbidden" error.

+    Example filter declarations:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Context&gt;

+  ...

+  &lt;Valve className="org.apache.catalina.valves.RemoteHostValve"

+         allow=".*\.mycompany\.com|www\.yourcompany\.com"/&gt;

+  &lt;Valve className="org.apache.catalina.valves.RemoteAddrValve"

+         deny="192\.168\.1\.\d+"/&gt;

+  ...

+&lt;/Context&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>See <a href="valve.html#Remote Address Filter">Remote Address Filter</a>

+    and <a href="valve.html#Remote Host Filter">Remote Host Filter</a> for

+    more information about the configuration options that are supported.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Resource Definitions"><!--()--></a><a name="Resource_Definitions"><strong>Resource Definitions</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>You can declare the characteristics of the resource

+    to be returned for JNDI lookups of <code>&lt;resource-ref&gt;</code> and

+    <code>&lt;resource-env-ref&gt;</code> elements in the web application

+    deployment descriptor.  You <strong>MUST</strong> also define

+    the needed resource parameters as attributes of the <code>Resource</code> 

+    element, to configure the object factory to be used (if not known to Tomcat 

+    already), and the properties used to configure that object factory.</p>

+

+    <p>For example, you can create a resource definition like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Context&gt;

+  ...

+  &lt;Resource name="jdbc/EmployeeDB" auth="Container"

+            type="javax.sql.DataSource"

+     description="Employees Database for HR Applications"/&gt;

+  ...

+&lt;/Context&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>This is equivalent to the inclusion of the following element in the

+    web application deployment descriptor (<code>/WEB-INF/web.xml</code>):</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;resource-ref&gt;

+  &lt;description&gt;Employees Database for HR Applications&lt;/description&gt;

+  &lt;res-ref-name&gt;jdbc/EmployeeDB&lt;/res-ref-name&gt;

+  &lt;res-ref-type&gt;javax.sql.DataSource&lt;/res-ref-type&gt;

+  &lt;res-auth&gt;Container&lt;/res-auth&gt;

+&lt;/resource-ref&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>but does <em>not</em> require modification of the deployment

+    descriptor to customize this value.</p>

+

+    <p>The valid attributes for a <code>&lt;Resource&gt;</code> element

+    are as follows:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>auth</code></td><td align="left" valign="center">

+        <p>Specify whether the web Application code signs on to the

+        corresponding resource manager programatically, or whether the

+        Container will sign on to the resource manager on behalf of the

+        application.  The value of this attribute must be

+        <code>Application</code> or <code>Container</code>.  This

+        attribute is <strong>required</strong> if the web application

+        will use a <code>&lt;resource-ref&gt;</code> element in the web

+        application deployment descriptor, but is optional if the

+        application uses a <code>&lt;resource-env-ref&gt;</code> instead.</p>

+      </td></tr><tr><td align="left" valign="center"><code>description</code></td><td align="left" valign="center">

+        <p>Optional, human-readable description of this resource.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>name</code></strong></td><td align="left" valign="center">

+        <p>The name of the resource to be created, relative to the

+        <code>java:comp/env</code> context.</p>

+      </td></tr><tr><td align="left" valign="center"><code>scope</code></td><td align="left" valign="center">

+        <p>Specify whether connections obtained through this resource

+        manager can be shared.  The value of this attribute must be

+        <code>Shareable</code> or <code>Unshareable</code>.  By default,

+        connections are assumed to be shareable.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>type</code></strong></td><td align="left" valign="center">

+        <p>The fully qualified Java class name expected by the web

+        application when it performs a lookup for this resource.</p>

+      </td></tr></table>

+

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Resource Links"><!--()--></a><a name="Resource_Links"><strong>Resource Links</strong></a></font></td></tr><tr><td><blockquote>

+

+     <p>This element is used to create a link to a global JNDI resource. Doing

+     a JNDI lookup on the link name will then return the linked global 

+     resource.</p>

+

+    <p>For example, you can create a resource link like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Context&gt;

+  ...

+  &lt;ResourceLink name="linkToGlobalResource"

+            global="simpleValue"

+            type="java.lang.Integer"

+  ...

+&lt;/Context&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>The valid attributes for a <code>&lt;ResourceLink&gt;</code> element

+    are as follows:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>global</code></strong></td><td align="left" valign="center">

+        <p>The name of the linked global resource in the 

+        global JNDI context.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>name</code></strong></td><td align="left" valign="center">

+        <p>The name of the resource link to be created, relative to the

+        <code>java:comp/env</code> context.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>type</code></strong></td><td align="left" valign="center">

+        <p>The fully qualified Java class name expected by the web

+        application when it performs a lookup for this resource link.</p>

+      </td></tr><tr><td align="left" valign="center"><code>factory</code></td><td align="left" valign="center">

+        <p>The fully qualified Java class name for the class creating these objects.

+        This class should implement the <code>javax.naming.spi.ObjectFactory</code> interface.</p>

+      </td></tr></table>

+

+    <p>When the attribute <code>factory="org.apache.naming.factory.DataSourceLinkFactory"</code> the resource link can be used with

+       two additional attributes to allow a shared data source to be used with different credentials.

+       When these two additional attributes are used in combination with the <code>javax.sql.DataSource</code>

+       type, different contexts can share a global data source with different credentials.

+       Under the hood, what happens is that a call to <a href="http://docs.oracle.com/javase/6/docs/api/javax/sql/DataSource.html#getConnection()"><code>getConnection()</code></a>

+       is simply translated to a call <a href="http://docs.oracle.com/javase/6/docs/api/javax/sql/DataSource.html#getConnection(java.lang.String,%20java.lang.String)">

+       <code>getConnection(username, password)</code></a> on the global data source. This is an easy way to get code to be transparent to what schemas are being used,

+       yet be able to control connections (or pools) in the global configuration. 

+    </p>

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>username</code></td><td align="left" valign="center">

+        <p><code>username</code> value for the <code>getConnection(username, password)</code>

+           call on the linked global DataSource.

+        </p>

+      </td></tr><tr><td align="left" valign="center"><code>password</code></td><td align="left" valign="center">

+        <p><code>password</code> value for the <code>getConnection(username, password)</code>

+           call on the linked global DataSource.

+        </p>

+      </td></tr></table>

+    <p>Shared Data Source Example:</p>

+    <p><strong>Warning:</strong> This feature works only if the global DataSource

+supports <code>getConnection(username, password)</code> method.

+<a href="http://commons.apache.org/dbcp/">Apache Commons DBCP</a> pool that

+Tomcat uses by default does not support it. See its Javadoc for

+<code>BasicDataSource</code> class.

+<a href="http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html">Apache Tomcat JDBC pool</a>

+(included with Tomcat 7 and later) does support it,

+but by default this support is disabled and can be enabled by

+<code>alternateUsernameAllowed</code> attribute. See its documentation

+for details. The example below uses Apache Tomcat JDBC pool.</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;GlobalNamingResources&gt;

+  ...

+  &lt;Resource name="sharedDataSource"

+            global="sharedDataSource"

+            type="javax.sql.DataSource"

+            factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"

+            alternateUsernameAllowed="true"

+            username="bar"

+            password="barpass"

+            ...

+  ...

+&lt;/GlobalNamingResources&gt;

+

+&lt;Context path="/foo"...&gt;

+  ...

+  &lt;ResourceLink 

+            name="appDataSource"

+            global="sharedDataSource"

+            type="javax.sql.DataSource"

+            factory="org.apache.naming.factory.DataSourceLinkFactory"

+            username="foo"

+            password="foopass"

+  ...

+&lt;/Context&gt;

+&lt;Context path="/bar"...&gt;

+  ...

+  &lt;ResourceLink 

+            name="appDataSource"

+            global="sharedDataSource"

+            type="javax.sql.DataSource"

+  ...

+&lt;/Context&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>    

+    <p>When a request for <code>getConnection()</code> is made in the <code>/foo</code> context, the request is translated into

+       <code>getConnection("foo","foopass")</code>, while a request in the <code>/bar</code> gets passed straight through.</p>

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Transaction"><strong>Transaction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>You can declare the characteristics of the UserTransaction

+    to be returned for JNDI lookup for <code>java:comp/UserTransaction</code>. 

+    You <strong>MUST</strong> define an object factory class to instantiate

+    this object as well as the needed resource parameters as attributes of the 

+    <code>Transaction</code> 

+    element, and the properties used to configure that object factory.</p>

+

+    <p>The valid attributes for the <code>&lt;Transaction&gt;</code> element

+    are as follows:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>factory</code></strong></td><td align="left" valign="center">

+        <p>The class name for the JNDI object factory.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/engine.html b/tomcat-uid/webapps/docs/config/engine.html
new file mode 100644
index 0000000..8197380
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/engine.html
@@ -0,0 +1,202 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Engine Container</title><meta name="author" content="Craig R. McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Engine Container</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li><li><a href="#Standard_Implementation">Standard Implementation</a></li></ol></li><li><a href="#Nested_Components">Nested Components</a></li><li><a href="#Special_Features">Special Features</a><ol><li><a href="#Logging">Logging</a></li><li><a href="#Access_Logs">Access Logs</a></li><li><a href="#Lifecycle_Listeners">Lifecycle Listeners</a></li><li><a href="#Request_Filters">Request Filters</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>The <strong>Engine</strong> element represents the entire request

+  processing machinery associated with a particular Catalina

+  <a href="service.html">Service</a>.  It receives and processes

+  <em>all</em> requests from one or more <strong>Connectors</strong>,

+  and returns the completed response to the Connector for ultimate

+  transmission back to the client.</p>

+

+  <p>Exactly one <strong>Engine</strong> element MUST be nested inside

+  a <a href="service.html">Service</a> element, following all of the

+  corresponding Connector elements associated with this Service.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>All implementations of <strong>Engine</strong>

+    support the following attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>backgroundProcessorDelay</code></td><td align="left" valign="center">

+        <p>This value represents the delay in seconds between the 

+        invocation of the backgroundProcess method on this engine and 

+        its child containers, including all hosts and contexts. 

+        Child containers will not be invoked if their delay value is not 

+        negative (which would mean they are using their own processing 

+        thread). Setting this to a positive value will cause 

+        a thread to be spawn. After waiting the specified amount of time, 

+        the thread will invoke the backgroundProcess method on this engine 

+        and all its child containers. If not specified, the default value for

+        this attribute is 10, which represent a 10 seconds delay.</p>

+      </td></tr><tr><td align="left" valign="center"><code>className</code></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This class must

+        implement the <code>org.apache.catalina.Engine</code> interface.

+        If not specified, the standard value (defined below) will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>defaultHost</code></strong></td><td align="left" valign="center">

+        <p>The default host name, which identifies the

+        <a href="host.html">Host</a> that will process requests directed

+        to host names on this server, but which are not configured in

+        this configuration file.  This name MUST match the <code>name</code>

+        attributes of one of the <a href="host.html">Host</a> elements

+        nested immediately inside.</p>

+      </td></tr><tr><td align="left" valign="center"><code>jvmRoute</code></td><td align="left" valign="center">

+        <p>Identifier which must be used in load balancing scenarios to enable

+        session affinity. The identifier, which must be unique across all

+        Tomcat 6 servers which participate in the cluster, will be appended to

+        the generated session identifier, therefore allowing the front end

+        proxy to always forward a particular session to the same Tomcat 6

+        instance.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>name</code></strong></td><td align="left" valign="center">

+        <p>Logical name of this Engine, used in log and error messages. <em>When

+        using multiple <a href="service.html">Service</a> elements in the same

+        <a href="server.html">Server</a>, each Engine MUST be assigned a unique

+        name.</em></p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Standard Implementation"><!--()--></a><a name="Standard_Implementation"><strong>Standard Implementation</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The standard implementation of <strong>Engine</strong> is

+    <strong>org.apache.catalina.core.StandardEngine</strong>.

+    It supports the following additional attributes (in addition to the

+    common attributes listed above):</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr></table>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nested Components"><!--()--></a><a name="Nested_Components"><strong>Nested Components</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>You can nest one or more <a href="host.html">Host</a> elements inside

+  this <strong>Engine</strong> element, each representing a different virtual

+  host associated with this server.  At least one <a href="host.html">Host</a>

+  is required, and one of the nested <a href="host.html">Hosts</a> MUST

+  have a name that matches the name specified for the

+  <code>defaultHost</code> attribute, listed above.</p>

+

+  <p>You can nest at most one instance of the following utility components

+  by nesting a corresponding element inside your <strong>Engine</strong>

+  element:</p>

+  <ul>

+  <li><a href="realm.html"><strong>Realm</strong></a> -

+      Configure a realm that will allow its

+      database of users, and their associated roles, to be shared across all

+      <a href="host.html">Hosts</a> and <a href="context.html">Contexts</a>

+      nested inside this Engine, unless overridden by a

+      <a href="realm.html">Realm</a> configuration at a lower level.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Special Features"><!--()--></a><a name="Special_Features"><strong>Special Features</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Logging"><strong>Logging</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>An engine is associated with the 

+       <code>org.apache.catalina.core.ContainerBase.[enginename]</code>

+       log category.  Note that the brackets are actually part of the name,

+       don't omit them.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Access Logs"><!--()--></a><a name="Access_Logs"><strong>Access Logs</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>When you run a web server, one of the output files normally generated

+    is an <em>access log</em>, which generates one line of information for

+    each request processed by the server, in a standard format.  Catalina

+    includes an optional <a href="valve.html">Valve</a> implementation that

+    can create access logs in the same standard format created by web servers,

+    or in any number of custom formats.</p>

+

+    <p>You can ask Catalina to create an access log for all requests

+    processed by an <a href="engine.html">Engine</a>,

+    <a href="host.html">Host</a>, or <a href="context.html">Context</a>

+    by nesting a <a href="valve.html">Valve</a> element like this:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Engine name="Standalone" ...&gt;

+  ...

+  &lt;Valve className="org.apache.catalina.valves.AccessLogValve"

+         prefix="catalina_access_log." suffix=".txt"

+         pattern="common"/&gt;

+  ...

+&lt;/Engine&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>See <a href="valve.html#Access Log Valve">Access Log Valve</a>

+    for more information on the configuration attributes that are

+    supported.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Lifecycle Listeners"><!--()--></a><a name="Lifecycle_Listeners"><strong>Lifecycle Listeners</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>If you have implemented a Java object that needs to know when this

+    <strong>Engine</strong> is started or stopped, you can declare it by

+    nesting a <strong>Listener</strong> element inside this element.  The

+    class name you specify must implement the

+    <code>org.apache.catalina.LifecycleListener</code> interface, and

+    it will be notified about the occurrence of the corresponding

+    lifecycle events.  Configuration of such a listener looks like this:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Engine name="Standalone" ...&gt;

+  ...

+  &lt;Listener className="com.mycompany.mypackage.MyListener" ... &gt;

+  ...

+&lt;/Engine&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>Note that a Listener can have any number of additional properties

+    that may be configured from this element.  Attribute names are matched

+    to corresponding JavaBean property names using the standard property

+    method naming patterns.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Request Filters"><!--()--></a><a name="Request_Filters"><strong>Request Filters</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>You can ask Catalina to check the IP address, or host name, on every

+    incoming request directed to the surrounding

+    <a href="engine.html">Engine</a>, <a href="host.html">Host</a>, or

+    <a href="context.html">Context</a> element.  The remote address or name

+    will be checked against a configured list of "accept" and/or "deny"

+    filters, which are defined using <code>java.util.regex</code> Regular

+    Expression syntax.  Requests that come from locations that are

+    not accepted will be rejected with an HTTP "Forbidden" error.

+    Example filter declarations:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Engine name="Standalone" ...&gt;

+  ...

+  &lt;Valve className="org.apache.catalina.valves.RemoteHostValve"

+         allow=".*\.mycompany\.com|www\.yourcompany\.com"/&gt;

+  &lt;Valve className="org.apache.catalina.valves.RemoteAddrValve"

+         deny="192\.168\.1\.\d+"/&gt;

+  ...

+&lt;/Engine&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+  <p>See <a href="valve.html#Remote Address Filter">Remote Address Filter</a>

+  and <a href="valve.html#Remote Host Filter">Remote Host Filter</a> for

+  more information about the configuration options that are supported.</p>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/executor.html b/tomcat-uid/webapps/docs/config/executor.html
new file mode 100644
index 0000000..5a51f08
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/executor.html
@@ -0,0 +1,70 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Executor (thread pool)</title><meta name="author" content="Filip Hanik"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Executor (thread pool)</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li><li><a href="#Standard_Implementation">Standard Implementation</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>The <strong>Executor</strong> represents a thread pool that can be shared 

+     between components in Tomcat. Historically there has been a thread pool per

+     connector created but this allows you to share a thread pool, between (primarly) connector

+     but also other components when those get configured to support executors</p>

+

+

+  <p>The executor has to implement the <code>org.apache.catalina.Executor</code> interface.</p>

+  

+  <p>The executor is a nested element to the <a href="service.html">Service</a> element.

+     And in order for it to be picked up by the connectors, the Executor element has to appear

+     prior to the Connector element in server.xml</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>All implementations of <strong>Executor</strong>

+  support the following attributes:</p>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>className</code></td><td align="left" valign="center">

+      <p>The class of the implementation. The implementation has to implement the 

+         <code>org.apache.catalina.Executor</code> interface.

+         This interface ensures that the object can be referenced through its <code>name</code> attribute

+         and that implements Lifecycle, so that it can be started and stopped with the container.

+         The default value for the className is <code>org.apache.catalina.core.StandardThreadExecutor</code></p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>name</code></strong></td><td align="left" valign="center">

+      <p>The name used to reference this pool in other places in server.xml.

+         The name is required and must be unique.</p>

+    </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Standard Implementation"><!--()--></a><a name="Standard_Implementation"><strong>Standard Implementation</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>

+  The default implementation supports the following attributes:</p>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>threadPriority</code></td><td align="left" valign="center">

+      <p>(int) The thread priority for threads in the executor, the default is

+      <code>5</code> (the value of the <code>Thread.NORM_PRIORITY</code> constant)</p>

+    </td></tr><tr><td align="left" valign="center"><code>daemon</code></td><td align="left" valign="center">

+      <p>(boolean) Whether the threads should be daemon threads or not, the default is <code>true</code></p>

+    </td></tr><tr><td align="left" valign="center"><code>namePrefix</code></td><td align="left" valign="center">

+      <p>(String) The name prefix for each thread created by the executor.

+         The thread name for an individual thread will be <code>namePrefix+threadNumber</code></p>

+    </td></tr><tr><td align="left" valign="center"><code>maxThreads</code></td><td align="left" valign="center">

+      <p>(int) The max number of active threads in this pool, default is <code>200</code></p>

+    </td></tr><tr><td align="left" valign="center"><code>minSpareThreads</code></td><td align="left" valign="center">

+      <p>(int) The minimum number of threads always kept alive, default is <code>25</code></p>

+    </td></tr><tr><td align="left" valign="center"><code>maxIdleTime</code></td><td align="left" valign="center">

+      <p>(int) The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less

+         or equal to minSpareThreads. Default value is <code>60000</code>(1 minute)</p>

+    </td></tr><tr><td align="left" valign="center"><code>maxQueueSize</code></td><td align="left" valign="center">

+      <p>(int) The maximum number of runnable tasks that can queue up awaiting

+        execution before we reject them. Default value is <code>Integer.MAX_VALUE</code></p>

+    </td></tr></table>

+

+

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/filter.html b/tomcat-uid/webapps/docs/config/filter.html
new file mode 100644
index 0000000..118fb51
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/filter.html
@@ -0,0 +1,159 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - Container Provided Filters</title><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>Container Provided Filters</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#CSRF_Prevention_Filter">CSRF Prevention Filter</a><ol><li><a href="#CSRF_Prevention_Filter/Introduction">Introduction</a></li><li><a href="#CSRF_Prevention_Filter/Filter_Class_Name">Filter Class Name</a></li><li><a href="#CSRF_Prevention_Filter/Initialisation_parameters">Initialisation parameters</a></li></ol></li><li><a href="#Set_Character_Encoding_Filter">Set Character Encoding Filter</a><ol><li><a href="#Set_Character_Encoding_Filter/Introduction">Introduction</a></li><li><a href="#Set_Character_Encoding_Filter/Filter_Class_Name">Filter Class Name</a></li><li><a href="#Set_Character_Encoding_Filter/Initialisation_parameters">Initialisation parameters</a></li></ol></li><li><a href="#Failed_Request_Filter">Failed Request Filter</a><ol><li><a href="#Failed_Request_Filter/Introduction">Introduction</a></li><li><a href="#Failed_Request_Filter/Filter_Class_Name">Filter Class Name</a></li><li><a href="#Failed_Request_Filter/Initialisation_parameters">Initialisation parameters</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>Tomcat provides a number of <strong>Filters</strong> which may be

+  configured for use with all web applications using

+  <code>$CATALINA_BASE/conf/web.xml</code> or may be configured for individual

+  web applications by configuring them in the application's

+  <code>WEB-INF/web.xml</code>. Each filter is described below.</p>

+

+    <blockquote><em>

+    <p>This description uses the variable name $CATALINA_BASE to refer the

+    base directory against which most relative paths are resolved. If you have

+    not configured Tomcat for multiple instances by setting a CATALINA_BASE

+    directory, then $CATALINA_BASE will be set to the value of $CATALINA_HOME,

+    the directory into which you have installed Tomcat.</p>

+    </em></blockquote>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="CSRF Prevention Filter"><!--()--></a><a name="CSRF_Prevention_Filter"><strong>CSRF Prevention Filter</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="CSRF Prevention Filter/Introduction"><!--()--></a><a name="CSRF_Prevention_Filter/Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>This filter provides basic CSRF protection for a web application. The

+    filter assumes that it is mapped to <code>/*</code> and that all URLs

+    returned to the client are encoded via a call to

+    <code>HttpServletResponse#encodeRedirectURL(String)</code> or

+    <code>HttpServletResponse#encodeURL(String)</code>.</p>

+    

+    <p>This filter prevents CSRF by generating a nonce and storing it in the

+    session. URLs are also encoded with the same nonce. When the next request is

+    received the nonce in the request is compared to the nonce in the session

+    and only if they are the same is the request allowed to continue.</p>

+    

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="CSRF Prevention Filter/Filter Class Name"><!--()--></a><a name="CSRF_Prevention_Filter/Filter_Class_Name"><strong>Filter Class Name</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The filter class name for the CSRF Prevention Filter is

+    <strong><code>org.apache.catalina.filters.CsrfPreventionFilter</code>

+    </strong>.</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="CSRF Prevention Filter/Initialisation parameters"><!--()--></a><a name="CSRF_Prevention_Filter/Initialisation_parameters"><strong>Initialisation parameters</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The CSRF Prevention Filter supports the following initialisation

+    parameters:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>entryPoints</code></td><td align="left" valign="center">

+        <p>A comma separated list of URLs that will not be tested for the

+        presence of a valid nonce. They are used to provide a way to navigate

+        back to a protected application after having navigated away from it.

+        Entry points will be limited to HTTP GET requests and should not trigger

+        any security sensitive actions.</p>

+      </td></tr><tr><td align="left" valign="center"><code>nonceCacheSize</code></td><td align="left" valign="center">

+        <p>The number of previously issued nonces that will be cached on a LRU

+        basis to support parallel requests, limited use of the refresh and back

+        in the browser and similar behaviors that may result in the submission

+        of a previous nonce rather than the current one. If not set, the default

+        value of 5 will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>randomClass</code></td><td align="left" valign="center">

+        <p>The name of the class to use to generate nonces. The class must be an

+        instance of <code>java.util.Random</code>. If not set, the default value

+        of <code>java.security.SecureRandom</code> will be used.</p>

+      </td></tr></table>

+    

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Set Character Encoding Filter"><!--()--></a><a name="Set_Character_Encoding_Filter"><strong>Set Character Encoding Filter</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Set Character Encoding Filter/Introduction"><!--()--></a><a name="Set_Character_Encoding_Filter/Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>User agents don't always include character encoding information in

+    requests. Depending on the how the request is processed, usually the

+    default encoding of ISO-8859-1 is used. This is not always

+    desirable. This filter provides options for setting that encoding or

+    forcing it to a particular value. Essentially this filter calls

+    <code>ServletRequest.setCharacterEncoding()</code> method.</p>

+

+    <p>Effectively the value set by this filter is used when parsing parameters

+    in a POST request, if parameter parsing occurs later than this filter. Thus

+    the order of filter mappings is important. Note that the encoding for GET

+    requests is not set here, but on a <strong>Connector</strong>. See

+    CharacterEncoding page in the FAQ for details.</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Set Character Encoding Filter/Filter Class Name"><!--()--></a><a name="Set_Character_Encoding_Filter/Filter_Class_Name"><strong>Filter Class Name</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The filter class name for the Set Character Encoding Filter is

+    <strong><code>org.apache.catalina.filters.SetCharacterEncodingFilter</code></strong>.</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Set Character Encoding Filter/Initialisation parameters"><!--()--></a><a name="Set_Character_Encoding_Filter/Initialisation_parameters"><strong>Initialisation parameters</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The Set Character Encoding Filter supports the following initialization

+    parameters:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>encoding</code></strong></td><td align="left" valign="center">

+        <p>Name of the character encoding which should be set.</p>

+      </td></tr><tr><td align="left" valign="center"><code>ignore</code></td><td align="left" valign="center">

+        <p>Determines if any character encoding specified by the user agent is

+        ignored. If this attribute is <code>true</code>, any value provided by

+        the user agent is ignored. If <code>false</code>, the encoding is only

+        set if the user agent did not specify an encoding. The default value

+        is <code>false</code>.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Failed Request Filter"><!--()--></a><a name="Failed_Request_Filter"><strong>Failed Request Filter</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Failed Request Filter/Introduction"><!--()--></a><a name="Failed_Request_Filter/Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>This filter triggers parameters parsing in a request and rejects the

+    request if some parameters were skipped during parameter parsing because

+    of parsing errors or request size limitations (such as

+    <code>maxParameterCount</code> attribute in a

+    <a href="http.html">Connector</a>).

+    This filter can be used to ensure that none parameter values submitted by

+    client are lost.</p>

+

+    <p>Note that parameter parsing may consume the body of an HTTP request, so

+    caution is needed if the servlet protected by this filter uses

+    <code>request.getInputStream()</code> or <code>request.getReader()</code>

+    calls. In general the risk of breaking a web application by adding this

+    filter is not so high, because parameter parsing does check content type

+    of the request before consuming the request body.</p>

+

+    <p>Note, that for the POST requests to be parsed correctly, a

+    <code>SetCharacterEncodingFilter</code> filter must be configured above

+    this one. See CharacterEncoding page in the FAQ for details.</p>

+

+    <p>The request is rejected with HTTP status code 400 (Bad Request).</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Failed Request Filter/Filter Class Name"><!--()--></a><a name="Failed_Request_Filter/Filter_Class_Name"><strong>Filter Class Name</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The filter class name for the Failed Request Filter is

+    <strong><code>org.apache.catalina.filters.FailedRequestFilter</code></strong>.</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Failed Request Filter/Initialisation parameters"><!--()--></a><a name="Failed_Request_Filter/Initialisation_parameters"><strong>Initialisation parameters</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The Failed Request Filter does not support any initialization parameters.</p>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/globalresources.html b/tomcat-uid/webapps/docs/config/globalresources.html
new file mode 100644
index 0000000..1e29141
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/globalresources.html
@@ -0,0 +1,202 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The GlobalNamingResources Component</title><meta name="author" content="Remy Maucherat"><meta name="author" content="Yoav Shapira"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The GlobalNamingResources Component</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Attributes">Attributes</a></li><li><a href="#Nested_Components">Nested Components</a></li><li><a href="#Special_Features">Special Features</a><ol><li><a href="#Environment_Entries">Environment Entries</a></li><li><a href="#Resource_Definitions">Resource Definitions</a></li><li><a href="#Resource_Links">Resource Links</a></li><li><a href="#Transaction">Transaction</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>The <strong>GlobalNamingResources</strong> element defines the global

+  JNDI resources for the <a href="server.html">Server</a>.</p>

+

+  <p>These resources are listed in the server's global JNDI resource context.

+   This context is distinct from the per-web-application JNDI contexts 

+  described in

+  the <a href="../jndi-resources-howto.html">JNDI Resources HOW-TO</a>.

+  The resources defined in this element are <strong>not</strong> visible in

+  the per-web-application contexts unless you explicitly link them with

+  <a href="context.html#Resource Links">&lt;ResourceLink&gt;</a> elements.

+  </p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nested Components"><!--()--></a><a name="Nested_Components"><strong>Nested Components</strong></a></font></td></tr><tr><td><blockquote>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Special Features"><!--()--></a><a name="Special_Features"><strong>Special Features</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Environment Entries"><!--()--></a><a name="Environment_Entries"><strong>Environment Entries</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>You can configure named values that will be made visible to all

+    web applications as environment entry resources by nesting

+    <code>&lt;Environment&gt;</code> entries inside this element. For

+    example, you can create an environment entry like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;GlobalNamingResources ...&gt;

+  ...

+  &lt;Environment name="maxExemptions" value="10"

+         type="java.lang.Integer" override="false"/&gt;

+  ...

+&lt;/GlobalNamingResources&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>This is equivalent to the inclusion of the following element in the

+    web application deployment descriptor (<code>/WEB-INF/web.xml</code>):

+    </p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;env-entry&gt;

+  &lt;env-entry-name&gt;maxExemptions&lt;/env-entry-name&gt;

+  &lt;env-entry-value&gt;10&lt;/env-entry-value&gt;

+  &lt;env-entry-type&gt;java.lang.Integer&lt;/env-entry-type&gt;

+&lt;/env-entry&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <p>but does <em>not</em> require modification of the deployment descriptor

+    to customize this value.</p>

+

+    <p>The valid attributes for an <code>&lt;Environment&gt;</code> element

+    are as follows:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>description</code></td><td align="left" valign="center">

+        <p>Optional, human-readable description of this environment entry.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>name</code></strong></td><td align="left" valign="center">

+        <p>The name of the environment entry to be created, relative to the

+        <code>java:comp/env</code> context.</p>

+      </td></tr><tr><td align="left" valign="center"><code>override</code></td><td align="left" valign="center">

+        <p>Set this to <code>false</code> if you do <strong>not</strong> want

+        an <code>&lt;env-entry&gt;</code> for the same environment entry name,

+        found in the web application deployment descriptor, to override the

+        value specified here.  By default, overrides are allowed.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>type</code></strong></td><td align="left" valign="center">

+        <p>The fully qualified Java class name expected by the web application

+        for this environment entry.  Must be one of the legal values for

+        <code>&lt;env-entry-type&gt;</code> in the web application deployment

+        descriptor:  <code>java.lang.Boolean</code>,

+        <code>java.lang.Byte</code>, <code>java.lang.Character</code>,

+        <code>java.lang.Double</code>, <code>java.lang.Float</code>,

+        <code>java.lang.Integer</code>, <code>java.lang.Long</code>,

+        <code>java.lang.Short</code>, or <code>java.lang.String</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>value</code></strong></td><td align="left" valign="center">

+        <p>The parameter value that will be presented to the application

+        when requested from the JNDI context.  This value must be convertable

+        to the Java type defined by the <code>type</code> attribute.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Resource Definitions"><!--()--></a><a name="Resource_Definitions"><strong>Resource Definitions</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>You can declare the characteristics of resources

+    to be returned for JNDI lookups of <code>&lt;resource-ref&gt;</code> and

+    <code>&lt;resource-env-ref&gt;</code> elements in the web application

+    deployment descriptor by defining them in this element and then linking 

+    them with <a href="context.html#Resource Links">&lt;ResourceLink&gt;</a> 

+    elements

+    in the <code><strong>&lt;Context&gt;</strong></code> element.  

+

+    You <strong>MUST</strong> also define any other needed parameters using

+    attributes on the Resource element, to configure

+    the object factory to be used (if not known to Tomcat already), and

+    the properties used to configure that object factory.</p>

+

+    <p>For example, you can create a resource definition like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;GlobalNamingResources ...&gt;

+  ...

+  &lt;Resource name="jdbc/EmployeeDB" auth="Container"

+            type="javax.sql.DataSource"

+     description="Employees Database for HR Applications"/&gt;

+  ...

+&lt;/GlobalNamingResources&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>This is equivalent to the inclusion of the following element in the

+    web application deployment descriptor (<code>/WEB-INF/web.xml</code>):</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;resource-ref&gt;

+  &lt;description&gt;Employees Database for HR Applications&lt;/description&gt;

+  &lt;res-ref-name&gt;jdbc/EmployeeDB&lt;/res-ref-name&gt;

+  &lt;res-ref-type&gt;javax.sql.DataSource&lt;/res-ref-type&gt;

+  &lt;res-auth&gt;Container&lt;/res-auth&gt;

+&lt;/resource-ref&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>but does <em>not</em> require modification of the deployment

+    descriptor to customize this value.</p>

+

+    <p>The valid attributes for a <code>&lt;Resource&gt;</code> element

+    are as follows:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>auth</code></td><td align="left" valign="center">

+        <p>Specify whether the web Application code signs on to the

+        corresponding resource manager programmatically, or whether the

+        Container will sign on to the resource manager on behalf of the

+        application.  The value of this attribute must be

+        <code>Application</code> or <code>Container</code>.  This

+        attribute is <strong>required</strong> if the web application

+        will use a <code>&lt;resource-ref&gt;</code> element in the web

+        application deployment descriptor, but is optional if the

+        application uses a <code>&lt;resource-env-ref&gt;</code> instead.</p>

+      </td></tr><tr><td align="left" valign="center"><code>description</code></td><td align="left" valign="center">

+        <p>Optional, human-readable description of this resource.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>name</code></strong></td><td align="left" valign="center">

+        <p>The name of the resource to be created, relative to the

+        <code>java:comp/env</code> context.</p>

+      </td></tr><tr><td align="left" valign="center"><code>scope</code></td><td align="left" valign="center">

+        <p>Specify whether connections obtained through this resource

+        manager can be shared.  The value of this attribute must be

+        <code>Shareable</code> or <code>Unshareable</code>.  By default,

+        connections are assumed to be shareable.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>type</code></strong></td><td align="left" valign="center">

+        <p>The fully qualified Java class name expected by the web

+        application when it performs a lookup for this resource.</p>

+      </td></tr></table>

+

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Resource Links"><!--()--></a><a name="Resource_Links"><strong>Resource Links</strong></a></font></td></tr><tr><td><blockquote>

+    <p>Use <a href="context.html#Resource Links">&lt;ResourceLink&gt;</a> 

+    elements to link resources from the global context into 

+    per-web-application contexts. Here is an example of making a custom 

+    factory available to an application, based on the example definition in the 

+    <a href="../jndi-resources-howto.html#Generic JavaBean Resources">

+    JNDI Resource HOW-TO</a>:

+    </p>

+

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+      

+        &lt;Context&gt;

+          &lt;ResourceLink 

+            name="bean/MyBeanFactory"

+            global="bean/MyBeanFactory"

+            type="com.mycompany.MyBean"

+          /&gt;

+        &lt;/Context&gt;

+      

+    </pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+   </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Transaction"><strong>Transaction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>You can declare the characteristics of the UserTransaction

+    to be returned for JNDI lookup for <code>java:comp/UserTransaction</code>. 

+    You <strong>MUST</strong> define an object factory class to instantiate

+    this object as well as the needed resource parameters as attributes of the 

+    <code>Transaction</code> 

+    element, and the properties used to configure that object factory.</p>

+

+    <p>The valid attributes for the <code>&lt;Transaction&gt;</code> element

+    are as follows:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>factory</code></strong></td><td align="left" valign="center">

+        <p>The class name for the JNDI object factory.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/host.html b/tomcat-uid/webapps/docs/config/host.html
new file mode 100644
index 0000000..6a864a3
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/host.html
@@ -0,0 +1,563 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Host Container</title><meta name="author" content="Craig R. McClanahan"><meta name="author" content="Remy Maucherat"><meta name="author" content="Yoav Shapira"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Host Container</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li><li><a href="#Standard_Implementation">Standard Implementation</a></li></ol></li><li><a href="#Nested_Components">Nested Components</a></li><li><a href="#Special_Features">Special Features</a><ol><li><a href="#Logging">Logging</a></li><li><a href="#Access_Logs">Access Logs</a></li><li><a href="#Automatic_Application_Deployment">Automatic Application Deployment</a></li><li><a href="#Host_Name_Aliases">Host Name Aliases</a></li><li><a href="#Lifecycle_Listeners">Lifecycle Listeners</a></li><li><a href="#Request_Filters">Request Filters</a></li><li><a href="#Single_Sign_On">Single Sign On</a></li><li><a href="#User_Web_Applications">User Web Applications</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>The <strong>Host</strong> element represents a <em>virtual host</em>,

+  which is an association of a network name for a server (such as

+  "www.mycompany.com" with the particular server on which Catalina is

+  running.  In order to be effective, this name must be registered in the

+  <em>Domain Name Service</em> (DNS) server that manages the Internet

+  domain you belong to - contact your Network Administrator for more

+  information.</p>

+

+  <p>In many cases, System Administrators wish to associate more than

+  one network name (such as <code>www.mycompany.com</code> and

+  <code>company.com</code>) with the same virtual host and applications.

+  This can be accomplished using the <a href="#Host Name Aliases">Host

+  Name Aliases</a> feature discussed below.</p>

+

+  <p>One or more <strong>Host</strong> elements are nested inside an

+  <a href="engine.html">Engine</a> element.  Inside the Host element, you

+  can nest <a href="context.html">Context</a> elements for the web

+  applications associated with this virtual host.  Exactly one of the Hosts

+  associated with each Engine MUST have a name matching the

+  <code>defaultHost</code> attribute of that Engine.</p>

+

+    <blockquote><em>

+    <p>The description below uses the variable name $CATALINA_BASE to refer the

+    base directory against which most relative paths are resolved. If you have

+    not configured Tomcat for multiple instances by setting a CATALINA_BASE

+    directory, then $CATALINA_BASE will be set to the value of $CATALINA_HOME,

+    the directory into which you have installed Tomcat.</p>

+    </em></blockquote>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>All implementations of <strong>Host</strong>

+    support the following attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>appBase</code></strong></td><td align="left" valign="center">

+        <p>The <em>Application Base</em> directory for this virtual host.

+        This is the pathname of a directory that may contain web applications

+        to be deployed on this virtual host.  You may specify an

+        absolute pathname, or a pathname that is relative to the

+        <code>$CATALINA_BASE</code> directory.  See

+        <a href="#Automatic_Application_Deployment">Automatic Application

+        Deployment</a> for more information on automatic recognition and

+        deployment of web applications. If not specified, the default of

+        <code>webapps</code> will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>autoDeploy</code></td><td align="left" valign="center">

+        <p>This flag value indicates if Tomcat should check periodically for new

+        or updated web applications while Tomcat is running. If true, Tomcat

+        periodically checks the <code>appBase</code> and

+        <code>$CATALINA_BASE/conf/[engine_name]/[host_name]</code>

+        directories and deploys any new web applications or context XML

+        descriptors found. Updated web applications or context XML descriptors

+        will trigger a reload of the web application. The flag's value defaults

+        to true.  See

+        <a href="#Automatic_Application_Deployment">Automatic Application

+        Deployment</a> for more information.</p>

+      </td></tr><tr><td align="left" valign="center"><code>backgroundProcessorDelay</code></td><td align="left" valign="center">

+        <p>This value represents the delay in seconds between the 

+        invocation of the backgroundProcess method on this host and 

+        its child containers, including all contexts. 

+        Child containers will not be invoked if their delay value is not 

+        negative (which would mean they are using their own processing 

+        thread). Setting this to a positive value will cause 

+        a thread to be spawn. After waiting the specified amount of time, 

+        the thread will invoke the backgroundProcess method on this host 

+        and all its child containers. A host will use background processing to

+        perform live web application deployment related tasks. If not 

+        specified, the default value for this attribute is -1, which means 

+        the host will rely on the background processing thread of its parent 

+        engine.</p>

+      </td></tr><tr><td align="left" valign="center"><code>className</code></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This class must

+        implement the <code>org.apache.catalina.Host</code> interface.

+        If not specified, the standard value (defined below) will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>deployIgnore</code></td><td align="left" valign="center">

+        <p>A regular expression defining paths to ignore when

+        <code>autoDeploy</code> and <code>deployOnStartup</code> are set. This

+        allows you to keep your configuration in a version control system, for

+        example, and not deploy a .svn or CVS folder that happens to be in the

+        <code>appBase</code>.</p>

+        <p>This regular expression is relative to <code>appBase</code>. It is

+        also <em>anchored</em>, meaning the match is performed against the

+        entire file/directory name. So, <code>foo</code> matches only a file or

+        directory named <code>foo</code> but not <code>foo.war</code>,

+        <code>foobar</code>, or <code>myfooapp</code>. To match anything with

+        "foo", you could use <code>.*foo.*</code>.</p>

+        <p>See <a href="#Automatic_Application_Deployment">Automatic Application

+        Deployment</a> for more information.</p>

+      </td></tr><tr><td align="left" valign="center"><code>deployOnStartup</code></td><td align="left" valign="center">

+        <p>This flag value indicates if web applications from this host should

+        be automatically deployed when Tomcat starts. The flag's value defaults

+        to true.  See

+        <a href="#Automatic_Application_Deployment">Automatic Application

+        Deployment</a> for more information.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>name</code></strong></td><td align="left" valign="center">

+        <p>Network name of this virtual host, as registered in your

+        <em>Domain Name Service</em> server. Regardless of the case used to

+        specify the hostname, Tomcat will convert it to lower case internally.

+        One of the Hosts nested within an <a href="engine.html">Engine</a> MUST

+        have a name that matches the <code>defaultHost</code> setting for that

+        Engine.  See <a href="#Host Name Aliases">Host Name Aliases</a> for

+        information on how to assign more than one network name to the same

+        virtual host.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Standard Implementation"><!--()--></a><a name="Standard_Implementation"><strong>Standard Implementation</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The standard implementation of <strong>Host</strong> is

+    <strong>org.apache.catalina.core.StandardHost</strong>.

+    It supports the following additional attributes (in addition to the

+    common attributes listed above):</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>deployXML</code></td><td align="left" valign="center">

+        <p>Set to <code>false</code> if you want to disable parsing the context

+        XML descriptor embedded inside the application (located at

+        <code>/META-INF/context.xml</code>). Security conscious environments

+        should set this to <code>false</code> to prevent applications from

+        interacting with the container's configuration. The  administrator will

+        then be responsible for providing an external context configuration

+        file, and putting it in

+        <code>$CATALINA_BASE/conf/[engine_name]/[host_name]</code>. The flag's

+        value defaults to <code>true</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>errorReportValveClass</code></td><td align="left" valign="center">

+        <p>Java class name of the error reporting valve which will be used

+        by this Host. The responsibility of this valve is to output error

+        reports. Setting this property allows to customize the look of the

+        error pages which will be generated by Tomcat. This class must

+        implement the

+        <code>org.apache.catalina.Valve</code> interface. If none is specified,

+        the value <code>org.apache.catalina.valves.ErrorReportValve</code>

+        will be used by default.</p>

+      </td></tr><tr><td align="left" valign="center"><code>unpackWARs</code></td><td align="left" valign="center">

+        <p>Set to <code>true</code> if you want web applications that are

+        placed in the <code>appBase</code> directory as web application

+        archive (WAR) files to be unpacked into a corresponding disk directory

+        structure, <code>false</code> to run such web applications directly

+        from a WAR file. WAR files located outside of the Host's

+        <strong>appBase</strong> will not be expanded. See

+        <a href="#Automatic_Application_Deployment">Automatic Application

+        Deployment</a> for more information.</p>

+      </td></tr><tr><td align="left" valign="center"><code>workDir</code></td><td align="left" valign="center">

+        <p>Pathname to a scratch directory to be used by applications for

+        this Host. Each application will have its own sub directory with

+        temporary read-write use.  Configuring a Context workDir will override

+        use of the Host workDir configuration.  This directory will be made

+        visible to servlets in the web application by a servlet context

+        attribute (of type <code>java.io.File</code>) named

+        <code>javax.servlet.context.tempdir</code> as described in the

+        Servlet Specification.  If not specified, a suitable directory

+        underneath <code>$CATALINA_BASE/work</code> will be provided.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nested Components"><!--()--></a><a name="Nested_Components"><strong>Nested Components</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>You can nest one or more <a href="context.html">Context</a> elements

+  inside this <strong>Host</strong> element, each representing a different web

+  application associated with this virtual host.</p>

+

+  <p>You can nest at most one instance of the following utility components

+  by nesting a corresponding element inside your <strong>Host</strong>

+  element:</p>

+  <ul>

+  <li><a href="realm.html"><strong>Realm</strong></a> -

+      Configure a realm that will allow its

+      database of users, and their associated roles, to be shared across all

+      <a href="context.html">Contexts</a> nested inside this Host (unless

+      overridden by a <a href="realm.html">Realm</a> configuration

+      at a lower level).</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Special Features"><!--()--></a><a name="Special_Features"><strong>Special Features</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Logging"><strong>Logging</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>A host is associated with the 

+       <code>org.apache.catalina.core.ContainerBase.[engine_name].[host_name]</code>

+       log category.  Note that the brackets are part of the name,

+       don't omit them.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Access Logs"><!--()--></a><a name="Access_Logs"><strong>Access Logs</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>When you run a web server, one of the output files normally generated

+    is an <em>access log</em>, which generates one line of information for

+    each request processed by the server, in a standard format.  Catalina

+    includes an optional <a href="valve.html">Valve</a> implementation that

+    can create access logs in the same standard format created by web servers,

+    or in any number of custom formats.</p>

+

+    <p>You can ask Catalina to create an access log for all requests

+    processed by an <a href="engine.html">Engine</a>,

+    <a href="host.html">Host</a>, or <a href="context.html">Context</a>

+    by nesting a <a href="valve.html">Valve</a> element like this:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Host name="localhost" ...&gt;

+  ...

+  &lt;Valve className="org.apache.catalina.valves.AccessLogValve"

+         prefix="localhost_access_log." suffix=".txt"

+         pattern="common"/&gt;

+  ...

+&lt;/Host&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>See <a href="valve.html#Access Log Valve">Access Log Valve</a>

+    for more information on the configuration attributes that are

+    supported.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Automatic Application Deployment"><!--()--></a><a name="Automatic_Application_Deployment"><strong>Automatic Application Deployment</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>If you are using the standard <strong>Host</strong> implementation,

+    the following actions take place automatically when Catalina is first

+    started, if the <code>deployOnStartup</code> property is set to

+    <code>true</code> (which is the default value):</p>

+    <ul>

+    <li>Any XML file in

+        <code>$CATALINA_BASE/conf/[engine_name]/[host_name]</code> is

+        assumed to be a context XML descriptor containing a

+        <a href="context.html">Context</a> element (and its associated

+        sub-elements) for a single web application. The web applications

+        associated with each of these context XML descriptor files will be

+        deployed first.<br>

+        The <code>docBase</code> attribute of this <code>&lt;Context&gt;</code>

+        element must only be set if the docBase is outside the Host's

+        <code>appBase</code>. For web applications located inside the Host's

+        <code>appBase</code>, the <code>docBase</code> will be the name of the

+        XML file with ".xml" replaced with ".war" for a web application archive

+        or the name of the XML file with ".xml" removed for a directory.<br>

+        The <code>path</code> attribute must not be set. The context path used

+        will be a slash character ("/") followed by the name of the XML file

+        (less the .xml extension). Multi-level context paths may be defined

+        using #, e.g. <code>foo#bar.xml</code> for a context path of

+        <code>/foo/bar</code>. The default web application that has a context

+        path of <code>/</code> may be defined by using a file called

+        <code>ROOT.xml</code>.</li>

+    <li>Any web application archive file within the Host's <code>appBase</code>

+        directory that has not already been deployed as a result of a context

+        XML descriptor, does not have a corresponding directory of the same

+        name (without the ".war" extension), and is not excluded by

+        <code>deployIgnore</code> will be deployed next. The context path

+        used will be a slash character ("/") followed by the web application

+        archive name less the ".war" extension. The one exception to this rule

+        is that a web application archive named "ROOT.war" will be deployed with

+        a context path of <code>/</code>. Multi-level contexts may be defined by

+        using #, e.g. use a WAR named <code>foo#bar.war</code> for a context

+        path of <code>/foo/bar</code>.<br>

+        If the <code>unpackWARs</code> attribute is <code>true</code>, the web

+        application archive file will be expanded to a directory of the same

+        name (without the ".war" extension".<br>

+        Note: If you re-deploy an updated WAR file while Tomcat is stopped, be

+        sure to delete the associated expanded directory before restarting 

+        Tomcat, so that the updated WAR file will be re-expanded when Tomcat

+        restarts.<br>

+        Any web application archive file within the Hosts's <code>appBase</code>

+        directory that does not have a corresponding context XML descriptor

+        (with a ".xml" extension rather than a ".war" extension) in 

+        <code>$CATALINA_BASE/conf/[engine_name]/[host_name]</code> will be

+        scanned to see if it contains a context XML descriptor (located at

+        <code>/META-INF/context.xml</code>) and if one is found the descriptor

+        will be copied to the

+        <code>$CATALINA_BASE/conf/[engine_name]/[host_name]</code> directory and

+        renamed.

+        </li>

+    <li>Finally, any sub-directory within the Host's <code>appBase</code> that

+        has not already been deployed as a result of a context XML descriptor

+        and is not excluded by <code>deployIgnore</code> will be deployed.

+        The context path used will be a slash character ("/") followed by the

+        directory name, unless the directory name is ROOT, in which case the

+        context path will <code>/</code>. Multi-level contexts may be defined by

+        using #, e.g. use a directory named <code>foo#bar</code> for a context

+        path of <code>/foo/bar</code>.<br>

+        Any directory within the Hosts's <code>appBase</code> directory that

+        does not have a corresponding context XML descriptor in

+        <code>$CATALINA_BASE/conf/[engine_name]/[host_name]</code> will be

+        scanned to see if it contains a context XML descriptor (located at

+        <code>/META-INF/context.xml</code>) and if one is found the descriptor

+        will be copied to

+        <code>$CATALINA_BASE/conf/[engine_name]/[host_name]</code> and renamed.

+        </li>

+    </ul>

+

+    <p>In addition to the automatic deployment that occurs at startup time,

+    you can also request that new XML configuration files, WAR files, or

+    sub-directories that are dropped in to the <code>appBase</code> (or 

+    <code>$CATALINA_BASE/conf/[engine_name]/[host_name]</code> in the case of

+    an XML configuration file) directory while Tomcat is running will be

+    automatically deployed, according to the rules described above. The 

+    auto deployer will also track web applications for the following changes:

+    <ul>

+        <li>An update to the WEB-INF/web.xml file will trigger a reload of the

+          web application</li>

+        <li>Deleting a WAR file will trigger an undeploy of the application with

+          the removal of any associated expanded directory, context file and

+          work directory. Any current user sessions will not be persisted.</li>

+        <li>Deleting a directory will trigger an undeploy of the application

+          with the removal of any associated context file and work directory.

+          Any current user sessions will not be persisted. If there is an

+          associated WAR file, it will not be deleted and the application will

+          be redeployed from the WAR file the next time the auto deployer checks

+          for changes.</li>

+        <li>Deleting a context file will trigger an undeploy of the application

+          with the removal of any associated work directory. Any current user

+          sessions will not be persisted. If there is an associated WAR file

+          and/or directory, they will not be deleted and the application will be

+          redeployed from the WAR file (or from directory if there is no WAR

+          file) the next time the auto deployer checks for changes.</li>

+        <li>Updating a WAR file will trigger an undeploy of the application with

+          the removal of any associated expanded directory, context file and

+          work directory. Any current user sessions will not be persisted.</li>

+        <li>Updating a directory (not the directory contents) will trigger an

+          undeploy of the application with the removal of any associated context

+          file and work directory. Any current user sessions will not be

+          persisted. The application will be redeployed the next time the auto

+          deployer checks for changes.</li>

+        <li>Updating a context file will trigger an undeploy of the application

+          with the removal of any associated work directory. Any current user

+          sessions will not be persisted. The application will be redeployed the

+          next time the auto deployer checks for changes.</li>

+    </ul>

+    </p>

+

+    <p>When using automatic deployment, the <code>docBase</code> defined by

+    an XML <a href="context.html">Context</a> file should be outside of the

+    <code>appBase</code> directory. If this is not the case, difficulties

+    may be experienced deploying the web application or the application may

+    be deployed twice. The <code>deployIgnore</code> attribute can be used

+    to avoid this situation.</p>

+

+    <p>Finally, note that if you are defining contexts explicitly in server.xml,

+    you should probably turn off automatic application deployment or specify

+    <code>deployIgnore</code> carefully. Otherwise, the web applications

+    will each be deployed twice, and that may cause problems for the

+    applications.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Host Name Aliases"><!--()--></a><a name="Host_Name_Aliases"><strong>Host Name Aliases</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>In many server environments, Network Administrators have configured

+    more than one network name (in the <em>Domain Name Service</em> (DNS)

+    server), that resolve to the IP address of the same server.  Normally,

+    each such network name would be configured as a separate

+    <strong>Host</strong> element in <code>conf/server.xml</code>, each

+    with its own set of web applications.</p>

+

+    <p>However, in some circumstances, it is desirable that two or more

+    network names should resolve to the <strong>same</strong> virtual host,

+    running the same set of applications.  A common use case for this

+    scenario is a corporate web site, where it is desirable that users

+    be able to utilize either <code>www.mycompany.com</code> or

+    <code>company.com</code> to access exactly the same content and

+    applications.</p>

+

+    <p>This is accomplished by utilizing one or more <strong>Alias</strong>

+    elements nested inside your <strong>Host</strong> element.  For

+    example:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Host name="www.mycompany.com" ...&gt;

+  ...

+  &lt;Alias&gt;mycompany.com&lt;/Alias&gt;

+  ...

+&lt;/Host&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>In order for this strategy to be effective, all of the network names

+    involved must be registered in your DNS server to resolve to the

+    same computer that is running this instance of Catalina.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Lifecycle Listeners"><!--()--></a><a name="Lifecycle_Listeners"><strong>Lifecycle Listeners</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>If you have implemented a Java object that needs to know when this

+    <strong>Host</strong> is started or stopped, you can declare it by

+    nesting a <strong>Listener</strong> element inside this element.  The

+    class name you specify must implement the

+    <code>org.apache.catalina.LifecycleListener</code> interface, and

+    it will be notified about the occurrence of the corresponding

+    lifecycle events.  Configuration of such a listener looks like this:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Host name="localhost" ...&gt;

+  ...

+  &lt;Listener className="com.mycompany.mypackage.MyListener" ... &gt;

+  ...

+&lt;/Host&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>Note that a Listener can have any number of additional properties

+    that may be configured from this element.  Attribute names are matched

+    to corresponding JavaBean property names using the standard property

+    method naming patterns.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Request Filters"><!--()--></a><a name="Request_Filters"><strong>Request Filters</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>You can ask Catalina to check the IP address, or host name, on every

+    incoming request directed to the surrounding

+    <a href="engine.html">Engine</a>, <a href="host.html">Host</a>, or

+    <a href="context.html">Context</a> element.  The remote address or name

+    will be checked against a configured list of "accept" and/or "deny"

+    filters, which are defined using <code>java.util.regex</code> Regular

+    Expression syntax.  Requests that come from locations that are

+    not accepted will be rejected with an HTTP "Forbidden" error.

+    Example filter declarations:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Host name="localhost" ...&gt;

+  ...

+  &lt;Valve className="org.apache.catalina.valves.RemoteHostValve"

+         allow=".*\.mycompany\.com|www\.yourcompany\.com"/&gt;

+  &lt;Valve className="org.apache.catalina.valves.RemoteAddrValve"

+         deny="192\.168\.1\.\d+"/&gt;

+  ...

+&lt;/Host&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+  <p>See <a href="valve.html#Remote Address Filter">Remote Address Filter</a>

+  and <a href="valve.html#Remote Host Filter">Remote Host Filter</a> for

+  more information about the configuration options that are supported.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Single Sign On"><!--()--></a><a name="Single_Sign_On"><strong>Single Sign On</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>In many environments, but particularly in portal environments, it

+    is desireable to have a user challenged to authenticate themselves only

+    once over a set of web applications deployed on a particular virtual

+    host.  This can be accomplished by nesting an element like this inside

+    the Host element for this virtual host:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Host name="localhost" ...&gt;

+  ...

+  &lt;Valve className="org.apache.catalina.authenticator.SingleSignOn"/&gt;

+  ...

+&lt;/Host&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>The Single Sign On facility operates according to the following rules:

+    </p>

+    <ul>

+    <li>All web applications configured for this virtual host must share the

+        same <a href="realm.html">Realm</a>.  In practice, that means you can

+        nest the Realm element inside this Host element (or the surrounding

+        <a href="engine.html">Engine</a> element), but not inside a

+        <a href="context.html">Context</a> element for one of the involved

+        web applications.</li>

+    <li>As long as the user accesses only unprotected resources in any of the

+        web applications on this virtual host, they will not be challenged

+        to authenticate themselves.</li>

+    <li>As soon as the user accesses a protected resource in

+        <strong>any</strong> web application associated with this virtual

+        host, the user will be challenged to authenticate himself or herself,

+        using the login method defined for the web application currently

+        being accessed.</li>

+    <li>Once authenticated, the roles associated with this user will be

+        utilized for access control decisions across <strong>all</strong>

+        of the associated web applications, without challenging the user

+        to authenticate themselves to each application individually.</li>

+    <li>As soon as the user logs out of one web application (for example,

+        by invalidating the corresponding session if form

+        based login is used), the user's sessions in <strong>all</strong>

+        web applications will be invalidated.  Any subsequent attempt to

+        access a protected resource in any application will require the

+        user to authenticate himself or herself again.</li>

+    <li>The Single Sign On feature utilizes HTTP cookies to transmit a token

+        that associates each request with the saved user identity, so it can

+        only be utilized in client environments that support cookies.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="User Web Applications"><!--()--></a><a name="User_Web_Applications"><strong>User Web Applications</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>Many web servers can automatically map a request URI starting with

+    a tilde character ("~") and a username to a directory (commonly named

+    <code>public_html</code>) in that user's home directory on the server.

+    You can accomplish the same thing in Catalina by using a special

+    <strong>Listener</strong> element like this (on a Unix system that

+    uses the <code>/etc/passwd</code> file to identify valid users):</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Host name="localhost" ...&gt;

+  ...

+  &lt;Listener className="org.apache.catalina.startup.UserConfig"

+            directoryName="public_html"

+            userClass="org.apache.catalina.startup.PasswdUserDatabase"/&gt;

+  ...

+&lt;/Host&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>On a server where <code>/etc/passwd</code> is not in use, you can

+    request Catalina to consider all directories found in a specified base

+    directory (such as <code>c:\Homes</code> in this example) to be

+    considered "user home" directories for the purposes of this directive:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Host name="localhost" ...&gt;

+  ...

+  &lt;Listener className="org.apache.catalina.startup.UserConfig"

+            directoryName="public_html"

+            homeBase=c:\Homes"

+            userClass="org.apache.catalina.startup.HomesUserDatabase"/&gt;

+  ...

+&lt;/Host&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>If a user home directory has been set up for a user named

+    <code>craigmcc</code>, then its contents will be visible from a

+    client browser by making a request to a URL like:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://www.mycompany.com:8080/~craigmcc

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>Successful use of this feature requires recognition of the following

+    considerations:</p>

+    <ul>

+    <li>Each user web application will be deployed with characteristics

+        established by the global and host level default context settings.</li>

+    <li>It is legal to include more than one instance of this Listener

+        element.  This would only be useful, however, in circumstances

+        where you wanted to configure more than one "homeBase" directory.</li>

+    <li>The operating system username under which Catalina is executed

+        MUST have read access to each user's web application directory,

+        and all of its contents.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/http.html b/tomcat-uid/webapps/docs/config/http.html
new file mode 100644
index 0000000..c5b88c0
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/http.html
@@ -0,0 +1,715 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The HTTP Connector</title><meta name="author" content="Craig R. McClanahan"><meta name="author" content="Yoav Shapira"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The HTTP Connector</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li><li><a href="#Standard_Implementation">Standard Implementation</a></li><li><a href="#Nio_Implementation">Nio Implementation</a></li></ol></li><li><a href="#Nested_Components">Nested Components</a></li><li><a href="#Special_Features">Special Features</a><ol><li><a href="#HTTP/1.1_and_HTTP/1.0_Support">HTTP/1.1 and HTTP/1.0 Support</a></li><li><a href="#Proxy_Support">Proxy Support</a></li><li><a href="#SSL_Support">SSL Support</a></li><li><a href="#Connector_Comparison">Connector Comparison</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>The <strong>HTTP Connector</strong> element represents a

+  <strong>Connector</strong> component that supports the HTTP/1.1 protocol.

+  It enables Catalina to function as a stand-alone web server, in addition

+  to its ability to execute servlets and JSP pages.  A particular instance

+  of this component listens for connections on a specific TCP port number

+  on the server.  One or more such <strong>Connectors</strong> can be

+  configured as part of a single <a href="service.html">Service</a>, each

+  forwarding to the associated <a href="engine.html">Engine</a> to perform

+  request processing and create the response.</p>

+

+  <p>If you wish to configure the <strong>Connector</strong> that is used

+  for connections to web servers using the AJP protocol (such as the

+  <code>mod_jk 1.2.x</code> connector for Apache 1.3), see

+  <a href="ajp.html">here</a> instead.</p>

+

+  <p>Each incoming request requires

+  a thread for the duration of that request.  If more simultaneous requests

+  are received than can be handled by the currently available request

+  processing threads, additional threads will be created up to the

+  configured maximum (the value of the <code>maxThreads</code> attribute).

+  If still more simultaneous requests are received, they are stacked up

+  inside the server socket created by the <strong>Connector</strong>, up to

+  the configured maximum (the value of the <code>acceptCount</code>

+  attribute).  Any further simultaneous requests will receive "connection

+  refused" errors, until resources are available to process them.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>All implementations of <strong>Connector</strong>

+  support the following attributes:</p>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>allowTrace</code></td><td align="left" valign="center">

+      <p>A boolean value which can be used to enable or disable the TRACE

+      HTTP method. If not specified, this attribute is set to false.</p>

+    </td></tr><tr><td align="left" valign="center"><code>emptySessionPath</code></td><td align="left" valign="center">

+      <p>If set to <code>true</code>, all paths for session cookies will be set

+      to <code>/</code>. This can be useful for portlet specification implementations.

+      If not specified, this attribute is set to <code>false</code>.<br>

+      A side effect to setting this to true, is that if Tomcat creates a new session it will attempt to use the 

+      cookie session id if supplied by the client.<br>

+      <a href="http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Request.java?diff_format=h&view=log#rev303682">SVN check in</a><br>

+      <a href="http://tomcat.markmail.org/search/?q=emptysessionpath%20reuse#query:emptysessionpath%20reuse%20date%3A200502%20+page:1+mid:2bocwjhn3cczsoii+state:results">Dev discussion</a><br>

+      <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=47298">Work around</a>

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>enableLookups</code></td><td align="left" valign="center">

+      <p>Set to <code>true</code> if you want calls to

+      <code>request.getRemoteHost()</code> to perform DNS lookups in

+      order to return the actual host name of the remote client.  Set

+      to <code>false</code> to skip the DNS lookup and return the IP

+      address in String form instead (thereby improving performance).

+      By default, DNS lookups are disabled.</p>

+    </td></tr><tr><td align="left" valign="center"><code>maxHeaderCount</code></td><td align="left" valign="center">

+      <p>The maximum number of headers in a request that are allowed by the

+      container. A request that contains more headers than the specified limit

+      will be rejected. A value of less than 0 means no limit.

+      If not specified, a default of 100 is used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>maxParameterCount</code></td><td align="left" valign="center">

+      <p>The maximum number of parameters (GET plus POST) which will be

+      automatically parsed by the container. A value of less than 0 means no

+      limit. If not specified, a default of 10000 is used. Note that

+      <code>FailedRequestFilter</code> <a href="filter.html">filter</a> can be

+      used to reject requests that hit the limit.</p>

+    </td></tr><tr><td align="left" valign="center"><code>maxPostSize</code></td><td align="left" valign="center">

+      <p>The maximum size in bytes of the POST which will be handled by

+      the container FORM URL parameter parsing. The limit can be disabled by

+      setting this attribute to a value less than or equal to 0.

+      If not specified, this attribute is set to 2097152 (2 megabytes).</p>

+    </td></tr><tr><td align="left" valign="center"><code>maxSavePostSize</code></td><td align="left" valign="center">

+      <p>The maximum size in bytes of the POST which will be saved/buffered by

+      the container during FORM or CLIENT-CERT authentication. For both types

+      of authentication, the POST will be saved/buffered before the user is

+      authenticated. For CLIENT-CERT authentication, the POST is buffered for

+      the duration of the SSL handshake and the buffer emptied when the request

+      is processed. For FORM authentication the POST is saved whilst the user

+      is re-directed to the login form and is retained until the user

+      successfully authenticates or the session associated with the

+      authentication request expires. The limit can be disabled by setting this

+      attribute to -1. Setting the attribute to zero will disable the saving of

+      POST data during authentication. If not specified, this attribute is set

+      to 4096 (4 kilobytes).</p>

+    </td></tr><tr><td align="left" valign="center"><code>parseBodyMethods</code></td><td align="left" valign="center">

+      <p>A comma-separated list of HTTP methods for which request

+      bodies will be parsed for request parameters identically

+      to POST. This is useful in RESTful applications that want to

+      support POST-style semantics for PUT requests.

+      Note that any setting other than <code>POST</code> causes Tomcat

+      to behave in a way that does against the intent of the servlet

+      specification.

+      The HTTP method TRACE is specifically forbidden here in accordance

+      with the HTTP specification.

+      The default is <code>POST</code></p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>port</code></strong></td><td align="left" valign="center">

+      <p>The TCP port number on which this <strong>Connector</strong>

+      will create a server socket and await incoming connections.  Your

+      operating system will allow only one server application to listen

+      to a particular port number on a particular IP address.</p>

+    </td></tr><tr><td align="left" valign="center"><code>protocol</code></td><td align="left" valign="center">

+      <p>

+        Sets the protocol to handle incoming traffic.

+        The default value is <code>HTTP/1.1</code> and configures the 

+        <code>org.apache.coyote.http11.Http11Protocol</code>. This is the blocking Java connector.<br>

+        If the <code>PATH</code> (Windows) or <code>LD_LIBRARY_PATH</code> (on most unix systems)

+        environment variables contain the Tomcat native library, the APR connector

+        will automatically be configured. Please be advised that the APR connector has different

+        settings for HTTPS than the default Java connector.<br>

+        Other values for this attribute are, but not limited to:<br>

+        <code>org.apache.coyote.http11.Http11Protocol</code> - same as HTTP/1.1<br>

+        <code>org.apache.coyote.http11.Http11NioProtocol</code> - non blocking Java connector<br>

+        <code>org.apache.coyote.http11.Http11AprProtocol</code> - the APR connector.<br>

+        Take a look at our <a href="#Connector Comparison">Connector Comparison</a> chart.

+        The configuration for both Java connectors are identical, both for http and https. <br>

+        For more information on the APR connector and APR specific SSL settings please 

+        visit the <a href="../apr.html">APR documentation</a>

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>proxyName</code></td><td align="left" valign="center">

+      <p>If this <strong>Connector</strong> is being used in a proxy

+      configuration, configure this attribute to specify the server name

+      to be returned for calls to <code>request.getServerName()</code>.

+      See <a href="#Proxy Support">Proxy Support</a> for more

+      information.</p>

+    </td></tr><tr><td align="left" valign="center"><code>proxyPort</code></td><td align="left" valign="center">

+      <p>If this <strong>Connector</strong> is being used in a proxy

+      configuration, configure this attribute to specify the server port

+      to be returned for calls to <code>request.getServerPort()</code>.

+      See <a href="#Proxy Support">Proxy Support</a> for more

+      information.</p>

+    </td></tr><tr><td align="left" valign="center"><code>redirectPort</code></td><td align="left" valign="center">

+      <p>If this <strong>Connector</strong> is supporting non-SSL

+      requests, and a request is received for which a matching

+      <code>&lt;security-constraint&gt;</code> requires SSL transport,

+      Catalina will automatically redirect the request to the port

+      number specified here.</p>

+    </td></tr><tr><td align="left" valign="center"><code>SSLEnabled</code></td><td align="left" valign="center">

+      <p>

+      Use this attribute to enable SSL traffic on a connector.

+      To turn on SSL handshake/encryption/decryption on a connector

+      set this value to <code>true</code>.

+      The default value is <code>false</code>.

+      When turning this value <code>true</code> you will want to set the 

+      <code>scheme</code> and the <code>secure</code> attributes as well

+      to pass the correct <code>request.getScheme()</code> and 

+      <code>request.isSecure()</code> values to the servlets

+      See <a href="#SSL Support">SSL Support</a> for more information.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>scheme</code></td><td align="left" valign="center">

+      <p>Set this attribute to the name of the protocol you wish to have

+      returned by calls to <code>request.getScheme()</code>.  For

+      example, you would set this attribute to "<code>https</code>"

+      for an SSL Connector.  The default value is "<code>http</code>".

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>secure</code></td><td align="left" valign="center">

+      <p>Set this attribute to <code>true</code> if you wish to have

+      calls to <code>request.isSecure()</code> to return <code>true</code>

+      for requests received by this Connector. You would want this on an

+      SSL Connector or a non SSL connector that is receiving data from a 

+      SSL accelerator, like a crypto card, a SSL appliance or even a webserver.

+      The default value is <code>false</code>.</p>

+    </td></tr><tr><td align="left" valign="center"><code>URIEncoding</code></td><td align="left" valign="center">

+      <p>This specifies the character encoding used to decode the URI bytes,

+      after %xx decoding the URL. If not specified, ISO-8859-1 will be used.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>useBodyEncodingForURI</code></td><td align="left" valign="center">

+      <p>This specifies if the encoding specified in contentType should be used

+      for URI query parameters, instead of using the URIEncoding. This

+      setting is present for compatibility with Tomcat 4.1.x, where the

+      encoding specified in the contentType, or explicitly set using

+      Request.setCharacterEncoding method was also used for the parameters from

+      the URL. The default value is <code>false</code>.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>useIPVHosts</code></td><td align="left" valign="center">

+      <p>Set this attribute to <code>true</code> to cause Tomcat to use

+      the IP address that the request was received on to determine the Host

+      to send the request to.  The default value is <code>false</code>.</p>

+    </td></tr><tr><td align="left" valign="center"><code>xpoweredBy</code></td><td align="left" valign="center">

+      <p>Set this attribute to <code>true</code> to cause Tomcat to advertise

+      support for the Servlet specification using the header recommended in the

+      specification.  The default value is <code>false</code>.</p>

+    </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Standard Implementation"><!--()--></a><a name="Standard_Implementation"><strong>Standard Implementation</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>

+  HTTP supports the following additional attributes (in addition to the

+  common attributes listed above):</p>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>acceptCount</code></td><td align="left" valign="center">

+      <p>The maximum queue length for incoming connection requests when

+      all possible request processing threads are in use.  Any requests

+      received when the queue is full will be refused.  The default

+      value is 100.</p>

+    </td></tr><tr><td align="left" valign="center"><code>address</code></td><td align="left" valign="center">

+      <p>For servers with more than one IP address, this attribute

+      specifies which address will be used for listening on the specified

+      port.  By default, this port will be used on all IP addresses

+      associated with the server.</p>

+    </td></tr><tr><td align="left" valign="center"><code>bufferSize</code></td><td align="left" valign="center">

+      <p>The size (in bytes) of the buffer to be provided for input

+      streams created by this connector.  By default, buffers of

+      2048 bytes will be provided.</p>

+    </td></tr><tr><td align="left" valign="center"><code>compressableMimeType</code></td><td align="left" valign="center">

+      <p>The value is a comma separated list of MIME types for which HTTP

+      compression may be used.

+      The default value is <code>text/html,text/xml,text/plain</code>.</p>

+    </td></tr><tr><td align="left" valign="center"><code>compression</code></td><td align="left" valign="center">

+      <p>The <strong>Connector</strong> may use HTTP/1.1 GZIP compression in

+      an attempt to save server bandwidth. The acceptable values for the

+      parameter is "off" (disable compression), "on" (allow compression, which

+      causes text data to be compressed), "force" (forces compression in all

+      cases), or a numerical integer value (which is equivalent to "on", but

+      specifies the minimum amount of data before the output is compressed). If

+      the content-length is not known and compression is set to "on" or more

+      aggressive, the output will also be compressed. If not specified, this

+      attribute is set to "off".</p>

+      <p><em>Note</em>: There is a tradeoff between using compression (saving

+      your bandwidth) and using the sendfile feature (saving your CPU cycles).

+      If the connector supports the sendfile feature, e.g. the NIO connector,

+      using sendfile will take precedence over compression. The symptoms will

+      be that static files greater that 48 Kb will be sent uncompressed.

+      You can turn off sendfile by setting <code>useSendfile</code> attribute

+      of the connector, as documented below, or change the sendfile usage

+      threshold in the configuration of the

+      <a href="../default-servlet.html">DefaultServlet</a> in the default

+      <code>conf/web.xml</code> or in the <code>web.xml</code> of your web

+      application.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>connectionLinger</code></td><td align="left" valign="center">

+      <p>The number of seconds during which the sockets used by this

+      <strong>Connector</strong> will linger when they are closed. Setting this

+      attribute to <code>-1</code> will disable connection linger. The default

+      value for the BIO and AJP connectors is 100. The default value for the NIO

+      connection is 25.</p>

+    </td></tr><tr><td align="left" valign="center"><code>connectionTimeout</code></td><td align="left" valign="center">

+      <p>The number of milliseconds this <strong>Connector</strong> will wait,

+      after accepting a connection, for the request URI line to be

+      presented.  The default value is 60000 (i.e. 60 seconds).</p>

+    </td></tr><tr><td align="left" valign="center"><code>executor</code></td><td align="left" valign="center">

+      <p>A reference to the name in an <a href="executor.html">Executor</a> element.

+         If this attribute is enabled, and the named executor exists, the connector will

+         use the executor, and all the other thread attributes will be ignored.</p>

+    </td></tr><tr><td align="left" valign="center"><code>keepAliveTimeout</code></td><td align="left" valign="center">

+      <p>The number of milliseconds this <strong>Connector</strong> will wait for

+       another HTTP request before closing the connection.

+       The default value is to use the value that has been set for the

+       connectionTimeout attribute.</p>

+    </td></tr><tr><td align="left" valign="center"><code>disableUploadTimeout</code></td><td align="left" valign="center">

+      <p>This flag allows the servlet container to use a different, longer

+      connection timeout while a servlet is being executed, which in the end

+      allows either the servlet a longer amount of time to complete its

+      execution, or a longer timeout during data upload. If not specified,

+      this attribute is set to "true".</p>

+    </td></tr><tr><td align="left" valign="center"><code>maxHttpHeaderSize</code></td><td align="left" valign="center">

+      <p>The maximum size of the request and response HTTP header, specified

+      in bytes.

+      If not specified, this attribute is set to 8192 (8 KB).</p>

+    </td></tr><tr><td align="left" valign="center"><code>maxKeepAliveRequests</code></td><td align="left" valign="center">

+      <p>The maximum number of HTTP requests which can be pipelined until

+      the connection is closed by the server. Setting this attribute to 1 will

+      disable HTTP/1.0 keep-alive, as well as HTTP/1.1 keep-alive and

+      pipelining. Setting this to -1 will allow an unlimited amount of

+      pipelined or keep-alive HTTP requests.

+      If not specified, this attribute is set to 100.</p>

+    </td></tr><tr><td align="left" valign="center"><code>maxThreads</code></td><td align="left" valign="center">

+      <p>The maximum number of request processing threads to be created

+      by this <strong>Connector</strong>, which therefore determines the

+      maximum number of simultaneous requests that can be handled.  If

+      not specified, this attribute is set to 200. If an executor is associated

+      with this connector, this attribute is ignored as the connector will 

+      execute tasks using the executor rather than an internal thread pool.</p>

+    </td></tr><tr><td align="left" valign="center"><code>noCompressionUserAgents</code></td><td align="left" valign="center">

+      <p>The value is a comma separated list of regular expressions matching

+      user-agents of HTTP clients for which compression should not be used,

+      because these clients, although they do advertise support for the

+      feature, have a broken implementation.

+      The default value is an empty String (regexp matching disabled).</p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>port</code></strong></td><td align="left" valign="center">

+      <p>The TCP port number on which this <strong>Connector</strong>

+      will create a server socket and await incoming connections.  Your

+      operating system will allow only one server application to listen

+      to a particular port number on a particular IP address.</p>

+    </td></tr><tr><td align="left" valign="center"><code>restrictedUserAgents</code></td><td align="left" valign="center">

+      <p>The value is a comma separated list of regular expressions matching

+      user-agents of HTTP clients for which HTTP/1.1 or HTTP/1.0 keep alive

+      should not be used, even if the clients advertise support for these

+      features.

+      The default value is an empty String (regexp matching disabled).</p>

+    </td></tr><tr><td align="left" valign="center"><code>server</code></td><td align="left" valign="center">

+      <p>Overrides the Server header for the http response. If set, the value

+      for this attribute overrides the Tomcat default and any Server header set

+      by a web application. If not set, any value specified by the application

+      is used. If the application does not specify a value then

+      <code>Apache-Coyote/1.1</code> is used. Unless you are paranoid, you won't

+      need this feature.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>socketBuffer</code></td><td align="left" valign="center">

+      <p>The size (in bytes) of the buffer to be provided for socket

+      output buffering. -1 can be specified to disable the use of a buffer.

+      By default, a buffers of 9000 bytes will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>tcpNoDelay</code></td><td align="left" valign="center">

+      <p>If set to <code>true</code>, the TCP_NO_DELAY option will be

+      set on the server socket, which improves performance under most

+      circumstances.  This is set to <code>true</code> by default.</p>

+    </td></tr><tr><td align="left" valign="center"><code>threadPriority</code></td><td align="left" valign="center">

+      <p>The priority of the request processing threads within the JVM.

+      The default value is <code>5</code> (the value of the

+      <code>java.lang.Thread.NORM_PRIORITY</code> constant). See the JavaDoc

+      for the <code>java.lang.Thread</code> class for more details on what

+      this priority means.

+      </p>

+    </td></tr></table>

+

+  </blockquote></td></tr></table>

+  

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nio Implementation"><!--()--></a><a name="Nio_Implementation"><strong>Nio Implementation</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The NIO connector exposes all the low level socket properties that can be used to tune the connector.

+    Most of these attributes are directly linked to the socket implementation in the JDK so you can find out 

+    about the actual meaning in the JDK API documentation.<br>

+    <strong>Note:</strong> On some JDK versions, setTrafficClass causes a problem, a work around for this is to add 

+    the <code>-Djava.net.preferIPv4Stack=true</code> value to your command line</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>useSendfile</code></td><td align="left" valign="center">

+        <p>(bool)Use this attribute to enable or disable sendfile capability.

+           The default value is <code>true</code>

+        </p>

+      </td></tr><tr><td align="left" valign="center"><code>useExecutor</code></td><td align="left" valign="center">

+        <p>(bool)Set to true to use the NIO thread pool executor. The default value is <code>true</code>.

+        If set to false, it uses a thread pool based on a stack for its execution.

+        Generally, using the executor yields a little bit slower performance, but yields a better

+        fairness for processing connections in a high load environment as the traffic gets queued through a 

+        FIFO queue. If set to true(default) then the max pool size is the <code>maxThreads</code> attribute

+        and the core pool size is the <code>minSpareThreads</code>.

+        This value is ignored if the <code>executor</code> attribute is present and points to a valid shared thread pool.

+        </p>

+      </td></tr><tr><td align="left" valign="center"><code>executor</code></td><td align="left" valign="center">

+        <p>A reference to the name in an <a href="executor.html">Executor</a> element.

+           If this attribute is enabled, and the named executor exists, the connector will

+           use the executor, and all the other thread attributes will be ignored.</p>

+      </td></tr><tr><td align="left" valign="center"><code>acceptorThreadCount</code></td><td align="left" valign="center">

+        <p>(int)The number of threads to be used to accept connections. Increase this value on a multi CPU machine,

+        although you would never really need more than <code>2</code>. Also, with a lot of non keep alive connections,

+        you might want to increase this value as well. Default value is <code>1</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>pollerThreadCount</code></td><td align="left" valign="center">

+        <p>(int)The number of threads to be used to run for the polling events.

+        Default value is <code>1</code> per processor. Can't see a reason to go

+        above that. But experiment and find your own results.</p>

+      </td></tr><tr><td align="left" valign="center"><code>pollerThreadPriority</code></td><td align="left" valign="center">

+        <p>(int)The priority of the poller threads.

+        The default value is <code>5</code> (the value of the

+        <code>java.lang.Thread.NORM_PRIORITY</code> constant). See the JavaDoc

+        for the <code>java.lang.Thread</code> class for more details on what

+        this priority means.

+        </p>

+      </td></tr><tr><td align="left" valign="center"><code>acceptorThreadPriority</code></td><td align="left" valign="center">

+        <p>(int)The priority of the acceptor threads. The threads used to accept new connections.

+        The default value is <code>5</code> (the value of the

+        <code>java.lang.Thread.NORM_PRIORITY</code> constant). See the JavaDoc

+        for the <code>java.lang.Thread</code> class for more details on what

+        this priority means.

+        </p>

+      </td></tr><tr><td align="left" valign="center"><code>selectorTimeout</code></td><td align="left" valign="center">

+        <p>(int)The time in milliseconds to timeout on a select() for the poller.

+           This value is important, since connection clean up is done on the same thread, so do not set this 

+           value to an extremely high one. The default value is <code>1000</code> milliseconds.</p>

+      </td></tr><tr><td align="left" valign="center"><code>useComet</code></td><td align="left" valign="center">

+        <p>(bool)Whether to allow comet servlets or not, Default value is <code>true</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>processorCache</code></td><td align="left" valign="center">

+        <p>(int)The protocol handler caches Http11NioProcessor objects to speed up performance.

+           This setting dictates how many of these objects get cached.

+           <code>-1</code> means unlimited, default is <code>200</code>. Set this value somewhere close to your maxThreads value.

+        </p>

+      </td></tr><tr><td align="left" valign="center"><code>maxKeepAliveRequests</code></td><td align="left" valign="center">

+        <p>The maximum number of HTTP requests which can be pipelined until

+        the connection is closed by the server. Setting this attribute to 1 will

+        disable HTTP/1.0 keep-alive, as well as HTTP/1.1 keep-alive and

+        pipelining. Setting this to -1 will allow an unlimited amount of

+        pipelined or keep-alive HTTP requests.

+        If not specified, this attribute is set to 100.</p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.directBuffer</code></td><td align="left" valign="center">

+        <p>(bool)Boolean value, whether to use direct ByteBuffers or java mapped ByteBuffers. Default is <code>false</code>

+           <br>When you are using direct buffers, make sure you allocate the appropriate amount of memory for the 

+                direct memory space. On Sun's JDK that would be something like <code>-XX:MaxDirectMemorySize=256m</code></p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.rxBufSize</code></td><td align="left" valign="center">

+        <p>(int)The socket receive buffer (SO_RCVBUF) size in bytes. Default value is <code>25188</code></p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.txBufSize</code></td><td align="left" valign="center">

+        <p>(int)The socket send buffer (SO_SNDBUF) size in bytes. Default value is <code>43800</code></p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.appReadBufSize</code></td><td align="left" valign="center">

+        <p>(int)Each connection that is opened up in Tomcat get associated with a read and a write ByteBuffer

+           This attribute controls the size of these buffers. By default this read buffer is sized at <code>8192</code> bytes.

+           For lower concurrency, you can increase this to buffer more data.

+           For an extreme amount of keep alive connections, decrease this number or increase your heap size.</p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.appWriteBufSize</code></td><td align="left" valign="center">

+        <p>(int)Each connection that is opened up in Tomcat get associated with a read and a write ByteBuffer

+           This attribute controls the size of these buffers. By default this write buffer is sized at <code>8192</code> bytes.

+           For low concurrency you can increase this to buffer more response data.

+           For an extreme amount of keep alive connections, decrease this number or increase your heap size.

+           <br>

+           The default value here is pretty low, you should up it if you are not dealing with tens of thousands

+           concurrent connections.</p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.bufferPool</code></td><td align="left" valign="center">

+        <p>(int)The Nio connector uses a class called NioChannel that holds elements linked to a socket.

+           To reduce garbage collection, the Nio connector caches these channel objects.

+           This value specifies the size of this cache.

+           The default value is <code>500</code>, and represents that the cache will hold 500 NioChannel objects.

+           Other values are <code>-1</code>. unlimited cache, and <code>0</code>, no cache.</p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.bufferPoolSize</code></td><td align="left" valign="center">

+        <p>(int)The NioChannel pool can also be size based, not used object based. The size is calculated as follows:<br>

+        NioChannel <code>buffer size = read buffer size + write buffer size</code><br>

+        SecureNioChannel <code>buffer size = application read buffer size + application write buffer size + network read buffer size + network write buffer size</code><br>

+        The value is in bytes, the default value is <code>1024*1024*100</code> (100MB)

+        </p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.processorCache</code></td><td align="left" valign="center">

+        <p>(int)Tomcat will cache SocketProcessor objects to reduce garbage collection.

+           The integer value specifies how many objects to keep in the cache at most.

+           The default is <code>500</code>.

+           Other values are <code>-1</code>. unlimited cache, and <code>0</code>, no cache.</p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.keyCache</code></td><td align="left" valign="center">

+        <p>(int)Tomcat will cache KeyAttachment objects to reduce garbage collection.

+           The integer value specifies how many objects to keep in the cache at most.

+           The default is <code>500</code>.

+           Other values are <code>-1</code>. unlimited cache, and <code>0</code>, no cache.</p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.eventCache</code></td><td align="left" valign="center">

+        <p>(int)Tomcat will cache PollerEvent objects to reduce garbage collection.

+           The integer value specifies how many objects to keep in the cache at most.

+           The default is <code>500</code>.

+           Other values are <code>-1</code>. unlimited cache, and <code>0</code>, no cache.</p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.tcpNoDelay</code></td><td align="left" valign="center">

+        <p>(bool)same as the standard setting <code>tcpNoDelay</code>. Default value is <code>false</code></p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.soKeepAlive</code></td><td align="left" valign="center">

+        <p>(bool)Boolean value for the socket's keep alive setting (SO_KEEPALIVE). Default is <code>false</code>. </p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.ooBInline</code></td><td align="left" valign="center">

+        <p>(bool)Boolean value for the socket OOBINLINE setting. Default value is <code>true</code></p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.soReuseAddress</code></td><td align="left" valign="center">

+        <p>(bool)Boolean value for the sockets reuse address option (SO_REUSEADDR). Default value is <code>true</code></p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.soLingerOn</code></td><td align="left" valign="center">

+        <p>(bool)Boolean value for the sockets so linger option (SO_LINGER). Default value is <code>true</code>.

+           This option is paired with the <code>soLingerTime</code> value.</p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.soLingerTime</code></td><td align="left" valign="center">

+        <p>(bool)Value in seconds for the sockets so linger option (SO_LINGER). Default value is <code>25</code> seconds.

+           This option is paired with the soLinger value.</p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.soTimeout</code></td><td align="left" valign="center">

+        <p>(int)Value in milliseconds for the sockets read timeout (SO_TIMEOUT). Default value is <code>5000</code> milliseconds.</p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.soTrafficClass</code></td><td align="left" valign="center">

+        <p>(byte)Value between <code>0</code> and <code>255</code> for the traffic class on the socket, <code>0x04 | 0x08 | 0x010</code></p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.performanceConnectionTime</code></td><td align="left" valign="center">

+        <p>(int)The first value for the performance settings. Default is <code>1</code>, see <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int)">Socket Performance Options</a></p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.performanceLatency</code></td><td align="left" valign="center">

+        <p>(int)The second value for the performance settings. Default is <code>0</code>, see <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int)">Socket Performance Options</a></p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.performanceBandwidth</code></td><td align="left" valign="center">

+        <p>(int)The third value for the performance settings. Default is <code>1</code>, see <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int)">Socket Performance Options</a></p>

+      </td></tr><tr><td align="left" valign="center"><code>selectorPool.maxSelectors</code></td><td align="left" valign="center">

+        <p>(int)The max selectors to be used in the pool, to reduce selector contention.

+        Use this option when the command line <code>org.apache.tomcat.util.net.NioSelectorShared</code> value is set to false.

+        Default value is <code>200</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>selectorPool.maxSpareSelectors</code></td><td align="left" valign="center">

+        <p>(int)The max spare selectors to be used in the pool, to reduce selector contention.

+        When a selector is returned to the pool, the system can decide to keep it or let it be GC:ed.

+        Use this option when the command line <code>org.apache.tomcat.util.net.NioSelectorShared</code> value is set to false.

+        Default value is <code>-1</code> (unlimited)</p>

+      </td></tr><tr><td align="left" valign="center"><code>command-line-options</code></td><td align="left" valign="center">

+        <p>The following command line options are available for the NIO connector:<br>

+        <code>-Dorg.apache.tomcat.util.net.NioSelectorShared=true|false</code>

+        - default is <code>true</code>. Set this value to <code>false</code> if you wish to

+        use a selector for each thread. When you set it to <code>false</code>, you can

+        control the size of the pool of selectors by using the 

+        <strong>selectorPool.maxSelectors</strong> attribute</p>

+      </td></tr><tr><td align="left" valign="center"><code>oomParachute</code></td><td align="left" valign="center">

+        <p>(int)The NIO connector implements an OutOfMemoryError strategy called parachute.

+           It holds a chunk of data as a byte array. In case of an OOM,

+           this chunk of data is released and the error is reported. This will give the VM enough room

+           to clean up. The <code>oomParachute</code> represent the size in bytes of the parachute(the byte array).

+           The default value is <code>1024*1024</code>(1MB).

+           Please note, this only works for OOM errors regarding the Java Heap space, and there is absolutely no 

+           guarantee that you will be able to recover at all.

+           If you have an OOM outside of the Java Heap, then this parachute trick will not help.

+        </p>

+      </td></tr><tr><td align="left" valign="center"><code>socket.unlockTimeout</code></td><td align="left" valign="center">

+        <p>(int) The timeout for a socket unlock. When a connector is stopped, it will try to release the acceptor thread by opening a connector to itself.

+           The default value is <code>250</code> and the value is in milliseconds</p>

+      </td></tr></table>

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nested Components"><!--()--></a><a name="Nested_Components"><strong>Nested Components</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>None at this time.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Special Features"><!--()--></a><a name="Special_Features"><strong>Special Features</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="HTTP/1.1 and HTTP/1.0 Support"><!--()--></a><a name="HTTP/1.1_and_HTTP/1.0_Support"><strong>HTTP/1.1 and HTTP/1.0 Support</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>This <strong>Connector</strong> supports all of the required features

+  of the HTTP/1.1 protocol, as described in RFC 2616, including persistent

+  connections, pipelining, expectations and chunked encoding.  If the client

+  (typically a browser) supports only HTTP/1.0, the

+  <strong>Connector</strong> will gracefully fall back to supporting this

+  protocol as well.  No special configuration is required to enable this

+  support. The <strong>Connector</strong> also supports HTTP/1.0

+  keep-alive.</p>

+

+  <p>RFC 2616 requires that HTTP servers always begin their responses with

+  the highest HTTP version that they claim to support.  Therefore, this

+  <strong>Connector</strong> will always return <code>HTTP/1.1</code> at

+  the beginning of its responses.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Proxy Support"><!--()--></a><a name="Proxy_Support"><strong>Proxy Support</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>The <code>proxyName</code> and <code>proxyPort</code> attributes can

+  be used when Tomcat is run behind a proxy server.  These attributes

+  modify the values returned to web applications that call the

+  <code>request.getServerName()</code> and <code>request.getServerPort()</code>

+  methods, which are often used to construct absolute URLs for redirects.

+  Without configuring these attributes, the values returned would reflect

+  the server name and port on which the connection from the proxy server

+  was received, rather than the server name and port to whom the client

+  directed the original request.</p>

+

+  <p>For more information, see the

+  <a href="../proxy-howto.html">Proxy Support HOW-TO</a>.</p>

+

+  </blockquote></td></tr></table>

+

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="SSL Support"><!--()--></a><a name="SSL_Support"><strong>SSL Support</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>You can enable SSL support for a particular instance of this

+  <strong>Connector</strong> by setting the <code>SSLEnabled</code> attribute to

+  <code>true</code>.</p>

+

+  <p>You will also need to set the <code>scheme</code> and <code>secure</code> attributes

+  to the values <code>https</code> and <code>true</code> respectively,

+  to pass correct information to the servlets.</p>

+

+  <p>In addition, you may need to configure the following

+  attributes:</p>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>algorithm</code></td><td align="left" valign="center">

+      <p>The certificate encoding algorithm to be used. This defaults to

+      <code>KeyManagerFactory.getDefaultAlgorithm()</code> which returns

+      <code>SunX509</code> for Sun JVMs. IBM JVMs return

+      <code>IbmX509</code>. For other vendors, consult the JVM

+      documentation for the default value.</p>

+    </td></tr><tr><td align="left" valign="center"><code>clientAuth</code></td><td align="left" valign="center">

+      <p>Set to <code>true</code> if you want the SSL stack to require a

+      valid certificate chain from the client before accepting a connection.

+      Set to <code>want</code> if you want the SSL stack to request a client

+      Certificate, but not fail if one isn't presented. A <code>false</code>

+      value (which is the default) will not require a certificate chain

+      unless the client requests a resource protected by a security

+      constraint that uses <code>CLIENT-CERT</code> authentication. See the

+      <a href="../ssl-howto.html">SSL HowTo</a> for an example.</p>

+    </td></tr><tr><td align="left" valign="center"><code>clientCertProvider</code></td><td align="left" valign="center">

+      <p>When client certificate information is presented in a form other than

+      instances of <code>java.security.cert.X509Certificate</code> it needs to

+      be converted before it can be used and this property controls which JSSE

+      provider is used to perform the conversion. For example it is used with

+      the <a href="ajp.html">AJP connectors</a>, the HTTP APR connector and

+      with the <a href="valve.html#SSL_Authenticator_Valve">

+      org.apache.catalina.valves.SSLValve</a>. If not specified, the default

+      provider will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>keystoreFile</code></td><td align="left" valign="center">

+      <p>The pathname of the keystore file where you have stored the

+      server certificate to be loaded.  By default, the pathname is

+      the file "<code>.keystore</code>" in the operating system home

+      directory of the user that is running Tomcat. If your

+      <code>keystoreType</code> doesn't need a file use <code>""</code>

+      (empty string) for this parameter.</p>

+    </td></tr><tr><td align="left" valign="center"><code>keystorePass</code></td><td align="left" valign="center">

+      <p>The password used to access the server certificate from the

+      specified keystore file.  The default value is "<code>changeit</code>".

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>keystoreType</code></td><td align="left" valign="center">

+      <p>The type of keystore file to be used for the server certificate.

+      If not specified, the default value is "<code>JKS</code>".</p>

+    </td></tr><tr><td align="left" valign="center"><code>keystoreProvider</code></td><td align="left" valign="center">

+      <p>The name of the keystore provider to be used for the server

+      certificate. If not specified, the list of registered providers is

+      traversed in preference order and the first provider that supports the

+      <code>keystoreType</code> is used.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>sslProtocol</code></td><td align="left" valign="center">

+      <p>The the SSL protocol(s) to use (a single value may enable multiple

+      protocols - see the JVM documentation for details). If not specified, the

+      default is <code>TLS</code>. The permitted values may be obtained from the

+      JVM documentation for the allowed values for algorithm when creating an

+      <code>SSLContext</code> instance e.g.

+      <a href="http://docs.oracle.com/javase/6/docs/technotes/guides/security/StandardNames.html#SSLContext">

+      Oracle Java 6</a> and

+      <a href="http://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#SSLContext">

+      Oracle Java 7</a>. Note: There is overlap between this attribute and

+      <code>sslEnabledProtocols</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>ciphers</code></td><td align="left" valign="center">

+      <p>The comma separated list of encryption ciphers that this socket is 

+      allowed to use. By default, the default ciphers for the JVM will be used.

+      Note that this usually means that the weak export grade ciphers will be

+      included in the list of available ciphers. The ciphers are specified using

+      the JSSE cipher naming convention.</p>

+    </td></tr><tr><td align="left" valign="center"><code>keyAlias</code></td><td align="left" valign="center">

+      <p>The alias used to for the server certificate in the keystore. If not

+      specified the first key read in the keystore will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>trustManagerClassName</code></td><td align="left" valign="center">

+      <p>The name of a custom trust manager class to use to validate client

+      certificates. The class must have a zero argument constructor and must

+      also implement <code>javax.net.ssl.X509TrustManager</code>. If this

+      attribute is set, the trust store attributes may be ignored.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>truststoreFile</code></td><td align="left" valign="center">

+      <p>The trust store file to use to validate client certificates. The

+      default is the value of the <code>javax.net.ssl.trustStore</code> system

+      property. If neither this attribute nor the default system property is

+      set, no trust store will be configured.</p>

+    </td></tr><tr><td align="left" valign="center"><code>truststorePass</code></td><td align="left" valign="center">

+      <p>The password to access the trust store. The default is the value of the

+      <code>javax.net.ssl.trustStorePassword</code> system property. If that

+      property is null, the value of <code>keystorePass</code> is used as the

+      default. If an invalid trust store password is specified, a warning will

+      be logged and an attempt will be made to access the trust store without a

+      password which will skip validation of the trust store contents. If the

+      trust store password is defined as <code>""</code> then no

+      password will be used to access the store which will also skip validation

+      of the trust store contents.</p>

+    </td></tr><tr><td align="left" valign="center"><code>truststoreType</code></td><td align="left" valign="center">

+      <p>The type of key store used for the trust store. The default is the

+      value of the <code>javax.net.ssl.trustStoreType</code> system property. If

+      that property is null, the value of <code>keystoreType</code> is used as

+      the default.</p>

+     </td></tr><tr><td align="left" valign="center"><code>truststoreProvider</code></td><td align="left" valign="center">

+      <p>The name of the truststore provider to be used for the server

+      certificate. The default is the value of the

+      <code>javax.net.ssl.trustStoreProvider</code> system property. If

+      that property is null, the value of <code>keystoreProvider</code> is used

+      as the default. If neither this attribute, the default system property nor

+      <code>keystoreProvider</code>is set, the list of registered providers is

+      traversed in preference order and the first provider that supports the

+      <code>truststoreType</code> is used.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>sessionCacheSize</code></td><td align="left" valign="center">

+      <p>The number of SSL sessions to maintain in the session cache. Use 0 to

+      specify an unlimited cache size. If not specified, a default of 0 is

+      used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>sessionTimeout</code></td><td align="left" valign="center">

+      <p>The time, in seconds, after the creation of an SSL session that it will

+      timeout. Use 0 to specify an unlimited timeout. If not specified, a

+      default of 86400 (24 hours) is used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>sslEnabledProtocols</code></td><td align="left" valign="center">

+      <p>The comma separated list of SSL protocols to support for HTTPS

+      connections. If specified, only the protocols that are listed and

+      supported by the SSL implementation will be enabled. If not specified,

+      the JVM default is used. The permitted values may be obtained from the

+      JVM documentation for the allowed values for 

+      <code>SSLSocket.setEnabledProtocols()</code> e.g.

+      <a href="http://docs.oracle.com/javase/6/docs/technotes/guides/security/StandardNames.html#jssenames">

+      Oracle Java 6</a> and

+      <a href="http://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#jssenames">

+      Oracle Java 7</a>. Note: There is overlap between this attribute and

+      <code>sslProtocol</code>.</p>

+    </td></tr><tr><td align="left" valign="center"><code>crlFile</code></td><td align="left" valign="center">

+      <p>The certificate revocation list file to use to validate client

+      certificates.</p>

+    </td></tr><tr><td align="left" valign="center"><code>allowUnsafeLegacyRenegotiation</code></td><td align="left" valign="center">

+      <p>Is unsafe legacy TLS renegotiation allowed which is likely to expose

+      users to CVE-2009-3555, a man-in-the-middle vulnerability in the TLS

+      protocol that allows an attacker to inject arbitrary data into the user's

+      request. If not specified, a default of <code>false</code> is used. This

+      attribute only has an effect if the JVM does not support RFC 5746 as

+      indicated by the presence of the pseudo-ciphersuite

+      TLS_EMPTY_RENEGOTIATION_INFO_SCSV. This is available JRE/JDK 6 update 22

+      onwards. Where RFC 5746 is supported the renegotiation - including support

+      for unsafe legacy renegotiation - is controlled by the JVM configuration.

+      </p>

+    </td></tr></table>

+

+  <p>For more information, see the

+  <a href="../ssl-howto.html">SSL Configuration HOW-TO</a>.</p>

+

+  </blockquote></td></tr></table>

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Connector Comparison"><!--()--></a><a name="Connector_Comparison"><strong>Connector Comparison</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>Below is a small chart that shows how the connectors differentiate.</p>

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+                  Java Blocking Connector       Java Nio Blocking Connector       APR Connector

+    Classname         Http11Protocol                  Http11NioProtocol         Http11AprProtocol

+    Tomcat Version   3.x 4.x 5.x 6.x                       6.x                     5.5.x 6.x

+    Support Polling         NO                             YES                        YES

+    Polling Size           N/A                   Unlimited - Restricted by mem        Unlimited - Configurable

+    Read HTTP Request     Blocking                     Non Blocking                   Blocking

+    Read HTTP Body        Blocking                     Sim Blocking                   Blocking

+    Write HTTP Response   Blocking                     Sim Blocking                   Blocking

+    SSL Support           Java SSL                     Java SSL                       OpenSSL

+    SSL Handshake         Blocking                     Non blocking                   Blocking

+    Max Connections       maxThreads                   See polling size               See polling size

+    

+    

+    </pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+  </blockquote></td></tr></table>

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/index.html b/tomcat-uid/webapps/docs/config/index.html
new file mode 100644
index 0000000..ab6576e
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/index.html
@@ -0,0 +1,67 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - Overview</title><meta name="author" content="Craig R. McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>Overview</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Overview"><strong>Overview</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>This manual contains reference information about all of the configuration

+directives that can be included in a <code>conf/server.xml</code> file to

+configure the behavior of the Tomcat 6 Servlet/JSP container.  It does not

+attempt to describe which configuration directives should be used to perform

+specific tasks - for that, see the various <em>HOW-TO</em> documents on the

+main index page.</p>

+

+<p>Tomcat configuration files are formatted as schemaless XML; elements and

+attributes are case-sensitive. Apache Ant-style variable substitution

+is supported; a system property with the name <code>propname</code> may be

+used in a configuration file using the syntax <code>${propname}</code>. All

+system properties are available including those set using the <code>-D</code>

+syntax, those automatically made available by the JVM and those configured in

+the <code>$CATALINA_BASE/conf/catalina.properties</code> file.

+</p>

+

+<p>The configuration element descriptions are organized into the following

+major categories:</p>

+<ul>

+<li><strong>Top Level Elements</strong> - <code>&lt;Server&gt;</code> is the

+    root element of the entire configuration file, while

+    <code>&lt;Service&gt;</code> represents a group of Connectors that is

+    associated with an Engine.</li>

+<li><strong>Connectors</strong> - Represent the interface between external

+    clients sending requests to (and receiving responses from) a particular

+    Service.</li>

+<li><strong>Containers</strong> - Represent components whose function is to

+    process incoming requests, and create the corresponding responses.

+    An Engine handles all requests for a Service, a Host handles all requests

+    for a particular virtual host, and a Context handles all requests for a

+    specific web application.</li>

+<li><strong>Nested Components</strong> - Represent elements that can be

+    nested inside the element for a Container.  Some elements can be nested

+    inside any Container, while others can only be nested inside a

+    Context.</li>

+</ul>

+

+<p>For each element, the corresponding documentation follows this general

+outline:</p>

+<ul>

+<li><strong>Introduction</strong> - Overall description of this particular

+    component.  There will be a corresponding Java <em>interface</em> (in

+    the <code>org.apache.catalina</code> package) that is implemented by one

+    or more standard implementations.</li>

+<li><strong>Attributes</strong> - The set of attributes that are legal for

+    this element.  Generally, this will be subdivided into <em>Common</em>

+    attributes that are supported by all implementations of the corresponding

+    Java interface, and <em>Standard Implementation</em> attributes that are

+    specific to a particular Java class that implements this interface.

+    The names of required attributes are <strong>bolded</strong>.</li>

+<li><strong>Nested Components</strong> - Enumerates which of the <em>Nested

+    Components</em> can be legally nested within this element.</li>

+<li><strong>Special Features</strong> - Describes the configuration of a large

+    variety of special features (specific to each element type) that are

+    supported by the standard implementation of this interface.</li>

+</ul>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/listeners.html b/tomcat-uid/webapps/docs/config/listeners.html
new file mode 100644
index 0000000..d8347e8
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/listeners.html
@@ -0,0 +1,334 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The LifeCycle Listener Component</title><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The LifeCycle Listener Component</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li></ol></li><li><a href="#Nested_Components">Nested Components</a></li><li><a href="#Standard_Implementation">Standard Implementation</a><ol><li><a href="#APR_Lifecycle_Listener_-_org.apache.catalina.core.AprLifecycleListener">APR Lifecycle Listener - org.apache.catalina.core.AprLifecycleListener</a></li><li><a href="#Jasper_Listener_-_org.apache.catalina.core.JasperListener">Jasper Listener - org.apache.catalina.core.JasperListener</a></li><li><a href="#Server_Lifecycle_Listener_-_org.apache.catalina.mbeans.ServerLifecycleListener">Server Lifecycle Listener - org.apache.catalina.mbeans.ServerLifecycleListener</a></li><li><a href="#Global_Resources_Lifecycle_Listener_-_org.apache.catalina.mbeans.GlobalResourcesLifecycleListener">Global Resources Lifecycle Listener - org.apache.catalina.mbeans.GlobalResourcesLifecycleListener</a></li><li><a href="#JMX_Remote_Lifecycle_Listener_-_org.apache.catalina.mbeans.JmxRemoteLifecycleListener">JMX Remote Lifecycle Listener - org.apache.catalina.mbeans.JmxRemoteLifecycleListener</a></li><li><a href="#JRE_Memory_Leak_Prevention_Listener_-_org.apache.catalina.core.JreMemoryLeakPreventionListener">JRE Memory Leak Prevention Listener - org.apache.catalina.core.JreMemoryLeakPreventionListener</a></li><li><a href="#UserConfig_-_org.apache.catalina.startup.UserConfig">UserConfig - org.apache.catalina.startup.UserConfig</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>A <strong>Listener</strong> element defines a component that performs

+  actions when specific events occur, usually Tomcat starting or Tomcat

+  stopping.</p>

+

+  <p>Listeners may be nested inside a <a href="server.html">Server</a>, 

+  <a href="engine.html">Engine</a>, <a href="host.html">Host</a> or

+  <a href="context.html">Context</a>. Some Listeners are only intended to be

+  nested inside specific elements. These constraints are noted in the

+  documentation below.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>All implementations of <strong>Listener</strong>

+    support the following attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use. This class must

+        implement the <code>org.apache.catalina.LifecycleListener</code>

+        interface.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nested Components"><!--()--></a><a name="Nested_Components"><strong>Nested Components</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>No element may be nested inside a <strong>Listener</strong>.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Standard Implementation"><!--()--></a><a name="Standard_Implementation"><strong>Standard Implementation</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>Unlike most Catalina components, there are several standard

+    <strong>Listener</strong> implementations available.  As a result,

+    the <code>className</code> attribute MUST be used to select the

+    implementation you wish to use.</p>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="APR Lifecycle Listener - org.apache.catalina.core.AprLifecycleListener"><!--()--></a><a name="APR_Lifecycle_Listener_-_org.apache.catalina.core.AprLifecycleListener"><strong>APR Lifecycle Listener - org.apache.catalina.core.AprLifecycleListener</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>APR Lifecycle Listener</strong> checks for the presence of

+    the APR/native library and loads the library if it is present. For more

+    information see the <a href="../apr.html">APR/native guide</a>.</p>

+

+    <p>This listener must only be nested within <a href="server.html">Server</a>

+    elements.</p>

+

+    <p>The following additional attributes are supported by the <strong>APR

+    Lifecycle Listener</strong>:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>SSLEngine</code></td><td align="left" valign="center">

+        <p>Name of the SSLEngine to use. <code>off</code>: do not use SSL,

+        <code>on</code>: use SSL but no specific ENGINE.</p>

+        <p>The default value is <b>on</b>. This initializes the

+        native SSL engine, which must be enabled in the APR/native connector by

+        the use of the <code>SSLEnabled</code> attribute.</p>

+        <p>See the <a href="http://www.openssl.org/">Official OpenSSL website</a>

+        for more details on supported SSL hardware engines and manufacturers.

+        </p>

+      </td></tr><tr><td align="left" valign="center"><code>SSLRandomSeed</code></td><td align="left" valign="center">

+        <p>Entropy source used to seed the SSLEngine's PRNG. The default value

+        is <code>builtin</code>. On development systems, you may want to set

+        this to <code>/dev/urandom</code> to allow quicker start times.</p>

+      </td></tr><tr><td align="left" valign="center"><code>FIPSMode</code></td><td align="left" valign="center">

+        <p>Set to <code>on</code> to instruct OpenSSL to go into FIPS mode.

+        FIPS mode <em>requires you to have a FIPS-capable OpenSSL library which

+        you must build yourself</em>.

+        FIPS mode also requires Tomcat native library version 1.1.23 or later,

+        which <em>must be built against the FIPS-compatible OpenSSL</em> library.

+        If this attribute is "on", <b>SSLEngine</b> must be enabled as well.

+        The default value is <code>off</code>.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Jasper Listener - org.apache.catalina.core.JasperListener"><!--()--></a><a name="Jasper_Listener_-_org.apache.catalina.core.JasperListener"><strong>Jasper Listener - org.apache.catalina.core.JasperListener</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Jasper Listener</strong> initializes the Jasper 2 JSP engine

+    before any web applications that may use it are loaded. For more

+    information on the Jasper 2 JSP engine see the

+    <a href="../jasper-howto.html">Jasper How To</a>.</p>

+

+    <p>This listener must only be nested within <a href="server.html">Server</a>

+    elements.</p>

+

+    <p>No additional attributes are supported by the <strong>Jasper Listener

+    </strong>.</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Server Lifecycle Listener - org.apache.catalina.mbeans.ServerLifecycleListener"><!--()--></a><a name="Server_Lifecycle_Listener_-_org.apache.catalina.mbeans.ServerLifecycleListener"><strong>Server Lifecycle Listener - org.apache.catalina.mbeans.ServerLifecycleListener</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Server Lifecycle Listener</strong> initializes the

+    MBeanServer for the MBeans that may be used to manage Tomcat via JMX.

+    Without this listener, none of the Tomcat MBeans will be available.</p>

+

+    <p>This listener must only be nested within <a href="server.html">Server</a>

+    elements.</p>

+

+    <p>No additional attributes are supported by the <strong>Server Lifecycle

+    Listener</strong>.</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Global Resources Lifecycle Listener - org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"><!--()--></a><a name="Global_Resources_Lifecycle_Listener_-_org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"><strong>Global Resources Lifecycle Listener - org.apache.catalina.mbeans.GlobalResourcesLifecycleListener</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Global Resources Lifecycle Listener</strong> initializes the

+    Global JNDI resources defined in server.xml as part of the <a href="globalresources.html">Global Resources</a> element. Without this

+    listener, none of the Global Resources will be available.</p>

+

+    <p>This listener must only be nested within <a href="server.html">Server</a>

+    elements.</p>

+

+    <p>No additional attributes are supported by the <strong>Global Resources

+    Lifecycle Listener</strong>.</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JMX Remote Lifecycle Listener - org.apache.catalina.mbeans.JmxRemoteLifecycleListener"><!--()--></a><a name="JMX_Remote_Lifecycle_Listener_-_org.apache.catalina.mbeans.JmxRemoteLifecycleListener"><strong>JMX Remote Lifecycle Listener - org.apache.catalina.mbeans.JmxRemoteLifecycleListener</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>This listener requires <code>catalina-jmx-remote.jar</code> to be placed

+    in <code>$CATALINA_HOME/lib</code>. This jar may be found in the extras

+    directory of the binary download area.</p>

+

+    <p>The <strong>JMX Remote Lifecycle Listener</strong> fixes the ports used by

+    the JMX/RMI Server making things much simpler if you need to connect

+    jconsole or a similar tool to a remote Tomcat instance that is running

+    behind a firewall. Only these ports are configured via the listener. The

+    remainder of the configuration is via the standard system properties for

+    configuring JMX. For further information on configuring JMX see

+    <a href="http://docs.oracle.com/javase/6/docs/technotes/guides/management/agent.html">

+    Monitoring and Management Using JMX</a> included with the Java SDK

+    documentation.</p>

+

+    <p>If this listener was configured in server.xml as:

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Listener className="org.apache.catalina.mbeans.JmxRemoteLifecycleListener"

+          rmiRegistryPortPlatform="10001" rmiServerPortPlatform="10002" /&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    with the following system properties set (e.g. in setenv.sh):

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+-Dcom.sun.management.jmxremote.password.file=$CATALINA_BASE/conf/jmxremote.password

+-Dcom.sun.management.jmxremote.access.file=$CATALINA_BASE/conf/jmxremote.access

+-Dcom.sun.management.jmxremote.ssl=false

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    $CATALINA_BASE/conf/jmxremote.password containing:

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+admin letmein

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    $CATALINA_BASE/conf/jmxremote.access containing:

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+admin readwrite

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    then opening ports 10001 (RMI Registry) and 10002 (JMX/RMI Server) in your

+    firewall would enable jconsole to connect to a Tomcat instance running

+    behind a firewall using a connection string of the form:

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+service:jmx:rmi://&lt;hostname&gt;:10002/jndi/rmi://&lt;hostname&gt;:10001/jmxrmi

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    with a user name of <code>admin</code> and a password of

+    <code>letmein</code>.

+    </p>

+    

+    <p><strong>Note that the example above does not use SSL. JMX access should

+    be considered equivalent to administrative access and secured accordingly.

+    </strong></p>

+

+    <p>This listener must only be nested within a <a href="server.html">Server</a>

+    element.</p>

+

+    <p>The following additional attributes are supported by the <strong>JMX Remote

+    Lifecycle Listener</strong>:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>rmiRegistryPortPlatform</code></strong></td><td align="left" valign="center">

+        <p>The port to be used by the JMX/RMI registry for the Platform MBeans.

+        The replaces the use of the

+        <code>com.sun.management.jmxremote.port</code> system property that

+        should not be set when using this valve.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>rmiServerPortPlatform</code></strong></td><td align="left" valign="center">

+        <p>The port to be used by the Platform JMX/RMI server.</p>

+      </td></tr><tr><td align="left" valign="center"><code>useLocalPorts</code></td><td align="left" valign="center">

+        <p>Should any clients using these ports be forced to use local ports to

+        connect to the the JMX/RMI server. This is useful when tunnelling

+        connections over SSH or similar. Defaults to <code>false</code>.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JRE Memory Leak Prevention Listener - org.apache.catalina.core.JreMemoryLeakPreventionListener"><!--()--></a><a name="JRE_Memory_Leak_Prevention_Listener_-_org.apache.catalina.core.JreMemoryLeakPreventionListener"><strong>JRE Memory Leak Prevention Listener - org.apache.catalina.core.JreMemoryLeakPreventionListener</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>JRE Memory Leak Prevention Listener</strong> provides

+    work-arounds for known places where the Java Runtime environment uses

+    the context class loader to load a singleton as this will cause a memory

+    leak if a web application class loader happens to be the context class

+    loader at the time. The work-around is to initialise these singletons when

+    this listener starts as Tomcat's common class loader is the context class

+    loader at that time. It also provides work-arounds for known issues that

+    can result in locked JAR files.</p>

+    

+    <p>This listener must only be nested within <a href="server.html">Server</a>

+    elements.</p>

+

+    <p>The following additional attributes are supported by the <strong>JRE

+    Memory Leak Prevention Listener</strong>:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>appContextProtection</code></td><td align="left" valign="center">

+        <p>Enables protection so that calls to

+        <code>sun.awt.AppContext.getAppContext()</code> triggered by a web

+        application do not result in a memory leak. Note that a call to this

+        method will be triggered as part of the web application stop process so

+        it is strongly recommended that this protection is enabled. The default

+        is <code>true</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>AWTThreadProtection</code></td><td align="left" valign="center">

+        <p>Enables protection so that calls to

+        <code>java.awt.Toolkit.getDefaultToolkit()</code> triggered by a web

+        application do not result in a memory leak.

+        Defaults to <code>false</code> because an AWT thread is launched.</p>

+      </td></tr><tr><td align="left" valign="center"><code>classesToInitialize</code></td><td align="left" valign="center">

+        <p>List of comma-separated fully qualified class names to load and initialize 

+        during the startup of this Listener. This allows to pre-load classes that are 

+        known to provoke classloader leaks if they are loaded during a request 

+        processing. Non-JRE classes may be referenced, like 

+        <code>oracle.jdbc.driver.OracleTimeoutThreadPerVM</code>.

+        The default value is empty, but specific JRE classes are loaded by other leak 

+        protection features managed by other attributes of this Listener.</p>

+      </td></tr><tr><td align="left" valign="center"><code>driverManagerProtection</code></td><td align="left" valign="center">

+        <p>The first use of <code>java.sql.DriverManager</code> will trigger the

+        loading of JDBC Driver in the the current class loader. The web

+        application level memory leak protection can take care of this in most

+        cases but triggering the loading here has fewer side-effects. The

+        default is <code>true</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>gcDaemonProtection</code></td><td align="left" valign="center">

+        <p>Enables protection so that calls to

+        <code>sun.misc.GC.requestLatency(long)</code> triggered by a web

+        application do not result in a memory leak. Use of RMI is likely to

+        trigger a call to this method. A side effect of enabling this protection

+        is the creation of a thread named "GC Daemon". The protection uses

+        reflection to access internal Sun classes and may generate errors on

+        startup on non-Sun JVMs. The default is <code>true</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>ldapPoolProtection</code></td><td align="left" valign="center">

+        <p>Enables protection so that the PoolCleaner thread started by

+        <code>com.sun.jndi.ldap.LdapPoolManager</code> does not result in a 

+        memory leak. The thread is started the first time the 

+        <code>LdapPoolManager</code> class is used if the system property 

+        <code>com.sun.jndi.ldap.connect.pool.timeout</code> is set to a value

+        greater than 0. Without this protection, if a web application uses this 

+        class the PoolCleaner thread will be configured with the thread's 

+        context class loader set to the web application class loader which in 

+        turn will trigger a memory leak on reload. Defaults to 

+        <code>true</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>securityLoginConfigurationProtection</code></td><td align="left" valign="center">

+        <p>Enables protection so that usage of the

+        <code>javax.security.auth.login.Configuration</code> class by a web 

+        application does not provoke a memory leak. The first access of this 

+        class will trigger the initializer that will retain a static reference 

+        to the context class loader. The protection loads the class with the 

+        system class loader to ensure that the static initializer is not 

+        triggered by a web application. Defaults to <code>true</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>securityPolicyProtection</code></td><td align="left" valign="center">

+        <p>Enables protection so that usage of the deprecated

+        <code>javax.security.auth.Policy</code> class by a web application does not

+        result in a memory leak. The first access of this class will trigger the

+        static initializer that will retain a static reference to the context

+        class loader. The protection calls the <code>getPolicy()</code> method

+        of this class to ensure that the static initializer is not triggered by

+        a web application. Defaults to <code>true</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>tokenPollerProtection</code></td><td align="left" valign="center">

+        <p>Enables protection so that any token poller thread initialized by

+        <code>sun.security.pkcs11.SunPKCS11.initToken()</code> does not

+        result in a memory leak. The thread is started depending on various

+        conditions as part of the initialization of the Java Cryptography

+        Architecture. Without the protection this can happen during Webapp

+        deployment when the MessageDigest for generating session IDs is

+        initialized. As a result the thread has the Webapp class loader as its

+        thread context class loader. Enabling the protection initializes JCA

+        early during Tomcat startup. Defaults to <code>true</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>urlCacheProtection</code></td><td align="left" valign="center">

+        <p>Enables protection so that reading resources from JAR files using

+        <code>java.net.URLConnection</code>s does not result in the JAR file

+        being locked. Note that enabling this protection disables caching by

+        default for all resources obtained via

+        <code>java.net.URLConnection</code>s. Caching may be re-enabled on a

+        case by case basis as required. Defaults to <code>true</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>xmlParsingProtection</code></td><td align="left" valign="center">

+        <p>Enables protection so that parsing XML files within a web application

+        does not result in a memory leak. Note that memory profilers may not

+        display the GC root associated with this leak making it particularly

+        hard to diagnose. Defaults to <code>true</code>.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="UserConfig - org.apache.catalina.startup.UserConfig"><!--()--></a><a name="UserConfig_-_org.apache.catalina.startup.UserConfig"><strong>UserConfig - org.apache.catalina.startup.UserConfig</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>UserConfig</strong> provides feature of User Web Applications.

+    User Web Applications map a request URI starting with a tilde character ("~")

+    and a username to a directory (commonly named public_html) in that user's

+    home directory on the server.</p>

+

+    <p>See the <a href="host.html#User_Web_Applications">User Web Applications</a>

+    special feature on the <strong>Host</strong> element for more information.</p>

+

+    <p>The following additional attributes are supported by the

+    <strong>UserConfig</strong>:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>directoryName</code></td><td align="left" valign="center">

+        <p>The directory name to be searched for within each user home directory.

+        The default is <code>public_html</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>userClass</code></td><td align="left" valign="center">

+        <p>The class name of the user database class.

+        There are currently two user database, the

+        <code>org.apache.catalina.startup.PasswdUserDatabase</code> is used on a

+        Unix system that uses the /etc/passwd file to identify valid users.

+        The <code>org.apache.catalina.startup.HomesUserDatabase</code> is used on

+        a server where /etc/passwd is not in use. HomesUserDatabase deploy all

+        directories found in a specified base directory.</p>

+      </td></tr><tr><td align="left" valign="center"><code>homeBase</code></td><td align="left" valign="center">

+        <p>The base directory containing user home directories.This is effective

+        only when <code>org.apache.catalina.startup.HomesUserDatabase</code> is

+        used.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/loader.html b/tomcat-uid/webapps/docs/config/loader.html
new file mode 100644
index 0000000..25ec15c
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/loader.html
@@ -0,0 +1,113 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Loader Component</title><meta name="author" content="Craig R. McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Loader Component</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li><li><a href="#Standard_Implementation">Standard Implementation</a></li></ol></li><li><a href="#Nested_Components">Nested Components</a></li><li><a href="#Special_Features">Special Features</a><ol><li><a href="#Logging">Logging</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>The <strong>Loader</strong> element represents the <em>web

+  application class loader</em> that will be used to load Java

+  classes and resources for your web application.  Such

+  a class loader must follow the requirements of the Servlet

+  Specification, and load classes from the following locations:</p>

+  <ul>

+  <li>From the <code>/WEB-INF/classes</code> directory inside your

+      web application.</li>

+  <li>From JAR files in the <code>/WEB-INF/lib</code> directory

+      inside your web application.</li>

+  <li>From resources made available by Catalina to all web

+      applications globally.</li>

+  </ul>

+

+  <p>A Loader element MAY be nested inside a <a href="context.html">Context</a>

+  component.  If it is not included, a default Loader configuration will be

+  created automatically, which is sufficient for most requirements.</p>

+

+  <p>For a more in-depth description of the class loader hierarchy

+  that is implemented by Catalina, see <a href="../class-loader-howto.html">the ClassLoader HowTo</a>.</p>

+

+    <blockquote><em>

+    <p>The description below uses the variable name $CATALINA_BASE to refer the

+    base directory against which most relative paths are resolved. If you have

+    not configured Tomcat 6 for multiple instances by setting a CATALINA_BASE

+    directory, then $CATALINA_BASE will be set to the value of $CATALINA_HOME,

+    the directory into which you have installed Tomcat 6.</p>

+    </em></blockquote>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>All implementations of <strong>Loader</strong>

+    support the following attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>className</code></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This class must

+        implement the <code>org.apache.catalina.Loader</code> interface.

+        If not specified, the standard value (defined below) will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>delegate</code></td><td align="left" valign="center">

+        <p>Set to <code>true</code> if you want the class loader to follow

+        the standard Java2 delegation model, and attempt to load classes from

+        parent class loaders <strong>before</strong> looking inside the web

+        application.  Set to <code>false</code> (the default) to have the

+        class loader look inside the web application first, before asking

+        parent class loaders to find requested classes or resources.</p>

+      </td></tr><tr><td align="left" valign="center"><code>reloadable</code></td><td align="left" valign="center">

+        <p>Set to <code>true</code> if you want Catalina to monitor classes in

+        <code>/WEB-INF/classes/</code> and <code>/WEB-INF/lib</code> for

+        changes, and automatically reload the web application if a change

+        is detected.  This feature is very useful during application

+        development, but it requires significant runtime overhead and is

+        not recommended for use on deployed production applications.  You

+        can use the <a href="../manager-howto.html">Manager</a> web

+        application, however, to trigger reloads of deployed applications

+        on demand.</p>

+

+        <p><strong>NOTE</strong> - The value for this property will be

+        inherited from the <code>reloadable</code> attribute you set on

+        the surrounding <a href="context.html">Context</a> component,

+        and any value you explicitly set here will be replaced.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Standard Implementation"><!--()--></a><a name="Standard_Implementation"><strong>Standard Implementation</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The standard implementation of <strong>Loader</strong> is

+    <strong>org.apache.catalina.loader.WebappLoader</strong>.

+    It supports the following additional attributes (in addition to the

+    common attributes listed above):</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>loaderClass</code></td><td align="left" valign="center">

+        <p>Java class name of the <code>java.lang.ClassLoader</code>

+        implementation class to use.  If not specified, the default value is

+        <code>org.apache.catalina.loader.WebappClassLoader</code>. Custom

+        <strong>loaderClass</strong> implementations must extend

+        <code>org.apache.catalina.loader.WebappClassLoader</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>searchExternalFirst</code></td><td align="left" valign="center">

+        <p>Set to <code>true</code> if you want repositories outside

+        of <code>WEB-INF/classes</code> and <code>WEB-INF/lib</code> to

+        be searched first. Default value is <code>false</code>.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nested Components"><!--()--></a><a name="Nested_Components"><strong>Nested Components</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>No components may be nested inside a <strong>Loader</strong> element.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Special Features"><!--()--></a><a name="Special_Features"><strong>Special Features</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Logging"><strong>Logging</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>A loader is associated with the log category based on its classname.</p>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/manager.html b/tomcat-uid/webapps/docs/config/manager.html
new file mode 100644
index 0000000..7383164
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/manager.html
@@ -0,0 +1,386 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Manager Component</title><meta name="author" content="Craig R. McClanahan"><meta name="author" content="Yoav Shapira"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Manager Component</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li><li><a href="#Standard_Implementation">Standard Implementation</a></li></ol></li><li><a href="#Nested_Components">Nested Components</a></li><li><a href="#Special_Features">Special Features</a><ol><li><a href="#Persistence_Across_Restarts">Persistence Across Restarts</a></li><li><a href="#Disable_Session_Persistence">Disable Session Persistence</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>The <strong>Manager</strong> element represents the <em>session

+  manager</em> that will be used to create and maintain HTTP sessions

+  as requested by the associated web application.</p>

+

+  <p>A Manager element MAY be nested inside a

+  <a href="context.html">Context</a> component.  If it is not included,

+  a default Manager configuration will be created automatically, which

+  is sufficient for most requirements, &mdash; see

+  <em>Standard Manager Implementation</em> below for the details

+  of this configuration.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>All implementations of <strong>Manager</strong>

+    support the following attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>className</code></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This class must

+        implement the <code>org.apache.catalina.Manager</code> interface.

+        If not specified, the standard value (defined below) will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>distributable</code></td><td align="left" valign="center">

+        <p>Set to <code>true</code> to ask the session manager to enforce

+        the restrictions described in the Servlet Specification on

+        distributable applications (primarily, this would mean that all

+        session attributes must implement <code>java.io.Serializable</code>).

+        Set to <code>false</code> (the default) to not enforce these

+        restrictions.</p>

+

+        <p><strong>NOTE</strong> - The value for this property is inherited

+        automatically based on the presence or absence of the

+        <code>&lt;distributable&gt;</code> element in the web application

+        deployment descriptor (<code>/WEB-INF/web.xml</code>).</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Standard Implementation"><!--()--></a><a name="Standard_Implementation"><strong>Standard Implementation</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>Tomcat provides two standard implementations of <strong>Manager</strong>

+    for use &mdash; the default one stores active sessions, while the optional one

+    stores active sessions that have been swapped out (in addition to saving

+    sessions across a restart of Tomcat) in a storage location that is selected

+    via the use of an appropriate <strong>Store</strong> nested element.</p>

+

+    <h3>Standard Manager Implementation</h3>

+

+    <p>The standard implementation of <strong>Manager</strong> is

+    <strong>org.apache.catalina.session.StandardManager</strong>.

+    It supports the following additional attributes (in addition to the

+    common attributes listed above):</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>algorithm</code></td><td align="left" valign="center">

+        <p>Name of the <em>Message Digest</em> algorithm used to calculate

+        session identifiers produced by this Manager.  This value must

+        be supported by the <code>java.security.MessageDigest</code> class.

+        If not specified, the default value is "MD5".</p>

+      </td></tr><tr><td align="left" valign="center"><code>entropy</code></td><td align="left" valign="center">

+        <p>A String value that is utilized when seeding the random number

+        generator used to create session identifiers for this Manager.

+        If not specified, a semi-useful value is calculated, but a long

+        String value should be specified in security-conscious

+        environments.</p>

+      </td></tr><tr><td align="left" valign="center"><code>maxActiveSessions</code></td><td align="left" valign="center">

+        <p>The maximum number of active sessions that will be created by

+        this Manager, or -1 (the default) for no limit.</p>

+      </td></tr><tr><td align="left" valign="center"><code>maxInactiveInterval</code></td><td align="left" valign="center">

+        <p>The initial maximum time interval, in seconds, 

+        between client requests before a session is invalidated. A negative value

+        will result in sessions never timing out. If the attribute is not provided,

+        a default of 60 seconds is used.</p>

+        

+        <p>This attribute provides the initial value whenever a 

+        new session is created, but the interval may be dynamically 

+        varied by a servlet via the 

+        <code>setMaxInactiveInterval</code> method of the <code>HttpSession</code> object.</p>

+      </td></tr><tr><td align="left" valign="center"><code>pathname</code></td><td align="left" valign="center">

+        <p>Absolute or relative (to the work directory for this Context)

+        pathname of the file in which session state will be preserved

+        across application restarts, if possible.  The default is

+        "SESSIONS.ser".<br>See

+        <a href="#Persistence_Across_Restarts">Persistence Across Restarts</a>

+        for more information. This persistence may be 

+        disabled by setting this attribute to an empty string.</p>

+      </td></tr><tr><td align="left" valign="center"><code>processExpiresFrequency</code></td><td align="left" valign="center">

+        <p>Frequency of the session expiration, and related manager operations.

+        Manager operations will be done once for the specified amount of

+        backgroundProcess calls (i.e., the lower the amount, the more often the

+        checks will occur). The minimum value is 1, and the default value is 6.

+        </p>

+      </td></tr><tr><td align="left" valign="center"><code>randomClass</code></td><td align="left" valign="center">

+        <p>Java class name of the <code>java.util.Random</code>

+        implementation class to use.  If not specified, the default value is

+        <code>java.security.SecureRandom</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>randomFile</code></td><td align="left" valign="center">

+        <p>Name of a file that provides random data that are used to generate

+        session ids. If not specified, the default value is

+        <code>/dev/urandom</code> on Unix-like systems (those where such

+        file path is absolute) and empty on others.</p>

+      </td></tr><tr><td align="left" valign="center"><code>sessionIdLength</code></td><td align="left" valign="center">

+       <p>The length of session ids created by this Manager, measured in bytes,

+        excluding subsequent conversion to a hexadecimal string and

+        excluding any JVM route information used for load balancing.

+        The default is 16.</p>

+      </td></tr></table>

+

+    <h3>Persistent Manager Implementation</h3>

+

+    <p><em><strong>WARNING - Use of this Manager implementation

+    has not been thoroughly tested, and should be considered experimental!

+    </strong></em></p>

+

+    <p><strong>NOTE:</strong> You must set either the

+    <code>org.apache.catalina.session.StandardSession.ACTIVITY_CHECK</code> or

+    <code>org.apache.catalina.STRICT_SERVLET_COMPLIANCE</code>

+    <a href="systemprops.html">system properties</a> to <code>true</code> for

+    the persistent manager to work correctly.</p>

+    

+    <p>The persistent implementation of <strong>Manager</strong> is

+    <strong>org.apache.catalina.session.PersistentManager</strong>.  In

+    addition to the usual operations of creating and deleting sessions, a

+    <code>PersistentManager</code> has the capability to swap active (but

+    idle) sessions out to a persistent storage mechanism, as well as to save

+    all sessions across a normal restart of Tomcat.  The actual persistent

+    storage mechanism used is selected by your choice of a

+    <strong>Store</strong> element nested inside the <strong>Manager</strong>

+    element - this is required for use of <code>PersistentManager</code>.</p>

+

+    <p>This implementation of Manager supports the following attributes in

+    addition to the <a href="#Common Attributes">Common Attributes</a>

+    described earlier.</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>algorithm</code></td><td align="left" valign="center">

+        <p>Name of the <em>Message Digest</em> algorithm used to calculate

+        session identifiers produced by this Manager.  This value must

+        be supported by the <code>java.security.MessageDigest</code> class.

+        If not specified, the default value is "MD5".</p>

+      </td></tr><tr><td align="left" valign="center"><code>className</code></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This class must

+        implement the <code>org.apache.catalina.Manager</code> interface.

+        You <strong>must</strong> specify

+        <code>org.apache.catalina.session.PersistentManager</code> to use

+        this manager implementation.</p>

+      </td></tr><tr><td align="left" valign="center"><code>entropy</code></td><td align="left" valign="center">

+        <p>A String value that is utilized when seeding the random number

+        generator used to create session identifiers for this Manager.

+        If not specified, a semi-useful value is calculated, but a long

+        String value should be specified in security-conscious

+        environments.</p>

+      </td></tr><tr><td align="left" valign="center"><code>maxActiveSessions</code></td><td align="left" valign="center">

+        <p>The maximum number of active sessions that will be created by

+        this Manager, or -1 (the default) for no limit.</p>

+      </td></tr><tr><td align="left" valign="center"><code>maxIdleBackup</code></td><td align="left" valign="center">

+        <p>The time interval (in seconds) since the last access to a session

+        before it is eligible for being persisted to the session store, or

+        <code>-1</code> to disable this feature.  By default, this feature is

+        disabled.</p>

+      </td></tr><tr><td align="left" valign="center"><code>maxIdleSwap</code></td><td align="left" valign="center">

+        <p>The time interval (in seconds) since the last access to a session

+        before it should be persisted to the session store, and

+        passivated out of the server's memory, or <code>-1</code> to disable

+        this feature.  If this feature is enabled, the time interval specified

+        here should be equal to or longer than the value specified for

+        <code>maxIdleBackup</code>.  By default, this feature is disabled.</p>

+      </td></tr><tr><td align="left" valign="center"><code>minIdleSwap</code></td><td align="left" valign="center">

+        <p>The time interval (in seconds) since the last access to a session

+        before it will be eligible to be persisted to the session store, and

+        passivated out of the server's memory, or <code>-1</code> for this

+        swapping to be available at any time.  If specified, this value should

+        be less than that specified by <code>maxIdleSwap</code>.  By default,

+        this value is set to <code>-1</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>maxInactiveInterval</code></td><td align="left" valign="center">

+        <p>The initial maximum time interval, in seconds, 

+        between client requests before a session is invalidated. A negative value

+        will result in sessions never timing out. If the attribute is not provided,

+        a default of 60 seconds is used.</p>

+        

+        <p>This attribute provides the initial value whenever a 

+        new session is created, but the interval may be dynamically 

+        varied by a servlet via the 

+        <code>setMaxInactiveInterval</code>method of the <code>HttpSession</code> object.</p>

+      </td></tr><tr><td align="left" valign="center"><code>randomClass</code></td><td align="left" valign="center">

+        <p>Java class name of the <code>java.util.Random</code>

+        implementation class to use.  If not specified, the default value is

+        <code>java.security.SecureRandom</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>randomFile</code></td><td align="left" valign="center">

+        <p>Name of a file that provides random data that are used to generate

+        session ids. If not specified, the default value is

+        <code>/dev/urandom</code> on Unix-like systems (those where such

+        file path is absolute) and empty on others.</p>

+      </td></tr><tr><td align="left" valign="center"><code>saveOnRestart</code></td><td align="left" valign="center">

+        <p>Should all sessions be persisted and reloaded when Tomcat is shut

+        down and restarted (or when this application is reloaded)?  By default,

+        this attribute is set to <code>true</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>sessionIdLength</code></td><td align="left" valign="center">

+       <p>The length of session ids created by this Manager, measured in bytes,

+        excluding subsequent conversion to a hexadecimal string and

+        excluding any JVM route information used for load balancing.

+        The default is 16.</p>

+      </td></tr></table>

+

+    <p>In order to successfully use a PersistentManager, you must nest inside

+    it a <strong>&lt;Store&gt;</strong> element, as described below.</p>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nested Components"><!--()--></a><a name="Nested_Components"><strong>Nested Components</strong></a></font></td></tr><tr><td><blockquote>

+

+  <h3>Standard Manager Implementation</h3>

+

+  <p>If you are using the <em>Standard Manager Implementation</em>

+  as described above, no elements may be nested inside your

+  <strong>&lt;Manager&gt;</strong> element.</p>

+

+  <h3>Persistent Manager Implementation</h3>

+

+  <p>If you are using the <em>Persistent Manager Implementation</em>

+  as described above, you <strong>MUST</strong> nest a

+  <strong>&lt;Store&gt;</strong> element inside, which defines the

+  characteristics of the persistent data storage.  Two implementations

+  of the <code>&lt;Store&gt;</code> element are currently available,

+  with different characteristics, as described below.</p>

+

+  <h5>File Based Store</h5>

+

+  <p>The <em>File Based Store</em> implementation saves swapped out

+  sessions in individual files (named based on the session identifier)

+  in a configurable directory.  Therefore, you are likely to encounter

+  scalability problems as the number of active sessions increases, and

+  this should primarily be considered a means to easily experiment.</p>

+

+  <p>To configure this, add a <code>&lt;Store&gt;</code> nested inside

+  your <code>&lt;Manager&gt;</code> element with the following attributes:

+  </p>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>checkInterval</code></td><td align="left" valign="center">

+      <p>The interval (in seconds) between checks for expired sessions

+      among those sessions that are currently swapped out.  By default,

+      this interval is set to 60 seconds (one minute).</p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+      <p>Java class name of the implementation to use.  This class must

+      implement the <code>org.apache.catalina.Store</code> interface.  You

+      <strong>must</strong> specify

+      <code>org.apache.catalina.session.FileStore</code>

+      to use this implementation.</p>

+    </td></tr><tr><td align="left" valign="center"><code>directory</code></td><td align="left" valign="center">

+      <p>Absolute or relative (to the temporary work directory for this web

+      application) pathname of the directory into which individual session

+      files are written.  If not specified, the temporary work directory

+      assigned by the container is utilized.</p>

+    </td></tr></table>

+

+

+  <h5>JDBC Based Store</h5>

+

+  <p>The <em>JDBC Based Store</em> implementation saves swapped out

+  sessions in individual rows of a preconfigured table in a database

+  that is accessed via a JDBC driver.  With large numbers of swapped out

+  sessions, this implementation will exhibit improved performance over

+  the File Based Store described above.</p>

+

+  <p>To configure this, add a <code>&lt;Store&gt;</code> nested inside

+  your <code>&lt;Manager&gt;</code> element with the following attributes:

+  </p>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>checkInterval</code></td><td align="left" valign="center">

+      <p>The interval (in seconds) between checks for expired sessions

+      among those sessions that are currently swapped out.  By default,

+      this interval is set to 60 seconds (one minute).</p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+      <p>Java class name of the implementation to use.  This class must

+      implement the <code>org.apache.catalina.Store</code> interface.  You

+      <strong>must</strong> specify

+      <code>org.apache.catalina.session.JDBCStore</code>

+      to use this implementation.</p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>connectionURL</code></strong></td><td align="left" valign="center">

+      <p>The connection URL that will be handed to the configured JDBC

+      driver to establish a connection to the database containing our

+      session table.</p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>driverName</code></strong></td><td align="left" valign="center">

+      <p>Java class name of the JDBC driver to be used.</p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>sessionAppCol</code></strong></td><td align="left" valign="center">

+      <p>Name of the database column, contained in the specified session

+      table, that contains the Engine, Host, and Web Application Context

+      name in the format <code>/Engine/Host/Context</code>.</p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>sessionDataCol</code></strong></td><td align="left" valign="center">

+      <p>Name of the database column, contained in the specified

+      session table, that contains the serialized form of all session

+      attributes for a swapped out session.  The column type must accept

+      a binary object (typically called a BLOB).</p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>sessionIdCol</code></strong></td><td align="left" valign="center">

+      <p>Name of the database column, contained in the specified

+      session table, that contains the session identifier of the

+      swapped out session.  The column type must accept character

+      string data of at least as many characters as are contained

+      in session identifiers created by Tomcat (typically 32).</p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>sessionLastAccessedCol</code></strong></td><td align="left" valign="center">

+      <p>Name of the database column, contained in the specified

+      session table, that contains the <code>lastAccessedTime</code>

+      property of this session.  The column type must accept a

+      Java <code>long</code> (64 bits).</p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>sessionMaxInactiveCol</code></strong></td><td align="left" valign="center">

+      <p>Name of the database column, contained in the specified

+      session table, that contains the <code>maxInactiveInterval</code>

+      property of this session.  The column type must accept a

+      Java <code>integer</code> (32 bits).</p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>sessionTable</code></strong></td><td align="left" valign="center">

+      <p>Name of the database table to be used for storing swapped out

+      sessions.  This table must contain (at least) the database columns

+      that are configured by the other attributes of this element.</p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>sessionValidCol</code></strong></td><td align="left" valign="center">

+      <p>Name of the database column, contained in the specified

+      session table, that contains a flag indicating whether this

+      swapped out session is still valid or not.  The column type

+      must accept a single character.</p>

+    </td></tr></table>

+

+  <p>Before attempting to use the JDBC Based Store for the first time,

+  you must create the table that will be used to store swapped out sessions.

+  Detailed SQL commands vary depending on the database you are using, but

+  a script like this will generally be required:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+create table tomcat_sessions (

+  session_id     varchar(100) not null primary key,

+  valid_session  char(1) not null,

+  max_inactive   int not null,

+  last_access    bigint not null,

+  app_name       varchar(255),

+  session_data   mediumblob,

+  KEY kapp_name(app_name)

+);

+</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+  <p>In order for the JDBC Based Store to successfully connect to your

+  database, the JDBC driver you configure must be visible to Tomcat's

+  internal class loader.  Generally, that means you must place the JAR

+  file containing this driver into the <code>$CATALINA_HOME/lib</code>

+  directory.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Special Features"><!--()--></a><a name="Special_Features"><strong>Special Features</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Persistence Across Restarts"><!--()--></a><a name="Persistence_Across_Restarts"><strong>Persistence Across Restarts</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>Whenever Apache Tomcat is shut down normally and restarted, or when an

+    application reload is triggered, the standard Manager implementation

+    will attempt to serialize all currently active sessions to a disk

+    file located via the <code>pathname</code> attribute.  All such saved

+    sessions will then be deserialized and activated (assuming they have

+    not expired in the mean time) when the application reload is completed.</p>

+

+    <p>In order to successfully restore the state of session attributes,

+    all such attributes MUST implement the <code>java.io.Serializable</code>

+    interface.  You MAY cause the Manager to enforce this restriction by

+    including the <code>&lt;distributable&gt;</code> element in your web

+    application deployment descriptor (<code>/WEB-INF/web.xml</code>).</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Disable Session Persistence"><!--()--></a><a name="Disable_Session_Persistence"><strong>Disable Session Persistence</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>As documented above, every web application by default has

+    standard manager implementation configured, and it performs session

+    persistence across restarts. To disable this persistence feature, create

+    a <a href="context.html">Context</a> configuration file for your web

+    application and add the following element there:</p>

+

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>&lt;Manager pathname="" /&gt;</pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/realm.html b/tomcat-uid/webapps/docs/config/realm.html
new file mode 100644
index 0000000..50e5182
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/realm.html
@@ -0,0 +1,739 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Realm Component</title><meta name="author" content="Craig R. McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Realm Component</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li><li><a href="#JDBC_Database_Realm_-_org.apache.catalina.realm.JDBCRealm">JDBC Database Realm - org.apache.catalina.realm.JDBCRealm</a></li><li><a href="#DataSource_Database_Realm_-_org.apache.catalina.realm.DataSourceRealm">DataSource Database Realm - org.apache.catalina.realm.DataSourceRealm</a></li><li><a href="#JNDI_Directory_Realm_-_org.apache.catalina.realm.JNDIRealm">JNDI Directory Realm - org.apache.catalina.realm.JNDIRealm</a></li><li><a href="#UserDatabase_Realm_-_org.apache.catalina.realm.UserDatabaseRealm">UserDatabase Realm - org.apache.catalina.realm.UserDatabaseRealm</a></li><li><a href="#Memory_Based_Realm_-_org.apache.catalina.realm.MemoryRealm">Memory Based Realm - org.apache.catalina.realm.MemoryRealm</a></li><li><a href="#JAAS_Realm_-_org.apache.catalina.realm.JAASRealm">JAAS Realm - org.apache.catalina.realm.JAASRealm</a></li><li><a href="#Combined_Realm_-_org.apache.catalina.realm.CombinedRealm">Combined Realm - org.apache.catalina.realm.CombinedRealm</a></li><li><a href="#LockOut_Realm_-_org.apache.catalina.realm.LockOutRealm">LockOut Realm - org.apache.catalina.realm.LockOutRealm</a></li></ol></li><li><a href="#Nested_Components">Nested Components</a></li><li><a href="#Special_Features">Special Features</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>A <strong>Realm</strong> element represents a "database" of usernames,

+  passwords, and <em>roles</em> (similar to Unix <em>groups</em>) assigned

+  to those users.  Different implementations of Realm allow Catalina to be

+  integrated into environments where such authentication information is already

+  being created and maintained, and then utilize that information to implement

+  <em>Container Managed Security</em> as described in the Servlet

+  Specification.</p>

+

+  <p>You may nest a Realm inside any Catalina container

+  <a href="engine.html">Engine</a>, <a href="host.html">Host</a>, or

+  <a href="context.html">Context</a>).  In addition, Realms associated with

+  an Engine or a Host are automatically inherited by lower-level

+  containers, unless explicitly overridden.</p>

+

+  <p>For more in-depth information about container managed security in web

+  applications, as well as more information on configuring and using the 

+  standard realm component implementations, please see the 

+  <a href="../realm-howto.html">Container-Managed Security Guide</a>.

+  </p>

+

+    <blockquote><em>

+    <p>The description below uses the variable name $CATALINA_BASE to refer the

+    base directory against which most relative paths are resolved. If you have

+    not configured Tomcat 6 for multiple instances by setting a CATALINA_BASE

+    directory, then $CATALINA_BASE will be set to the value of $CATALINA_HOME,

+    the directory into which you have installed Tomcat 6.</p>

+    </em></blockquote>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>All implementations of <strong>Realm</strong>

+    support the following attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This class must

+        implement the <code>org.apache.catalina.Realm</code> interface.</p>

+      </td></tr></table>

+

+    <p>Unlike most Catalina components, there are several standard

+    <strong>Realm</strong> implementations available.  As a result,

+    the <code>className</code> attribute MUST be used to select the

+    implementation you wish to use.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JDBC Database Realm - org.apache.catalina.realm.JDBCRealm"><!--()--></a><a name="JDBC_Database_Realm_-_org.apache.catalina.realm.JDBCRealm"><strong>JDBC Database Realm - org.apache.catalina.realm.JDBCRealm</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>JDBC Database Realm</strong> connects Catalina to

+    a relational database, accessed through an appropriate JDBC driver,

+    to perform lookups of usernames, passwords, and their associated

+    roles.  Because the lookup is done each time that it is required,

+    changes to the database will be immediately reflected in the

+    information used to authenticate new logins.</p>

+

+    <p>A rich set of additional attributes lets you configure the required

+    connection to the underlying database, as well as the table and

+    column names used to retrieve the required information:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>allRolesMode</code></td><td align="left" valign="center">

+        <p>This attribute controls how the special role name <code>*</code> is

+        handled when processing authorization constraints in web.xml. By

+        default, the specification compliant value of <code>strict</code> is

+        used which means that the user must be assigned one of the roles defined

+        in web.xml. The alternative values are <code>authOnly</code> which means

+        that the user must be authenticated but no check is made for assigned

+        roles and <code>strictAuthOnly</code> which means that the user must be

+        authenticated and no check will be made for assigned roles unless roles

+        are defined in web.xml in which case the user must be assigned at least

+        one of those roles.</p>

+        <p>When this attribute has the value of <code>authOnly</code> or

+        <code>strictAuthOnly</code>, the <strong>roleNameCol</strong> and

+        <strong>userRoleTable</strong> attributes become optional. If those two

+        attributes are omitted, the user's roles will not be loaded by this

+        Realm.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>connectionName</code></strong></td><td align="left" valign="center">

+        <p>The database username to use when establishing the JDBC

+        connection.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>connectionPassword</code></strong></td><td align="left" valign="center">

+        <p>The database password to use when establishing the JDBC

+        connection.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>connectionURL</code></strong></td><td align="left" valign="center">

+        <p>The connection URL to be passed to the JDBC driver when

+        establishing a database connection.</p>

+      </td></tr><tr><td align="left" valign="center"><code>digest</code></td><td align="left" valign="center">

+        <p>The name of the <code>MessageDigest</code> algorithm used

+        to encode user passwords stored in the database.  If not specified,

+        user passwords are assumed to be stored in clear-text.</p>

+      </td></tr><tr><td align="left" valign="center"><code>digestEncoding</code></td><td align="left" valign="center">

+        <p>The charset for encoding digests.  If not specified, the platform

+        default will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>driverName</code></strong></td><td align="left" valign="center">

+        <p>Fully qualified Java class name of the JDBC driver to be

+        used to connect to the authentication database.</p>

+      </td></tr><tr><td align="left" valign="center"><code>roleNameCol</code></td><td align="left" valign="center">

+        <p>Name of the column, in the "user roles" table, which contains

+        a role name assigned to the corresponding user.</p>

+        <p>This attribute is <strong>required</strong> in majority of

+        configurations. See <strong>allRolesMode</strong> attribute for

+        a rare case when it can be omitted.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>userCredCol</code></strong></td><td align="left" valign="center">

+        <p>Name of the column, in the "users" table, which contains

+        the user's credentials (i.e. password(.  If a value for the

+        <code>digest</code> attribute is specified, this component

+        will assume that the passwords have been encoded with the

+        specified algorithm.  Otherwise, they will be assumed to be

+        in clear text.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>userNameCol</code></strong></td><td align="left" valign="center">

+        <p>Name of the column, in the "users" and "user roles" table,

+        that contains the user's username.</p>

+      </td></tr><tr><td align="left" valign="center"><code>userRoleTable</code></td><td align="left" valign="center">

+        <p>Name of the "user roles" table, which must contain columns

+        named by the <code>userNameCol</code> and <code>roleNameCol</code>

+        attributes.</p>

+        <p>This attribute is <strong>required</strong> in majority of

+        configurations. See <strong>allRolesMode</strong> attribute for

+        a rare case when it can be omitted.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>userTable</code></strong></td><td align="left" valign="center">

+        <p>Name of the "users" table, which must contain columns named

+        by the <code>userNameCol</code> and <code>userCredCol</code>

+        attributes.</p>

+      </td></tr><tr><td align="left" valign="center"><code>X509UsernameRetrieverClassName</code></td><td align="left" valign="center">

+        <p>When using X509 client certificates, this specifies the class name

+        that will be used to retrieve the user name from the certificate.

+        The class must implement the

+        <code>org.apache.catalina.realm.X509UsernameRetriever</code>

+        interface. The default is to use the certificate's SubjectDN

+        as the username.</p>

+      </td></tr></table>

+

+    <p>See the <a href="../realm-howto.html">Container-Managed Security Guide</a> for more

+    information on setting up container managed security using the

+    JDBC Database Realm component.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="DataSource Database Realm - org.apache.catalina.realm.DataSourceRealm"><!--()--></a><a name="DataSource_Database_Realm_-_org.apache.catalina.realm.DataSourceRealm"><strong>DataSource Database Realm - org.apache.catalina.realm.DataSourceRealm</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>DataSource Database Realm</strong> connects Catalina to

+    a relational database, accessed through a JNDI named JDBC DataSource

+    to perform lookups of usernames, passwords, and their associated

+    roles.  Because the lookup is done each time that it is required,

+    changes to the database will be immediately reflected in the

+    information used to authenticate new logins.</p>

+

+    <p>The JDBC Realm uses a single db connection. This requires that

+    realm based authentication be synchronized, i.e. only one authentication

+    can be done at a time. This could be a bottleneck for applications

+    with high volumes of realm based authentications.</p>

+

+    <p>The DataSource Database Realm supports simultaneous realm based

+    authentications and allows the underlying JDBC DataSource to

+    handle optimizations like database connection pooling.</p>

+

+    <p>A rich set of additional attributes lets you configure the name

+    of the JNDI JDBC DataSource, as well as the table and

+    column names used to retrieve the required information:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>allRolesMode</code></td><td align="left" valign="center">

+        <p>This attribute controls how the special role name <code>*</code> is

+        handled when processing authorization constraints in web.xml. By

+        default, the specification compliant value of <code>strict</code> is

+        used which means that the user must be assigned one of the roles defined

+        in web.xml. The alternative values are <code>authOnly</code> which means

+        that the user must be authenticated but no check is made for assigned

+        roles and <code>strictAuthOnly</code> which means that the user must be

+        authenticated and no check will be made for assigned roles unless roles

+        are defined in web.xml in which case the user must be assigned at least

+        one of those roles.</p>

+        <p>When this attribute has the value of <code>authOnly</code> or

+        <code>strictAuthOnly</code>, the <strong>roleNameCol</strong> and

+        <strong>userRoleTable</strong> attributes become optional. If those two

+        attributes are omitted, the user's roles will not be loaded by this

+        Realm.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>dataSourceName</code></strong></td><td align="left" valign="center">

+        <p>The name of the JNDI JDBC DataSource for this Realm.</p>

+      </td></tr><tr><td align="left" valign="center"><code>digest</code></td><td align="left" valign="center">

+        <p>The name of the <code>MessageDigest</code> algorithm used

+        to encode user passwords stored in the database.  If not specified,

+        user passwords are assumed to be stored in clear-text.</p>

+      </td></tr><tr><td align="left" valign="center"><code>localDataSource</code></td><td align="left" valign="center">

+        <p>When the realm is nested inside a Context element, this allows the 

+        realm to use a DataSource defined for the Context rather than a global

+        DataSource.  If not specified, the default is <code>false</code>: use a 

+        global DataSource.</p>

+      </td></tr><tr><td align="left" valign="center"><code>roleNameCol</code></td><td align="left" valign="center">

+        <p>Name of the column, in the "user roles" table, which contains

+        a role name assigned to the corresponding user.</p>

+        <p>This attribute is <strong>required</strong> in majority of

+        configurations. See <strong>allRolesMode</strong> attribute for

+        a rare case when it can be omitted.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>userCredCol</code></strong></td><td align="left" valign="center">

+        <p>Name of the column, in the "users" table, which contains

+        the user's credentials (i.e. password(.  If a value for the

+        <code>digest</code> attribute is specified, this component

+        will assume that the passwords have been encoded with the

+        specified algorithm.  Otherwise, they will be assumed to be

+        in clear text.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>userNameCol</code></strong></td><td align="left" valign="center">

+        <p>Name of the column, in the "users" and "user roles" table,

+        that contains the user's username.</p>

+      </td></tr><tr><td align="left" valign="center"><code>userRoleTable</code></td><td align="left" valign="center">

+        <p>Name of the "user roles" table, which must contain columns

+        named by the <code>userNameCol</code> and <code>roleNameCol</code>

+        attributes.</p>

+        <p>This attribute is <strong>required</strong> in majority of

+        configurations. See <strong>allRolesMode</strong> attribute for

+        a rare case when it can be omitted.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>userTable</code></strong></td><td align="left" valign="center">

+        <p>Name of the "users" table, which must contain columns named

+        by the <code>userNameCol</code> and <code>userCredCol</code>

+        attributes.</p>

+      </td></tr><tr><td align="left" valign="center"><code>X509UsernameRetrieverClassName</code></td><td align="left" valign="center">

+        <p>When using X509 client certificates, this specifies the class name

+        that will be used to retrieve the user name from the certificate.

+        The class must implement the

+        <code>org.apache.catalina.realm.X509UsernameRetriever</code>

+        interface. The default is to use the certificate's SubjectDN

+        as the username.</p>

+      </td></tr></table>

+

+    <p>See the <a href="../realm-howto.html#DataSourceRealm">

+    DataSource Realm HOW-TO</a> for more information on setting up container

+    managed security using the DataSource Database Realm component.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JNDI Directory Realm - org.apache.catalina.realm.JNDIRealm"><!--()--></a><a name="JNDI_Directory_Realm_-_org.apache.catalina.realm.JNDIRealm"><strong>JNDI Directory Realm - org.apache.catalina.realm.JNDIRealm</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>JNDI Directory Realm</strong> connects Catalina to

+    an LDAP Directory, accessed through an appropriate JNDI driver,

+    that stores usernames, passwords, and their associated

+    roles. Changes to the directory are immediately reflected in the

+    information used to authenticate new logins.</p>

+

+

+    <p>The directory realm supports a variety of approaches to using

+    LDAP for authentication:</p>

+

+    <ul>

+    <li>The realm can either use a pattern to determine the

+    distinguished name (DN) of the user's directory entry, or search

+    the directory to locate that entry.

+    </li>

+

+    <li>The realm can authenticate the user either by binding to the

+    directory with the DN of the user's entry and the password

+    presented by the user, or by retrieving the password from the

+    user's entry and performing a comparison locally.

+    </li>

+

+    <li>Roles may be represented in the directory as explicit entries

+    found by a directory search (e.g. group entries of which the user

+    is a member), as the values of an attribute in the user's entry,

+    or both.

+    </li>

+    </ul>

+

+    <p> A rich set of additional attributes lets you configure the

+    required behaviour as well as the connection to the underlying

+    directory and the element and attribute names used to retrieve

+    information from the directory:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>adCompat</code></td><td align="left" valign="center">

+        <p>Microsoft Active Directory often returns referrals.

+        When iterating over NamingEnumerations these lead to

+        PartialResultExceptions. If you want us to ignore those exceptions,

+        set this attribute to "true". Unfortunately there's no stable way

+        to detect, if the Exceptions really come from an AD referral.

+        The default value is "false".</p>

+      </td></tr><tr><td align="left" valign="center"><code>allRolesMode</code></td><td align="left" valign="center">

+        <p>This attribute controls how the special role name <code>*</code> is

+        handled when processing authorization constraints in web.xml. By

+        default, the specification compliant value of <code>strict</code> is

+        used which means that the user must be assigned one of the roles defined

+        in web.xml. The alternative values are <code>authOnly</code> which means

+        that the user must be authenticated but no check is made for assigned

+        roles and <code>strictAuthOnly</code> which means that the user must be

+        authenticated and no check will be made for assigned roles unless roles

+        are defined in web.xml in which case the user must be assigned at least

+        one of those roles.</p>

+      </td></tr><tr><td align="left" valign="center"><code>alternateURL</code></td><td align="left" valign="center">

+        <p>If a socket connection can not be made to the provider at

+        the <code>connectionURL</code> an attempt will be made to use the

+        <code>alternateURL</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>authentication</code></td><td align="left" valign="center">

+        <p>A string specifying the type of authentication to use.

+        "none", "simple", "strong" or a provider specific definition

+        can be used. If no value is given the providers default is used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>commonRole</code></td><td align="left" valign="center">

+        <p>A role name assigned to each successfully authenticated user in

+        addition to the roles retrieved from LDAP. If not specified, only

+        the roles retrieved via LDAP are used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>connectionName</code></td><td align="left" valign="center">

+        <p>The directory username to use when establishing a

+        connection to the directory for LDAP search operations. If not

+        specified an anonymous connection is made, which is often

+        sufficient unless you specify the <code>userPassword</code>

+        property.</p>

+      </td></tr><tr><td align="left" valign="center"><code>connectionPassword</code></td><td align="left" valign="center">

+        <p>The directory password to use when establishing a

+        connection to the directory for LDAP search operations. If not

+        specified an anonymous connection is made, which is often

+        sufficient unless you specify the <code>userPassword</code>

+        property.</p>

+      </td></tr><tr><td align="left" valign="center"><code>connectionTimeout</code></td><td align="left" valign="center">

+        <p>The timeout in milliseconds to use when establishing the connection

+        to the LDAP directory. If not specified, a value of 5000 (5 seconds) is

+        used.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>connectionURL</code></strong></td><td align="left" valign="center">

+        <p>The connection URL to be passed to the JNDI driver when

+        establishing a connection to the directory.</p>

+      </td></tr><tr><td align="left" valign="center"><code>contextFactory</code></td><td align="left" valign="center">

+        <p>Fully qualified Java class name of the factory class used

+        to acquire our JNDI <code>InitialContext</code>.  By default,

+        assumes that the standard JNDI LDAP provider will be utilized.</p>

+      </td></tr><tr><td align="left" valign="center"><code>derefAliases</code></td><td align="left" valign="center">

+        <p>A string specifying how aliases are to be dereferenced during

+        search operations. The allowed values are "always", "never",

+        "finding" and "searching". If not specified, "always" is used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>digest</code></td><td align="left" valign="center">

+        <p>The digest algorithm to apply to the plaintext password offered

+        by the user before comparing it with the value retrieved from the

+        directory.  Valid values are those accepted for the algorithm name

+        by the <code>java.security.MessageDigest</code> class. If not

+        specified the plaintext password is assumed to be retrieved. Not

+        required unless <code>userPassword</code> is specified</p>

+      </td></tr><tr><td align="left" valign="center"><code>protocol</code></td><td align="left" valign="center">

+         <p>A string specifying the security protocol to use. If not given

+         the providers default is used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>referrals</code></td><td align="left" valign="center">

+        <p>How do we handle JNDI referrals? Allowed values are

+        "ignore", "follow", or "throw"  (see javax.naming.Context.REFERRAL

+        for more information).

+        Microsoft Active Directory often returns referrals.

+        If you need to follow them set referrals to "follow".

+        Caution: if your DNS is not part of AD, the LDAP client lib might try

+        to resolve your domain name in DNS to find another LDAP server.</p>

+      </td></tr><tr><td align="left" valign="center"><code>roleBase</code></td><td align="left" valign="center">

+        <p>The base directory entry for performing role searches. If

+        not specified the top-level element in the directory context

+        will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>roleName</code></td><td align="left" valign="center">

+        <p>The name of the attribute that contains role names in the

+        directory entries found by a role search. In addition you can

+        use the <code>userRoleName</code> property to specify the name

+        of an attribute, in the user's entry, containing additional

+        role names.  If <code>roleName</code> is not specified a role

+        search does not take place, and roles are taken only from the

+        user's entry.</p>

+      </td></tr><tr><td align="left" valign="center"><code>roleSearch</code></td><td align="left" valign="center">

+        <p>The LDAP filter expression used for performing role

+        searches.  Use <code>{0}</code> to substitute the

+        distinguished name (DN) of the user, and/or <code>{1}</code> to

+        substitute the username. If not specified a role search does

+        not take place and roles are taken only from the attribute in

+        the user's entry specified by the <code>userRoleName</code>

+        property.</p>

+      </td></tr><tr><td align="left" valign="center"><code>roleSubtree</code></td><td align="left" valign="center">

+        <p>Set to <code>true</code> if you want to search the entire

+        subtree of the element specified by the <code>roleBase</code>

+        property for role entries associated with the user. The

+        default value of <code>false</code> causes only the top level

+        to be searched.</p>

+      </td></tr><tr><td align="left" valign="center"><code>userBase</code></td><td align="left" valign="center">

+        <p>The base element for user searches performed using the

+        <code>userSearch</code> expression.  Not used if you are using

+        the <code>userPattern</code> expression.</p>

+      </td></tr><tr><td align="left" valign="center"><code>userPassword</code></td><td align="left" valign="center">

+        <p>Name of the attribute in the user's entry containing the

+        user's password.  If you specify this value, JNDIRealm will

+        bind to the directory using the values specified by

+        <code>connectionName</code> and

+        <code>connectionPassword</code> properties, and retrieve the

+        corresponding attribute for comparison to the value specified

+        by the user being authenticated.  If you do

+        <strong>not</strong> specify this value, JNDIRealm will

+        attempt a simple bind to the directory using the DN of the

+        user's entry and the password presented by the user, with a

+        successful bind being interpreted as an authenticated

+        user.</p>

+      </td></tr><tr><td align="left" valign="center"><code>userPattern</code></td><td align="left" valign="center">

+        <p>Pattern for the distinguished name (DN) of the user's

+        directory entry, with <code>{0}</code> marking where the

+        actual username should be inserted. You can use this property

+        instead of <code>userSearch</code>, <code>userSubtree</code>

+        and <code>userBase</code> when the distinguished name contains

+        the username and is otherwise the same for all users.</p>

+      </td></tr><tr><td align="left" valign="center"><code>userRoleName</code></td><td align="left" valign="center">

+        <p>The name of an attribute in the user's directory entry

+        containing zero or more values for the names of roles assigned

+        to this user.  In addition you can use the

+        <code>roleName</code> property to specify the name of an

+        attribute to be retrieved from individual role entries found

+        by searching the directory. If <code>userRoleName</code> is

+        not specified all the roles for a user derive from the role

+        search.</p>

+      </td></tr><tr><td align="left" valign="center"><code>userSearch</code></td><td align="left" valign="center">

+        <p>The LDAP filter expression to use when searching for a

+        user's directory entry, with <code>{0}</code> marking where

+        the actual username should be inserted.  Use this property

+        (along with the <code>userBase</code> and

+        <code>userSubtree</code> properties) instead of

+        <code>userPattern</code> to search the directory for the

+        user's entry.</p>

+      </td></tr><tr><td align="left" valign="center"><code>userSubtree</code></td><td align="left" valign="center">

+        <p>Set to <code>true</code> if you want to search the entire

+        subtree of the element specified by the <code>userBase</code>

+        property for the user's entry. The default value of

+        <code>false</code> causes only the top level to be searched.

+        Not used if you are using the <code>userPattern</code>

+        expression.</p>

+      </td></tr><tr><td align="left" valign="center"><code>X509UsernameRetrieverClassName</code></td><td align="left" valign="center">

+        <p>When using X509 client certificates, this specifies the class name

+        that will be used to retrieve the user name from the certificate.

+        The class must implement the

+        <code>org.apache.catalina.realm.X509UsernameRetriever</code>

+        interface. The default is to use the certificate's SubjectDN

+        as the username.</p>

+      </td></tr></table>

+

+    <p>See the <a href="../realm-howto.html">Container-Managed Security Guide</a> for more

+    information on setting up container managed security using the

+    JNDI Directory Realm component.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="UserDatabase Realm - org.apache.catalina.realm.UserDatabaseRealm"><!--()--></a><a name="UserDatabase_Realm_-_org.apache.catalina.realm.UserDatabaseRealm"><strong>UserDatabase Realm - org.apache.catalina.realm.UserDatabaseRealm</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>UserDatabase Realm</strong> is a Realm implementation

+    that is based on a UserDatabase resource made available through the global

+    JNDI resources configured for this Tomcat instance.</p>

+

+    <p>The UserDatabase Realm implementation supports the following

+    additional attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>allRolesMode</code></td><td align="left" valign="center">

+        <p>This attribute controls how the special role name <code>*</code> is

+        handled when processing authorization constraints in web.xml. By

+        default, the specification compliant value of <code>strict</code> is

+        used which means that the user must be assigned one of the roles defined

+        in web.xml. The alternative values are <code>authOnly</code> which means

+        that the user must be authenticated but no check is made for assigned

+        roles and <code>strictAuthOnly</code> which means that the user must be

+        authenticated and no check will be made for assigned roles unless roles

+        are defined in web.xml in which case the user must be assigned at least

+        one of those roles.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>resourceName</code></strong></td><td align="left" valign="center">

+        <p>The name of the global <code>UserDatabase</code> resource

+        that this realm will use for user, password and role information.</p>

+      </td></tr><tr><td align="left" valign="center"><code>X509UsernameRetrieverClassName</code></td><td align="left" valign="center">

+        <p>When using X509 client certificates, this specifies the class name

+        that will be used to retrieve the user name from the certificate.

+        The class must implement the

+        <code>org.apache.catalina.realm.X509UsernameRetriever</code>

+        interface. The default is to use the certificate's SubjectDN

+        as the username.</p>

+      </td></tr></table>

+

+    <p>See the

+    <a href="../realm-howto.html">Container-Managed Security Guide</a> for more

+    information on setting up container managed security using the UserDatabase

+    Realm component and the

+    <a href="../jndi-resources-howto.html">JNDI resources how-to</a> for more

+    information on how to configure a UserDatabase resource.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Memory Based Realm - org.apache.catalina.realm.MemoryRealm"><!--()--></a><a name="Memory_Based_Realm_-_org.apache.catalina.realm.MemoryRealm"><strong>Memory Based Realm - org.apache.catalina.realm.MemoryRealm</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Memory Based Realm</strong> is a simple Realm implementation

+    that reads user information from an XML format, and represents it as a

+    collection of Java objects in memory.  This implementation is intended

+    solely to get up and running with container managed security - it is NOT

+    intended for production use.  As such, there are no mechanisms for

+    updating the in-memory collection of users when the content of the

+    underlying data file is changed.</p>

+

+    <p>The Memory Based Realm implementation supports the following

+    additional attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>allRolesMode</code></td><td align="left" valign="center">

+        <p>This attribute controls how the special role name <code>*</code> is

+        handled when processing authorization constraints in web.xml. By

+        default, the specification compliant value of <code>strict</code> is

+        used which means that the user must be assigned one of the roles defined

+        in web.xml. The alternative values are <code>authOnly</code> which means

+        that the user must be authenticated but no check is made for assigned

+        roles and <code>strictAuthOnly</code> which means that the user must be

+        authenticated and no check will be made for assigned roles unless roles

+        are defined in web.xml in which case the user must be assigned at least

+        one of those roles.</p>

+      </td></tr><tr><td align="left" valign="center"><code>digest</code></td><td align="left" valign="center">

+        <p>The digest algorithm used to store passwords in non-plaintext

+        formats. Valid values are those accepted for the algorithm name by the

+        <code>java.security.MessageDigest</code> class. If not specified,

+        passwords are stored in clear text.</p>

+      </td></tr><tr><td align="left" valign="center"><code>pathname</code></td><td align="left" valign="center">

+        <p>Absolute or relative (to $CATALINA_BASE) pathname to the XML file

+        containing our user information.  See below for details on the

+        XML element format required.  If no pathname is specified, the

+        default value is <code>conf/tomcat-users.xml</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>X509UsernameRetrieverClassName</code></td><td align="left" valign="center">

+        <p>When using X509 client certificates, this specifies the class name

+        that will be used to retrieve the user name from the certificate.

+        The class must implement the

+        <code>org.apache.catalina.realm.X509UsernameRetriever</code>

+        interface. The default is to use the certificate's SubjectDN

+        as the username.</p>

+      </td></tr></table>

+

+    <p>The XML document referenced by the <code>pathname</code> attribute must

+    conform to the following requirements:</p>

+    <ul>

+    <li>The root (outer) element must be <code>&lt;tomcat-users&gt;</code>.

+        </li>

+    <li>Each authorized user must be represented by a single XML element

+        <code>&lt;user&gt;</code>, nested inside the root element.</li>

+    <li>Each <code>&lt;user&gt;</code> element must have the following

+        attributes:

+        <ul>

+        <li><strong>name</strong> - Username of this user (must be unique

+            within this file).</li>

+        <li><strong>password</strong> - Password of this user (in

+            clear text).</li>

+        <li><strong>roles</strong> - Comma-delimited list of the role names

+            assigned to this user.</li>

+        </ul></li>

+    </ul>

+

+    <p>See the <a href="../realm-howto.html">Container-Managed Security Guide</a> for more

+    information on setting up container managed security using the

+    Memory Based Realm component.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JAAS Realm - org.apache.catalina.realm.JAASRealm"><!--()--></a><a name="JAAS_Realm_-_org.apache.catalina.realm.JAASRealm"><strong>JAAS Realm - org.apache.catalina.realm.JAASRealm</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p><strong>JAASRealm</strong> is an implementation of the Tomcat 6

+    <code>Realm</code> interface that authenticates users through the Java

+    Authentication &amp; Authorization Service (JAAS) framework which is now

+    provided as part of the standard J2SE API.</p>

+

+    <p>Using JAASRealm gives the developer the ability to combine practically

+    any conceivable security realm with Tomcat's CMA.</p>

+

+    <p>JAASRealm is prototype for Tomcat of the JAAS-based J2EE authentication

+    framework for J2EE v1.4, based on the <a href="http://www.jcp.org/en/jsr/detail?id=196">JCP Specification Request

+    196</a> to enhance container-managed security and promote 'pluggable'

+    authentication mechanisms whose implementations would be

+    container-independent.</p>

+

+    <p>Based on the JAAS login module and principal

+    (see <code>javax.security.auth.spi.LoginModule</code> and

+    <code>javax.security.Principal</code>), you can develop your own security

+    mechanism or wrap another third-party mechanism for integration with the CMA

+    as implemented by Tomcat.</p>

+

+    <p>The JAAS Realm implementation supports the following additional

+    attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>allRolesMode</code></td><td align="left" valign="center">

+        <p>This attribute controls how the special role name <code>*</code> is

+        handled when processing authorization constraints in web.xml. By

+        default, the specification compliant value of <code>strict</code> is

+        used which means that the user must be assigned one of the roles defined

+        in web.xml. The alternative values are <code>authOnly</code> which means

+        that the user must be authenticated but no check is made for assigned

+        roles and <code>strictAuthOnly</code> which means that the user must be

+        authenticated and no check will be made for assigned roles unless roles

+        are defined in web.xml in which case the user must be assigned at least

+        one of those roles.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>appName</code></strong></td><td align="left" valign="center">

+       <p>The name of the application as configured in your login configuration

+       file 

+       (<a href="http://docs.oracle.com/javase/1.4.2/docs/guide/security/jaas/tutorials/LoginConfigFile.html">JAAS LoginConfig</a>).</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>userClassNames</code></strong></td><td align="left" valign="center">

+        <p>A comma-separated list of the names of the classes that you have made 

+        for your user <code>Principals</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>roleClassNames</code></td><td align="left" valign="center">

+        <p>A comma-separated list of the names of the classes that you have made 

+        for your role <code>Principals</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>useContextClassLoader</code></td><td align="left" valign="center">

+        <p>Instructs JAASRealm to use the context class loader for loading the

+        user-specified <code>LoginModule</code> class and associated

+        <code>Principal</code> classes. The default value is <code>true</code>,

+        which is backwards-compatible with the way Tomcat 5 works. To load

+        classes using the container's classloader, specify

+        <code>false</code>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>X509UsernameRetrieverClassName</code></td><td align="left" valign="center">

+        <p>When using X509 client certificates, this specifies the class name

+        that will be used to retrieve the user name from the certificate.

+        The class must implement the

+        <code>org.apache.catalina.realm.X509UsernameRetriever</code>

+        interface. The default is to use the certificate's SubjectDN

+        as the username.</p>

+      </td></tr></table>

+

+    <p>See the <a href="../realm-howto.html">Container-Managed Security

+    Guide</a> for more information on setting up container managed security

+    using the JAAS Realm component.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Combined Realm - org.apache.catalina.realm.CombinedRealm"><!--()--></a><a name="Combined_Realm_-_org.apache.catalina.realm.CombinedRealm"><strong>Combined Realm - org.apache.catalina.realm.CombinedRealm</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p><strong>CombinedRealm</strong> is an implementation of the Tomcat 6

+    <code>Realm</code> interface that authenticates users through one or more

+    sub-Realms.</p>

+

+    <p>Using CombinedRealm gives the developer the ability to combine multiple

+    Realms of the same or different types. This can be used to authenticate

+    against different sources, provide fall back in case one Realm fails or for

+    any other purpose that requires multiple Realms.</p>

+

+    <p>Sub-realms are defined by nesting <code>Realm</code> elements inside the

+    <code>Realm</code> element that defines the CombinedRealm. Authentication

+    will be attempted against each <code>Realm</code> in the order they are

+    listed. Authentication against any Realm will be sufficient to authenticate

+    the user.</p>

+    

+    <p>See the <a href="../realm-howto.html">Container-Managed Security

+    Guide</a> for more information on setting up container managed security

+    using the CombinedRealm component.</p>

+

+    <p>The CombinedRealm implementation supports the following additional

+    attributes.</p>

+    

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>allRolesMode</code></td><td align="left" valign="center">

+        <p>This attribute controls how the special role name <code>*</code> is

+        handled when processing authorization constraints in web.xml. By

+        default, the specification compliant value of <code>strict</code> is

+        used which means that the user must be assigned one of the roles defined

+        in web.xml. The alternative values are <code>authOnly</code> which means

+        that the user must be authenticated but no check is made for assigned

+        roles and <code>strictAuthOnly</code> which means that the user must be

+        authenticated and no check will be made for assigned roles unless roles

+        are defined in web.xml in which case the user must be assigned at least

+        one of those roles.</p>

+      </td></tr></table>

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="LockOut Realm - org.apache.catalina.realm.LockOutRealm"><!--()--></a><a name="LockOut_Realm_-_org.apache.catalina.realm.LockOutRealm"><strong>LockOut Realm - org.apache.catalina.realm.LockOutRealm</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p><strong>LockOutRealm</strong> is an implementation of the Tomcat 6

+    <code>Realm</code> interface that extends the CombinedRealm to provide lock

+    out functionality to provide a user lock out mechanism if there are too many

+    failed authentication attempts in a given period of time.</p>

+    

+    <p>To ensure correct operation, there is a reasonable degree of

+    synchronization in this Realm.</p>

+    

+    <p>This Realm does not require modification to the underlying Realms or the

+    associated user storage mechanisms. It achieves this by recording all failed

+    logins, including those for users that do not exist. To prevent a DOS by

+    deliberating making requests with invalid users (and hence causing this

+    cache to grow) the size of the list of users that have failed authentication

+    is limited.</p>

+

+    <p>Sub-realms are defined by nesting <code>Realm</code> elements inside the

+    <code>Realm</code> element that defines the LockOutRealm. Authentication

+    will be attempted against each <code>Realm</code> in the order they are

+    listed. Authentication against any Realm will be sufficient to authenticate

+    the user.</p>

+

+    <p>The LockOutRealm implementation supports the following additional

+    attributes.</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>allRolesMode</code></td><td align="left" valign="center">

+        <p>This attribute controls how the special role name <code>*</code> is

+        handled when processing authorization constraints in web.xml. By

+        default, the specification compliant value of <code>strict</code> is

+        used which means that the user must be assigned one of the roles defined

+        in web.xml. The alternative values are <code>authOnly</code> which means

+        that the user must be authenticated but no check is made for assigned

+        roles and <code>strictAuthOnly</code> which means that the user must be

+        authenticated and no check will be made for assigned roles unless roles

+        are defined in web.xml in which case the user must be assigned at least

+        one of those roles.</p>

+      </td></tr><tr><td align="left" valign="center"><code>cacheRemovalWarningTime</code></td><td align="left" valign="center">

+       <p>If a failed user is removed from the cache because the cache is too

+       big before it has been in the cache for at least this period of time (in

+       seconds) a warning message will be logged. Defaults to 3600 (1 hour).</p>

+      </td></tr><tr><td align="left" valign="center"><code>cacheSize</code></td><td align="left" valign="center">

+       <p>Number of users that have failed authentication to keep in cache. Over

+       time the cache will grow to this size and may not shrink. Defaults to

+       1000.</p>

+      </td></tr><tr><td align="left" valign="center"><code>failureCount</code></td><td align="left" valign="center">

+       <p>The number of times in a row a user has to fail authentication to be

+       locked out. Defaults to 5.</p>

+      </td></tr><tr><td align="left" valign="center"><code>lockOutTime</code></td><td align="left" valign="center">

+       <p>The time (in seconds) a user is locked out for after too many

+       authentication failures. Defaults to 300 (5 minutes).</p>

+      </td></tr></table>

+

+    <p>See the <a href="../realm-howto.html">Container-Managed Security

+    Guide</a> for more information on setting up container managed security

+    using the LockOutRealm component.</p>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nested Components"><!--()--></a><a name="Nested_Components"><strong>Nested Components</strong></a></font></td></tr><tr><td><blockquote>

+

+  <h3>CombinedRealm Implementation</h3>

+

+  <p>If you are using the <em>CombinedRealm Implementation</em> or a Realm

+  that extends the CombinedRealm, e.g. the LockOutRealm,

+  <strong>&lt;Realm&gt;</strong> elements may be nested inside it.</p>

+

+  <h3>Other Realm Implementations</h3>

+  

+  <p>No other Realm implementation supports nested components.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Special Features"><!--()--></a><a name="Special_Features"><strong>Special Features</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>See <a href="host.html">Single Sign On</a> for information about

+  configuring Single Sign On support for a virtual host.</p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/resources.html b/tomcat-uid/webapps/docs/config/resources.html
new file mode 100644
index 0000000..bf8c9ce
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/resources.html
@@ -0,0 +1,74 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Resources Component</title><meta name="author" content="Remy Maucherat"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Resources Component</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li><li><a href="#Standard_Implementation">Standard Implementation</a></li></ol></li><li><a href="#Nested_Components">Nested Components</a></li><li><a href="#Special_Features">Special Features</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>The <strong>Resources</strong> element represents the <em>web

+  application static resources</em>, from which classes will be loaded, 

+  HTML, JSP and the other static files will be served. This allows the webapp

+  to reside on various mediums other than the filesystem, like compressed

+  in a WAR file, in a JDBC database, or in a more advanced versioning

+  repository.</p>

+

+  <p>A unified caching engine is provided for all accesses to the webapp

+  resources made by the servlet container and web applications which use the

+  container provided mechanisms to access such resources, such as classloader

+  access, access through the <code>ServletContext</code> interface, or native

+  access through the <code>DirectoryContext</code> interface.</p>

+

+  <p><strong>Note: Running a webapp with non-filesystem based 

+  Resources implementations is only possible when the webapp does not 

+  rely on direct filesystem access to its own resources, and uses the methods

+  in the ServletContext interface to access them.</strong></p>

+

+  <p>A Resources element MAY be nested inside a 

+  <a href="context.html">Context</a> component.  If it is not included, 

+  a default filesystem based Resources will be created automatically, 

+  which is sufficient for most requirements.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>All implementations of <strong>Resources</strong>

+    support the following attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>className</code></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This class must

+        implement the <code>javax.naming.directory.DirContext</code> interface.

+        It is recommended for optimal functionality and performance, 

+        but not mandatory, that the class extend 

+        <code>org.apache.naming.resources.BaseDirContext</code>, as well as

+        use the special object types provided in the 

+        <code>org.apache.naming.resources</code> for returned objects.

+        If not specified, the standard value (defined below) will be used.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Standard Implementation"><!--()--></a><a name="Standard_Implementation"><strong>Standard Implementation</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The standard implementation of <strong>Resources</strong> is

+    <strong>org.apache.naming.resources.FileDirContext</strong>, and 

+    is configured by its parent Context element.</p>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nested Components"><!--()--></a><a name="Nested_Components"><strong>Nested Components</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>No components may be nested inside a <strong>Resources</strong> element.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Special Features"><!--()--></a><a name="Special_Features"><strong>Special Features</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>No special features are associated with a <strong>Resources</strong>

+  element.</p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/server.html b/tomcat-uid/webapps/docs/config/server.html
new file mode 100644
index 0000000..dc55b96
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/server.html
@@ -0,0 +1,74 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Server Component</title><meta name="author" content="Craig R. McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Server Component</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li><li><a href="#Standard_Implementation">Standard Implementation</a></li></ol></li><li><a href="#Nested_Components">Nested Components</a></li><li><a href="#Special_Features">Special Features</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>A <strong>Server</strong> element represents the entire Catalina

+  servlet container.  Therefore, it must be the single outermost element

+  in the <code>conf/server.xml</code> configuration file.  Its attributes

+  represent the characteristics of the servlet container as a whole.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>All implementations of <strong>Server</strong>

+  support the following attributes:</p>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>className</code></td><td align="left" valign="center">

+      <p>Java class name of the implementation to use.  This class must

+      implement the <code>org.apache.catalina.Server</code> interface.

+      If no class name is specified, the standard implementation will

+      be used.</p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>port</code></strong></td><td align="left" valign="center">

+      <p>The TCP/IP port number on which this server waits for a shutdown

+      command.  This connection must be initiated from the same server

+      computer that is running this instance of Tomcat. Set to <code>-1</code>

+      to disable the shutdown port.</p>

+      <p>Note: Disabling the shutdown port works well when Tomcat is started

+      using <a href="http://commons.apache.org/daemon/">Apache Commons Daemon</a>

+      (running as a service on Windows or with jsvc on un*xes). It cannot be

+      used when running Tomcat with the standard shell scripts though, as it

+      will prevent shutdown.bat|.sh and catalina.bat|.sh from stopping it

+      gracefully.</p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>shutdown</code></strong></td><td align="left" valign="center">

+      <p>The command string that must be received via a TCP/IP connection

+      to the specified port number, in order to shut down Tomcat.</p>

+    </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Standard Implementation"><!--()--></a><a name="Standard_Implementation"><strong>Standard Implementation</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>The standard implementation of <strong>Server</strong> is

+  <strong>org.apache.catalina.core.StandardServer</strong>.

+  It supports the following additional attributes (in addition to the

+  common attributes listed above):</p>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr></table>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nested Components"><!--()--></a><a name="Nested_Components"><strong>Nested Components</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>The following components may be nested inside a <strong>Server</strong>

+  element:</p>

+  <ul>

+  <li><a href="service.html"><strong>Service</strong></a> - 

+      One or more service element.</li>

+  <li><a href="globalresources.html"><strong>GlobalNamingResources</strong></a> - 

+      Configure the JNDI global resources for the server.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Special Features"><!--()--></a><a name="Special_Features"><strong>Special Features</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>There are no special features associated with a <strong>Server</strong>.

+  </p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/service.html b/tomcat-uid/webapps/docs/config/service.html
new file mode 100644
index 0000000..d7a2f42
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/service.html
@@ -0,0 +1,62 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Service Component</title><meta name="author" content="Craig R. McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Service Component</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Attributes">Attributes</a><ol><li><a href="#Common_Attributes">Common Attributes</a></li><li><a href="#Standard_Implementation">Standard Implementation</a></li></ol></li><li><a href="#Nested_Components">Nested Components</a></li><li><a href="#Special_Features">Special Features</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>A <strong>Service</strong> element represents the combination of one or

+  more <strong>Connector</strong> components that share a single

+  <a href="engine.html">Engine</a> component for processing incoming

+  requests.  One or more <strong>Service</strong> elements may be nested

+  inside a <a href="server.html">Server</a> element.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Attributes"><!--()--></a><a name="Common_Attributes"><strong>Common Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>All implementations of <strong>Service</strong>

+  support the following attributes:</p>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>className</code></td><td align="left" valign="center">

+      <p>Java class name of the implementation to use.  This class must

+      implement the <code>org.apache.catalina.Service</code> interface.

+      If no class name is specified, the standard implementation will

+      be used.</p>

+    </td></tr><tr><td align="left" valign="center"><strong><code>name</code></strong></td><td align="left" valign="center">

+      <p>The display name of this <strong>Service</strong>, which will

+      be included in log messages if you utilize standard Catalina

+      components.  The name of each <strong>Service</strong> that is

+      associated with a particular <a href="server.html">Server</a>

+      must be unique.</p>

+    </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Standard Implementation"><!--()--></a><a name="Standard_Implementation"><strong>Standard Implementation</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>The standard implementation of <strong>Service</strong> is

+  <strong>org.apache.catalina.core.StandardService</strong>.

+  It supports the following additional attributes (in addition to the

+  common attributes listed above):</p>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr></table>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Nested Components"><!--()--></a><a name="Nested_Components"><strong>Nested Components</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>The only components that may be nested inside a <strong>Service</strong>

+  element are one or more <strong>Connector</strong> elements,

+  followed by exactly one <a href="engine.html">Engine</a> element.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Special Features"><!--()--></a><a name="Special_Features"><strong>Special Features</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>There are no special features associated with a <strong>Service</strong>.

+  </p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/systemprops.html b/tomcat-uid/webapps/docs/config/systemprops.html
new file mode 100644
index 0000000..55eeaa8
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/systemprops.html
@@ -0,0 +1,345 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - System Properties</title><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>System Properties</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Clustering">Clustering</a></li><li><a href="#Expression_Language">Expression Language</a></li><li><a href="#Jasper">Jasper</a></li><li><a href="#Security">Security</a></li><li><a href="#Specification">Specification</a></li><li><a href="#Sessions">Sessions</a></li><li><a href="#Logging">Logging</a></li><li><a href="#Other">Other</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+  <p>The following sections list the system properties that may be set to modify

+  the default Tomcat behaviour.</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Clustering"><strong>Clustering</strong></a></font></td></tr><tr><td><blockquote>

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Property</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>org.apache.catalina. tribes.dns_lookups</code></td><td align="left" valign="center">

+      <p>If <code>true</code>, the clustering module will attempt to use DNS to

+      resolve any host names provided in the cluster configuration.</p>

+      <p>If not specified, the default value of <code>false</code> will be used.</p>

+    </td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Expression Language"><!--()--></a><a name="Expression_Language"><strong>Expression Language</strong></a></font></td></tr><tr><td><blockquote>

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Property</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>org.apache.el.BeanELResolver. CACHE_SIZE</code></td><td align="left" valign="center">

+      <p>The number of javax.el.BeanELResolver.BeanProperties objects that will

+      be cached by the EL Parser.</p>

+      <p>If not specified, the default of <code>1000</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.el.ExpressionBuilder. CACHE_SIZE</code></td><td align="left" valign="center">

+      <p>The number of parsed EL expressions that will be cached by the EL

+      Parser.</p>

+      <p>If not specified, the default of <code>5000</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.el.parser. COERCE_TO_ZERO</code></td><td align="left" valign="center">

+      <p>If <code>true</code>, when coercing EL expressions to numbers

+      <code>""</code> and <code>null</code> will be coerced to zero as required

+      by the specification.</p>

+      <p>If not specified, the default value of <code>true</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.el.parser. SKIP_IDENTIFIER_CHECK</code></td><td align="left" valign="center">

+      <p>If <code>true</code>, when parsing EL expressions, identifiers will not be

+      checked to ensure that they conform to the Java Language Specification for

+      Java identifiers.</p>

+      <p>If not specified, the default value of <code>true</code> will be used.</p>

+    </td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Jasper"><strong>Jasper</strong></a></font></td></tr><tr><td><blockquote>

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Property</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>org.apache.jasper.compiler. Generator.POOL_TAGS_WITH_EXTENDS</code></td><td align="left" valign="center">

+      <p>By default, JSPs that use their own base class via the extends

+      attribute of the page directive, will have Tag pooling disabled since

+      Jasper cannot guarantee that the necessary initialisation will have taken

+      place. This can have a negative impact on performance. Providing the

+      alternative base class calls _jspInit() from Servlet.init(), setting  this

+      property to <code>true</code> will enable pooling with an alternative base

+      class. If the alternative base class does not call _jspInit() and this

+      property is <code>true</code>, NPEs will occur when attempting to use

+      tags.</p>

+      <p>If not specified, the default value of <code>false</code> will be used.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.jasper.compiler. Generator.VAR_EXPRESSIONFACTORY</code></td><td align="left" valign="center">

+      <p>The name of the variable to use for the expression language expression

+      factory.</p>

+      <p>If not specified, the default value of <code>_el_expressionfactory</code>

+      will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.jasper.compiler. Generator.VAR_INSTANCEMANAGER</code></td><td align="left" valign="center">

+      <p>The name of the variable to use for the instance manager factory.</p>

+      <p>If not specified, the default value of <code>_jsp_instancemanager</code>

+      will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.jasper.compiler. Generator.STRICT_GET_PROPERTY</code></td><td align="left" valign="center">

+      <p>If <code>true</code>, the requirement to have the object referenced in

+      <code>jsp:getProperty</code> action to be previously "introduced"

+      to the JSP processor, as specified in the chapter JSP.5.3 of JSP 2.0 and

+      later specifications, is enforced.</p>

+      <p>If not specified, the specification compliant default of <code>true</code>

+      will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.jasper.compiler. Parser.STRICT_QUOTE_ESCAPING</code></td><td align="left" valign="center">

+      <p>If <code>false</code> the requirements for escaping quotes in JSP

+      attributes will be relaxed so that an unescaped quote will not

+      cause an error.</p>

+      <p>If not specified, the specification compliant default of

+      <code>true</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.jasper.runtime. BodyContentImpl.LIMIT_BUFFER</code></td><td align="left" valign="center">

+      <p>If <code>true</code>, any tag buffer that expands beyond

+      <code>org.apache.jasper.Constants.DEFAULT_TAG_BUFFER_SIZE</code> will be

+      destroyed and a new buffer created of the default size.</p>

+      <p>If not specified, the default value of <code>false</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.jasper.runtime. JspFactoryImpl.USE_POOL</code></td><td align="left" valign="center">

+      <p>If <code>true</code>, a ThreadLocal <code>PageContext</code> pool will

+      be used.</p>

+      <p>If not specified, the default value of <code>true</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.jasper.runtime. JspFactoryImpl.POOL_SIZE</code></td><td align="left" valign="center">

+      <p>The size of the ThreadLocal <code>PageContext</code>.</p>

+      <p>If not specified, the default value of <code>8</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.jasper.Constants. JSP_SERVLET_BASE</code></td><td align="left" valign="center">

+      <p>The base class of the Servlets generated from the JSPs.</p>

+      <p>If not specified, the default value of

+      <code>org.apache.jasper.runtime.HttpJspBase</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.jasper.Constants. SERVICE_METHOD_NAME</code></td><td align="left" valign="center">

+      <p>The name of the service method called by the base class.</p>

+      <p>If not specified, the default value of <code>_jspService</code>

+      will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.jasper.Constants. SERVLET_CLASSPATH</code></td><td align="left" valign="center">

+      <p>The name of the ServletContext attribute that provides the classpath

+      for the JSP.</p>

+      <p>If not specified, the default value of

+      <code>org.apache.catalina.jsp_classpath</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.jasper.Constants. JSP_FILE</code></td><td align="left" valign="center">

+      <p>The name of the request attribute for <code>&lt;jsp-file&gt;</code>

+      element of a servlet definition. If present on a request, this overrides

+      the value returned by <code>request.getServletPath()</code> to select the

+      JSP page to be executed.</p>

+      <p>If not specified, the default value of

+      <code>org.apache.catalina.jsp_file</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.jasper.Constants. PRECOMPILE</code></td><td align="left" valign="center">

+      <p>The name of the query parameter that causes the JSP engine to just

+      pregenerate the servlet but not invoke it.</p>

+      <p>If not specified, the default value of <code>jsp_precompile</code>

+      will be used, as defined by JSP specification (JSP.11.4.2).</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.jasper.Constants. JSP_PACKAGE_NAME</code></td><td align="left" valign="center">

+      <p>The default package name for compiled jsp pages.</p>

+      <p>If not specified, the default value of <code>org.apache.jsp</code>

+      will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.jasper.Constants. TAG_FILE_PACKAGE_NAME</code></td><td align="left" valign="center">

+      <p>The default package name for tag handlers generated from tag files.</p>

+      <p>If not specified, the default value of <code>org.apache.jsp.tag</code>

+      will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.jasper.Constants. ALT_DD_ATTR</code></td><td align="left" valign="center">

+      <p>The servlet context attribute under which the alternate deployment

+      descriptor for this web application is stored.</p>

+      <p>If not specified, the

+      default value of <code>org.apache.catalina.deploy.alt_dd</code> will

+      be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.jasper.Constants. TEMP_VARIABLE_NAME_PREFIX</code></td><td align="left" valign="center">

+      <p>Prefix to use for generated temporary variable names.</p>

+      <p>If not specified,

+      the default value of <code>_jspx_temp</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.jasper.Constants. USE_INSTANCE_MANAGER_FOR_TAGS</code></td><td align="left" valign="center">

+      <p>If <code>true</code>, the instance manager is used to obtain tag

+      handler instances.</p>

+      <p>If not specified, the default value of <code>false</code> will be used.</p>

+    </td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Security"><strong>Security</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Property</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>org.apache.catalina.connector. RECYCLE_FACADES</code></td><td align="left" valign="center">

+      <p>If this is <code>true</code> or if a security manager is in use a new

+      facade object will be created for each request.</p>

+      <p>If not specified, the

+      default value of <code>false</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.catalina.connector. CoyoteAdapter.ALLOW_BACKSLASH</code></td><td align="left" valign="center">

+      <p>If this is <code>true</code> the '\' character will be permitted as a

+      path delimiter.</p>

+      <p>If not specified, the default value of <code>false</code>

+      will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.tomcat.util.buf. UDecoder.ALLOW_ENCODED_SLASH</code></td><td align="left" valign="center">

+      <p>If this is <code>true</code> '%2F' and '%5C' will be permitted as path

+      delimiters.</p>

+      <p>If not specified, the default value of <code>false</code> will

+      be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.coyote. USE_CUSTOM_STATUS_MSG_IN_HEADER</code></td><td align="left" valign="center"><p>If this is

+      <code>true</code>, custom HTTP status messages will be used within HTTP

+      headers. If a custom message is specified that is not valid for use in an

+      HTTP header (as defined by RFC2616) then the custom message will be

+      ignored and the default message used.</p>

+      <p>If not specified, the default value of <code>false</code> will be used.</p>

+    </td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Specification"><strong>Specification</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Property</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>org.apache.catalina. STRICT_SERVLET_COMPLIANCE</code></td><td align="left" valign="center">

+      <p>If this is <code>true</code> the following actions will occur:

+      <ul>

+      <li>any wrapped request or response object passed to an application

+      dispatcher will be checked to ensure that it has wrapped the original

+      request or response. (SRV.8.2 / SRV.14.2.5.1)

+      </li>

+      <li>a call to <code>Response.getWriter()</code> if no character encoding

+      has been specified will result in subsequent calls to

+      <code>Response.getCharacterEncoding()</code> returning

+      <code>ISO-8859-1</code> and the <code>Content-Type</code> response header

+      will include a <code>charset=ISO-8859-1</code> component. (SRV.15.2.22.1)

+      </li>

+      <li>every request that is associated with a session will cause the

+      session's last accessed time to be updated regardless of whether or not

+      the request explicitly accesses the session. (SRV.7.6)  

+      </li>

+      <li>

+        cookies will be parsed strictly, by default v0 cookies will not work with any invalid characters.

+        <br>If set to <code>false</code>, any v0 cookie with invalid character

+        will be switched to a v1 cookie and the value will be quoted.

+      </li>

+      <li>

+        the path in <code>ServletContext.getResource</code> /

+        <code>getResourceAsStream</code> calls must start with a "/".<br>

+        If set to <code>false</code>, code like <code>getResource("myfolder/myresource.txt")</code> will work.

+      </li>

+      </ul>

+      </p>

+      <p>If this is <code>true</code> the default value will be changed for:

+      <ul>

+      <li><code>org.apache.catalina.connector.Request. ALLOW_EMPTY_QUERY_STRING</code> property</li>

+      <li>The <code>webXmlValidation</code> attribute of any

+          <a href="context.html">Context</a> element.</li>

+      <li>The <code>webXmlNamespaceAware</code> attribute of any

+          <a href="context.html">Context</a> element.</li>

+      <li>The <code>tldValidation</code> attribute of any

+          <a href="context.html">Context</a> element.</li>

+      </ul>

+      </p>

+      <p>If not specified, the default value of <code>false</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.catalina.connector. Request.ALLOW_EMPTY_QUERY_STRING</code></td><td align="left" valign="center">

+      <p>If this is <code>true</code> Tomcat will return an empty string rather

+      than <code>null</code> for empty query strings - i.e. query strings where

+      only <code>?</code> is present.</p>

+      <p>If not specified, the value of

+      <code>org.apache.catalina.STRICT_SERVLET_COMPLIANCE</code> will be used as

+      the default.</p> 

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.catalina.session. StandardSession.ACTIVITY_CHECK</code></td><td align="left" valign="center">

+      <p>If this is <code>true</code> or if

+      <code>org.apache.catalina.STRICT_SERVLET_COMPLIANCE</code> is

+      <code>true</code> Tomcat will track the number of active requests for each

+      session. When determining if a session is valid, any session with at least

+      one active request will always be considered valid.</p>

+      <p>If not specified, the default value of <code>false</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.tomcat.util.http. ServerCookie.ALLOW_EQUALS_IN_VALUE</code></td><td align="left" valign="center">

+      <p>If this is <code>true</code> Tomcat will allow '<code>=</code>'

+      characters when parsing unquoted cookie values. If <code>false</code>,

+      cookie values containing '<code>=</code>' will be terminated when the

+      '<code>=</code>' is encountered and the remainder of the cookie value will

+      be dropped.</p>

+      <p>If not specified, the default specification compliant value of

+      <code>false</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.tomcat.util.http. ServerCookie.ALWAYS_ADD_EXPIRES</code></td><td align="left" valign="center">

+      <p>If this is <code>true</code> Tomcat will always add an expires

+      parameter to a SetCookie header even for cookies with version greater than

+      zero. This is to work around a known IE6 and IE7 bug that causes IE to

+      ignore the Max-Age parameter in a SetCookie header.</p>

+      <p>If not specified, the default value of <code>true</code> will be used.</p>

+    </td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Sessions"><strong>Sessions</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Property</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>org.apache.catalina.SESSION_COOKIE_NAME</code></td><td align="left" valign="center">

+      <p>An alternative name for the session cookie. Defaults to

+      <code>JSESSIONID</code>. Note that the Servlet specification requires

+      this to be <code>JSESSIONID</code>. You should not rely on being able to

+      change this.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.catalina.SESSION_PARAMETER_NAME</code></td><td align="left" valign="center">

+      <p>An alternative name for the session path parameter. Defaults to

+      <code>jsessionid</code>. Note that the Servlet specification requires

+      this to be <code>jsessionid</code>. You should not rely on being able to

+      change this.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.catalina.authenticator.                      Constants.SSO_SESSION_COOKIE_NAME</code></td><td align="left" valign="center">

+      <p>An alternative name for the single sign on session cookie. Defaults to

+      <code>JSESSIONIDSSO</code>.</p>

+    </td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Logging"><strong>Logging</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Property</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>org.apache.juli.logging. UserDataHelper.CONFIG</code></td><td align="left" valign="center">

+      <p>The type of logging to use for errors generated by invalid input data.

+         The options are: <code>DEBUG_ALL</code>, <code>INFO_THEN_DEBUG</code>,

+         <code>INFO_ALL</code> and <code>NONE</code>. When

+         <code>INFO_THEN_DEBUG</code> is used, the period for which errors are

+         logged at DEBUG rather than INFO is controlled by the system property

+         <code>org.apache.juli.logging.UserDataHelper.SUPPRESSION_TIME</code>.

+         </p>

+      <p>The default value is <code>INFO_THEN_DEBUG</code>.</p>

+      <p>The errors currently logged using this system are:

+         <ul>

+         <li>invalid parameters.</li>

+         </ul>

+         Other errors triggered by invalid input data may be added to this

+         system in later versions.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.juli.logging. UserDataHelper.SUPPRESSION_TIME</code></td><td align="left" valign="center">

+      <p>When using <code>INFO_THEN_DEBUG</code> for

+         <code>org.apache.juli.logging.UserDataHelper.CONFIG</code> this system

+         property controls how long messages are logged at DEBUG after a message

+         has been logged at INFO. Once this period has elapsed, the next message

+         will be logged at INFO followed by a new suppression period where

+         messages are logged at DEBUG and so on. The value is measured

+         in seconds.</p>

+      <p>A value of <code>0</code> is equivalent to using <code>INFO_ALL</code>

+         for <code>org.apache.juli.logging.UserDataHelper.CONFIG</code>.</p>

+      <p>A negative value means an infinite suppression period.</p>

+      <p>The default value is <code>86400</code> (24 hours).</p>

+    </td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Other"><strong>Other</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Property</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>org.apache.coyote.MAX_EXTENSION_SIZE</code></td><td align="left" valign="center">

+      <p>Limits the total length of extension data when using chunked encoding.

+      If the value is <code>-1</code>, no limit will be imposed.</p>

+      <p>If not specified, the default value of <code>8192</code> will be

+      used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.coyote.MAX_TRAILER_SIZE</code></td><td align="left" valign="center">

+      <p>Limits the total length of trailing headers in the last chunk of

+      a chunked HTTP request.

+      If the value is <code>-1</code>, no limit will be imposed.</p>

+      <p>If not specified, the default value of <code>8192</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>catalina.useNaming</code></td><td align="left" valign="center">

+      <p>If this is <code>false</code> it will override the

+      <code>useNaming</code> attribute for all <a href="context.html">

+      Context</a> elements.</p>

+    </td></tr><tr><td align="left" valign="center"><code>jvmRoute</code></td><td align="left" valign="center">

+      <p>Provides a default value for the <code>jvmRoute</code> attribute of the

+      <a href="engine.html">Engine</a> element. It does not override the value

+      configured on the <a href="engine.html">Engine</a> element.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.catalina.loader. WebappClassLoader.ENABLE_CLEAR_REFERENCES</code></td><td align="left" valign="center">

+      <p>If <code>true</code>, Tomcat attempts to null out any static or final

+      fields from loaded classes when a web application is stopped as a work

+      around for apparent garbage collection bugs and application coding errors.

+      </p>

+      <p>There have been some issues reported with log4j when this option is

+      <code>true</code>.</p>

+      <p>Applications without memory leaks using recent JVMs should operate

+      correctly with this option set to <code>false</code>.</p>

+      <p>If not specified, the default value of <code>true</code> will be used.

+      </p>

+    </td></tr><tr><td align="left" valign="center"><code>catalina.config</code></td><td align="left" valign="center">

+      <p>The URL for the catalina.properties configuration file.</p>

+    </td></tr><tr><td align="left" valign="center"><code>tomcat.util.buf.StringCache.byte.enabled</code></td><td align="left" valign="center">

+      <p>If <code>true</code>, the String cache is enabled for

+      <code>ByteChunk</code>.</p>

+      <p>If not specified, the default value of <code>false</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>tomcat.util.buf.StringCache.char.enabled</code></td><td align="left" valign="center">

+      <p>If <code>true</code>, the String cache is enabled for

+      <code>CharChunk</code>.</p>

+      <p>If not specified, the default value of <code>false</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>tomcat.util.buf.StringCache.trainThreshold</code></td><td align="left" valign="center">

+      <p>The number of times <code>toString()</code> must be called before the

+      cache is activated.</p>

+      <p>If not specified, the default value of <code>20000</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>tomcat.util.buf.StringCache.cacheSize</code></td><td align="left" valign="center">

+      <p>The size of the String cache.</p>

+      <p>If not specified, the default value of <code>200</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>tomcat.util.buf.StringCache.maxStringSize</code></td><td align="left" valign="center">

+      <p>The maximum length of String that will be cached.</p>

+      <p>If not specified, the default value of <code>128</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.tomcat.util. http.FastHttpDateFormat.CACHE_SIZE</code></td><td align="left" valign="center">

+      <p>The size of the cache to use parsed and formatted date value.</p>

+      <p>If not specified, the default value of <code>1000</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.tomcat.util. net.NioSelectorShared</code></td><td align="left" valign="center">

+      <p>If <code>true</code>, use a shared selector for servlet write/read.</p>

+      <p>If not specified, the default value of <code>true</code> will be used.</p>

+    </td></tr><tr><td align="left" valign="center"><code>org.apache.catalina.startup. EXIT_ON_INIT_FAILURE</code></td><td align="left" valign="center">

+      <p>If <code>true</code>, the server will exit if an exception happens

+         during the server initialization phase.</p>

+      <p>If not specified, the default value of <code>false</code> will be used.</p>

+    </td></tr></table>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/config/valve.html b/tomcat-uid/webapps/docs/config/valve.html
new file mode 100644
index 0000000..8dbdf0f
--- /dev/null
+++ b/tomcat-uid/webapps/docs/config/valve.html
@@ -0,0 +1,753 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Configuration Reference (6.0.39) - The Valve Component</title><meta name="author" content="Craig R. McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+    The Apache Tomcat Servlet/JSP Container

+  " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Config Ref. Home</a></li></ul><p><strong>Top Level Elements</strong></p><ul><li><a href="server.html">Server</a></li><li><a href="service.html">Service</a></li></ul><p><strong>Executors</strong></p><ul><li><a href="executor.html">Executor</a></li></ul><p><strong>Connectors</strong></p><ul><li><a href="http.html">HTTP</a></li><li><a href="ajp.html">AJP</a></li></ul><p><strong>Containers</strong></p><ul><li><a href="context.html">Context</a></li><li><a href="engine.html">Engine</a></li><li><a href="host.html">Host</a></li><li><a href="cluster.html">Cluster</a></li></ul><p><strong>Nested Components</strong></p><ul><li><a href="globalresources.html">Global Resources</a></li><li><a href="listeners.html">Listeners</a></li><li><a href="loader.html">Loader</a></li><li><a href="manager.html">Manager</a></li><li><a href="realm.html">Realm</a></li><li><a href="resources.html">Resources</a></li><li><a href="valve.html">Valve</a></li></ul><p><strong>Cluster Elements</strong></p><ul><li><a href="cluster.html">Cluster</a></li><li><a href="cluster-manager.html">Manager</a></li><li><a href="cluster-channel.html">Channel</a></li><li><a href="cluster-membership.html">Channel/Membership</a></li><li><a href="cluster-sender.html">Channel/Sender</a></li><li><a href="cluster-receiver.html">Channel/Receiver</a></li><li><a href="cluster-interceptor.html">Channel/Interceptor</a></li><li><a href="cluster-valve.html">Valve</a></li><li><a href="cluster-deployer.html">Deployer</a></li><li><a href="cluster-listener.html">ClusterListener</a></li></ul><p><strong>Other</strong></p><ul><li><a href="filter.html">Filter</a></li><li><a href="systemprops.html">System properties</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat Configuration Reference</h1><h2>The Valve Component</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Access_Log_Valve">Access Log Valve</a><ol><li><a href="#Access_Log_Valve/Introduction">Introduction</a></li><li><a href="#Access_Log_Valve/Attributes">Attributes</a></li></ol></li><li><a href="#Remote_Address_Filter">Remote Address Filter</a><ol><li><a href="#Remote_Address_Filter/Introduction">Introduction</a></li><li><a href="#Remote_Address_Filter/Attributes">Attributes</a></li></ol></li><li><a href="#Remote_Host_Filter">Remote Host Filter</a><ol><li><a href="#Remote_Host_Filter/Introduction">Introduction</a></li><li><a href="#Remote_Host_Filter/Attributes">Attributes</a></li></ol></li><li><a href="#Request_Dumper_Valve">Request Dumper Valve</a><ol><li><a href="#Request_Dumper_Valve/Introduction">Introduction</a></li><li><a href="#Request_Dumper_Valve/Attributes">Attributes</a></li></ol></li><li><a href="#Single_Sign_On_Valve">Single Sign On Valve</a><ol><li><a href="#Single_Sign_On_Valve/Introduction">Introduction</a></li><li><a href="#Single_Sign_On_Valve/Attributes">Attributes</a></li></ol></li><li><a href="#Basic_Authenticator_Valve">Basic Authenticator Valve</a><ol><li><a href="#Basic_Authenticator_Valve/Introduction">Introduction</a></li><li><a href="#Basic_Authenticator_Valve/Attributes">Attributes</a></li></ol></li><li><a href="#Digest_Authenticator_Valve">Digest Authenticator Valve</a><ol><li><a href="#Digest_Authenticator_Valve/Introduction">Introduction</a></li><li><a href="#Digest_Authenticator_Valve/Attributes">Attributes</a></li></ol></li><li><a href="#Form_Authenticator_Valve">Form Authenticator Valve</a><ol><li><a href="#Form_Authenticator_Valve/Introduction">Introduction</a></li><li><a href="#Form_Authenticator_Valve/Attributes">Attributes</a></li></ol></li><li><a href="#SSL_Authenticator_Valve">SSL Authenticator Valve</a><ol><li><a href="#SSL_Authenticator_Valve/Introduction">Introduction</a></li><li><a href="#SSL_Authenticator_Valve/Attributes">Attributes</a></li></ol></li><li><a href="#WebDAV_Fix_Valve">WebDAV Fix Valve</a><ol><li><a href="#WebDAV_Fix_Valve/Introduction">Introduction</a></li><li><a href="#WebDAV_Fix_Valve/Attributes">Attributes</a></li></ol></li><li><a href="#Remote_IP_Valve">Remote IP Valve</a><ol><li><a href="#Remote_IP_Valve/Introduction">Introduction</a></li><li><a href="#Remote_IP_Valve/Attributes">Attributes</a></li></ol></li><li><a href="#Stuck_Thread_Detection_Valve">Stuck Thread Detection Valve</a><ol><li><a href="#Stuck_Thread_Detection_Valve/Introduction">Introduction</a></li><li><a href="#Stuck_Thread_Detection_Valve/Attributes">Attributes</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>A <strong>Valve</strong> element represents a component that will be

+  inserted into the request processing pipeline for the associated

+  Catalina container (<a href="engine.html">Engine</a>,

+  <a href="host.html">Host</a>, or <a href="context.html">Context</a>).

+  Individual Valves have distinct processing capabilities, and are

+  described individually below.</p>

+

+    <blockquote><em>

+    <p>The description below uses the variable name $CATALINA_BASE to refer the

+    base directory against which most relative paths are resolved. If you have

+    not configured Tomcat 6 for multiple instances by setting a CATALINA_BASE

+    directory, then $CATALINA_BASE will be set to the value of $CATALINA_HOME,

+    the directory into which you have installed Tomcat 6.</p>

+    </em></blockquote>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Access Log Valve"><!--()--></a><a name="Access_Log_Valve"><strong>Access Log Valve</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Access Log Valve/Introduction"><!--()--></a><a name="Access_Log_Valve/Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Access Log Valve</strong> creates log files in the same

+    format as those created by standard web servers.  These logs can later

+    be analyzed by standard log analysis tools to track page hit counts,

+    user session activity, and so on.  The files produces by this <code>Valve</code>

+    are rolled over nightly at midnight.  This <code>Valve</code>

+    may be associated with any Catalina container (<code>Context</code>,

+    <code>Host</code>, or <code>Engine</code>), and

+    will record ALL requests processed by that container.</p>

+

+    <p>Some requests may be handled by Tomcat before they are passed to a

+    container. These include redirects from /foo to /foo/ and the rejection of

+    invalid requests. Where Tomcat can identify the <code>Context</code> that

+    would have handled the request, the request/response will be logged in the 

+    <code>AccessLog</code>(s) associated <code>Context</code>, <code>Host</code>

+    and <code>Engine</code>. Where Tomcat cannot identify the

+    <code>Context</code> that would have handled the request, e.g. in cases

+    where the URL is invalid, Tomcat will look first in the <code>Engine</code>,

+    then the default <code>Host</code> for the <code>Engine</code> and finally

+    the ROOT (or default) <code>Context</code> for the default <code>Host</code>

+    for an <code>AccessLog</code> implementation. Tomcat will use the first

+    <code>AccessLog</code> implementation found to log those requests that are

+    rejected before they are passed to a container.</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Access Log Valve/Attributes"><!--()--></a><a name="Access_Log_Valve/Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Access Log Valve</strong> supports the following

+    configuration attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This MUST be set to

+        <strong>org.apache.catalina.valves.AccessLogValve</strong> to use the

+        default access log valve.</p>

+      </td></tr><tr><td align="left" valign="center"><code>directory</code></td><td align="left" valign="center">

+        <p>Absolute or relative pathname of a directory in which log files

+        created by this valve will be placed.  If a relative path is

+        specified, it is interpreted as relative to $CATALINA_BASE.  If

+        no directory attribute is specified, the default value is "logs"

+        (relative to $CATALINA_BASE).</p>

+      </td></tr><tr><td align="left" valign="center"><code>encoding</code></td><td align="left" valign="center">

+        <p>Character set used to write the log file. An empty string means

+        to use the system default character set. Default value: use the

+        system default character set.

+        </p>

+      </td></tr><tr><td align="left" valign="center"><code>pattern</code></td><td align="left" valign="center">

+        <p>A formatting layout identifying the various information fields

+        from the request and response to be logged, or the word

+        <code>common</code> or <code>combined</code> to select a

+        standard format.  See below for more information on configuring

+        this attribute. Note that the optimized access does only support

+        <code>common</code> and <code>combined</code> as the value for this

+        attribute.</p>

+      </td></tr><tr><td align="left" valign="center"><code>prefix</code></td><td align="left" valign="center">

+        <p>The prefix added to the start of each log file's name.  If not

+        specified, the default value is "access_log.".  To specify no prefix,

+        use a zero-length string.</p>

+      </td></tr><tr><td align="left" valign="center"><code>resolveHosts</code></td><td align="left" valign="center">

+        <p>Set to <code>true</code> to convert the IP address of the remote

+        host into the corresponding host name via a DNS lookup.  Set to

+        <code>false</code> to skip this lookup, and report the remote IP

+        address instead.</p>

+      </td></tr><tr><td align="left" valign="center"><code>suffix</code></td><td align="left" valign="center">

+        <p>The suffix added to the end of each log file's name.  If not

+        specified, the default value is "".  To specify no suffix,

+        use a zero-length string.</p>

+      </td></tr><tr><td align="left" valign="center"><code>rotatable</code></td><td align="left" valign="center">

+        <p>Flag to determine if log rotation should occur.

+           If set to <code>false</code>, then this file is never rotated and

+           <code>fileDateFormat</code> is ignored. Use with caution!

+           Default value: <code>true</code>

+        </p>

+      </td></tr><tr><td align="left" valign="center"><code>condition</code></td><td align="left" valign="center">

+        <p>Turns on conditional logging. If set, requests will be

+           logged only if <code>ServletRequest.getAttribute()</code> is

+           null. For example, if this value is set to

+           <code>junk</code>, then a particular request will only be logged

+           if <code>ServletRequest.getAttribute("junk") == null</code>.

+           The use of Filters is an easy way to set/unset the attribute

+           in the ServletRequest on many different requests.

+        </p>

+      </td></tr><tr><td align="left" valign="center"><code>fileDateFormat</code></td><td align="left" valign="center">

+        <p>Allows a customized date format in the access log file name.

+           The date format also decides how often the file is rotated.

+           If you wish to rotate every hour, then set this value

+           to: <code>yyyy-MM-dd.HH</code>

+        </p>

+      </td></tr><tr><td align="left" valign="center"><code>buffered</code></td><td align="left" valign="center">

+        <p>Flag to determine if logging will be buffered.

+           If set to <code>false</code>, then access logging will be written after each 

+           request. Default value: <code>true</code>

+        </p>

+      </td></tr></table>

+

+    <p>Values for the <code>pattern</code> attribute are made up of literal

+    text strings, combined with pattern identifiers prefixed by the "%"

+    character to cause replacement by the corresponding variable value from

+    the current request and response.  The following pattern codes are

+    supported:</p>

+    <ul>

+    <li><b>%a</b> - Remote IP address</li>

+    <li><b>%A</b> - Local IP address</li>

+    <li><b>%b</b> - Bytes sent, excluding HTTP headers, or '-' if zero</li>

+    <li><b>%B</b> - Bytes sent, excluding HTTP headers</li>

+    <li><b>%h</b> - Remote host name (or IP address if

+        <code>resolveHosts</code> is false)</li>

+    <li><b>%H</b> - Request protocol</li>

+    <li><b>%l</b> - Remote logical username from identd (always returns

+        '-')</li>

+    <li><b>%m</b> - Request method (GET, POST, etc.)</li>

+    <li><b>%p</b> - Local port on which this request was received</li>

+    <li><b>%q</b> - Query string (prepended with a '?' if it exists)</li>

+    <li><b>%r</b> - First line of the request (method and request URI)</li>

+    <li><b>%s</b> - HTTP status code of the response</li>

+    <li><b>%S</b> - User session ID</li>

+    <li><b>%t</b> - Date and time, in Common Log Format</li>

+    <li><b>%u</b> - Remote user that was authenticated (if any), else '-'</li>

+    <li><b>%U</b> - Requested URL path</li>

+    <li><b>%v</b> - Local server name</li>

+    <li><b>%D</b> - Time taken to process the request, in millis</li>

+    <li><b>%T</b> - Time taken to process the request, in seconds</li>

+    <li><b>%I</b> - current request thread name (can compare later with stacktraces)</li>

+    </ul>

+

+    <p>

+    There is also support to write information from the cookie, incoming

+    header, the Session or something else in the ServletRequest.

+    It is modeled after the

+    <a href="http://httpd.apache.org/">Apache HTTP Server</a> log configuration

+    syntax:</p>

+    <ul>

+    <li><b><code>%{xxx}i</code></b> for incoming headers</li>

+    <li><b><code>%{xxx}o</code></b> for outgoing response headers</li>

+    <li><b><code>%{xxx}c</code></b> for a specific cookie</li>

+    <li><b><code>%{xxx}r</code></b> xxx is an attribute in the ServletRequest</li>

+    <li><b><code>%{xxx}s</code></b> xxx is an attribute in the HttpSession</li>

+    </ul>

+

+

+    <p>The shorthand pattern name <code>common</code> (which is also the

+    default) corresponds to <strong>'%h %l %u %t "%r" %s %b'</strong>.</p>

+

+    <p>The shorthand pattern name <code>combined</code> appends the

+    values of the <code>Referer</code> and <code>User-Agent</code> headers,

+    each in double quotes, to the <code>common</code> pattern

+    described in the previous paragraph.</p>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Remote Address Filter"><!--()--></a><a name="Remote_Address_Filter"><strong>Remote Address Filter</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Remote Address Filter/Introduction"><!--()--></a><a name="Remote_Address_Filter/Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Remote Address Filter</strong> allows you to compare the

+    IP address of the client that submitted this request against one or more

+    <em>regular expressions</em>, and either allow the request to continue

+    or refuse to process the request from this client.  A Remote Address

+    Filter can be associated with any Catalina container

+    (<a href="engine.html">Engine</a>, <a href="host.html">Host</a>, or

+    <a href="context.html">Context</a>), and must accept any request

+    presented to this container for processing before it will be passed on.</p>

+

+    <p>The syntax for <em>regular expressions</em> is different than that for

+    'standard' wildcard matching. Tomcat uses the <code>java.util.regex</code>

+    package. Please consult the Java documentation for details of the

+    expressions supported.</p>

+

+    <p>See also: <a href="#Remote_Host_Filter">Remote Host Filter</a>,

+    <a href="#Remote_IP_Valve">Remote IP Valve</a>.</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Remote Address Filter/Attributes"><!--()--></a><a name="Remote_Address_Filter/Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Remote Address Filter</strong> supports the following

+    configuration attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This MUST be set to

+        <strong>org.apache.catalina.valves.RemoteAddrValve</strong>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>allow</code></td><td align="left" valign="center">

+        <p>A comma-separated list of <em>regular expression</em> patterns

+        that the remote client's IP address is compared to.  If this attribute

+        is specified, the remote address MUST match for this request to be

+        accepted.  If this attribute is not specified, all requests will be

+        accepted UNLESS the remote address matches a <code>deny</code>

+        pattern.</p>

+      </td></tr><tr><td align="left" valign="center"><code>deny</code></td><td align="left" valign="center">

+        <p>A comma-separated list of <em>regular expression</em> patterns

+        that the remote client's IP address is compared to.  If this attribute

+        is specified, the remote address MUST NOT match for this request to be

+        accepted.  If this attribute is not specified, request acceptance is

+        governed solely by the <code>accept</code> attribute.</p>

+      </td></tr><tr><td align="left" valign="center"><code>denyStatus</code></td><td align="left" valign="center">

+        <p>HTTP response status code that is used when rejecting denied

+        request. The default value is <code>403</code>. For example,

+        it can be set to the value <code>404</code>.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Remote Host Filter"><!--()--></a><a name="Remote_Host_Filter"><strong>Remote Host Filter</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Remote Host Filter/Introduction"><!--()--></a><a name="Remote_Host_Filter/Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Remote Host Filter</strong> allows you to compare the

+    hostname of the client that submitted this request against one or more

+    <em>regular expressions</em>, and either allow the request to continue

+    or refuse to process the request from this client.  A Remote Host

+    Filter can be associated with any Catalina container

+    (<a href="engine.html">Engine</a>, <a href="host.html">Host</a>, or

+    <a href="context.html">Context</a>), and must accept any request

+    presented to this container for processing before it will be passed on.</p>

+

+    <p>The syntax for <em>regular expressions</em> is different than that for

+    'standard' wildcard matching. Tomcat uses the <code>java.util.regex</code>

+    package. Please consult the Java documentation for details of the

+    expressions supported.</p>

+

+    <p><strong>Note:</strong> This filter processes the value returned by

+    method <code>ServletRequest.getRemoteHost()</code>. To allow the method

+    to return proper host names, you have to enable "DNS lookups" feature on

+    a <strong>Connector</strong>.</p>

+

+    <p>See also: <a href="#Remote_Address_Filter">Remote Address Filter</a>,

+    <a href="http.html">HTTP Connector</a> configuration.</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Remote Host Filter/Attributes"><!--()--></a><a name="Remote_Host_Filter/Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Remote Host Filter</strong> supports the following

+    configuration attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This MUST be set to

+        <strong>org.apache.catalina.valves.RemoteHostValve</strong>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>allow</code></td><td align="left" valign="center">

+        <p>A comma-separated list of <em>regular expression</em> patterns

+        that the remote client's hostname is compared to.  If this attribute

+        is specified, the remote hostname MUST match for this request to be

+        accepted.  If this attribute is not specified, all requests will be

+        accepted UNLESS the remote hostname matches a <code>deny</code>

+        pattern.</p>

+      </td></tr><tr><td align="left" valign="center"><code>deny</code></td><td align="left" valign="center">

+        <p>A comma-separated list of <em>regular expression</em> patterns

+        that the remote client's hostname is compared to.  If this attribute

+        is specified, the remote hostname MUST NOT match for this request to be

+        accepted.  If this attribute is not specified, request acceptance is

+        governed solely by the <code>accept</code> attribute.</p>

+      </td></tr><tr><td align="left" valign="center"><code>denyStatus</code></td><td align="left" valign="center">

+        <p>HTTP response status code that is used when rejecting denied

+        request. The default value is <code>403</code>. For example,

+        it can be set to the value <code>404</code>.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Request Dumper Valve"><!--()--></a><a name="Request_Dumper_Valve"><strong>Request Dumper Valve</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Request Dumper Valve/Introduction"><!--()--></a><a name="Request_Dumper_Valve/Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <em>Request Dumper Valve</em> is a useful tool in debugging

+    interactions with a client application (or browser) that is sending

+    HTTP requests to your Tomcat-based server.  When configured, it causes

+    details about each request processed by its associated <code>Engine</code>, 

+    <code>Host</code>, or <code>Context</code> to be logged according to 

+    the logging configuration for that container.</p>

+

+    <p><strong>WARNING: Using this valve has side-effects.</strong>  The

+    output from this valve includes any parameters included with the request.

+    The parameters will be decoded using the default platform encoding. Any

+    subsequent calls to <code>request.setCharacterEncoding()</code> within

+    the web application will have no effect. NOTE: Since all parameters are

+    included in the output, the InputStream is consumed for requests made with

+    the method POST and content-type application/x-www-form-urlencoded.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Request Dumper Valve/Attributes"><!--()--></a><a name="Request_Dumper_Valve/Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Request Dumper Valve</strong> supports the following

+    configuration attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This MUST be set to

+        <strong>org.apache.catalina.valves.RequestDumperValve</strong>.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Single Sign On Valve"><!--()--></a><a name="Single_Sign_On_Valve"><strong>Single Sign On Valve</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Single Sign On Valve/Introduction"><!--()--></a><a name="Single_Sign_On_Valve/Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <em>Single Sign On Valve</em> is utilized when you wish to give users

+    the ability to sign on to any one of the web applications associated with

+    your virtual host, and then have their identity recognized by all other

+    web applications on the same virtual host.</p>

+

+    <p>See the <a href="host.html#Single Sign On">Single Sign On</a> special

+    feature on the <strong>Host</strong> element for more information.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Single Sign On Valve/Attributes"><!--()--></a><a name="Single_Sign_On_Valve/Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Single Sign On</strong> Valve supports the following

+    configuration attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This MUST be set to

+        <strong>org.apache.catalina.authenticator.SingleSignOn</strong>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>requireReauthentication</code></td><td align="left" valign="center">

+        <p>Default false. Flag to determine whether each request needs to be 

+        reauthenticated to the security <strong>Realm</strong>. If "true", this

+        Valve uses cached security credentials (username and password) to

+        reauthenticate to the <strong>Realm</strong> each request associated 

+        with an SSO session.  If "false", the Valve can itself authenticate 

+        requests based on the presence of a valid SSO cookie, without 

+        rechecking with the <strong>Realm</strong>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>cookieDomain</code></td><td align="left" valign="center">

+        <p>Sets the host domain to be used for sso cookies.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Basic Authenticator Valve"><!--()--></a><a name="Basic_Authenticator_Valve"><strong>Basic Authenticator Valve</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Basic Authenticator Valve/Introduction"><!--()--></a><a name="Basic_Authenticator_Valve/Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Basic Authenticator Valve</strong> is automatically added to

+    any <a href="context.html">Context</a> that is configured to use BASIC

+    authentication.</p>

+

+    <p>If any non-default settings are required, the valve may be configured

+    within <a href="context.html">Context</a> element with the required

+    values.</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Basic Authenticator Valve/Attributes"><!--()--></a><a name="Basic_Authenticator_Valve/Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Basic Authenticator Valve</strong> supports the following

+    configuration attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This MUST be set to

+        <strong>org.apache.catalina.authenticator.BasicAuthenticator</strong>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>changeSessionIdOnAuthentication</code></td><td align="left" valign="center">

+        <p>Controls if the session ID is changed if a session exists at the

+        point where users are authenticated. This is to prevent session fixation

+        attacks. If not set, the default value of <code>true</code> will be

+        used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>cnonceCacheSize</code></td><td align="left" valign="center">

+        <p>To protect against replay attacks, the DIGEST authenticator tracks

+        client nonce and nonce count values. This attribute controls the size

+        of that cache. If not specified, the default value of 1000 is used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>disableProxyCaching</code></td><td align="left" valign="center">

+        <p>Controls the caching of pages that are protected by security

+        constraints. Setting this to <code>false</code> may help work around

+        caching issues in some browsers but will also cause secured pages to be

+        cached by proxies which will almost certainly be a security issue.

+        <code>securePagesWithPragma</code> offers an alternative, secure,

+        workaround for browser caching issues. If not set, the default value of

+        <code>true</code> will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>key</code></td><td align="left" valign="center">

+        <p>The secret key used by digest authentication. If not set, a secure

+        random value is generated. This should normally only be set when it is

+        necessary to keep key values constant either across server restarts

+        and/or across a cluster.</p>

+      </td></tr><tr><td align="left" valign="center"><code>nonceValidity</code></td><td align="left" valign="center">

+        <p>The time, in milliseconds, that a server generated nonce will be

+        considered valid for use in authentication. If not specified, the

+        default value of 300000 (5 minutes) will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>opaque</code></td><td align="left" valign="center">

+        <p>The opaque server string used by digest authentication. If not set, a

+        random value is generated. This should normally only be set when it is

+        necessary to keep opaque values constant either across server restarts

+        and/or across a cluster.</p>

+      </td></tr><tr><td align="left" valign="center"><code>securePagesWithPragma</code></td><td align="left" valign="center">

+        <p>Controls the caching of pages that are protected by security

+        constraints. Setting this to <code>false</code> may help work around

+        caching issues in some browsers by using

+        <code>Cache-Control: private</code> rather than the default of

+        <code>Pragma: No-cache</code> and <code>Cache-control: No-cache</code>.

+        If not set, the default value of <code>true</code> will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>validateUri</code></td><td align="left" valign="center">

+        <p>Should the URI be validated as required by RFC2617? If not specified,

+        the default value of <code>true</code> will be used. This should

+        normally only be set when Tomcat is located behind a reverse proxy and

+        the proxy is modifying the URI passed to Tomcat such that DIGEST

+        authentication always fails.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Digest Authenticator Valve"><!--()--></a><a name="Digest_Authenticator_Valve"><strong>Digest Authenticator Valve</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Digest Authenticator Valve/Introduction"><!--()--></a><a name="Digest_Authenticator_Valve/Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Digest Authenticator Valve</strong> is automatically added to

+    any <a href="context.html">Context</a> that is configured to use DIGEST

+    authentication.</p>

+

+    <p>If any non-default settings are required, the valve may be configured

+    within <a href="context.html">Context</a> element with the required

+    values.</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Digest Authenticator Valve/Attributes"><!--()--></a><a name="Digest_Authenticator_Valve/Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Digest Authenticator Valve</strong> supports the following

+    configuration attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><code>cache</code></td><td align="left" valign="center">

+        <p>Should we cache authenticated Principals if the request is part of an

+        HTTP session? If not specified, the default value of <code>false</code>

+        will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This MUST be set to

+        <strong>org.apache.catalina.authenticator.DigestAuthenticator</strong>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>changeSessionIdOnAuthentication</code></td><td align="left" valign="center">

+        <p>Controls if the session ID is changed if a session exists at the

+        point where users are authenticated. This is to prevent session fixation

+        attacks. If not set, the default value of <code>true</code> will be

+        used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>disableProxyCaching</code></td><td align="left" valign="center">

+        <p>Controls the caching of pages that are protected by security

+        constraints. Setting this to <code>false</code> may help work around

+        caching issues in some browsers but will also cause secured pages to be

+        cached by proxies which will almost certainly be a security issue.

+        <code>securePagesWithPragma</code> offers an alternative, secure,

+        workaround for browser caching issues. If not set, the default value of

+        <code>true</code> will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>key</code></td><td align="left" valign="center">

+        <p>The secret key used by digest authentication. If not set, a secure

+        random value is generated. This should normally only be set when it is

+        necessary to keep key values constant either across server restarts

+        and/or across a cluster.</p>

+      </td></tr><tr><td align="left" valign="center"><code>nonceCacheSize</code></td><td align="left" valign="center">

+        <p>To protect against replay attacks, the DIGEST authenticator tracks

+        server nonce and nonce count values. This attribute controls the size

+        of that cache. If not specified, the default value of 1000 is used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>nonceValidity</code></td><td align="left" valign="center">

+        <p>The time, in milliseconds, that a server generated nonce will be

+        considered valid for use in authentication. If not specified, the

+        default value of 300000 (5 minutes) will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>opaque</code></td><td align="left" valign="center">

+        <p>The opaque server string used by digest authentication. If not set, a

+        random value is generated. This should normally only be set when it is

+        necessary to keep opaque values constant either across server restarts

+        and/or across a cluster.</p>

+      </td></tr><tr><td align="left" valign="center"><code>securePagesWithPragma</code></td><td align="left" valign="center">

+        <p>Controls the caching of pages that are protected by security

+        constraints. Setting this to <code>false</code> may help work around

+        caching issues in some browsers by using

+        <code>Cache-Control: private</code> rather than the default of

+        <code>Pragma: No-cache</code> and <code>Cache-control: No-cache</code>.

+        If not set, the default value of <code>true</code> will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>validateUri</code></td><td align="left" valign="center">

+        <p>Should the URI be validated as required by RFC2617? If not specified,

+        the default value of <code>true</code> will be used. This should

+        normally only be set when Tomcat is located behind a reverse proxy and

+        the proxy is modifying the URI passed to Tomcat such that DIGEST

+        authentication always fails.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Form Authenticator Valve"><!--()--></a><a name="Form_Authenticator_Valve"><strong>Form Authenticator Valve</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Form Authenticator Valve/Introduction"><!--()--></a><a name="Form_Authenticator_Valve/Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Form Authenticator Valve</strong> is automatically added to

+    any <a href="context.html">Context</a> that is configured to use FORM

+    authentication.</p>

+

+    <p>If any non-default settings are required, the valve may be configured

+    within <a href="context.html">Context</a> element with the required

+    values.</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Form Authenticator Valve/Attributes"><!--()--></a><a name="Form_Authenticator_Valve/Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Form Authenticator Valve</strong> supports the following

+    configuration attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This MUST be set to

+        <strong>org.apache.catalina.authenticator.FormAuthenticator</strong>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>changeSessionIdOnAuthentication</code></td><td align="left" valign="center">

+        <p>Controls if the session ID is changed if a session exists at the

+        point where users are authenticated. This is to prevent session fixation

+        attacks. If not set, the default value of <code>true</code> will be

+        used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>characterEncoding</code></td><td align="left" valign="center">

+        <p>Character encoding to use to read the username and password parameters

+        from the request. If not set, the encoding of the request body will be

+        used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>disableProxyCaching</code></td><td align="left" valign="center">

+        <p>Controls the caching of pages that are protected by security

+        constraints. Setting this to <code>false</code> may help work around

+        caching issues in some browsers but will also cause secured pages to be

+        cached by proxies which will almost certainly be a security issue.

+        <code>securePagesWithPragma</code> offers an alternative, secure,

+        workaround for browser caching issues. If not set, the default value of

+        <code>true</code> will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>securePagesWithPragma</code></td><td align="left" valign="center">

+        <p>Controls the caching of pages that are protected by security

+        constraints. Setting this to <code>false</code> may help work around

+        caching issues in some browsers by using

+        <code>Cache-Control: private</code> rather than the default of

+        <code>Pragma: No-cache</code> and <code>Cache-control: No-cache</code>.

+        If not set, the default value of <code>true</code> will be used.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="SSL Authenticator Valve"><!--()--></a><a name="SSL_Authenticator_Valve"><strong>SSL Authenticator Valve</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="SSL Authenticator Valve/Introduction"><!--()--></a><a name="SSL_Authenticator_Valve/Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>SSL Authenticator Valve</strong> is automatically added to

+    any <a href="context.html">Context</a> that is configured to use SSL

+    authentication.</p>

+

+    <p>If any non-default settings are required, the valve may be configured

+    within <a href="context.html">Context</a> element with the required

+    values.</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="SSL Authenticator Valve/Attributes"><!--()--></a><a name="SSL_Authenticator_Valve/Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>SSL Authenticator Valve</strong> supports the following

+    configuration attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This MUST be set to

+        <strong>org.apache.catalina.authenticator.SSLAuthenticator</strong>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>changeSessionIdOnAuthentication</code></td><td align="left" valign="center">

+        <p>Controls if the session ID is changed if a session exists at the

+        point where users are authenticated. This is to prevent session fixation

+        attacks. If not set, the default value of <code>true</code> will be

+        used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>disableProxyCaching</code></td><td align="left" valign="center">

+        <p>Controls the caching of pages that are protected by security

+        constraints. Setting this to <code>false</code> may help work around

+        caching issues in some browsers but will also cause secured pages to be

+        cached by proxies which will almost certainly be a security issue.

+        <code>securePagesWithPragma</code> offers an alternative, secure,

+        workaround for browser caching issues. If not set, the default value of

+        <code>true</code> will be used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>securePagesWithPragma</code></td><td align="left" valign="center">

+        <p>Controls the caching of pages that are protected by security

+        constraints. Setting this to <code>false</code> may help work around

+        caching issues in some browsers by using

+        <code>Cache-Control: private</code> rather than the default of

+        <code>Pragma: No-cache</code> and <code>Cache-control: No-cache</code>.

+        If not set, the default value of <code>true</code> will be used.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="WebDAV Fix Valve"><!--()--></a><a name="WebDAV_Fix_Valve"><strong>WebDAV Fix Valve</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="WebDAV Fix Valve/Introduction"><!--()--></a><a name="WebDAV_Fix_Valve/Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>Microsoft operating systems have two WebDAV clients. One is used with

+    port 80, the other is used for all other ports. The implementation used with

+    port 80 does not adhere to the WebDAV specification and fails when trying to

+    communicate with the Tomcat WebDAV Servlet. This valve provides a fix for

+    this by forcing the use of the WebDAV implementation that works, even when

+    connecting via port 80.</p>

+    

+    <p>This Valve may be used at the <code>Engine</code>, <code>Host</code> or

+    <code>Context</code> level as required. Normally, this Valve would be used

+    at the <code>Context</code> level.</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="WebDAV Fix Valve/Attributes"><!--()--></a><a name="WebDAV_Fix_Valve/Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>WebDAV Fix Valve</strong> supports the following

+    configuration attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This MUST be set to

+        <strong>org.apache.catalina.valves.WebdavFixValve</strong>.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Remote IP Valve"><!--()--></a><a name="Remote_IP_Valve"><strong>Remote IP Valve</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Remote IP Valve/Introduction"><!--()--></a><a name="Remote_IP_Valve/Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+  

+    <p>Tomcat port of

+    <a href="http://httpd.apache.org/docs/trunk/mod/mod_remoteip.html">mod_remoteip</a>,

+    this valve replaces the apparent client remote IP address and hostname for

+    the request with the IP address list presented by a proxy or a load balancer

+    via a request headers (e.g. "X-Forwarded-For").</p>

+

+    <p>Another feature of this valve is to replace the apparent scheme

+    (http/https), server port and <code>request.secure</code> with the scheme presented 

+    by a proxy or a load balancer via a request header 

+    (e.g. "X-Forwarded-Proto").</p>

+    

+    <p>This Valve may be used at the <code>Engine</code>, <code>Host</code> or

+    <code>Context</code> level as required. Normally, this Valve would be used

+    at the <code>Engine</code> level.</p>

+    

+    <p>If used in conjunction with Remote Address/Host valves then this valve

+    should be defined first to ensure that the correct client IP address is

+    presented to the Remote Address/Host valves.</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Remote IP Valve/Attributes"><!--()--></a><a name="Remote_IP_Valve/Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Remote IP Valve</strong> supports the

+    following configuration attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This MUST be set to

+        <strong>org.apache.catalina.valves.RemoteIpValve</strong>.</p>

+      </td></tr><tr><td align="left" valign="center"><code>remoteIpHeader</code></td><td align="left" valign="center">

+        <p>Name of the HTTP Header read by this valve that holds the list of

+        traversed IP addresses starting from the requesting client. If not

+        specified, the default of <code>x-forwarded-for</code> is used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>internalProxies</code></td><td align="left" valign="center">

+        <p>List of internal proxies' IP addresses as comma separated regular

+        expressions. If they appear in the <strong>remoteIpHeader</strong>

+        value, they will be trusted and will not appear in the

+        <strong>proxiesHeader</strong> value. If not specified the default value

+        of <code>10\.\d\d?\d?\.\d\d?\d?\.\d\d?\d?,

+        192\.168\.\d\d?\d?\.\d\d?\d?,

+        169\.254\.\d\d?\d?\.\d\d?\d?,

+        127\.\d\d?\d?\.\d\d?\d?\.\d\d?\d?</code> will

+        be used.</p>

+        <p>

+          Note that the individual regular expressions <i>must not</i>

+          contain commas themselves, as the <code>internalProxies</code>

+          value is first split by commas, then parsed into separate regular

+          expression patterns.

+        </p>

+      </td></tr><tr><td align="left" valign="center"><code>proxiesHeader</code></td><td align="left" valign="center">

+        <p>Name of the HTTP header created by this valve to hold the list of

+        proxies that have been processed in the incoming

+        <strong>remoteIpHeader</strong>. If not specified, the default of

+        <code>x-forwarded-by</code> is used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>trustedProxies</code></td><td align="left" valign="center">

+        <p>List of trusted proxies' IP addresses as comma separated regular

+        expressions. If they appear in the <strong>remoteIpHeader</strong>

+        value, they will be trusted and will appear in the

+        <strong>proxiesHeader</strong> value. If not specified, no proxies will

+        be trusted.</p>

+      </td></tr><tr><td align="left" valign="center"><code>protocolHeader</code></td><td align="left" valign="center">

+        <p>Name of the HTTP Header read by this valve that holds the protocol

+        used by the client to connect to the proxy. If not specified, the

+        default of <code>null</code> is used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>protocolHeaderHttpsValue</code></td><td align="left" valign="center">

+        <p>Value of the <strong>protocolHeader</strong> to indicate that it is

+        an HTTPS request. If not specified, the default of <code>https</code> is

+        used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>httpServerPort</code></td><td align="left" valign="center">

+         <p>Value returned by <code>ServletRequest.getServerPort()</code> 

+         when the <strong>protocolHeader</strong> indicates <code>http</code> 

+         protocol. If not specified, the default of <code>80</code> is

+        used.</p>

+      </td></tr><tr><td align="left" valign="center"><code>httpsServerPort</code></td><td align="left" valign="center">

+         <p>Value returned by <code>ServletRequest.getServerPort()</code> 

+         when the <strong>protocolHeader</strong> indicates <code>https</code> 

+         protocol. If not specified, the default of <code>443</code> is

+        used.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Stuck Thread Detection Valve"><!--()--></a><a name="Stuck_Thread_Detection_Valve"><strong>Stuck Thread Detection Valve</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Stuck Thread Detection Valve/Introduction"><!--()--></a><a name="Stuck_Thread_Detection_Valve/Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>This valve allows to detect requests that take a long time to process, which might

+    indicate that the thread that is processing it is stuck.</p>

+    <p>When such a request is detected, the current stack trace of its thread is written

+    to Tomcat log with a WARN level.</p>

+    <p>The IDs and names of the stuck threads are available through JMX in the

+    <code>stuckThreadIds</code> and <code>stuckThreadNames</code> attributes.

+    The IDs can be used with the standard Threading JVM MBean

+    (<code>java.lang:type=Threading</code>) to retrieve other information

+    about each stuck thread.</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Stuck Thread Detection Valve/Attributes"><!--()--></a><a name="Stuck_Thread_Detection_Valve/Attributes"><strong>Attributes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The <strong>Stuck Thread Detection Valve</strong> supports the

+    following configuration attributes:</p>

+

+    <table border="1" cellpadding="5"><tr><th width="15%" bgcolor="#023264"><font color="#ffffff">Attribute</font></th><th width="85%" bgcolor="#023264"><font color="#ffffff">Description</font></th></tr><tr><td align="left" valign="center"><strong><code>className</code></strong></td><td align="left" valign="center">

+        <p>Java class name of the implementation to use.  This MUST be set to

+        <strong>org.apache.catalina.valves.StuckThreadDetectionValve</strong>.

+        </p>

+      </td></tr><tr><td align="left" valign="center"><code>threshold</code></td><td align="left" valign="center">

+        <p>Minimum duration in seconds after which a thread is considered stuck.

+        Default is 600 seconds. If set to 0, the detection is disabled.</p>

+        <p>Note: since the detection is done in the background thread of the Container

+        (Engine, Host or Context) declaring this Valve, the threshold should be higher

+        than the <code>backgroundProcessorDelay</code> of this Container.</p>

+      </td></tr></table>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/connectors.html b/tomcat-uid/webapps/docs/connectors.html
new file mode 100644
index 0000000..f3d9ad2
--- /dev/null
+++ b/tomcat-uid/webapps/docs/connectors.html
@@ -0,0 +1,47 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Connectors How To</title><meta name="author" content="Remy Maucherat"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Connectors How To</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#HTTP">HTTP</a></li><li><a href="#AJP">AJP</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Choosing a connector to use with Tomcat can be difficult. This page will

+list the connectors which are supported with this Tomcat release, and will

+hopefully help you make the right choice according to your needs.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="HTTP"><strong>HTTP</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The HTTP connector is setup by default with Tomcat, and is ready to use. This

+connector features the lowest latency and best overall performance.</p>

+

+<p>For clustering, a HTTP load balancer <b>with support for web sessions stickiness</b>

+must be installed to direct the traffic to the Tomcat servers. Tomcat supports mod_proxy

+(on Apache HTTP Server 2.x, and included by default in Apache HTTP Server 2.2) as the load balancer. 

+It should be noted that the performance of HTTP proxying is usually lower than the 

+performance of AJP, so AJP clustering is often preferable.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="AJP"><strong>AJP</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>When using a single server, the performance when using a native webserver in 

+front of the Tomcat instance is most of the time significantly worse than a

+standalone Tomcat with its default HTTP connector, even if a large part of the web

+application is made of static files. If integration with the native webserver is 

+needed for any reason, an AJP connector will provide faster performance than 

+proxied HTTP. AJP clustering is the most efficient from the Tomcat perspective. 

+It is otherwise functionally equivalent to HTTP clustering.</p>

+

+<p>The native connectors supported with this Tomcat release are:

+<ul>

+<li>JK 1.2.x with any of the supported servers</li>

+<li>mod_proxy on Apache HTTP Server 2.x (included by default in Apache HTTP Server 2.2), 

+with AJP enabled</li>

+</ul>

+</p>

+

+<p><b>Other native connectors supporting AJP may work, but are no longer supported.</b></p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/default-servlet.html b/tomcat-uid/webapps/docs/default-servlet.html
new file mode 100644
index 0000000..eeadf19
--- /dev/null
+++ b/tomcat-uid/webapps/docs/default-servlet.html
@@ -0,0 +1,282 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Default Servlet Reference</title><meta name="author" content="Tim Funk"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Default Servlet Reference</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#what">What is the DefaultServlet</a></li><li><a href="#where">Where is it declared?</a></li><li><a href="#change">What can I change?</a></li><li><a href="#dir">How do I customize directory listings?</a></li><li><a href="#secure">How do I secure directory listings?</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="what"><strong>What is the DefaultServlet</strong></a></font></td></tr><tr><td><blockquote>

+The default servlet is the servlet which serves static resources as well

+as serves the directory listings (if directory listings are enabled).

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="where"><strong>Where is it declared?</strong></a></font></td></tr><tr><td><blockquote>

+It is declared globally in <i>$CATALINA_BASE/conf/web.xml</i>.

+By default here is it's declaration:

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+    &lt;servlet&gt;

+        &lt;servlet-name&gt;default&lt;/servlet-name&gt;

+        &lt;servlet-class&gt;

+          org.apache.catalina.servlets.DefaultServlet

+        &lt;/servlet-class&gt;

+        &lt;init-param&gt;

+            &lt;param-name&gt;debug&lt;/param-name&gt;

+            &lt;param-value&gt;0&lt;/param-value&gt;

+        &lt;/init-param&gt;

+        &lt;init-param&gt;

+            &lt;param-name&gt;listings&lt;/param-name&gt;

+            &lt;param-value&gt;true&lt;/param-value&gt;

+        &lt;/init-param&gt;

+        &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;

+    &lt;/servlet&gt;

+

+...

+

+    &lt;servlet-mapping&gt;

+        &lt;servlet-name&gt;default&lt;/servlet-name&gt;

+        &lt;url-pattern&gt;/&lt;/url-pattern&gt;

+    &lt;/servlet-mapping&gt;

+

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+So by default, the default servlet is loaded at webapp startup and

+directory listings are enabled and debugging is turned off.

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="change"><strong>What can I change?</strong></a></font></td></tr><tr><td><blockquote>

+The DefaultServlet allows the following initParamters:

+

+<table border="1">

+  <tr>

+    <th valign="top">debug</th>

+    <td valign="top">

+        Debugging level. It is not very useful unless you are a tomcat

+        developer. As

+        of this writing, useful values are 0, 1, 11, 1000.

+    </td>

+  </tr>

+  <tr>

+    <th valign="top">listings</th>

+    <td valign="top">

+        If no welcome file is present, can a directory listing be

+        shown?

+        value may be <b>true</b> or <b>false</b>

+        <br>

+        Welcome files are part of the servlet api.

+        <br>

+        <b>WARNING:</b> Listings of directories containing many entries are

+        expensive. Multiple requests for large directory listings can consume

+        significant proportions of server resources.

+    </td>

+  </tr>

+  <tr>

+    <th valign="top">readmeFile</th>

+    <td valign="top">

+        If a directory listing is presented, a readme file may also

+        be presented with the listing. This file is inserted as is

+        so it may contain HTML. default value is null

+    </td>

+  </tr>

+  <tr>

+    <th valign="top">globalXsltFile</th>

+    <td valign="top">

+        If you wish to customize your directory listing, you

+        can use an XSL transformation. This value is an absolute

+        file name which be used for all directory listings.

+        This can be overridden per context and/or per directory. See

+        <strong>contextXsltFile</strong> and <strong>localXsltFile</strong>

+        below. The format of the xml is shown below.

+    </td>

+  </tr>

+  <tr>

+    <th valign="top">contextXsltFile</th>

+    <td valign="top">

+        You may also customize your directory listing by context by

+        configuring <code>contextXsltFile</code>. This should be a context

+        relative path (e.g.: <code>/path/to/context.xslt</code>). This

+        overrides <code>globalXsltFile</code>. If this value is present but a

+        file does not exist, then <code>globalXsltFile</code> will be used. If

+        <code>globalXsltFile</code> does not exist, then the default

+        directory listing will be shown.

+    </td>

+  </tr>

+  <tr>

+    <th valign="top">localXsltFile</th>

+    <td valign="top">

+        You may also customize your directory listing by directory by

+        configuring <code>localXsltFile</code>. This should be a relative

+        file name in the directory where the listing will take place.

+        This overrides <code>globalXsltFile</code> and

+        <code>contextXsltFile</code>. If this value is present but a file

+        does not exist, then <code>contextXsltFile</code> will be used. If

+        <code>contextXsltFile</code> does not exist, then

+        <code>globalXsltFile</code> will be used. If

+        <code>globalXsltFile</code> does not exist, then the default

+        directory listing will be shown.

+    </td>

+  </tr>

+  <tr>

+    <th valign="top">input</th>

+    <td valign="top">

+        Input buffer size (in bytes) when reading

+        resources to be served.  [2048]

+    </td>

+  </tr>

+  <tr>

+    <th valign="top">output</th>

+    <td valign="top">

+        Output buffer size (in bytes) when writing

+        resources to be served.  [2048]

+    </td>

+  </tr>

+  <tr>

+    <th valign="top">readonly</th>

+    <td valign="top">

+        Is this context "read only", so HTTP commands like PUT and

+        DELETE are rejected?  [true]

+    </td>

+  </tr>

+  <tr>

+    <th valign="top">fileEncoding</th>

+    <td valign="top">

+        File encoding to be used when reading static resources.

+        [platform default]

+    </td>

+  </tr>

+  <tr>

+    <th valign="top">sendfileSize</th>

+    <td valign="top">

+        If the connector used supports sendfile, this represents the minimal 

+        file size in KB for which sendfile will be used. Use a negative value 

+        to always disable sendfile. [48]

+    </td>

+  </tr>

+  <tr>

+    <th valign="top">useAcceptRanges</th>

+    <td valign="top">

+        If true, the Accept-Ranges header will be set when appropriate for the

+        response. [true]

+    </td>

+  </tr>

+

+</table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="dir"><strong>How do I customize directory listings?</strong></a></font></td></tr><tr><td><blockquote>

+<p>You can override DefaultServlet with you own implementation and use that

+in your web.xml declaration. If you

+can understand what was just said, we will assume you can read the code

+to DefaultServlet servlet and make the appropriate adjustments. (If not,

+then that method isn't for you)

+</p>

+<p>

+You can use either  <code>localXsltFile</code> or

+<code>globalXsltFile</code> and DefaultServlet will create

+an xml document and run it through an xsl transformation based

+on the values provided in <code>localXsltFile</code> and

+<code>globalXsltFile</code>. <code>localXsltFile</code> is first

+checked, followed by <code>globalXsltFile</code>, then default

+behaviors takes place.

+</p>

+

+<p>

+Format:

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+    &lt;listing&gt;

+     &lt;entries&gt;

+      &lt;entry type='file|dir' urlPath='aPath' size='###' date='gmt date'&gt;

+        fileName1

+      &lt;/entry&gt;

+      &lt;entry type='file|dir' urlPath='aPath' size='###' date='gmt date'&gt;

+        fileName2

+      &lt;/entry&gt;

+      ...

+     &lt;/entries&gt;

+     &lt;readme&gt;&lt;/readme&gt;

+    &lt;/listing&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+<ul>

+  <li>size will be missing if <code>type='dir'</code></li>

+  <li>Readme is a CDATA entry</li>

+</ul>

+</p>

+The following is a sample xsl file which mimics the default tomcat behavior:

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;?xml version="1.0"?&gt;

+

+&lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

+  version="1.0"&gt;

+

+  &lt;xsl:output method="xhtml" encoding="iso-8859-1" indent="no"/&gt;

+

+  &lt;xsl:template match="listing"&gt;

+   &lt;html&gt;

+    &lt;head&gt;

+      &lt;title&gt;

+        Sample Directory Listing For

+        &lt;xsl:value-of select="@directory"/&gt;

+      &lt;/title&gt;

+      &lt;style&gt;

+        h1{color : white;background-color : #0086b2;}

+        h3{color : white;background-color : #0086b2;}

+        body{font-family : sans-serif,Arial,Tahoma;

+             color : black;background-color : white;}

+        b{color : white;background-color : #0086b2;}

+        a{color : black;} HR{color : #0086b2;}

+      &lt;/style&gt;

+    &lt;/head&gt;

+    &lt;body&gt;

+      &lt;h1&gt;Sample Directory Listing For

+            &lt;xsl:value-of select="@directory"/&gt;

+      &lt;/h1&gt;

+      &lt;hr size="1" /&gt;

+      &lt;table cellspacing="0"

+                  width="100%"

+            cellpadding="5"

+                  align="center"&gt;

+        &lt;tr&gt;

+          &lt;th align="left"&gt;Filename&lt;/th&gt;

+          &lt;th align="center"&gt;Size&lt;/th&gt;

+          &lt;th align="right"&gt;Last Modified&lt;/th&gt;

+        &lt;/tr&gt;

+        &lt;xsl:apply-templates select="entries"/&gt;

+        &lt;/table&gt;

+      &lt;xsl:apply-templates select="readme"/&gt;

+      &lt;hr size="1" /&gt;

+      &lt;h3&gt;Apache Tomcat/6.0&lt;/h3&gt;

+    &lt;/body&gt;

+   &lt;/html&gt;

+  &lt;/xsl:template&gt;

+

+

+  &lt;xsl:template match="entries"&gt;

+    &lt;xsl:apply-templates select="entry"/&gt;

+  &lt;/xsl:template&gt;

+

+  &lt;xsl:template match="readme"&gt;

+    &lt;hr size="1" /&gt;

+    &lt;pre&gt;&lt;xsl:apply-templates/&gt;&lt;/pre&gt;

+  &lt;/xsl:template&gt;

+

+  &lt;xsl:template match="entry"&gt;

+    &lt;tr&gt;

+      &lt;td align="left"&gt;

+        &lt;xsl:variable name="urlPath" select="@urlPath"/&gt;

+        &lt;a href="{$urlPath}"&gt;

+          &lt;tt&gt;&lt;xsl:apply-templates/&gt;&lt;/tt&gt;

+        &lt;/a&gt;

+      &lt;/td&gt;

+      &lt;td align="right"&gt;

+        &lt;tt&gt;&lt;xsl:value-of select="@size"/&gt;&lt;/tt&gt;

+      &lt;/td&gt;

+      &lt;td align="right"&gt;

+        &lt;tt&gt;&lt;xsl:value-of select="@date"/&gt;&lt;/tt&gt;

+      &lt;/td&gt;

+    &lt;/tr&gt;

+  &lt;/xsl:template&gt;

+

+&lt;/xsl:stylesheet&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="secure"><strong>How do I secure directory listings?</strong></a></font></td></tr><tr><td><blockquote>

+Use web.xml in each individual webapp. See the security section of the

+Servlet specification.

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/deployer-howto.html b/tomcat-uid/webapps/docs/deployer-howto.html
new file mode 100644
index 0000000..2145743
--- /dev/null
+++ b/tomcat-uid/webapps/docs/deployer-howto.html
@@ -0,0 +1,306 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Tomcat Web Application Deployment</title><meta name="author" content="Allistair Crossley"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Tomcat Web Application Deployment</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Installation">Installation</a></li><li><a href="#A_word_on_Contexts">A word on Contexts</a></li><li><a href="#Deployment_on_Tomcat_startup">Deployment on Tomcat startup</a></li><li><a href="#Deploying_on_a_running_Tomcat_server">Deploying on a running Tomcat server</a></li><li><a href="#Deploying_using_the_Tomcat_Manager">Deploying using the Tomcat Manager</a></li><li><a href="#Deploying_using_the_Client_Deployer_Package">Deploying using the Client Deployer Package</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+        <p>

+            Deployment is the term used for the process of installing a web

+            application (either a 3rd party WAR or your own custom web application) 

+            into the Tomcat server. 

+        </p>

+        <p>

+            Web application deployment may be accomplished in a number of ways

+            within the Tomcat server.</p>

+        <ul>

+                <li>Statically; the web application is setup before Tomcat is started</li>

+                <li>

+                    Dynamically; by directly manipulating already deployed web

+                    applications (relying on <em>auto-deployment</em>

+                    feature) or remotely by using the Tomcat Manager web

+                    application

+                </li>

+        </ul>

+        <p>

+            The <a href="manager-howto.html">Tomcat Manager</a> is a web

+            application that can be used interactively (via HTML GUI) or

+            programmatically (via URL-based API) to deploy and manage web

+            applications.

+        </p>

+        <p>

+            There are a number of ways to perform deployment that rely on

+            the Manager web application. Apache Tomcat provides tasks

+            for Apache Ant build tool.

+            <a href="http://tomcat.apache.org/">Apache Tomcat Maven Plugin</a>

+            project provides integration with Apache Maven.

+            There is also a tool called the Client Deployer, which can be

+            used from a command line and provides additional functionality

+            such as compiling and validating web applications as well as

+            packaging web application into web application resource (WAR)

+            files.

+        </p>

+    </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Installation"><strong>Installation</strong></a></font></td></tr><tr><td><blockquote>

+        <p>

+            There is no installation required for static deployment of web

+            applications as this is provided out of the box by Tomcat. Nor is any

+            installation required for deployment functions with the Tomcat Manager, 

+            although some configuration is required as detailed in the 

+            <a href="manager-howto.html">Tomcat Manager manual</a>.

+            An installation is however required if you wish

+            to use the Tomcat Client Deployer (TCD). 

+        </p>   

+        <p>

+            The TCD is not packaged with the Tomcat core 

+            distribution, and must therefore be downloaded separately from 

+            the Downloads area. The download is usually labelled 

+            <i>apache-tomcat-6.0.x-deployer</i>.

+        </p>

+        <p>

+            TCD has prerequisites of Apache Ant 1.6.2+ and a Java installation.

+            Your environment should define an ANT_HOME environment value pointing to

+            the root of your Ant installation, and a JAVA_HOME value pointing to

+            your Java installation. Additionally, you should ensure Ant's ant

+            command, and the Java javac compiler command run from the command shell

+            that your operating system provides.

+        </p>

+        <ol>

+            <li>Download the TCD distribution</li>

+            <li>

+                The TCD package need not be extracted into any existing Tomcat

+                installation, it can be extracted to any location.

+            </li>

+            <li>Read Using the <a href="#Deploying using the Client Deployer Package">

+            Tomcat Client Deployer</a></li>

+        </ol>

+    </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="A word on Contexts"><!--()--></a><a name="A_word_on_Contexts"><strong>A word on Contexts</strong></a></font></td></tr><tr><td><blockquote>

+        <p>

+            In talking about deployment of web applications, the concept of a

+            <i>Context</i> is required to be understood. A Context is what Tomcat 

+            calls a web application.

+        </p>

+        <p>

+            In order to configure a Context within Tomcat a <i>Context Descriptor</i>

+            is required. A Context Descriptor is simply an XML file that contains

+            Tomcat related configuration for a Context, e.g naming resources or 

+            session manager configuration. In earlier versions of

+            Tomcat the content of a Context Descriptor configuration was often stored within

+            Tomcat's primary configuration file <i>server.xml</i> but this is now

+            discouraged (although it currently still works).

+        </p>

+        <p>        

+            Context Descriptors not only help Tomcat to know how to configure 

+            Contexts but other tools such as the Tomcat Manager and TCD often use 

+            these Context Descriptors to perform their roles properly.

+        </p>

+        <p>

+            The locations for Context Descriptors are:

+        </p>

+        <ol>

+                <li>$CATALINA_BASE/conf/[enginename]/[hostname]/[webappname].xml</li>

+                <li>$CATALINA_BASE/webapps/[webappname]/META-INF/context.xml</li>

+        </ol>

+        <p>

+            Files in (1) are named [webappname].xml but files in (2) are named

+            context.xml. If a Context Descriptor is not provided for a Context,

+            Tomcat configures the Context using default values. 

+        </p>

+    </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Deployment on Tomcat startup"><!--()--></a><a name="Deployment_on_Tomcat_startup"><strong>Deployment on Tomcat startup</strong></a></font></td></tr><tr><td><blockquote>

+        <p>

+            If you are not interested in using the Tomcat Manager, or TCD, 

+            then you'll need to deploy your web applications 

+            statically to Tomcat, followed by a Tomcat startup. The location you

+            deploy web applications to for this type of deployment is called the 

+            <code>appBase</code> which is specified per Host. You either copy a

+            so-called <i>exploded web application</i>, i.e non-compressed, to this

+            location, or a compressed web application resource .WAR file.

+        </p>

+        <p>

+            The web applications present in the location specified by the Host's

+            (default Host is "localhost") <code>appBase</code> attribute (default

+            appBase is "$CATALINA_BASE/webapps") will be deployed on Tomcat startup 

+            only if the Host's <code>deployOnStartup</code> attribute is "true".

+        </p>

+        <p>

+            The following deployment sequence will occur on Tomcat startup in that

+            case:

+        </p>

+        <ol>

+            <li>Any Context Descriptors will be deployed first.</li>

+            <li>

+                Exploded web applications not referenced by any Context

+                Descriptor will then be deployed. If they have an associated 

+                .WAR file in the appBase and it is newer than the exploded web application, 

+                the exploded directory will be removed and the webapp will be 

+                redeployed from the .WAR

+            </li>

+            <li>.WAR files will be deployed</li>

+        </ol>

+        <p>

+            Note again that for each deployed web application, a 

+            Context Descriptor will be created <i>unless one exists already</i>.

+        </p>

+    </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Deploying on a running Tomcat server"><!--()--></a><a name="Deploying_on_a_running_Tomcat_server"><strong>Deploying on a running Tomcat server</strong></a></font></td></tr><tr><td><blockquote>

+        <p>

+            It is possible to deploy web applications to a running Tomcat server.

+        </p>

+        <p>

+            If the Host <code>autoDeploy</code> attribute is "true", the Host will 

+            attempt to deploy and update web applications dynamically, as needed,

+            for example if a new .WAR is dropped into the <code>appBase</code>. 

+            For this to work, the Host needs to have background processing 

+            enabled which is the default configuration.

+        </p>

+        

+        <p>

+            <code>autoDeploy</code> set to "true" and a running Tomcat allows for:

+        </p>

+        <ul>

+            <li>Deployment of .WAR files copied into the Host <code>appBase</code>.</li>

+            <li>

+                Deployment of exploded web applications which are

+                copied into the Host <code>appBase</code>.

+            </li>

+            <li>

+                Re-deployment of a web application which has already been deployed from

+                a .WAR when the new .WAR is provided. In this case the exploded 

+                web application is removed, and the .WAR is expanded again. 

+                Note that the explosion will not occur if the Host is configured 

+                so that .WARs are not exploded with a <code>unpackWARs</code>

+                attribute set to "false", in which case the web application 

+                will be simply redeployed as a compressed archive.

+            </li>

+            <li>

+                Re-deployment of a web application if the /WEB-INF/web.xml file (or any

+                other resource defined as a WatchedResource) is updated.

+            </li>

+            <li>

+                Re-deployment of a web application if the Context Descriptor file from which

+                the web application has been deployed is updated.

+            </li>

+            <li>

+                Re-deployment of a web application if a Context Descriptor file (with a

+                filename corresponding to the Context path of the previously deployed

+                web application) is added to the 

+                <code>$CATALINA_BASE/conf/[enginename]/[hostname]/</code>

+                directory.

+            </li>

+            <li>

+                Undeployment of a web application if its document base (docBase)

+                is deleted. Note that on Windows, this assumes that anti-locking 

+                features (see Context configuration) are enabled, otherwise it is not 

+                possible to delete the resources of a running web application.

+            </li>

+        </ul>

+        <p>

+            Note that web application reloading can also be configured in the loader, in which

+            case loaded classes will be tracked for changes.

+        </p>

+    </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Deploying using the Tomcat Manager"><!--()--></a><a name="Deploying_using_the_Tomcat_Manager"><strong>Deploying using the Tomcat Manager</strong></a></font></td></tr><tr><td><blockquote>

+        <p>

+            The Tomcat Manager is covered in its <a href="manager-howto.html">own manual page</a>. 

+        </p>

+    </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Deploying using the Client Deployer Package"><!--()--></a><a name="Deploying_using_the_Client_Deployer_Package"><strong>Deploying using the Client Deployer Package</strong></a></font></td></tr><tr><td><blockquote>

+        <p>

+            Finally, deployment of web application may be achieved using the 

+            Tomcat Client Deployer. This is a package which can be used to 

+            validate, compile, compress to .WAR, and deploy web applications to 

+            production or development Tomcat servers. It should be noted that this feature 

+            uses the Tomcat Manager and as such the target Tomcat server should be

+            running.

+        </p>

+    

+        <p>

+            It is assumed the user will be familiar with Apache Ant for using the TCD.

+            Apache Ant is a scripted build tool. The TCD comes pre-packaged with a

+            build script to use. Only a modest understanding of Apache Ant is

+            required (installation as listed earlier in this page, and familiarity

+            with using the operating system command shell and configuring

+            environment variables).

+        </p>

+        

+        <p>

+            The TCD includes Ant tasks, the Jasper page compiler for JSP compilation 

+            before deployment, as well as a task which

+            validates the web application Context Descriptor. The validator task (class

+            <code>org.apache.catalina.ant.ValidatorTask</code>) allows only one parameter:

+            the base path of an exploded web application.

+        </p>

+    

+        <p>

+            The TCD uses an exploded web application as input (see the list of the

+            properties used below). A web application that is programmatically 

+            deployed with the deployer may include a Context Descriptor in 

+            <code>/META-INF/context.xml</code>.

+        </p>

+    

+        <p>

+            The TCD includes a ready-to-use Ant script, with the following targets:

+        </p>

+        <ul>

+            <li>

+                <code>compile</code> (default): Compile and validate the web 

+                application. This can be used standalone, and does not need a running

+                Tomcat server. The compiled application will only run on the associated

+                Tomcat 6.0.x server release, and is not guaranteed to work on another

+                Tomcat release, as the code generated by Jasper depends on its runtime

+                component. It should also be noted that this target will also compile

+                automatically any Java source file located in the 

+                <code>/WEB-INF/classes</code> folder of the web application.</li>

+            <li>

+                <code>deploy</code>: Deploy a web application (compiled or not) to 

+                a Tomcat server.

+            </li>

+            <li><code>undeploy</code>: Undeploy a web application</li>

+            <li><code>start</code>: Start web application</li>

+            <li><code>reload</code>: Reload web application</li>

+            <li><code>stop</code>: Stop web application</li>

+        </ul>

+        

+        <p>

+            In order for the deployment to be configured, create a file

+            called <code>deployer.properties</code> in the TCD installation

+            directory root. In this file, add the following name=value pairs per

+            line:

+        </p>

+        

+        <p>

+            Additionally, you will need to ensure that a user has been 

+            setup for the target Tomcat Manager (which TCD uses) otherwise the TCD

+            will not authenticate with the Tomcat Manager and the deployment will

+            fail. To do this, see the Tomcat Manager page.        

+        </p>

+        

+        <ul>

+            <li>

+                <code>build</code>: The build folder used will be, by default, 

+                <code>${build}/webapp/${path}</code>. After the end of the execution

+                of the <code>compile</code> target, the web application .WAR will be

+                located at <code>${build}/webapp/${path}.war</code>.

+            </li>

+            <li>

+                <code>webapp</code>: The directory containing the exploded web application 

+                which will be compiled and validated. By default, the folder is

+                <code>myapp</code>.

+            </li>

+            <li>

+                <code>path</code>: Deployed context path of the web application, 

+                by default <code>/myapp</code>.

+            </li>

+            <li>

+                <code>url</code>: Absolute URL to the Tomcat Manager web application of a 

+                running Tomcat server, which will be used to deploy and undeploy the

+                web application. By default, the deployer will attempt to access 

+                a Tomcat instance running on localhost, at 

+                <code>http://localhost:8080/manager</code>.

+            </li>

+            <li>

+                <code>username</code>: Tomcat Manager username (user should have a role of

+                manager-script)

+            </li>

+            <li><code>password</code>: Tomcat Manager password.</li>

+        </ul>

+    </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/developers.html b/tomcat-uid/webapps/docs/developers.html
new file mode 100644
index 0000000..c6de9e3
--- /dev/null
+++ b/tomcat-uid/webapps/docs/developers.html
@@ -0,0 +1,45 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Tomcat Developers</title><meta name="author" content="Remy Maucherat"><meta name="author" content="Yoav Shapira"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Tomcat Developers</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Active Developers"><!--()--></a><a name="Active_Developers"><strong>Active Developers</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>

+      The list indicates the developers' main areas of interest. Feel free to

+      add to the list :) The developers email addresses are 

+      <code>[login]@apache.org</code>. Please <strong>do not</strong> contact 

+      developers directly for any support issues (please post to the 

+      tomcat-users mailing list instead, or one of the other support 

+      resources; some organizations and individual consultants also offer 

+      for pay Tomcat support, as listed on the 

+      <a href="http://wiki.apache.org/tomcat/SupportAndTraining">support and

+      training</a> page on the Tomcat Wiki).

+    </p>

+

+    <ul>

+      <li>Amy Roh (amyroh): Catalina, Admin webapp</li>

+      <li>Bill Barker (billbarker): Connectors</li>

+      <li>Costin Manolache (costin): Catalina, Connectors</li>

+      <li>Filip Hanik (fhanik): Clustering</li>

+      <li>Glenn Nielsen (glenn): Catalina, Connectors</li>

+      <li>Henri Gomez (hgomez): Connectors</li>

+      <li>Jan Luehe (luehe): Jasper</li>

+      <li>Jean-Francois Arcand (jfarcand): Catalina</li>

+      <li>Jean-Frederic Clere (jfclere): Connectors</li>

+      <li>Jim Jagielski (jim): Connectors</li>

+      <li>Kin-Man Chung (kinman): Jasper</li>

+      <li>Mladen Turk (mturk): Connectors</li>

+      <li>Peter Rossbach (pero): Catalina, Clustering, JMX</li>

+      <li>Remy Maucherat (remm): Catalina, Connectors, Docs</li>

+      <li>Tim Funk (funkman): Catalina, Docs</li>

+      <li>Yoav Shapira (yoavs): Docs, JMX, Catalina, balancer, Release Manager</li>

+    </ul>

+

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Retired Developers"><!--()--></a><a name="Retired_Developers"><strong>Retired Developers</strong></a></font></td></tr><tr><td><blockquote>

+

+

+

+  </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/extras.html b/tomcat-uid/webapps/docs/extras.html
new file mode 100644
index 0000000..1060df5
--- /dev/null
+++ b/tomcat-uid/webapps/docs/extras.html
@@ -0,0 +1,75 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Additional Components</title><meta name="author" content="Remy Maucherat"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Additional Components</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Downloading">Downloading</a></li><li><a href="#Building">Building</a></li><li><a href="#Components_list">Components list</a><ol><li><a href="#Full_commons-logging_implementation">Full commons-logging implementation</a></li><li><a href="#Web_Services_support_(JSR_109)">Web Services support (JSR 109)</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+    A number of additional third party components may be used with Apache

+    Tomcat. These components may be built by users should they need them or they

+    can be downloaded from one of the mirrors.

+  </p>

+

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Downloading"><strong>Downloading</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+    To down load the extras components open the Tomcat 6 download page and

+    select "browse" from the Quick Navigation Links. The extras components can be

+    found in bin/extras. 

+  </p>

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Building"><strong>Building</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>

+      The additional components are built using the <code>extras.xml</code> Ant

+      script which is present in the source bundle of Tomcat.

+    </p>

+    

+    <p>The build process is the following:</p>

+    

+    <ul>

+    <li>Follow the <a href="building.html">build instructions</a> to build a

+        Tomcat binary from the source bundle (note: it will be used by the build

+        process of the additional components, but does not need to be actually

+        used later on)</li>

+    <li>Execute the command <code>ant -f extras.xml</code> to run the build

+        script</li>

+    <li>The additional components JARs will be placed in the

+        <code>output/extras</code> folder</li>

+    <li>Refer to the documentation below about the usage of these JARs</li>

+    </ul>

+	

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Components list"><!--()--></a><a name="Components_list"><strong>Components list</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Full commons-logging implementation"><!--()--></a><a name="Full_commons-logging_implementation"><strong>Full commons-logging implementation</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>

+    Tomcat uses a package renamed commons-logging API implementation which is

+    hardcoded to use the java.util.logging API. The commons-logging additional

+    component builds a full fledged package renamed commons-logging

+    implementation which can be used to replace the implementation provided with

+    Tomcat. See the <a href="logging.html">logging</a> page for usage

+    instructions.

+  </p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Web Services support (JSR 109)"><!--()--></a><a name="Web_Services_support_(JSR_109)"><strong>Web Services support (JSR 109)</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>

+    Tomcat provides factories for JSR 109 which may be used to resolve web

+    services references. Place the generated catalina-ws.jar as well as

+    jaxrpc.jar and wsdl4j.jar (or another implementation of JSR 109) in the

+    Tomcat lib folder.

+  </p>

+

+  <p>

+    Users should be aware that wsdl4j.jar is licensed under CPL 1.0 and not the

+    Apache License version 2.0.

+  </p>

+

+  </blockquote></td></tr></table>

+

+  </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/funcspecs/fs-admin-apps.html b/tomcat-uid/webapps/docs/funcspecs/fs-admin-apps.html
new file mode 100644
index 0000000..6b50837
--- /dev/null
+++ b/tomcat-uid/webapps/docs/funcspecs/fs-admin-apps.html
@@ -0,0 +1,256 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Catalina Functional Specifications (6.0.39) - Administrative Apps - Overall Requirements</title><meta name="author" content="Craig McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      Catalina Functional Specifications

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Functional Specs</a></li></ul><p><strong>Administrative Apps</strong></p><ul><li><a href="fs-admin-apps.html">Overall Requirements</a></li><li><a href="mbean-names.html">Tomcat MBean Names</a></li><li><a href="fs-admin-objects.html">Administered Objects</a></li><li><a href="fs-admin-opers.html">Supported Operations</a></li></ul><p><strong>Internal Servlets</strong></p><ul><li><a href="fs-default.html">Default Servlet</a></li><li><a href="fs-invoker.html">Invoker Servlet</a></li></ul><p><strong>Realm Implementations</strong></p><ul><li><a href="fs-jdbc-realm.html">JDBC Realm</a></li><li><a href="fs-jndi-realm.html">JNDI Realm</a></li><li><a href="fs-memory-realm.html">Memory Realm</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Catalina Functional Specifications</h1><h2>Administrative Apps - Overall Requirements</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Overview">Overview</a><ol><li><a href="#Introduction">Introduction</a></li><li><a href="#External_Specifications">External Specifications</a></li><li><a href="#Implementation_Requirements">Implementation Requirements</a></li></ol></li><li><a href="#Dependencies">Dependencies</a><ol><li><a href="#Environmental_Dependencies">Environmental Dependencies</a></li><li><a href="#Container_Dependencies">Container Dependencies</a></li><li><a href="#External_Technologies">External Technologies</a></li></ol></li><li><a href="#Functionality">Functionality</a><ol><li><a href="#Properties_of_Administered_Objects">Properties of Administered Objects</a></li><li><a href="#Supported_Administrative_Operations">Supported Administrative Operations</a></li><li><a href="#Access_Method_Specific_Requirements">Access Method Specific Requirements</a></li></ol></li><li><a href="#Testable_Assertions">Testable Assertions</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Overview"><strong>Overview</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The purpose of this specification is to define high level requirements

+    for administrative applications that can be used to manage the operation

+    of a running Tomcat 6 container.  A variety of <em>Access Methods</em>

+    to the supported administrative functionality shall be supported, to

+    meet varying requirements:</p>

+    <ul>

+    <li><em>As A Scriptable Web Application</em> - The existing

+        <code>Manager</code> web application provides a simple HTTP-based

+        interface for managing Tomcat through commands that are expressed

+        entirely through a request URI.  This is useful in environments

+        where you wish to script administrative commands with tools that

+        can generate HTTP transactions.</li>

+    <li><em>As An HTML-Based Web Application</em> - Use an HTML presentation

+        to provide a GUI-like user interface for humans to interact with the

+        administrative capabilities.</li>

+    <li><em>As SOAP-Based Web Services</em> - The operational commands to

+        administer Tomcat are made available as web services that utilize

+        SOAP message formats.</li>

+    <li><em>As Java Management Extensions (JMX) Commands</em> - The operational

+        commands to administer Tomcat are made available through JMX APIs,

+        for integration into management consoles that utilize them.</li>

+    <li><em>Other Remote Access APIs</em> - Other remote access APIs, such

+        as JINI, RMI, and CORBA can also be utilized to access administrative

+        capabilities.</li>

+    </ul>

+

+    <p>Underlying all of the access methods described above, it is assumed

+    that the actual operations are performed either directly on the

+    corresponding Catalina components (such as calling the

+    <code>Deployer.deploy()</code> method to deploy a new web application),

+    or through a "business logic" layer that can be shared across all of the

+    access methods.  This approach minimizes the cost of adding new

+    administrative capabilities later -- it is only necessary to add the

+    corresponding business logic function, and then write adapters to it for

+    all desired access methods.</p>

+

+    <p>The current status of this functional specification is

+    <strong>PROPOSED</strong>.  It has not yet been discussed and

+    agreed to on the TOMCAT-DEV mailing list.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="External Specifications"><!--()--></a><a name="External_Specifications"><strong>External Specifications</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The implementation of this functionality depends on the following

+    external specifications:</p>

+    <ul>

+    <li><a href="http://java.sun.com/products/jdk/idl/index.html">Java

+        IDL</a> (for CORBA, included in the JDK)</li>

+    <li><a href="http://java.sun.com/products/JavaManagement/index.html">

+        Java Management Extensions</a></li>

+    <li><a href="http://java.sun.com/products/rmi/index.html">Remote

+        Method Invocation</a> (Included in the JDK)</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Implementation Requirements"><!--()--></a><a name="Implementation_Requirements"><strong>Implementation Requirements</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The implementation of this functionality shall conform to the

+    following requirements:</p>

+    <ul>

+    <li>To the maximum extent feasible, all administrative functions,

+        and the access methods that support them, shall run portably

+        on all platforms where Tomcat 6 itself runs.</li>

+    <li>In a default Tomcat distribution, all administrative capabilities

+        shall be disabled.  It shall be necessary for a system

+        administrator to specifically enable the desired access methods

+        (such as by adding a username/password with a specific role to

+        the Tomcat user's database.</li>

+    <li>Administrative functions shall be realized as direct calls to

+        corresponding Catalina APIs, or through a business logic layer

+        that is independent of the access method used to initiate it.</li>

+    <li>The common business logic components shall be implemented in

+        package <code>org.apache.catalina.admin</code>.</li>

+    <li>The common business logic components shall be built as part of the

+        standard Catalina build process, and made visible in the

+        Catalina class loader.</li>

+    <li>The Java components required for each access method shall be

+        implemented in subpackages of <code>org.apache.catalina.admin</code>.

+        </li>

+    <li>The build scripts should treat each access method as optional,

+        so that it will be built only if the corresponding required

+        APIs are present at build time.</li>

+    <li>It shall be possible to save the configured state of the running

+        Tomcat container such that this state can be reproduced when the

+        container is shut down and restarted.</li>

+    <li>Administrative commands to start up and shut down the overall

+        Tomcat container are <strong>out of scope</strong> for the

+        purposes of these applications.  It is assumed that other

+        (usually platform-specific) mechanisms will be used for container

+        startup and shutdown.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Dependencies"><strong>Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Environmental Dependencies"><!--()--></a><a name="Environmental_Dependencies"><strong>Environmental Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The following environmental dependencies must be met in order for

+    administrative applications to operate correctly:</p>

+    <ul>

+    <li>For access methods that require creation of server sockets, the

+        appropriate ports must be configured and available.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Container Dependencies"><!--()--></a><a name="Container_Dependencies"><strong>Container Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>Correct operation of administrative applications depends on the

+       following specific features of the surrounding container:</p>

+    <ul>

+    <li>To the maximum extent feasible, Catalina components that offer

+        direct administrative APIs and property setters shall support

+        "live" changes to their operation, without requiring a container

+        restart.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="External Technologies"><!--()--></a><a name="External_Technologies"><strong>External Technologies</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The availability of the following technologies can be assumed

+    for the implementation and operation of the various access methods

+    and the corresponding administrative business logic:</p>

+    <ul>

+    <li><a href="http://java.sun.com/j2se/">Java 2 Standard Edition</a>

+        (Version 1.2 or later)</li>

+    <li><a href="http://www.jcp.org/jsr/detail/154.jsp">Servlet 2.4</a>

+        (supported natively by Tomcat 6)</li>

+    <li><a href="http://www.jcp.org/jsr/detail/152.jsp">JavaServer Pages 2.0</a>

+        (supported natively by Tomcat 6)</li>

+    <li><a href="http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html">JavaServer Pages Standard Tag Library 1.0 (Jakarta Taglibs-Standard 1.0.3)</a></li>

+    <li><a href="http://struts.apache.org/">Struts Framework</a>

+        (Version 1.0) - MVC Framework for Web Applications</li>

+    <li><strong>TO BE DETERMINED</strong> - Application for hosting SOAP

+        based web services</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Functionality"><strong>Functionality</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Properties of Administered Objects"><!--()--></a><a name="Properties_of_Administered_Objects"><strong>Properties of Administered Objects</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>Functional requirements for administrative applications are specified

+  in terms of <em>Administered Objects</em>, whose definitions and detailed

+  properties are listed <a href="fs-admin-objects.html">here</a>.  In general,

+  Administered Objects correspond to components in the Catalina architecture,

+  but these objects are defined separately here for the following reasons:</p>

+  <ul>

+  <li>It is possible that the administrative applications do not expose

+      every possible configurable facet of the underlying components.</li>

+  <li>In some cases, an Administered Object (from the perspective of an

+      administrative operation) is realized by more than one Catalina

+      component, at a finer-grained level of detail.</li>

+  <li>It is necessary to represent the configuration information for a

+      component separately from the component itself (for instance, in

+      order to store that configuration information for later use).</li>

+  <li>It is necessary to represent configuration information (such as

+      a Default Context) when there is no corresponding component instance.

+      </li>

+  <li>Administered Objects, when realized as Java classes, will include

+      methods for administrative operations that have no correspondence

+      to operations performed by the corresponding actual components.</li>

+  </ul>

+

+  <p>It is assumed that the reader is familiar with the overall component

+  architecture of Catalina.  For further information, see the corresponding

+  Developer Documentation.  To distinguish names that are used as both

+  <em>Administered Objects</em> and <code>Components</code>, different

+  font presentations are utilized.  Default values for many properties

+  are listed in [square brackets].</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Supported Administrative Operations"><!--()--></a><a name="Supported_Administrative_Operations"><strong>Supported Administrative Operations</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>The administrative operations that are available are described in terms

+  of the corresponding Administered Objects (as defined above), in a manner

+  that is independent of the access method by which these operations are

+  requested.  In general, such operations are relevant only in the context

+  of a particular Administered Object (and will most likely be realized as

+  method calls on the corresponding Administered Object classes), so they

+  are organized based on the currently "focused" administered object.

+  The available Supported Operations are documented

+  <a href="fs-admin-opers.html">here</a>.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Access Method Specific Requirements"><!--()--></a><a name="Access_Method_Specific_Requirements"><strong>Access Method Specific Requirements</strong></a></font></td></tr><tr><td><blockquote>

+

+  <h5>Scriptable Web Application</h5>

+

+  <p>An appropriate subset of the administrative operations described above

+  shall be implemented as commands that can be performed by the "Manager"

+  web application.  <strong>FIXME</strong> - Enumerate them.</p>

+

+  <p>In addition, this web application shall conform to the following

+  requirements:</p>

+  <ul>

+  <li>All request URIs shall be protected by a security constraint that

+      requires security role <code>manager</code> for processing.</li>

+  <li>The default user database shall <strong>not</strong> contain any

+      user that has been assigned the role <code>manager</code>.</li>

+  </ul>

+

+  <h5>HTML-Based Web Application</h5>

+

+  <p>The entire suite of administrative operations described above shall be

+  made available through a web application designed for human interaction.

+  In addition, this web application shall conform to the following

+  requirements:</p>

+  <ul>

+  <li>Must be implemented using servlet, JSP, and MVC framework technologies

+      described under "External Technologies", above.</li>

+  <li>Prompts and error messages must be internationalizable to multiple

+      languages.</li>

+  <li>Rendered HTML must be compatible with Netscape Navigator (version 4.7

+      or later) and Internet Explorer (version 5.0 or later).</li>

+  </ul>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Testable Assertions"><!--()--></a><a name="Testable_Assertions"><strong>Testable Assertions</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p><strong>FIXME</strong> - Complete this section.</p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/funcspecs/fs-admin-objects.html b/tomcat-uid/webapps/docs/funcspecs/fs-admin-objects.html
new file mode 100644
index 0000000..854a117
--- /dev/null
+++ b/tomcat-uid/webapps/docs/funcspecs/fs-admin-objects.html
@@ -0,0 +1,424 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Catalina Functional Specifications (6.0.39) - Administrative Apps - Administered Objects</title><meta name="author" content="Craig McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      Catalina Functional Specifications

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Functional Specs</a></li></ul><p><strong>Administrative Apps</strong></p><ul><li><a href="fs-admin-apps.html">Overall Requirements</a></li><li><a href="mbean-names.html">Tomcat MBean Names</a></li><li><a href="fs-admin-objects.html">Administered Objects</a></li><li><a href="fs-admin-opers.html">Supported Operations</a></li></ul><p><strong>Internal Servlets</strong></p><ul><li><a href="fs-default.html">Default Servlet</a></li><li><a href="fs-invoker.html">Invoker Servlet</a></li></ul><p><strong>Realm Implementations</strong></p><ul><li><a href="fs-jdbc-realm.html">JDBC Realm</a></li><li><a href="fs-jndi-realm.html">JNDI Realm</a></li><li><a href="fs-memory-realm.html">Memory Realm</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Catalina Functional Specifications</h1><h2>Administrative Apps - Administered Objects</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Administered_Objects_Overview">Administered Objects Overview</a></li><li><a href="#Access_Logger">Access Logger</a></li><li><a href="#Connector">Connector</a></li><li><a href="#Context">Context</a></li><li><a href="#Default_Context">Default Context</a></li><li><a href="#Default_Deployment_Descriptor">Default Deployment Descriptor</a></li><li><a href="#Engine">Engine</a></li><li><a href="#Environment_Entry">Environment Entry</a></li><li><a href="#Host">Host</a></li><li><a href="#JDBC_Resource">JDBC Resource</a></li><li><a href="#Loader">Loader</a></li><li><a href="#Manager">Manager</a></li><li><a href="#Realm">Realm</a></li><li><a href="#Request_Filter">Request Filter</a></li><li><a href="#Server">Server</a></li><li><a href="#Service">Service</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Administered Objects Overview"><!--()--></a><a name="Administered_Objects_Overview"><strong>Administered Objects Overview</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>This document defines the <em>Administered Objects</em> that represent

+the internal architectural components of the Catalina servlet container.

+Associated with each is a set of <a href="fs-admin-opers.html">Supported

+Operations</a> that can be performed when the administrative application is

+"focused" on a particular configurable object.</p>

+

+<p>The following Administered Objects are defined:</p>

+<ul>

+<li><a href="#Access Logger">Access Logger</a></li>

+<li><a href="#Connector">Connector</a></li>

+<li><a href="#Context">Context</a></li>

+<li><a href="#Default Context">Default Context</a></li>

+<li><a href="#Default Deployment Descriptor">Default Deployment Descriptor</a></li>

+<li><a href="#Engine">Engine</a></li>

+<li><a href="#Environment Entry">Environment Entry</a></li>

+<li><a href="#Host">Host</a></li>

+<li><a href="#JDBC Resource">JDBC Resource</a></li>

+<li><a href="#Loader">Loader</a></li>

+<li><a href="#Manager">Manager</a></li>

+<li><a href="#Realm">Realm</a></li>

+<li><a href="#Request Filter">Request Filter</a></li>

+<li><a href="#Server">Server</a></li>

+<li><a href="#Service">Service</a></li>

+</ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Access Logger"><!--()--></a><a name="Access_Logger"><strong>Access Logger</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>An <em>Access Logger</em> is an optional <code>Valve</code> that can

+  create request access logs in the same formats as those provided by

+  web servers.  Such access logs are useful input to hit count and user

+  access tracking analysis programs.  An Access Logger can be attached to

+  an <em>Engine</em>, a <em>Host</em>, a <em>Context</em>, or a <em>Default

+  Context</em>.</p>

+

+  <p>The standard component implementing an <em>Access Logger</em> is

+  <code>org.apache.catalina.valves.AccessLogValve</code>.  It supports the

+  following configurable properties:</p>

+  <ul>

+  <li><code>debug</code> - Debugging detail level.  [0]</li>

+  <li><code>directory</code> - Absolute or relative (to $CATALINA_BASE) path

+      of the directory into which access log files are created.

+      [logs].</li>

+  <li><code>pattern</code> - Pattern string defining the fields to be

+      included in the access log output, or "common" for the standard

+      access log pattern.  See

+      <code>org.apache.catalina.valves.AccessLogValve</code> for more

+      information.  [common]</li>

+  <li><code>prefix</code> - Prefix added to the beginning of each log file

+      name created by this access logger.</li>

+  <li><code>resolveHosts</code> - Should IP addresses be resolved to host

+      names in the log?  [false]</li>

+  <li><code>suffix</code> - Suffix added to the end of each log file name

+      created by this access logger.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Connector"><strong>Connector</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>A <em>Connector</em> is the representation of a communications endpoint

+  by which requests are received from (and responses returned to) a Tomcat

+  client.  The administrative applications shall support those connectors

+  that are commonly utilized in Tomcat installations, as described in detail

+  below.</p>

+

+  <p>For standalone use, the standard connector supporting the HTTP/1.1

+  protocol is <code>org.apache.catalina.connectors.http.HttpConnector</code>.

+  It supports the following configurable properties:</p>

+  <ul>

+  <li><code>acceptCount</code> - The maximum queue length of incoming

+      connections that have not yet been accepted.  [10]</li>

+  <li><code>address</code> - For servers with more than one IP address, the

+      address upon which this connector should listen.  [All Addresses]</li>

+  <li><code>bufferSize</code> - Default input buffer size (in bytes) for

+      requests created by this Connector.  [2048]</li>

+  <li><code>debug</code> - Debugging detail level.  [0]</li>

+  <li><code>enableLookups</code> - Should we perform DNS lookups on remote

+      IP addresses when <code>request.getRemoteHost()</code> is called?

+      [false]</li>

+  <li><code>maxProcessors</code> - The maximum number of processor threads

+      supported by this connector.  [20]</li>

+  <li><code>minProcessors</code> - The minimum number of processor threads

+      to be created at container startup.  [5]</li>

+  <li><code>port</code> - TCP/IP port number on which this Connector should

+      listen for incoming requests. [8080]</li>

+  <li><code>proxyName</code> - Host name to be returned when an application

+      calls <code>request.getServerName()</code>.  [Value of Host: header]</li>

+  <li><code>proxyPort</code> - Port number to be returned when an application

+      calls <code>request.getServerPort()</code>.  [Same as <code>port</code>]

+      </li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Context"><strong>Context</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>A <em>Context</em> is the representation of an individual web application,

+  which is associated with a corresponding <em>Host</em>.  Note that the

+  administrable properties of a <em>Context</em> do <strong>not</strong>

+  include any settings from inside the web application deployment descriptor

+  for that application.</p>

+

+  <p>The standard component implementing a <em>Context</em> is

+  <code>org.apache.catalina.core.StandardContext</code>.  It supports the

+  following configurable properties:</p>

+  <ul>

+  <li><code>cookies</code> - Should be use cookies for session identifier

+      communication?  [true]</li>

+  <li><code>crossContext</code> - Should calls to

+      <code>ServletContext.getServletContext()</code> return the actual

+      context responsible for the specified path?  [false]</li>

+  <li><code>debug</code> - Debugging detail level.  [0]</li>

+  <li><code>docBase</code> - The absolute or relative (to the

+      <code>appBase</code> of our owning <em>Host</em>) pathname of a

+      directory containing an unpacked web application, or of a web

+      application archive (WAR) file.</li>

+  <li><code>override</code> - Should settings in this <em>Context</em>

+      override corresponding settings in the <em>Default Context</em>?

+      [false]</li>

+  <li><code>path</code> - Context path for this web application, or an empty

+      string for the root application of a <em>Host</em>.  [Inferred from

+      directory or WAR file name]</li>

+  <li><code>reloadable</code> - Should Tomcat monitor classes in the

+      <code>/WEB-INF/classes</code> directory for changes, and reload the

+      application if they occur?  [false]</li>

+  <li><code>useNaming</code> - Should Tomcat provide a JNDI naming context,

+      containing preconfigured entries and resources, corresponding to the

+      requirements of the Java2 Enterprise Edition specification?  [true]</li>

+  <li><code>workDir</code> - Absolute pathname of a scratch directory that is

+      provided to this web application.  [Automatically assigned relative to

+      $CATALINA_BASE/work]</li>

+  </ul>

+

+  <p>Each <em>Context</em> is owned by a parent <em>Host</em>, and is

+  associated with:</p>

+  <ul>

+  <li>An optional <em>Access Logger</em> that logs all requests processed

+      by this web application.</li>

+  <li>Zero or more <em>Environment Entries</em> representing environment

+      entries for the JNDI naming context associated with a web

+      application.</li>

+  <li>Zero or more <em>JDBC Resources</em> representing database connection

+      pools associated with a web application.</li>

+  <li>A <em>Loader</em> representing the web application class loader used

+      by this web application.</li>

+  <li>A <em>Manager</em> representing the session manager used by this

+      web application.</li>

+  <li>An optional <em>Realm</em> used to provide authentication and access

+      control information for this web application.</li>

+  <li>Zero or more <em>Request Filters</em> used to limit access to this

+      web application based on remote host name or IP address.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Default Context"><!--()--></a><a name="Default_Context"><strong>Default Context</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>A <em>Default Context</em> represents a subset of the configurable

+  properties of a <em>Context</em>, and is used to set defaults for those

+  properties when web applications are automatically deployed.  A <em>Default

+  Context</em> object can be associated with an <em>Engine</em> or a

+  <em>Host</em>.  The following configurable properties are supported:</p>

+  <ul>

+  <li><code>cookies</code> - Should be use cookies for session identifier

+      communication?  [true]</li>

+  <li><code>crossContext</code> - Should calls to

+      <code>ServletContext.getServletContext()</code> return the actual

+      context responsible for the specified path?  [false]</li>

+  <li><code>reloadable</code> - Should Tomcat monitor classes in the

+      <code>/WEB-INF/classes</code> directory for changes, and reload the

+      application if they occur?  [false]</li>

+  <li><code>useNaming</code> - Should Tomcat provide a JNDI naming context,

+      containing preconfigured entries and resources, corresponding to the

+      requirements of the Java2 Enterprise Edition specification?  [true]</li>

+  </ul>

+

+  <p>Each <em>Default Context</em> is owned by a parent <em>Engine</em> or

+  <em>Host</em>, and is associated with:</p>

+  <ul>

+  <li>Zero or more <em>Environment Entries</em> representing environment

+      entries for the JNDI naming context associated with a web

+      application.</li>

+  <li>Zero or more <em>JDBC Resources</em> representing database connection

+      pools associated with a web application.</li>

+  <li>An optional <em>Loader</em> representing default configuration

+      properties for the Loader component of deployed web applications.</li>

+  <li>An optional <em>Manager</em> representing default configuration

+      properties for the Manager component of deployed web applications.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Default Deployment Descriptor"><!--()--></a><a name="Default_Deployment_Descriptor"><strong>Default Deployment Descriptor</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>Default web application characteristics are configured in a special

+  deployment descriptor named <code>$CATALINA_BASE/conf/web.xml</code>.  This

+  section describes the configurable components that may be stored there.</p>

+

+  <p><strong>FIXME</strong> - Complete the description of default servlets,

+  default mappings, default MIME types, and so on.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Engine"><strong>Engine</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>An <em>Engine</em> is the representation of the entire Catalina

+  servlet container, and processes all requests for all of the associated

+  virtual hosts and web applications.</p>

+

+  <p>The standard component implementing an <em>Engine</em> is

+  <code>org.apache.catalina.core.StandardEngine</code>.  It supports the

+  following configurable properties:</p>

+  <ul>

+  <li><code>debug</code> - Debugging detail level.  [0]</li>

+  <li><code>defaultHost</code> - Name of the <em>Host</em> to which requests

+      will be directed if the requested host is unknown.  [localhost]</li>

+  <li><code>name</code> - Logical name of this engine. [Tomcat Stand-Alone]

+      </li>

+  </ul>

+

+  <p>Each <em>Engine</em> is owned by a parent <em>Service</em>, and is

+  associated with:</p>

+  <ul>

+  <li>An optional <em>Access Logger</em> that logs all requests processed

+      by the entire container.</li>

+  <li>A <em>Default Context</em>, representing default properties of a

+      <em>Context</em> for automatically deployed applications for all

+      associated <em>Hosts</em> (unless overridden by a subordinate

+      component).</li>

+  <li>One or more <em>Hosts</em> representing individual virtual hosts

+      supported by this container.</li>

+  <li>A <em>Realm</em> used to provide authentication and access control

+      information for all virtual hosts and web applications (unless

+      overridden by a subordinate component).</li>

+  <li>Zero or more <em>Request Filters</em> used to limit access to the

+      entire container based on remote host name or IP address.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Environment Entry"><!--()--></a><a name="Environment_Entry"><strong>Environment Entry</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>An <em>Environment Entry</em> is the representation of a

+  <code>&lt;env-entry&gt;</code> element from a web application deployment

+  descriptor.  It will cause the creation of a corresponding entry in the

+  JNDI naming context provided to the corresponding <em>Context</em>.  The

+  following configurable properties are supported:</p>

+  <ul>

+  <li><code>description</code> - Description of this environment entry.</li>

+  <li><code>name</code> - Environment entry name (relative to the

+      <code>java:comp/env</code> context)</li>

+  <li><code>type</code> - Environment entry type (must be one of the fully

+      qualified Java classes listed in the servlet spec).</li>

+  <li><code>value</code> - Environment entry value (must be convertible from

+      String to the specified <code>type</code>.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Host"><strong>Host</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>A <em>Host</em> is the representation of an individual virtual host,

+  which has a unique set of associated web applications.</p>

+

+  <p>The standard component implementing a <em>Host</em> is

+  <code>org.apache.catalina.core.StandardHost</code>.  It supports the

+  following configurable properties:</p>

+  <ul>

+  <li><code>aliases</code> - Zero or more DNS names that are also associated

+      with this host (for example, a particular host might be named

+      <code>www.mycompany.com</code> with an alias <code>company.com</code>).

+      </li>

+  <li><code>appBase</code> - Absolute or relative (to $CATALINA_BASE) path

+      to a directory from which web applications will be automatically

+      deployed.</li>

+  <li><code>debug</code> - Debugging detail level.  [0]</li>

+  <li><code>name</code> - DNS Name of the virtual host represented by this

+      object.</li>

+  <li><code>unpackWARs</code> - Should web application archive files

+      deployed by this virtual host be unpacked first?  [true]</li>

+  </ul>

+

+  <p>Each <em>Host</em> is owned by a parent <em>Engine</em>, and is

+  associated with:</p>

+  <ul>

+  <li>An optional <em>Access Logger</em> that logs all requests processed

+      by this virtual host.</li>

+  <li>One or more <em>Contexts</em> representing the web applications

+      operating on this <em>Host</em>.</li>

+  <li>A <em>Default Context</em> representing default <em>Context</em>

+      properties for web applications that are automatically deployed

+      by this <em>Host</em>.</li>

+  <li>A optional <em>Realm</em> used to provide authentication and access

+      control information for all web applications associated with this

+      virtual host (unless overridden by a subordinate component).</li>

+  </ul>

+

+  <p><strong>FIXME</strong> - Should we support configuration of the

+  User Web Applications functionality?</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JDBC Resource"><!--()--></a><a name="JDBC_Resource"><strong>JDBC Resource</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>A <em>JDBC Resources</em> represents a database connection pool (i.e.

+  an implementation of <code>javax.sql.DataSource</code> that will be

+  configured and made available in the JNDI naming context associated with

+  a web application.</p>

+

+  <p><strong>FIXME</strong> - properties of this administered object</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Loader"><strong>Loader</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>A <em>Loader</em> represents a web application class loader that will

+  be utilized to provide class loading services for a particular

+  <em>Context</em>.</p>

+

+  <p>The standard component implementing a <em>Loader</em> is

+  <code>org.apache.catalina.loader.StandardLoader</code>.  It supports

+  the following configurable properties:</p>

+  <ul>

+  <li><code>checkInterval</code> - Number of seconds between checks for

+      modified classes, if automatic reloading is enabled.  [15]</li>

+  <li><code>debug</code> - Debugging detail level.  [0]</li>

+  <li><code>reloadable</code> - Should this class loader check for modified

+      classes and initiate automatic reloads?  [Set automatically from the

+      <code>reloadable</code> property of the corresponding <em>Context</em>]

+      </li>

+  </ul>

+

+  <p>Each <em>Loader</em> is owned by a parent <em>Context</em>.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Manager"><strong>Manager</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>A <em>Manager</em> represents a session manager that will be associated

+  with a particular web application.  <strong>FIXME</strong> - Add support

+  for advanced session managers and their associated Stores.</p>

+

+  <p>The standard component implementing a <em>Manager</em> is

+  <code>org.apache.catalina.session.StandardManager</code>.  It supports

+  the following configurable properties:</p>

+  <ul>

+  <li><code>checkInterval</code> - Number of seconds between checks for

+      expired sessions.  [60]</li>

+  <li><code>debug</code> - Debugging detail level.  [0]</li>

+  <li><code>entropy</code> - String initialization parameter used to increase

+      the entropy (initial randomness) of the random number generator used to

+      create session identifiers.  [Inferred from engine, host, and context]

+      </li>

+  <li><code>maxActiveSessions</code> - The maximum number of active sessions

+      that are allowed, or -1 for no limit.  [-1]</li>

+  </ul>

+

+  <p>Each <em>Manager</em> is owned by a parent <em>Context</em>.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Realm"><strong>Realm</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>A <em>Realm</em> represents a "database" of information about authorized

+  users, their passwords, and the security roles assigned to them.  This will

+  be used by the container in the implementation of container-managed security

+  in accordance with the Servlet Specification.  Several alternative

+  implementations are supported.</p>

+

+  <p><code>org.apache.catalina.realm.MemoryRealm</code> initializes its user

+  information from a simple XML file at startup time.  If changes are made

+  to the information in this file, the corresponding web applications using

+  it must be restarted for the changes to take effect.  It supports the

+  following configurable properties:</p>

+  <ul>

+  <li><code>debug</code> - Debugging detail level.  [0]</li>

+  <li><code>pathname</code> - Absolute or relative (to $CATALINA_BASE) path to

+      the XML file containing our user information.  [conf/tomcat-users.xml]

+      </li>

+  </ul>

+

+  <p><code>org.apache.catalina.realm.JDBCRealm</code> uses a relational

+  database (accessed via JDBC APIs) to contain the user information.  Changes

+  in the contents of this database take effect immediately; however, the roles

+  assigned to a particular user are calculated only when the user initially

+  logs on (and not per request).  The following configurable properties

+  are supported:</p>

+  <ul>

+  <li><code>connectionName</code> - Database username to use when establishing

+      a JDBC connection.</li>

+  <li><code>connectionPassword</code> - Database password to use when

+      establishing a JDBC connection.</li>

+  <li><code>connectionURL</code> - Connection URL to use when establishing

+      a JDBC connection.</li>

+  <li><code>debug</code> - Debugging detail level.  [0]</li>

+  <li><code>digest</code> - Name of the <code>MessageDigest</code> algorithm

+      used to encode passwords in the database, or a zero-length string for

+      no encoding.  [Zero-length String]</li>

+  <li><code>driverName</code> - Fully qualified Java class name of the JDBC

+      driver to be utilized.</li>

+  <li><code>roleNameCol</code> - Name of the column, in the User Roles table,

+      which contains the role name.</li>

+  <li><code>userCredCol</code> - Name of the column, in the Users table,

+      which contains the password (encrypted or unencrypted).</li>

+  <li><code>userNameCol</code> - Name of the column, in both the Users and

+      User Roles tables, that contains the username.</li>

+  <li><code>userRoleTable</code> - Name of the User Roles table, which contains

+      one row per security role assigned to a particular user.  This table must

+      contain the columns specified by the <code>userNameCol</code> and

+      <code>roleNameCol</code> properties.</li>

+  <li><code>userTable</code> - Name of the Users table, which contains one row

+      per authorized user.  This table must contain the columns specified by

+      the <code>userNameCol</code> and <code>userCredCol</code> properties.

+      </li>

+  </ul>

+

+  <p><strong>FIXME</strong> - Should we provide mechanisms to edit the contents

+  of a "tomcat-users.xml" file through the admin applications?</p>

+

+  <p>Each <em>Realm</em> is owned by a parent <em>Engine</em>, <em>Host</em>,

+  or <em>Context</em>.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Request Filter"><!--()--></a><a name="Request_Filter"><strong>Request Filter</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p><strong>FIXME</strong> - complete this entry</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Server"><strong>Server</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p><strong>FIXME</strong> - complete this entry</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Service"><strong>Service</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p><strong>FIXME</strong> - complete this entry</p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/funcspecs/fs-admin-opers.html b/tomcat-uid/webapps/docs/funcspecs/fs-admin-opers.html
new file mode 100644
index 0000000..575d964
--- /dev/null
+++ b/tomcat-uid/webapps/docs/funcspecs/fs-admin-opers.html
@@ -0,0 +1,269 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Catalina Functional Specifications (6.0.39) - Administrative Apps - Supported Operations</title><meta name="author" content="Craig McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      Catalina Functional Specifications

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Functional Specs</a></li></ul><p><strong>Administrative Apps</strong></p><ul><li><a href="fs-admin-apps.html">Overall Requirements</a></li><li><a href="mbean-names.html">Tomcat MBean Names</a></li><li><a href="fs-admin-objects.html">Administered Objects</a></li><li><a href="fs-admin-opers.html">Supported Operations</a></li></ul><p><strong>Internal Servlets</strong></p><ul><li><a href="fs-default.html">Default Servlet</a></li><li><a href="fs-invoker.html">Invoker Servlet</a></li></ul><p><strong>Realm Implementations</strong></p><ul><li><a href="fs-jdbc-realm.html">JDBC Realm</a></li><li><a href="fs-jndi-realm.html">JNDI Realm</a></li><li><a href="fs-memory-realm.html">Memory Realm</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Catalina Functional Specifications</h1><h2>Administrative Apps - Supported Operations</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Supported_Operations_Overview">Supported Operations Overview</a></li><li><a href="#Access_Logger">Access Logger</a></li><li><a href="#Connector">Connector</a></li><li><a href="#Context">Context</a></li><li><a href="#Default_Context">Default Context</a></li><li><a href="#Engine">Engine</a></li><li><a href="#Environment_Entry">Environment Entry</a></li><li><a href="#Host">Host</a></li><li><a href="#JDBC_Resource">JDBC Resource</a></li><li><a href="#Loader">Loader</a></li><li><a href="#Manager">Manager</a></li><li><a href="#Realm">Realm</a></li><li><a href="#Request_Filter">Request Filter</a></li><li><a href="#Server">Server</a></li><li><a href="#Service">Service</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Supported Operations Overview"><!--()--></a><a name="Supported_Operations_Overview"><strong>Supported Operations Overview</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>This document defines the <em>Supported Operations</em> that may

+be performed against the <a href="fs-admin-objects.html">Administered

+Objects</a> that are supported by Tomcat 6 administrative applications.

+Not all operations are required to be available through every administrative

+application that is implemented.  However, if a given operation is available,

+it should operate consistently with the descriptions found here.</p>

+

+<p>Supported Operations are described for the following Administered

+Objects:</p>

+<ul>

+<li><a href="#Access Logger">Access Logger</a></li>

+<li><a href="#Connector">Connector</a></li>

+<li><a href="#Context">Context</a></li>

+<li><a href="#Default Context">Default Context</a></li>

+<li><a href="#Engine">Engine</a></li>

+<li><a href="#Environment Entry">Environment Entry</a></li>

+<li><a href="#Host">Host</a></li>

+<li><a href="#JDBC Resource">JDBC Resource</a></li>

+<li><a href="#Loader">Loader</a></li>

+<li><a href="#Manager">Manager</a></li>

+<li><a href="#Realm">Realm</a></li>

+<li><a href="#Request Filter">Request Filter</a></li>

+<li><a href="#Server">Server</a></li>

+<li><a href="#Service">Service</a></li>

+</ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Access Logger"><!--()--></a><a name="Access_Logger"><strong>Access Logger</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>From the perspective of a particular <em>Access Logger</em>, it shall

+  be possible to perform the following administrative operations:</p>

+  <ul>

+  <li>Navigate to the owning <em>Engine</em>, <em>Host</em>, or

+      <em>Context</em>.</li>

+  <li>Edit the configurable properties of this object.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Connector"><strong>Connector</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>From the perspective of a particular <em>Connector</em>, it shall be

+  possible to perform the following administrative operations:</p>

+  <ul>

+  <li>Navigate to the owning <em>Service</em>.</li>

+  <li>Edit the configurable properties of this object.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Context"><strong>Context</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>From the perspective of a particular <em>Context</em>, it shall be

+  possible to perform the following administrative operations:</p>

+  <ul>

+  <li>Navigate to the owning <em>Host</em>.</li>

+  <li>Edit the configurable properties of this object.</li>

+  <li>Create and configure a new <em>Access Logger</em> associated

+      with this object.</li>

+  <li>Edit the configurable properties of the associated <em>Access

+      Logger</em>.</li>

+  <li>Remove the associated <em>Access Logger</em>.</li>

+  <li>Create and configure a new <em>Environment Entry</em> associated

+      with this object.</li>

+  <li>Select and edit the configurable properties of an associated

+      <em>Environment Entry</em>.</li>

+  <li>Remove an associated <em>Environment Entry</em>.</li>

+  <li>Create and configure a new <em>JDBC Resource</em> associated

+      with this object.</li>

+  <li>Select and edit the configurable properties of an associated

+      <em>JDBC Resource</em>.</li>

+  <li>Remove an associated <em>JDBC Resource</em>.</li>

+  <li>Create and configure a new <em>Loader</em> associated with

+      this object.</li>

+  <li>Edit the configurable properties of the associated <em>Loader</em>.</li>

+  <li>Remove the associated <em>Loader</em>.</li>

+  <li>Create and configure a new <em>Manager</em> associated with

+      this object.</li>

+  <li>Edit the configurable properties of the associated <em>Manager</em>.</li>

+  <li>Remove the associated <em>Manager</em>.</li>

+  <li>Create and configure a new <em>Realm</em> associated with

+      this object.</li>

+  <li>Edit the configurable properties of the associated <em>Realm</em>.</li>

+  <li>Remove the associated <em>Realm</em>.</li>

+  <li>Create and configure a new <em>Request Filter</em> associated with

+      this object.</li>

+  <li>Select and edit the configurable properties of an

+      associated <em>Request Filter</em></li>

+  <li>Remove an associated <em>Request Filter</em>.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Default Context"><!--()--></a><a name="Default_Context"><strong>Default Context</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>From the perspective of a particular <em>Default Context</em>, it shall

+  be possible to perform the following administrative operations:</p>

+  <ul>

+  <li>Navigate to the owning <em>Engine</em> or <em>Host</em>.</li>

+  <li>Edit the configurable properties of this object.</li>

+  <li>Create and configure a new <em>Environment Entry</em> associated

+      with this object.</li>

+  <li>Select and edit the configurable properties of an associated

+      <em>Environment Entry</em>.</li>

+  <li>Remove an associated <em>Environment Entry</em>.</li>

+  <li>Create and configure a new <em>JDBC Resource</em> associated

+      with this object.</li>

+  <li>Select and edit the configurable properties of an associated

+      <em>JDBC Resource</em>.</li>

+  <li>Remove an associated <em>JDBC Resource</em>.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Engine"><strong>Engine</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>From the perspective of a particular <em>Engine</em>, it shall be

+  possible to perform the following administrative operations:</p>

+  <ul>

+  <li>Navigate to the owning <em>Service</em>.</li>

+  <li>Edit the configurable properties of this object.</li>

+  <li>Create and configure a new <em>Access Logger</em> associated

+      with this object.</li>

+  <li>Edit the configurable properties of the associated <em>Access

+      Logger</em>.</li>

+  <li>Remove the associated <em>Access Logger</em>.</li>

+  <li>Create and configure a new <em>Default Context</em> associated

+      with this object.</li>

+  <li>Edit the configurable properties of the associated <em>Default

+      Context</em>.</li>

+  <li>Remove the associated <em>Default Context</em>.</li>

+  <li>Create and configure a new <em>Host</em> associated with

+      this object.</li>

+  <li>Select and edit the configurable properties of an

+      associated <em>Host</em>.</li>

+  <li>Remove an associated <em>Host</em>.</li>

+  <li>Create and configure a new <em>Realm</em> associated with

+      this object.</li>

+  <li>Edit the configurable properties of the associated <em>Realm</em>.</li>

+  <li>Remove the associated <em>Realm</em>.</li>

+  <li>Create and configure a new <em>Request Filter</em> associated with

+      this object.</li>

+  <li>Select and edit the configurable properties of an

+      associated <em>Request Filter</em></li>

+  <li>Remove an associated <em>Request Filter</em>.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Environment Entry"><!--()--></a><a name="Environment_Entry"><strong>Environment Entry</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>From the perspective of a particular <em>Environment Entry</em>, it shall

+  be possible to perform the following administrative operations:</p>

+  <ul>

+  <li>Navigate to the owning <em>Context</em> or <em>Default Context</em>.</li>

+  <li>Edit the configurable properties of this object.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Host"><strong>Host</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>From the perspective of a particular <em>Host</em>, it shall be

+  possible to perform the following administrative operations:</p>

+  <ul>

+  <li>Navigate to the owning <em>Engine</em>.</li>

+  <li>Edit the configurable properties of this object.</li>

+  <li>Create and configure a new <em>Access Logger</em> associated

+      with this object.</li>

+  <li>Edit the configurable properties of the associated <em>Access

+      Logger</em>.</li>

+  <li>Remove the associated <em>Access Logger</em>.</li>

+  <li>Create and configure a new <em>Context</em> associated with

+      this object.</li>

+  <li>Select and edit the configurable properties of an associated

+      <em>Context</em>.</li>

+  <li>Remove an associated <em>Context</em>.</li>

+  <li>Create and configure a new <em>Default Context</em> associated

+      with this object.</li>

+  <li>Edit the configurable properties of the associated <em>Default

+      Context</em>.</li>

+  <li>Remove the associated <em>Default Context</em>.</li>

+  <li>Create and configure a new <em>Realm</em> associated with

+      this object.</li>

+  <li>Edit the configurable properties of the associated <em>Realm</em>.</li>

+  <li>Remove the associated <em>Realm</em>.</li>

+  <li>Create and configure a new <em>Request Filter</em> associated with

+      this object.</li>

+  <li>Select and edit the configurable properties of an

+      associated <em>Request Filter</em></li>

+  <li>Remove an associated <em>Request Filter</em>.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JDBC Resource"><!--()--></a><a name="JDBC_Resource"><strong>JDBC Resource</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>From the perspective of a particular <em>JDBC Resource</em>, it shall

+  be possible to perform the following administrative operations:</p>

+  <ul>

+  <li>Navigate to the owning <em>Context</em> or <em>Default Context</em>.</li>

+  <li>Edit the configurable properties of this object.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Loader"><strong>Loader</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>From the perspective of a particular <em>Loader</em>, it shall

+  be possible to perform the following administrative operations:</p>

+  <ul>

+  <li>Navigate to the owning <em>Context</em>.</li>

+  <li>Edit the configurable properties of this object.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Manager"><strong>Manager</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>From the perspective of a particular <em>Manager</em>, it shall

+  be possible to perform the following administrative operations:</p>

+  <ul>

+  <li>Navigate to the owning <em>Context</em>.</li>

+  <li>Edit the configurable properties of this object.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Realm"><strong>Realm</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>From the perspective of a particular <em>Realm</em>, it shall

+  be possible to perform the following administrative operations:</p>

+  <ul>

+  <li>Navigate to the owning <em>Engine</em>, <em>Host</em>, or

+      <em>Context</em>.</li>

+  <li>Edit the configurable properties of this object.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Request Filter"><!--()--></a><a name="Request_Filter"><strong>Request Filter</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>From the perspective of a particular <em>Request Filter</em>, it shall

+  be possible to perform the following administrative operations:</p>

+  <ul>

+  <li>Navigate to the owning <em>Engine</em>, <em>Host</em>, or

+      <em>Context</em>.</li>

+  <li>Edit the configurable properties of this object.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Server"><strong>Server</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>From the perspective of the overall <em>Server</em>, it shall be

+  possible to perform the following administrative operations:</p>

+  <ul>

+  <li>Edit the configurable properties of this object.</li>

+  <li>Create and configure a new <em>Service</em> associated with

+      this object.</li>

+  <li>Select and edit the configurable properties of an associated

+      <em>Service</em>.</li>

+  </ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Service"><strong>Service</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>From the perspective of a particular <em>Service</em>, it shall be

+  possible to perform the following administrative operations:</p>

+  <ul>

+  <li>Navigate to the owning <em>Server</em>.</li>

+  <li>Edit the configurable properties of this object.</li>

+  <li>Create and configure a new <em>Connector</em> associated with

+      this object.</li>

+  <li>Select and edit the configurable properties of an associated

+      <em>Connector</em>.</li>

+  <li>Remove an associated <em>Connector</em>.</li>

+  <li>Create and configure a new <em>Engine</em> associated with

+      this object.</li>

+  <li>Edit the configurable properties of the associated <em>Engine</em>.</li>

+  <li>Remove the associated <em>Engine</em>.</li>

+  </ul>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/funcspecs/fs-default.html b/tomcat-uid/webapps/docs/funcspecs/fs-default.html
new file mode 100644
index 0000000..4cc2487
--- /dev/null
+++ b/tomcat-uid/webapps/docs/funcspecs/fs-default.html
@@ -0,0 +1,230 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Catalina Functional Specifications (6.0.39) - Default Servlet</title><meta name="author" content="Craig McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      Catalina Functional Specifications

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Functional Specs</a></li></ul><p><strong>Administrative Apps</strong></p><ul><li><a href="fs-admin-apps.html">Overall Requirements</a></li><li><a href="mbean-names.html">Tomcat MBean Names</a></li><li><a href="fs-admin-objects.html">Administered Objects</a></li><li><a href="fs-admin-opers.html">Supported Operations</a></li></ul><p><strong>Internal Servlets</strong></p><ul><li><a href="fs-default.html">Default Servlet</a></li><li><a href="fs-invoker.html">Invoker Servlet</a></li></ul><p><strong>Realm Implementations</strong></p><ul><li><a href="fs-jdbc-realm.html">JDBC Realm</a></li><li><a href="fs-jndi-realm.html">JNDI Realm</a></li><li><a href="fs-memory-realm.html">Memory Realm</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Catalina Functional Specifications</h1><h2>Default Servlet</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Overview">Overview</a><ol><li><a href="#Introduction">Introduction</a></li><li><a href="#External_Specifications">External Specifications</a></li><li><a href="#Implementation_Requirements">Implementation Requirements</a></li></ol></li><li><a href="#Dependencies">Dependencies</a><ol><li><a href="#Environmental_Dependencies">Environmental Dependencies</a></li><li><a href="#Container_Dependencies">Container Dependencies</a></li></ol></li><li><a href="#Functionality">Functionality</a><ol><li><a href="#Initialization_Functionality">Initialization Functionality</a></li><li><a href="#Per-Request_Functionality">Per-Request Functionality</a></li><li><a href="#Finalization_Functionality">Finalization Functionality</a></li></ol></li><li><a href="#Testable_Assertions">Testable Assertions</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Overview"><strong>Overview</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The purpose of the <strong>Default Servlet</strong> is to serve

+    static resources of a web application in response to client requests.

+    As the name implies, it is generally configured as the "default"

+    servlet for a web application, by being mapped to a URL pattern "/".</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="External Specifications"><!--()--></a><a name="External_Specifications"><strong>External Specifications</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The following external specifications have provisions which

+    partially define the correct behavior of the default servlet:</p>

+    <ul>

+    <li><a href="http://java.sun.com/products/servlet/download.html">

+        Servlet Specification</a> (Version 2.3 PFD2)</li>

+    <li><a href="http://www.rfc-editor.org/rfc/rfc2046.txt">Multipurpose

+        Internet Mail Extensions (MIME) Part Two: Media Types</a></li>

+    <li><a href="http://www.rfc-editor.org/rfc/rfc2616.txt">Hypertext

+        Transfer Protocol -- HTTP/1.1</a></li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Implementation Requirements"><!--()--></a><a name="Implementation_Requirements"><strong>Implementation Requirements</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The implementation of this functionality shall conform to the

+    following requirements:</p>

+    <ul>

+    <li>Must be implemented as a servlet.</li>

+    <li>Must support configurable parameters for debugging detail level,

+        input buffer size, output buffer size, whether or not to produce

+        directory listings when no welcome file is present, and whether or not

+        modifications are supported via DELETE and PUT.</li>

+    <li>Log debugging and operational messages (suitably internationalized)

+        via the <code>getServletContext().log()</code> method.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Dependencies"><strong>Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Environmental Dependencies"><!--()--></a><a name="Environmental_Dependencies"><strong>Environmental Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The following environmental dependencies must be met in order for

+    the default servlet to operate correctly:</p>

+    <ul>

+    <li>The default servlet must be registered in the application deployment

+        descriptor (or the default deployment descriptor in file

+        <code>$CATALINA_BASE/conf/web.xml</code>) using a "default servlet"

+        servlet mapping, signified by URL pattern "/".</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Container Dependencies"><!--()--></a><a name="Container_Dependencies"><strong>Container Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>Correct operation of the default servlet depends on the following

+    specific features of the surrounding container:</p>

+    <ul>

+    <li>The container shall provide a servlet context attribute that

+        lists the welcome file names that have been defined for this

+        web application.</li>

+    <li>The container shall provide a servlet context attribute that

+        contains a <code>javax.naming.directory.DirContext</code>

+        implementation representing the static resources of this

+        web application.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Functionality"><strong>Functionality</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Initialization Functionality"><!--()--></a><a name="Initialization_Functionality"><strong>Initialization Functionality</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The following processing must be performed when the <code>init()</code>

+    method of the default servlet is called:</p>

+    <ul>

+    <li>Process and sanity check configuration parameters.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Per-Request Functionality"><!--()--></a><a name="Per-Request_Functionality"><strong>Per-Request Functionality</strong></a></font></td></tr><tr><td><blockquote>

+

+

+    <p>For all HTTP request methods, the resource path is determined from

+    the path information provided to this request, either as request attribute

+    <code>javax.servlet.include.path_info</code> (for a request dispatcher

+    access to a static resource) or by calling

+    <code>request.getPathInfo()</code> directly.</p>

+

+    <p>On each HTTP DELETE request processed by this servlet, the following

+    processing shall be performed:</p>

+    <ul>

+    <li>If modifications to the static resources are not allowed (set by a

+        configuration parameter), return HTTP status 403 (forbidden).</li>

+    <li>If an attempt is made to delete a resource from <code>/META-INF</code>

+        or <code>/WEB-INF</code>, return HTTP status 403 (forbidden).</li>

+    <li>If the requested resource does not exist, return HTTP status 404

+        (not found)</li>

+    <li>Unbind the resource from the directory context containing the

+        static resources for this web application.  If successful, return

+        HTTP status 204 (no content).  Otherwise, return HTTP status 405

+        (method not allowed).</li>

+    </ul>

+

+

+    <p>On each HTTP GET request processed by this servlet, the following

+    processing shall be performed:</p>

+    <ul>

+    <li>If the request is for a resource under <code>/META-INF</code> or

+        <code>/WEB-INF</code>, return HTTP status 404 (not found).</li>

+    <li>If the requested resource does not exist, return HTTP status 404

+        (not found).</li>

+    <li>If the requested resource is not a directory, but the resource

+        path ends in "/" or "\", return HTTP status 404 (not found).</li>

+    <li>If the requested resource is a directory:

+        <ul>

+        <li>If the request path does not end with "/", redirect to a

+            corresponding path with "/" appended so that relative references

+            in welcome files are resolved correctly.</li>

+        <li>If one of the specified welcome files exists, redirect to the

+            path for that welcome file so that it will be served explicitly.

+            </li>

+        </ul></li>

+    <li>If the request being processed contains an <code>If-Range</code>

+        header, perform the processing described in the HTTP/1.1 specification

+        to determine whether the client's information is up to date.</li>

+    <li>Determine the content type of the response, by looking up the

+        corresponding MIME type in our servlet context.</li>

+    <li>If the requested resource is a directory:

+        <ul>

+        <li>If directory listings are suppressed, return HTTP status 404

+            (not found).</li>

+        <li>Set the content type to <code>text/html</code>.</li>

+        </ul></li>

+    <li>Determine the range(s) to be returned, based on the existence of

+        any <code>If-Range</code> and <code>Range</code> headers.</li>

+    <li>If the requested resource is a directory, include an <code>ETag</code>

+        header in the response, with the value calculated based on the content

+        of the directory.</li>

+    <li>Include a <code>Last-Modified</code> header in the response documenting

+        the date/time that the resource was last modified.</li>

+    <li>Unless we are processing a HEAD request, include the appropriate

+        content (or content ranges) in the response.</li>

+    </ul>

+

+    <p>On each HTTP HEAD request processed by this servlet, the following

+    processing shall be performed:</p>

+    <ul>

+    <li>Processed identically to an HTTP GET request, except that the data

+        content is not transmitted after the headers.</li>

+    </ul>

+

+    <p>On each HTTP POST request processed by this servlet, the following

+    processing shall be performed:</p>

+    <ul>

+    <li>Processed identically to an HTTP GET request.</li>

+    </ul>

+

+

+    <p>On each HTTP PUT request processed by this servlet, the following

+    processing shall be performed:</p>

+    <ul>

+    <li>If modifications to the static resources are not allowed (set by a

+        configuration parameter), return HTTP status 403 (forbidden).</li>

+    <li>If an attempt is made to delete a resource from <code>/META-INF</code>

+        or <code>/WEB-INF</code>, return HTTP status 403 (forbidden).</li>

+    <li>Create a new resource from the body of this request.</li>

+    <li>Bind or rebind the specified path to the new resource (depending on

+        whether it currently exists or not).  Return HTTP status as follows:

+        <ul>

+        <li>If binding was unsuccessful, return HTTP status 409 (conflict).

+            </li>

+        <li>If binding was successful and the resource did not previously

+            exist, return HTTP status 201 (created).</li>

+        <li>If binding was successful and the resource previously existed,

+            return HTTP status 204 (no content).</li>

+        </ul></li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Finalization Functionality"><!--()--></a><a name="Finalization_Functionality"><strong>Finalization Functionality</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>No specific processing is required when the <code>destroy()</code>

+    method is called:</p>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Testable Assertions"><!--()--></a><a name="Testable_Assertions"><strong>Testable Assertions</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>In addition the the assertions implied by the functionality requirements

+  listed above, the following additional assertions shall be tested to

+  validate the behavior of the default servlet:</p>

+  <ul>

+  <li>Requests for resources that do not exist in the web application must

+      return HTTP status 404 (not found).</li>

+  <li>The default servlet must operate identically for web applications that

+      are run out of a WAR file directly, or from an unpacked directory

+      structure.</li>

+  <li>If the web application is running out of an unpacked directory

+      structure, the default servlet must recognize cases where the resource

+      has been updated through external means.</li>

+  </ul>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/funcspecs/fs-invoker.html b/tomcat-uid/webapps/docs/funcspecs/fs-invoker.html
new file mode 100644
index 0000000..9a6419b
--- /dev/null
+++ b/tomcat-uid/webapps/docs/funcspecs/fs-invoker.html
@@ -0,0 +1,225 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Catalina Functional Specifications (6.0.39) - Invoker Servlet</title><meta name="author" content="Craig McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      Catalina Functional Specifications

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Functional Specs</a></li></ul><p><strong>Administrative Apps</strong></p><ul><li><a href="fs-admin-apps.html">Overall Requirements</a></li><li><a href="mbean-names.html">Tomcat MBean Names</a></li><li><a href="fs-admin-objects.html">Administered Objects</a></li><li><a href="fs-admin-opers.html">Supported Operations</a></li></ul><p><strong>Internal Servlets</strong></p><ul><li><a href="fs-default.html">Default Servlet</a></li><li><a href="fs-invoker.html">Invoker Servlet</a></li></ul><p><strong>Realm Implementations</strong></p><ul><li><a href="fs-jdbc-realm.html">JDBC Realm</a></li><li><a href="fs-jndi-realm.html">JNDI Realm</a></li><li><a href="fs-memory-realm.html">Memory Realm</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Catalina Functional Specifications</h1><h2>Invoker Servlet</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Overview">Overview</a><ol><li><a href="#Introduction">Introduction</a></li><li><a href="#External_Specifications">External Specifications</a></li><li><a href="#Implementation_Requirements">Implementation Requirements</a></li></ol></li><li><a href="#Dependencies">Dependencies</a><ol><li><a href="#Environmental_Dependencies">Environmental Dependencies</a></li><li><a href="#Container_Dependencies">Container Dependencies</a></li></ol></li><li><a href="#Functionality">Functionality</a><ol><li><a href="#Initialization_Functionality">Initialization Functionality</a></li><li><a href="#Per-Request_Functionality">Per-Request Functionality</a></li><li><a href="#Finalization_Functionality">Finalization Functionality</a></li></ol></li><li><a href="#Testable_Assertions">Testable Assertions</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Overview"><strong>Overview</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The purpose of the <strong>Invoker Servlet</strong> is to allow a

+    web application to dynamically register new <em>servlet definitions</em>

+    that correspond with a <code>&lt;servlet&gt;</code> element in the

+    <code>/WEB-INF/web.xml</code> deployment descriptor, and execute

+    requests utilizing the new servlet definitions.  From the perspective

+    of the newly registered servlets, all servlet lifecycle requirements

+    of the Servlet Specification (such as calling <code>init()</code> and

+    <code>destroy()</code> at the correct times) will be respected.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="External Specifications"><!--()--></a><a name="External_Specifications"><strong>External Specifications</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>I do not know of any formal specification of the behavior of an

+    invoker servlet that is publicly available.  Anyone know of one?</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Implementation Requirements"><!--()--></a><a name="Implementation_Requirements"><strong>Implementation Requirements</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The implementation of this functionality shall conform to the

+    following requirements:</p>

+    <ul>

+    <li>Implemented as a servlet.</li>

+    <li>Exist in the <code>org.apache.catalina.servlets</code> package

+        so that it can be loaded by the Catalina class loader.</li>

+    <li>Implement the <code>org.apache.catalina.ContainerServlet</code>

+        interface, so that it gains knowledge of the <code>Wrapper</code>

+        that is responsible for itself and, therefore, access to other

+        internal Catalina components.</li>

+    <li>Support a configurable debugging detail level.</li>

+    <li>Log debugging and operational messages (suitably internationalized)

+        via the <code>getServletContext().log()</code> method.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Dependencies"><strong>Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Environmental Dependencies"><!--()--></a><a name="Environmental_Dependencies"><strong>Environmental Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The following environmental dependencies must be met in order for

+    the Invoker servlet to operate correctly:</p>

+    <ul>

+    <li>The invoker servlet must be registered in the application deployment

+        descriptor (or the default deployment descriptor in file

+        <code>$CATALINA_BASE/conf/web.xml</code>) using a "path mapped"

+        servlet mapping.  The historical default mapping is to URL pattern

+        "<code>/servlet/*</code>", although the invoker servlet must operate

+        correctly with an arbitrary mapping.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Container Dependencies"><!--()--></a><a name="Container_Dependencies"><strong>Container Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>Correct operation of the invoker servlet depends on the following

+    specific features of the surrounding container:</p>

+    <ul>

+    <li>Correct support for the <code>ContainerServlet</code> interface,

+        including calling <code>setWrapper()</code> <strong>before</strong>

+        the <code>init()</code> method of the invoker servlet is called.</li>

+    <li>The web application class loader must be stored as the context

+        class loader of the request processing thread.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Functionality"><strong>Functionality</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Initialization Functionality"><!--()--></a><a name="Initialization_Functionality"><strong>Initialization Functionality</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The following processing must be performed when the <code>init()</code>

+    method of the invoker servlet is called:</p>

+    <ul>

+    <li>Ensure that the container has called <code>setWrapper()</code>.  If

+        not, throw a permanent <code>UnavailableException</code>.</li>

+    <li>Look up and cache the <code>Context</code> that corresponds to our

+        <code>Wrapper</code>.  This is the component with which new servlet

+        definitions and mappings will be registered.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Per-Request Functionality"><!--()--></a><a name="Per-Request_Functionality"><strong>Per-Request Functionality</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>On each request, the following processing shall be performed:</p>

+    <ol>

+    <li>Calculate the <code>{ServletPath}</code> for this request, either from

+        request attribute <code>javax.servlet.include.servlet_path</code> or

+        by calling <code>request.getServletPath()</code>.</li>

+    <li>Calculate the <code>{PathInfo}</code> for this request, either from

+        request attribute <code>javax.servlet.include.path_info</code> or

+        by calling <code>request.getPathInfo()</code>.  If the calculated

+        <code>{PathInfo}</code> is null, return HTTP status 400

+        (bad request).</li>

+    <li>Parse the calculated <code>{PathInfo}</code> value as follows:

+        <ol>

+        <li>Ignore the leading slash character.</li>

+        <li>Accumulate characters up to the next '/' (if any) as the

+            <code>{ServletSelector}</code>.</li>

+        <li>If a '/' was encountered, accumulate all characters from that

+            slash (inclusive) to the end of the string as

+            <code>{PathRemainder}</code>.  If no slash was encountered,

+            set <code>{PathRemainder}</code> to a zero-length string.</li>

+        </ol></li>

+    <li>Determine whether <code>{ServletSelector}</code> is the name of an

+        existing servlet definition, and process it as follows:

+        <ol>

+        <li>Ask our associated <code>Context</code> to find and return a

+            child <code>Wrapper</code> named <code>{ServletSelector}</code>.

+            </li>

+        <li>If there is no such child, skip to the next major step.</li>

+        <li>Register a new servlet mapping for this <code>Wrapper</code>,

+            using a URL pattern calculated as follows:

+            <code>{ServletPath}</code> + "/" + <code>{ServletSelector}</code>

+            + "/*"</li>

+        <li>Create a request dispatcher using a path calculated as follows:

+            <code>{ServletPath}</code> + "/" + <code>{ServletSelector}</code>

+            + <code>{PathRemainder}</code></li>

+        <li>Forward this request to the created request dispatcher, and

+            exit from this request.</li>

+        </ol></li>

+    <li>Assume that <code>{ServletSelector}</code> is the fully qualified

+        name of a Java class that implements <code>javax.servlet.Servlet</code>

+        and process it as follows:

+        <ol>

+        <li>Synthesize a new <code>{ServletName}</code> for the servlet

+            definition that will be created.</li>

+        <li>If there is already a child <code>Wrapper</code> associated with

+            this name, return HTTP status 500 (internal server error), because

+            a mapping should have already been created for this servlet.</li>

+        <li>Attempt to load a class named <code>{ServletSelector}</code> from

+            the web application class loader (i.e. the context class loader

+            for our current thread).  If this fails, return HTTP status 404

+            (not found).</li>

+        <li>Instantiate an instance of this class.  If an error occurs,

+            return HTTP status 404 (not found).</li>

+        <li>If this class does not implement the

+            <code>javax.servlet.Servlet</code> interface, return HTTP status

+            404 (not found).</li>

+        <li>Create and register a new <code>Wrapper</code> child with our

+            <code>Context</code>, under name <code>{ServletName}</code>.</li>

+        <li>Register a new servlet mapping for this <code>Wrapper</code>,

+            using a URL pattern calculated as follows:

+            <code>{ServletPath}</code> + "/" + <code>{ServletSelector}</code>

+            + "/*"</li>

+        <li>Create a request dispatcher using a path calculated as follows:

+            <code>{ServletPath}</code> + "/" + <code>{ServletSelector}</code>

+            + <code>{PathRemainder}</code></li>

+        <li>Forward this request to the created request dispatcher, and

+            exit from this request.</li>

+        </ol></li>

+    </ol>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Finalization Functionality"><!--()--></a><a name="Finalization_Functionality"><strong>Finalization Functionality</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>No specific processing is required when the <code>destroy()</code>

+    method is called:</p>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Testable Assertions"><!--()--></a><a name="Testable_Assertions"><strong>Testable Assertions</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>In addition the the assertions implied by the functionality requirements

+  listed above, the following additional assertions shall be tested to

+  validate the behavior of the invoker servlet:</p>

+  <ul>

+  <li>It is possible to access an existing servlet definition by name

+      through the invoker.  The existing servlet definition can include

+      either a <code>&lt;servlet-class&gt;</code> or

+      <code>&lt;jsp-file&gt;</code> subelement.</li>

+  <li>When an existing servlet definition is accessed by name, the request

+      will be ultimately processed by the same servlet instance that would

+      have processed it had a mapping to that servlet definition been used

+      on the request directly.</li>

+  <li>It is possible to access an anonymous servlet by class name

+      through the invoker.</li>

+  <li>When an anonymous servlet is accessed, the servlet instance is processed

+      according to the lifecycle requirements of the Servlet Specification.

+      </li>

+  <li>When an anonymous servlet is accessed, the servlet instance receives

+      a <code>ServletConfig</code> instance with no servlet initialization

+      parameters.</li>

+  <li>It is possible to utilize the invoker servlet via a direct request.</li>

+  <li>It is possible to utilize the invoker servlet via a call to

+      <code>RequestDispatcher.forward()</code>, or the corresponding

+      <code>&lt;jsp:forward&gt;</code> tag in a JSP page.</li>

+  <li>It is possible to utilize the invoker servlet via a call to

+      <code>RequestDispatcher.include()</code>, or the corresponding

+      <code>&lt;jsp:include&gt;</code> tag in a JSP page.</li>

+  <li>It is possible to use any HTTP method (including GET and POST) that

+      is supported by the Servlet class that is ultimately executed.</li>

+  <li>The invoker servlet should never be asked to process a second or

+      subsequent request for the same <code>{ServletSelector}</code> (because

+      it will have registered an appropriate servlet mapping.</li>

+  </ul>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/funcspecs/fs-jdbc-realm.html b/tomcat-uid/webapps/docs/funcspecs/fs-jdbc-realm.html
new file mode 100644
index 0000000..b2c4844
--- /dev/null
+++ b/tomcat-uid/webapps/docs/funcspecs/fs-jdbc-realm.html
@@ -0,0 +1,226 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Catalina Functional Specifications (6.0.39) - JDBCRealm</title><meta name="author" content="Craig McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      Catalina Functional Specifications

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Functional Specs</a></li></ul><p><strong>Administrative Apps</strong></p><ul><li><a href="fs-admin-apps.html">Overall Requirements</a></li><li><a href="mbean-names.html">Tomcat MBean Names</a></li><li><a href="fs-admin-objects.html">Administered Objects</a></li><li><a href="fs-admin-opers.html">Supported Operations</a></li></ul><p><strong>Internal Servlets</strong></p><ul><li><a href="fs-default.html">Default Servlet</a></li><li><a href="fs-invoker.html">Invoker Servlet</a></li></ul><p><strong>Realm Implementations</strong></p><ul><li><a href="fs-jdbc-realm.html">JDBC Realm</a></li><li><a href="fs-jndi-realm.html">JNDI Realm</a></li><li><a href="fs-memory-realm.html">Memory Realm</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Catalina Functional Specifications</h1><h2>JDBCRealm</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Overview">Overview</a><ol><li><a href="#Introduction">Introduction</a></li><li><a href="#External_Specifications">External Specifications</a></li><li><a href="#Implementation_Requirements">Implementation Requirements</a></li></ol></li><li><a href="#Dependencies">Dependencies</a><ol><li><a href="#Environmental_Dependencies">Environmental Dependencies</a></li><li><a href="#Container_Dependencies">Container Dependencies</a></li></ol></li><li><a href="#Functionality">Functionality</a><ol><li><a href="#Overview_of_Operation">Overview of Operation</a></li><li><a href="#Detailed_Functional_Requirements">Detailed Functional Requirements</a></li></ol></li><li><a href="#Testable_Assertions">Testable Assertions</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Overview"><strong>Overview</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The purpose of the <strong>JDBCRealm</strong> implementation is to

+    provide a mechanism by which Tomcat 6 can acquire information needed

+    to authenticate web application users, and define their security roles,

+    from a relational database accessed via JDBC APIs.  For integration

+    with Catalina, the resulting class(es) must implement the

+    <code>org.apache.catalina.Realm</code> interface.</p>

+

+    <p>This specification reflects a combination of functionality that is

+    already present in the <code>org.apache.catalina.realm.JDBCRealm</code>

+    class, as well as requirements for enhancements that have been

+    discussed.  Where appropriate, requirements statements are marked

+    <em>[Current]</em> and <em>[Requested]</em> to distinguish them.</p>

+

+    <p>The current status of this functional specification is

+    <strong>PROPOSED</strong>.  It has not yet been discussed and

+    agreed to on the TOMCAT-DEV mailing list.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="External Specifications"><!--()--></a><a name="External_Specifications"><strong>External Specifications</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The implementation of this functionality depends on the following

+    external specifications:</p>

+    <ul>

+    <li><a href="http://java.sun.com/products/jdbc/">Java Database

+        Connectivity</a> (version 2.0 or later)</li>

+    <li><a href="http://java.sun.com/products/jdbc/">Java Database

+        Connectivity Optional Package</a> (version 2.0 or later)</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Implementation Requirements"><!--()--></a><a name="Implementation_Requirements"><strong>Implementation Requirements</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The implementation of this functionality shall conform to the

+    following requirements:</p>

+    <ul>

+    <li>Be realized in one or more implementation classes.</li>

+    <li>Implement the <code>org.apache.catalina.Realm</code> interface.

+        [Current]</li>

+    <li>Implement the <code>org.apache.catalina.Lifecycle</code>

+        interface.  [Current]</li>

+    <li>Subclass the <code>org.apache.catalina.realm.RealmBase</code>

+        base class.</li>

+    <li>Live in the <code>org.apache.catalina.realm</code> package.

+        [Current]</li>

+    <li>Support a configurable debugging detail level. [Current]</li>

+    <li>Log debugging and operational messages (suitably internationalized)

+        via the <code>getContainer().log()</code> method. [Current]</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Dependencies"><strong>Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Environmental Dependencies"><!--()--></a><a name="Environmental_Dependencies"><strong>Environmental Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The following environmental dependencies must be met in order for

+    JDBCRealm to operate correctly:</p>

+    <ul>

+    <li>The desire to utilize JDBCRealm must be registered in

+        <code>$CATALINA_BASE/conf/server.xml</code>, in a

+        <code>&lt;Realm&gt;</code> element that is nested inside a

+        corresponding <code>&lt;Engine&gt;</code>, <code>&lt;Host&gt;</code>,

+        or <code>&lt;Context&gt;</code> element.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Container Dependencies"><!--()--></a><a name="Container_Dependencies"><strong>Container Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>Correct operation of JDBCRealm depends on the following

+    specific features of the surrounding container:</p>

+    <ul>

+    <li>Interactions with <code>JDBCRealm</code> will be initiated by

+        the appropriate <code>Authenticator</code> implementation, based

+        on the login method that is selected.</li>

+    <li><code>JDBCRealm</code> must have the JDBC standard API classes

+        available to it.  For a JDK 1.2 or later container, these APIs

+        are included in the standard platform.</li>

+    <li>When connection pooling is implemented, <code>JDBCRealm</code>

+        must have the JDBC Optional Package (version 2.0 or later) APIs

+        available to it.  This library is available as a separate

+        download (and will be included in Tomcat binary distributions).</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Functionality"><strong>Functionality</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Overview of Operation"><!--()--></a><a name="Overview_of_Operation"><strong>Overview of Operation</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The main purpose of <code>JDBCRealm</code> is to allow Catalina to

+    authenticate users, and look up the corresponding security roles, from

+    the information found in a relational database accessed via JDBC APIs.

+    For maximum flexibility, the details of how this is done (for example,

+    the names of the required tables and columns) should be configurable.</p>

+

+    <p>Each time that Catalina needs to authenticate a user, it will call

+    the <code>authenticate()</code> method of this Realm implementation,

+    passing the username and password that were specified by the user.  If

+    we find the user in the database (and match on the password), we accumulate

+    all of the security roles that are defined for this user, and create a

+    new <code>GenericPrincipal</code> object to be returned.  If the user

+    is not authenticated, we return <code>null</code> instead.  The

+    <code>GenericUser</code> object caches the set of security roles that

+    were owned by this user at the time of authentication, so that calls to

+    <code>isUserInRole()</code> can be answered without going back to the

+    database every time.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Detailed Functional Requirements"><!--()--></a><a name="Detailed_Functional_Requirements"><strong>Detailed Functional Requirements</strong></a></font></td></tr><tr><td><blockquote>

+

+

+    <h3>Configurable Properties</h3>

+

+    <p>The implementation shall support the following properties

+    that can be configured with JavaBeans property setters:</p>

+    <ul>

+    <li>Configuration parameters defining the JDBC driver to use, the

+        database connection URL to be accessed, and the username/password

+        to use for logging in. [Current]</li>

+    <li>Configuration parameters describing the connection pool to be

+        created to support simultaneous authentications. [Requested]</li>

+    <li>Name of the tables to be searched for users and roles. [Current]</li>

+    <li>Name of the columns to be used for usernames, passwords, and

+        role names.  [Current]</li>

+    </ul>

+

+    <h3>Lifecycle Functionality</h3>

+

+    <p>The following processing must be performed when the <code>start()</code>

+    method is called:</p>

+    <ul>

+    <li>Establish a connection to the configured database, using the

+        configured username and password.  [Current]</li>

+    <li>Configure and establish a connection pool of connections to the

+        database.  [Requested]</li>

+    </ul>

+

+    <p>The following processing must be performed when the <code>stop()</code>

+    method is called:</p>

+    <ul>

+    <li>Close any opened connections to the database.</li>

+    </ul>

+

+

+    <h3>Method authenticate() Functionality</h3>

+

+    <p>When <code>authenticate()</code> is called, the following processing

+    is required:</p>

+    <ul>

+    <li>Acquire the one and only connection [Current] or acquire a connection

+        from the connection pool [Requested].</li>

+    <li>Select the one and only row from the user's table for this user,

+        and retrieve the corresponding password column.  If zero rows (or

+        more than one row) are found, return <code>null</code>.</li>

+    <li>Authenticate the user by comparing the (possibly encrypted) password

+        value that was received against the password presented by the user.

+        If there is no match, return <code>null</code>.</li>

+    <li>Acquire a <code>List</code> of the security roles assigned to the

+        authenticated user by selecting from the roles table.</li>

+    <li>Construct a new instance of class

+        <code>org.apache.catalina.realm.GenericPrincipal</code>, passing as

+        constructor arguments:  this realm instance, the authenticated

+        username, and a <code>List</code> of the security roles associated

+        with this user.</li>

+    <li><strong>WARNING</strong> - Do not attempt to cache and reuse previous

+        <code>GenericPrincipal</code> objects for a particular user, because

+        the information in the directory server might have changed since the

+        last time this user was authenticated.</li>

+    <li>Return the newly constructed <code>GenericPrincipal</code>.</li>

+    </ul>

+

+

+    <h3>Method hasRole() Functionality</h3>

+

+    <p>When <code>hasRole()</code> is called, the following processing

+    is required:</p>

+    <ul>

+    <li>The <code>principal</code> that is passed as an argument SHOULD

+        be one that we returned (instanceof class

+        <code>org.apache.catalina.realm.GenericPrincipal</code>, with a

+        <code>realm</code> property that is equal to our instance.</li>

+    <li>If the passed <code>principal</code> meets these criteria, check

+        the specified role against the list returned by

+        <code>getRoles()</code>, and return <code>true</code> if the

+        specified role is included; otherwise, return <code>false</code>.</li>

+    <li>If the passed <code>principal</code> does not meet these criteria,

+        return <code>false</code>.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Testable Assertions"><!--()--></a><a name="Testable_Assertions"><strong>Testable Assertions</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>In addition the the assertions implied by the functionality requirements

+  listed above, the following additional assertions shall be tested to

+  validate the behavior of <code>JDBCRealm</code>:</p>

+  <ul>

+  </ul>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/funcspecs/fs-jndi-realm.html b/tomcat-uid/webapps/docs/funcspecs/fs-jndi-realm.html
new file mode 100644
index 0000000..517f8b8
--- /dev/null
+++ b/tomcat-uid/webapps/docs/funcspecs/fs-jndi-realm.html
@@ -0,0 +1,377 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Catalina Functional Specifications (6.0.39) - JNDIRealm</title><meta name="author" content="Craig McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      Catalina Functional Specifications

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Functional Specs</a></li></ul><p><strong>Administrative Apps</strong></p><ul><li><a href="fs-admin-apps.html">Overall Requirements</a></li><li><a href="mbean-names.html">Tomcat MBean Names</a></li><li><a href="fs-admin-objects.html">Administered Objects</a></li><li><a href="fs-admin-opers.html">Supported Operations</a></li></ul><p><strong>Internal Servlets</strong></p><ul><li><a href="fs-default.html">Default Servlet</a></li><li><a href="fs-invoker.html">Invoker Servlet</a></li></ul><p><strong>Realm Implementations</strong></p><ul><li><a href="fs-jdbc-realm.html">JDBC Realm</a></li><li><a href="fs-jndi-realm.html">JNDI Realm</a></li><li><a href="fs-memory-realm.html">Memory Realm</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Catalina Functional Specifications</h1><h2>JNDIRealm</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Overview">Overview</a><ol><li><a href="#Introduction">Introduction</a></li><li><a href="#External_Specifications">External Specifications</a></li><li><a href="#Implementation_Requirements">Implementation Requirements</a></li></ol></li><li><a href="#Dependencies">Dependencies</a><ol><li><a href="#Environmental_Dependencies">Environmental Dependencies</a></li><li><a href="#Container_Dependencies">Container Dependencies</a></li></ol></li><li><a href="#Functionality">Functionality</a><ol><li><a href="#Operational_Modes">Operational Modes</a></li><li><a href="#Administrator_Login_Mode_Functionality">Administrator Login Mode Functionality</a></li><li><a href="#Username_Login_Mode_Functionality">Username Login Mode Functionality</a></li></ol></li><li><a href="#Testable_Assertions">Testable Assertions</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Overview"><strong>Overview</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The purpose of the <strong>JNDIRealm</strong> implementation is to

+    provide a mechanism by which Tomcat 6 can acquire information needed

+    to authenticate web application users, and define their security roles,

+    from a directory server or other service accessed via JNDI APIs.  For

+    integration with Catalina, this class must implement the

+    <code>org.apache.catalina.Realm</code> interface.</p>

+

+    <p>This specification reflects a combination of functionality that is

+    already present in the <code>org.apache.catalina.realm.JNDIRealm</code>

+    class, as well as requirements for enhancements that have been

+    discussed.  Where appropriate, requirements statements are marked

+    <em>[Current]</em> and <em>[Requested]</em> to distinguish them.</p>

+

+    <p>The current status of this functional specification is

+    <strong>PROPOSED</strong>.  It has not yet been discussed and

+    agreed to on the TOMCAT-DEV mailing list.</p>

+

+    <p>The code in the current version of <code>JNDIRealm</code>, and the

+    ideas expressed in this functional specification, are the results of

+    contributions from many individuals, including (alphabetically):</p>

+    <ul>

+    <li>Holman, John &lt;j.g.holman@qmw.ac.uk&gt;</li>

+    <li>Lockhart, Ellen &lt;elockhart@home.com&gt;</li>

+    <li>McClanahan, Craig &lt;craigmcc@apache.org&gt;</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="External Specifications"><!--()--></a><a name="External_Specifications"><strong>External Specifications</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The implementation of this functionality depends on the following

+    external specifications:</p>

+    <ul>

+    <li><a href="http://java.sun.com/products/jndi/">Java Naming and

+        Directory Interface</a> (version 1.2.1 or later)</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Implementation Requirements"><!--()--></a><a name="Implementation_Requirements"><strong>Implementation Requirements</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The implementation of this functionality shall conform to the

+    following requirements:</p>

+    <ul>

+    <li>Be realized in one or more implementation classes.</li>

+    <li>Implement the <code>org.apache.catalina.Realm</code> interface.

+        [Current]</li>

+    <li>Implement the <code>org.apache.catalina.Lifecycle</code>

+        interface.  [Current]</li>

+    <li>Subclass the <code>org.apache.catalina.realm.RealmBase</code>

+        base class.</li>

+    <li>Live in the <code>org.apache.catalina.realm</code> package.

+        [Current]</li>

+    <li>Support a configurable debugging detail level. [Current]</li>

+    <li>Log debugging and operational messages (suitably internationalized)

+        via the <code>getContainer().log()</code> method. [Current]</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Dependencies"><strong>Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Environmental Dependencies"><!--()--></a><a name="Environmental_Dependencies"><strong>Environmental Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The following environmental dependencies must be met in order for

+    JNDIRealm to operate correctly:</p>

+    <ul>

+    <li>The desire to utilize JNDIRealm must be registered in

+        <code>$CATALINA_BASE/conf/server.xml</code>, in a

+        <code>&lt;Realm&gt;</code> element that is nested inside a

+        corresponding <code>&lt;Engine&gt;</code>, <code>&lt;Host&gt;</code>,

+        or <code>&lt;Context&gt;</code> element.</li>

+    <li>If the <em>Administrator Login</em> operational mode is selected,

+        the configured administrator username and password must be configured

+        in the corresponding directory server.</li>

+    <li>If the <em>Username Login</em> operational mode is selected,

+        the corresponding directory server must be configured to accept

+        logins with the username and password that will be passed to

+        <code>JNDIRealm</code> by the appropriate <code>Authenticator</code>.

+        </li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Container Dependencies"><!--()--></a><a name="Container_Dependencies"><strong>Container Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>Correct operation of JNDIRealm depends on the following

+    specific features of the surrounding container:</p>

+    <ul>

+    <li>Interactions with <code>JNDIRealm</code> will be initiated by

+        the appropriate <code>Authenticator</code> implementation, based

+        on the login method that is selected.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Functionality"><strong>Functionality</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Operational Modes"><!--()--></a><a name="Operational_Modes"><strong>Operational Modes</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The completed <code>JNDIRealm</code> must support two major operational

+    modes in order to support all of the required use cases.  For the purposes

+    of this document, the modes are called <em>administrator login</em> and

+    <em>Username Login</em>.  They are described further in the following

+    paragraphs.</p>

+

+    <p>For <em>Administrator Login</em> mode, <code>JNDIRealm</code> will be

+    configured to establish one or more connections (using a connection pool)

+    to an appropriate directory server, using JNDI APIs, under a "system

+    administrator" username and password.  This is similar to the approach

+    normally used to configure <code>JDBCRealm</code> to access authentication

+    and access control information in a database.  It is assumed that the

+    system administrator username and password that are configured provide

+    sufficient privileges within the directory server to read (but not modify)

+    the username, password, and assigned roles for each valid user of the

+    web application associated with this <code>Realm</code>.  The password

+    can be stored in cleartext, or in one of the digested modes supported by

+    the <code>org.apache.catalina.realm.RealmBase</code> base class.</p>

+

+    <p>For <em>Username Login</em> mode, <code>JNDIRealm</code> does not

+    normally remain connected to the directory server.  Instead, whenever a

+    user is to be authenticated, a connection to the directory server

+    (using the username and password received from the authenticator) is

+    attempted.  If this connection is successful, the user is assumed to be

+    successfully authenticated.  This connection is then utilized to read

+    the corresponding security roles associated with this user, and the

+    connection is then broken.</p>

+

+    <p><strong>NOTE</strong> - <em>Username Login</em> mode cannot be used

+    if you have selected login method <code>DIGEST</code> in your web

+    application deployment descriptor (<code>web.xml</code>) file.  This

+    restriction exists because the cleartext password is never available

+    to the container, so it is not possible to bind to the directory server

+    using the user's username and password.</p>

+

+    <p>Because these operational modes work so differently, the functionality

+    for each mode will be described separately.  Whether or not both modes

+    are actually supported by a single class (versus a class per mode) is

+    an implementation detail left to the designer.</p>

+

+    <p><strong>NOTE</strong> - The current implementation only implements

+    part of the <em>Administrator Lookup</em> mode requirements.  It does

+    not support the <em>Username Lookup</em> mode at all, at this point.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Administrator Login Mode Functionality"><!--()--></a><a name="Administrator_Login_Mode_Functionality"><strong>Administrator Login Mode Functionality</strong></a></font></td></tr><tr><td><blockquote>

+

+

+    <h3>Configurable Properties</h3>

+

+    <p>The implementation shall support the following properties

+    that can be configured with JavaBeans property setters:</p>

+    <ul>

+    <li><code>connectionURL</code> - URL of the directory server we will

+        be contacting.</li>

+    <li><code>contextFactory</code> - Fully qualified class name of the JNDI

+        context factory used to retrieve our InitialContext.

+        [com.sun.jndi.ldap.LdapCtxFactory]</li>

+    <li>Additional configuration properties required to establish the

+        appropriate connection.  [Requested]</li>

+    <li>Connection pool configuration properties.  [Requested]</li>

+    <li>Configuration properties defining how a particular user is

+        authenticated.  The following capabilities should be supported:

+        <ul>

+        <li>Substitute the specified username into a string.  [Requested]</li>

+        <li>Retrieve the distinguished name (DN) of an authorized user via an

+            LDAP search string with a replacement placeholder for the

+            username, and comparison of the password to a configurable

+            attribute retrieved from the search result.  [Current]</li>

+        </ul></li>

+    <li>Configuration properties defining how the roles associated with a

+        particular authenticated user can be retrieved.  The following

+        approaches should be supported:

+        <ul>

+        <li>Retrieve a specified attribute (possibly multi-valued)

+            from an LDAP search expression,

+            with a replacement placeholder for the DN of the user.

+            [Current]</li>

+        <li>Retrieve a set of role names that are defined implicitly (by

+            selecting principals that match a search pattern) rather than

+            explicitly (by finding a particular attribute value).

+            [Requested]</li>

+        </ul></li>

+    </ul>

+

+    <h3>Lifecycle Functionality</h3>

+

+    <p>The following processing must be performed when the <code>start()</code>

+    method is called:</p>

+    <ul>

+    <li>Establish a connection to the configured directory server, using the

+        configured system administrator username and password.  [Current]</li>

+    <li>Configure and establish a connection pool of connections to the

+        directory server.  [Requested]</li>

+    </ul>

+

+    <p>The following processing must be performed when the <code>stop()</code>

+    method is called:</p>

+    <ul>

+    <li>Close any opened connections to the directory server.</li>

+    </ul>

+

+

+    <h3>Method authenticate() Functionality</h3>

+

+    <p>When <code>authenticate()</code> is called, the following processing

+    is required:</p>

+    <ul>

+    <li>Acquire the one and only connection [Current] or acquire a connection

+        from the connection pool [Requested].</li>

+    <li>Authenticate the user by retrieving the user's Distinguished Name,

+        based on the specified username and password.</li>

+    <li>If the user was not authenticated, release the allocated connection

+        and return <code>null</code>.</li>

+    <li>Acquire a <code>List</code> of the security roles assigned to the

+        authenticated user.</li>

+    <li>Construct a new instance of class

+        <code>org.apache.catalina.realm.GenericPrincipal</code>, passing as

+        constructor arguments:  this realm instance, the authenticated

+        username, and a <code>List</code> of the security roles associated

+        with this user.</li>

+    <li><strong>WARNING</strong> - Do not attempt to cache and reuse previous

+        <code>GenericPrincipal</code> objects for a particular user, because

+        the information in the directory server might have changed since the

+        last time this user was authenticated.</li>

+    <li>Return the newly constructed <code>GenericPrincipal</code>.</li>

+    </ul>

+

+

+    <h3>Method hasRole() Functionality</h3>

+

+    <p>When <code>hasRole()</code> is called, the following processing

+    is required:</p>

+    <ul>

+    <li>The <code>principal</code> that is passed as an argument SHOULD

+        be one that we returned (instanceof class

+        <code>org.apache.catalina.realm.GenericPrincipal</code>, with a

+        <code>realm</code> property that is equal to our instance.</li>

+    <li>If the passed <code>principal</code> meets these criteria, check

+        the specified role against the list returned by

+        <code>getRoles()</code>, and return <code>true</code> if the

+        specified role is included; otherwise, return <code>false</code>.</li>

+    <li>If the passed <code>principal</code> does not meet these criteria,

+        return <code>false</code>.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Username Login Mode Functionality"><!--()--></a><a name="Username_Login_Mode_Functionality"><strong>Username Login Mode Functionality</strong></a></font></td></tr><tr><td><blockquote>

+

+    <h3>Configurable Properties</h3>

+

+    <p>The implementation shall support the following properties

+    that can be configured with JavaBeans property setters:</p>

+    <ul>

+    <li><code>connectionURL</code> - URL of the directory server we will

+        be contacting.</li>

+    <li><code>contextFactory</code> - Fully qualified class name of the JNDI

+        context factory used to retrieve our InitialContext.

+        [com.sun.jndi.ldap.LdapCtxFactory]</li>

+    <li>Additional configuration properties required to establish the

+        appropriate connection.  [Requested]</li>

+    <li>Connection pool configuration properties.  [Requested]</li>

+    <li>Configuration properties defining if and how a user might be looked

+        up before binding to the directory server.  The following approaches

+        should be supported:

+        <ul>

+        <li>No previous lookup is required - username specified by the user

+            is the same as that used to authenticate to the directory

+            server.</li>

+        <li>Substitute the specified username into a string.</li>

+        <li>Search the directory server based on configured criteria to

+            retrieve the distinguished name of the user, then attempt to

+            bind with that distinguished name.</li>

+        </ul></li>

+    <li>Configuration properties defining how the roles associated with a

+        particular authenticated user can be retrieved.  The following

+        approaches should be supported:

+        <ul>

+        <li>Retrieve a specified attribute (possibly multi-valued)

+            from an LDAP search expression,

+            with a replacement placeholder for the DN of the user.

+            [Current]</li>

+        </ul></li>

+    </ul>

+

+    <h3>Lifecycle Functionality</h3>

+

+    <p>The following processing must be performed when the <code>start()</code>

+    method is called:</p>

+    <ul>

+    <li>None required.</li>

+    </ul>

+

+    <p>The following processing must be performed when the <code>stop()</code>

+    method is called:</p>

+    <ul>

+    <li>None required.</li>

+    </ul>

+

+

+    <h3>Method authenticate() Functionality</h3>

+

+    <p>When <code>authenticate()</code> is called, the following processing

+    is required:</p>

+    <ul>

+    <li>Attempt to bind to the directory server, using the username and

+        password provided by the user.</li>

+    <li>If the user was not authenticated, release the allocated connection

+        and return <code>null</code>.</li>

+    <li>Acquire a <code>List</code> of the security roles assigned to the

+        authenticated user.</li>

+    <li>Construct a new instance of class

+        <code>org.apache.catalina.realm.GenericPrincipal</code>, passing as

+        constructor arguments:  this realm instance, the authenticated

+        username, and a <code>List</code> of the security roles associated

+        with this user.</li>

+    <li><strong>WARNING</strong> - Do not attempt to cache and reuse previous

+        <code>GenericPrincipal</code> objects for a particular user, because

+        the information in the directory server might have changed since the

+        last time this user was authenticated.</li>

+    <li>Return the newly constructed <code>GenericPrincipal</code>.</li>

+    </ul>

+

+

+    <h3>Method hasRole() Functionality</h3>

+

+    <p>When <code>hasRole()</code> is called, the following processing

+    is required:</p>

+    <ul>

+    <li>The <code>principal</code> that is passed as an argument SHOULD

+        be one that we returned (instanceof class

+        <code>org.apache.catalina.realm.GenericPrincipal</code>, with a

+        <code>realm</code> property that is equal to our instance.</li>

+    <li>If the passed <code>principal</code> meets these criteria, check

+        the specified role against the list returned by

+        <code>getRoles()</code>, and return <code>true</code> if the

+        specified role is included; otherwise, return <code>false</code>.</li>

+    <li>If the passed <code>principal</code> does not meet these criteria,

+        return <code>false</code>.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Testable Assertions"><!--()--></a><a name="Testable_Assertions"><strong>Testable Assertions</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>In addition the the assertions implied by the functionality requirements

+  listed above, the following additional assertions shall be tested to

+  validate the behavior of <code>JNDIRealm</code>:</p>

+  <ul>

+  </ul>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/funcspecs/fs-memory-realm.html b/tomcat-uid/webapps/docs/funcspecs/fs-memory-realm.html
new file mode 100644
index 0000000..2389b6b
--- /dev/null
+++ b/tomcat-uid/webapps/docs/funcspecs/fs-memory-realm.html
@@ -0,0 +1,213 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Catalina Functional Specifications (6.0.39) - MemoryRealm</title><meta name="author" content="Craig McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      Catalina Functional Specifications

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Functional Specs</a></li></ul><p><strong>Administrative Apps</strong></p><ul><li><a href="fs-admin-apps.html">Overall Requirements</a></li><li><a href="mbean-names.html">Tomcat MBean Names</a></li><li><a href="fs-admin-objects.html">Administered Objects</a></li><li><a href="fs-admin-opers.html">Supported Operations</a></li></ul><p><strong>Internal Servlets</strong></p><ul><li><a href="fs-default.html">Default Servlet</a></li><li><a href="fs-invoker.html">Invoker Servlet</a></li></ul><p><strong>Realm Implementations</strong></p><ul><li><a href="fs-jdbc-realm.html">JDBC Realm</a></li><li><a href="fs-jndi-realm.html">JNDI Realm</a></li><li><a href="fs-memory-realm.html">Memory Realm</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Catalina Functional Specifications</h1><h2>MemoryRealm</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Overview">Overview</a><ol><li><a href="#Introduction">Introduction</a></li><li><a href="#External_Specifications">External Specifications</a></li><li><a href="#Implementation_Requirements">Implementation Requirements</a></li></ol></li><li><a href="#Dependencies">Dependencies</a><ol><li><a href="#Environmental_Dependencies">Environmental Dependencies</a></li><li><a href="#Container_Dependencies">Container Dependencies</a></li></ol></li><li><a href="#Functionality">Functionality</a><ol><li><a href="#Overview_of_Operation">Overview of Operation</a></li><li><a href="#Detailed_Functional_Requirements">Detailed Functional Requirements</a></li></ol></li><li><a href="#Testable_Assertions">Testable Assertions</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Overview"><strong>Overview</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The purpose of the <strong>MemoryRealm</strong> implementation is to

+    provide a mechanism by which Tomcat 6 can acquire information needed

+    to authenticate web application users, and define their security roles,

+    from a simple text-based configuration file in XML format.  This is

+    intended to simplify the initial installation and operation of Tomcat 6,

+    without the complexity of configuring a database or directory server

+    based Realm.  It is not intended for production use.</p>

+

+    <p>This specification reflects a combination of functionality that is

+    already present in the <code>org.apache.catalina.realm.MemoryRealm</code>

+    class, as well as requirements for enhancements that have been

+    discussed.  Where appropriate, requirements statements are marked

+    <em>[Current]</em> and <em>[Requested]</em> to distinguish them.</p>

+

+    <p>The current status of this functional specification is

+    <strong>PROPOSED</strong>.  It has not yet been discussed and

+    agreed to on the TOMCAT-DEV mailing list.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="External Specifications"><!--()--></a><a name="External_Specifications"><strong>External Specifications</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The implementation of this functionality depends on the following

+    external specifications:</p>

+    <ul>

+    <li>None</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Implementation Requirements"><!--()--></a><a name="Implementation_Requirements"><strong>Implementation Requirements</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The implementation of this functionality shall conform to the

+    following requirements:</p>

+    <ul>

+    <li>Be realized in one or more implementation classes.</li>

+    <li>Implement the <code>org.apache.catalina.Realm</code> interface.

+        [Current]</li>

+    <li>Implement the <code>org.apache.catalina.Lifecycle</code>

+        interface.  [Current]</li>

+    <li>Subclass the <code>org.apache.catalina.realm.RealmBase</code>

+        base class.</li>

+    <li>Live in the <code>org.apache.catalina.realm</code> package.

+        [Current]</li>

+    <li>Support a configurable debugging detail level. [Current]</li>

+    <li>Log debugging and operational messages (suitably internationalized)

+        via the <code>getContainer().log()</code> method. [Current]</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Dependencies"><strong>Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Environmental Dependencies"><!--()--></a><a name="Environmental_Dependencies"><strong>Environmental Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The following environmental dependencies must be met in order for

+    MemoryRealm to operate correctly:</p>

+    <ul>

+    <li>The desire to utilize MemoryRealm must be registered in

+        <code>$CATALINA_BASE/conf/server.xml</code>, in a

+        <code>&lt;Realm&gt;</code> element that is nested inside a

+        corresponding <code>&lt;Engine&gt;</code>, <code>&lt;Host&gt;</code>,

+        or <code>&lt;Context&gt;</code> element.  (This is already

+        included in the default <code>server.xml</code> file.)</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Container Dependencies"><!--()--></a><a name="Container_Dependencies"><strong>Container Dependencies</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>Correct operation of MemoryRealm depends on the following

+    specific features of the surrounding container:</p>

+    <ul>

+    <li>Interactions with <code>MemoryRealm</code> will be initiated by

+        the appropriate <code>Authenticator</code> implementation, based

+        on the login method that is selected.</li>

+    <li><code>MemoryRealm</code> must have an XML parser compatible with

+        the JAXP/1.1 APIs available to it.  This is normally accomplished

+        by placing the corresponding JAR files in directory

+        <code>$CATALINA_HOME/lib</code>.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Functionality"><strong>Functionality</strong></a></font></td></tr><tr><td><blockquote>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Overview of Operation"><!--()--></a><a name="Overview_of_Operation"><strong>Overview of Operation</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>The main purpose of <code>MemoryRealm</code> is to allow Catalina to

+    authenticate users, and look up the corresponding security roles, from

+    the information found in an XML-format configuration file.  The format

+    of this file is described below.  When a <code>MemoryRealm</code>

+    instance is started, it will read the contents of this XML file and create

+    an "in memory database" of all the valid users and their associated

+    security roles.</p>

+

+    <p>Each time that Catalina needs to authenticate a user, it will call

+    the <code>authenticate()</code> method of this Realm implementation,

+    passing the username and password that were specified by the user.  If

+    we find the user in the database (and match on the password), we accumulate

+    all of the security roles that are defined for this user, and create a

+    new <code>GenericPrincipal</code> object to be returned.  If the user

+    is not authenticated, we return <code>null</code> instead.  The

+    <code>GenericUser</code> object caches the set of security roles that

+    were owned by this user at the time of authentication, so that calls to

+    <code>isUserInRole()</code> can be answered without going back to the

+    database every time.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Detailed Functional Requirements"><!--()--></a><a name="Detailed_Functional_Requirements"><strong>Detailed Functional Requirements</strong></a></font></td></tr><tr><td><blockquote>

+

+

+    <h3>Configurable Properties</h3>

+

+    <p>The implementation shall support the following properties

+    that can be configured with JavaBeans property setters:</p>

+    <ul>

+    <li>Configurable debugging detail level.</li>

+    <li>Configurable file pathname (absolute or relative to

+        <code>$CATALINA_BASE</code> of the XML file containing our

+        defined users.  [<code>conf/tomcat-users.xml</code>].</li>

+    </ul>

+

+    <h3>Lifecycle Functionality</h3>

+

+    <p>The following processing must be performed when the <code>start()</code>

+    method is called:</p>

+    <ul>

+    <li>Open and parse the specified XML file.</li>

+    <li>Create an in-memory database representation of the XML file

+        contents.</li>

+    <li><strong>NOTE</strong> - There is no requirement to recognize

+        subsequent changes to the contents of the XML file.</li>

+    </ul>

+

+    <p>The following processing must be performed when the <code>stop()</code>

+    method is called:</p>

+    <ul>

+    <li>Release object references to the in-memory database representation.</li>

+    </ul>

+

+

+    <h3>Method authenticate() Functionality</h3>

+

+    <p>When <code>authenticate()</code> is called, the following processing

+    is required:</p>

+    <ul>

+    <li>Select the one and only "user" instance from the in-memory database,

+        based on matching the specified username.  If there is no such

+        instance, return <code>null</code>.</li>

+    <li>Authenticate the user by comparing the (possibly encrypted) password

+        value that was received against the password presented by the user.

+        If there is no match, return <code>null</code>.</li>

+    <li>Construct a new instance of class

+        <code>org.apache.catalina.realm.GenericPrincipal</code> (if not

+        already using this as the internal database representation) that

+        contains the authenticated username and a <code>List</code> of the

+        security roles associated with this user.</li>

+    <li>Return the newly constructed <code>GenericPrincipal</code>.</li>

+    </ul>

+

+

+    <h3>Method hasRole() Functionality</h3>

+

+    <p>When <code>hasRole()</code> is called, the following processing

+    is required:</p>

+    <ul>

+    <li>The <code>principal</code> that is passed as an argument SHOULD

+        be one that we returned (instanceof class

+        <code>org.apache.catalina.realm.GenericPrincipal</code>, with a

+        <code>realm</code> property that is equal to our instance.</li>

+    <li>If the passed <code>principal</code> meets these criteria, check

+        the specified role against the list returned by

+        <code>getRoles()</code>, and return <code>true</code> if the

+        specified role is included; otherwise, return <code>false</code>.</li>

+    <li>If the passed <code>principal</code> does not meet these criteria,

+        return <code>false</code>.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Testable Assertions"><!--()--></a><a name="Testable_Assertions"><strong>Testable Assertions</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>In addition the the assertions implied by the functionality requirements

+  listed above, the following additional assertions shall be tested to

+  validate the behavior of <code>MemoryRealm</code>:</p>

+  <ul>

+  </ul>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/funcspecs/index.html b/tomcat-uid/webapps/docs/funcspecs/index.html
new file mode 100644
index 0000000..c59cf60
--- /dev/null
+++ b/tomcat-uid/webapps/docs/funcspecs/index.html
@@ -0,0 +1,40 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Catalina Functional Specifications (6.0.39) - Table of Contents</title><meta name="author" content="Craig R. McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      Catalina Functional Specifications

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Functional Specs</a></li></ul><p><strong>Administrative Apps</strong></p><ul><li><a href="fs-admin-apps.html">Overall Requirements</a></li><li><a href="mbean-names.html">Tomcat MBean Names</a></li><li><a href="fs-admin-objects.html">Administered Objects</a></li><li><a href="fs-admin-opers.html">Supported Operations</a></li></ul><p><strong>Internal Servlets</strong></p><ul><li><a href="fs-default.html">Default Servlet</a></li><li><a href="fs-invoker.html">Invoker Servlet</a></li></ul><p><strong>Realm Implementations</strong></p><ul><li><a href="fs-jdbc-realm.html">JDBC Realm</a></li><li><a href="fs-jndi-realm.html">JNDI Realm</a></li><li><a href="fs-memory-realm.html">Memory Realm</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Catalina Functional Specifications</h1><h2>Table of Contents</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Catalina Functional Specifications"><!--()--></a><a name="Catalina_Functional_Specifications"><strong>Catalina Functional Specifications</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>This documentation area includes <em>functional specifications</em> for

+many features supported by the <strong>Catalina</strong> servlet container

+portion of Tomcat 6.  In most cases, these features are not documented in the

+underlying Servlet or JSP specifications, so a definition of the expected

+correct behavior is important both to implementors of those features, and to

+test writers trying to decide what to test.</p>

+

+<p>The functional specifications are divided into the following categories

+in the menu (to the left):</p>

+<ul>

+<li><em>Administrative Apps</em> - Overall requirements for supporting an

+    ability to configure and operate a Tomcat 6 installation through tools,

+    as well as detailed requirements for the tools themselves.</li>

+<li><em>Internal Servlets</em> - Requirements for Catalina features that are

+    implemented as internal, container-managed, servlets.</li>

+<li><em>Realm Implementations</em> - Requirements for the implementations of

+    the <code>org.apache.catalina.Realm</code> interface (providing access to

+    collections of users, passwords and roles) that are included in the

+    standard Tomcat 6 distribution.</li>

+</ul>

+

+<p><em>NOTE</em> - In some cases, the contents of these functional specs has

+been "reverse engineered" from existing implementations.  This exercise is

+still useful, because it provides an introduction to <strong>what</strong>

+Catalina does, without being as concerned with <strong>how</strong> this is

+accomplished.</p>

+

+<p><strong>TODO</strong> - Obviously, this area has a long ways to go before

+it is complete.  Contributions are welcome!</p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/funcspecs/mbean-names.html b/tomcat-uid/webapps/docs/funcspecs/mbean-names.html
new file mode 100644
index 0000000..0304f30
--- /dev/null
+++ b/tomcat-uid/webapps/docs/funcspecs/mbean-names.html
@@ -0,0 +1,713 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Catalina Functional Specifications (6.0.39) - Tomcat MBean Names</title><meta name="author" content="Craig McClanahan"><meta name="author" content="Amy Roh"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="

+      Catalina Functional Specifications

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Functional Specs</a></li></ul><p><strong>Administrative Apps</strong></p><ul><li><a href="fs-admin-apps.html">Overall Requirements</a></li><li><a href="mbean-names.html">Tomcat MBean Names</a></li><li><a href="fs-admin-objects.html">Administered Objects</a></li><li><a href="fs-admin-opers.html">Supported Operations</a></li></ul><p><strong>Internal Servlets</strong></p><ul><li><a href="fs-default.html">Default Servlet</a></li><li><a href="fs-invoker.html">Invoker Servlet</a></li></ul><p><strong>Realm Implementations</strong></p><ul><li><a href="fs-jdbc-realm.html">JDBC Realm</a></li><li><a href="fs-jndi-realm.html">JNDI Realm</a></li><li><a href="fs-memory-realm.html">Memory Realm</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Catalina Functional Specifications</h1><h2>Tomcat MBean Names</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Background">Background</a></li><li><a href="#Catalina_Object_Hierarchy">Catalina Object Hierarchy</a></li><li><a href="#MBean_Groups_and_Names">MBean Groups and Names</a></li><li><a href="#JSR-77_Cross_Reference">JSR-77 Cross Reference</a></li><li><a href="#JSR-88_Cross_Reference">JSR-88 Cross Reference</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Background"><strong>Background</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>We will be using <em>JMX MBeans</em> as the technology for

+    implementing manageability of Tomcat.</p>

+

+    <p>One of the key concepts of JMX (and JSR-77) is that each management

+    bean has a unique name in the MBeanServer's registry, and that

+    management applications can utilize these names to retrieve the MBean

+    of interest to them for a particular management operation.

+    This document proposes a naming convention for MBeans that allows easy

+    calculation of the name for a particular MBean.  For background

+    information on JMX MBean names, see the <em>Java Management Extensions

+    Instrumentation and Agent Specification</em>, version 1.0, section 6.

+    In particular, we will be discussing the String Representation of

+    <code>ObjectName</code> instances.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Catalina Object Hierarchy"><!--()--></a><a name="Catalina_Object_Hierarchy"><strong>Catalina Object Hierarchy</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Tomcat's servlet container implementation, called Catalina, can be

+represented as a hierarchy of objects that contain references to each other.

+The object hierarchy can be represented as a tree, or (isomorphically) based

+on the nesting of configuration elements in the <code>conf/server.xml</code>

+file that is traditionally used to configure Tomcat stand-alone.</p>

+

+<p>The valid component nestings for Catalina are depicted in the following

+table, with columns that contain the following values:</p>

+<ul>

+<li><em>Pattern</em> - Nesting pattern of XML elements (in the

+    <code>conf/server.xml</code> file) used to configure this component.</li>

+<li><em>Cardinality</em> - Minimum and maximum number of occurrences of

+    this element at this nesting position, which also corresponds to the

+    minimum and maximum number of Catalina components.</li>

+<li><em>Identifier</em> - Name of the JavaBeans property of this component

+    that represents the unique identifier (within the nested hierarchy),

+    if any.</li>

+<li><em>MBean ObjectName</em> - The portion of the MBean object name that

+    appears <strong>after</strong> the domain name.  For now, it should be

+    assumed that all of these MBeans appear in the default JMX domain.</li>

+</ul>

+

+<p>In the <em>MBean ObjectName</em> descriptions, several types of symbolic

+expressions are utilized to define variable text that is replaced by

+corresponding values:</p>

+<ul>

+<li><em>${GROUP}</em> - One of the standard MBean names of the specified

+    "group" category.  For example, the expression <code>${REALM}</code>

+    represents the values like <code>JDBCRealm</code> and <code>JAASRealm</code>

+    that identify the various MBeans for possible <code>Realm</code> components.</li>

+<li><em>${name}</em> - Replaced by the value of property <code>name</code>

+    from the current component.</li>

+<li><em>${parent.name}</em> - Replaced by the value of property

+    <code>name</code> from a parent of the current component, with the

+    parent's type identified by <em>parent</em>.</li>

+<li><em>${###}</em> - An arbitrary numeric identifier that preserves

+    order but has no other particular meaning.  In general, the server will

+    assign numeric values to existing instances with large gaps into which

+    new items can be configured if desired.</li>

+</ul>

+

+<table border="1" cellpadding="5">

+

+  <tr>

+    <th align="center" bgcolor="aqua">Pattern</th>

+    <th align="center" bgcolor="aqua">Cardinality</th>

+    <th align="center" bgcolor="aqua">Identifier</th>

+    <th align="center" bgcolor="aqua">MBean ObjectName</th>

+  </tr>

+

+  <tr>

+    <td>Server</td>

+    <td align="center">1..1</td>

+    <td align="center">(none)</td>

+    <td><code>type=${SERVER}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Listener</td>

+    <td align="center">0..n</td>

+    <td align="center">(none)</td>

+    <td><code>type=${LISTENER}, sequence=${###}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service</td>

+    <td align="center">1..n</td>

+    <td align="center"><code>name</code></td>

+    <td><code>type=${SERVICE}, name=${name}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Connector</td>

+    <td align="center">1..n</td>

+    <td align="center"><code>address, port</code></td>

+    <td><code>type=${CONNECTOR}, service=${service}, port=${port},

+        address=${address}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Connector / Factory</td>

+    <td align="center">0..1</td>

+    <td align="center">(none)</td>

+    <td>(Only defined explicitly for an SSL connector, but can be treated

+        as part of the connector component)</td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Connector / Listener</td>

+    <td align="center">0..n</td>

+    <td align="center">(none)</td>

+    <td><code>type=${LISTENER}, sequence=${###}, service=${service},

+        port=${connector.port}, address=${connector.address}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine</td>

+    <td align="center">1..1</td>

+    <td align="center">(none)</td>

+    <td><code>type=${ENGINE}, service=${service.name}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine / Host</td>

+    <td align="center">1..n</td>

+    <td align="center"><code>name</code></td>

+    <td><code>type=${HOST}, host=${name},

+        service=${service.name}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine / Host / Context</td>

+    <td align="center">1..n</td>

+    <td align="center"><code>path</code></td>

+    <td><code>type=${CONTEXT}, path=${path}, host=${host.name},

+        service=${service.name}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine / Host / Context / InstanceListener</td>

+    <td align="center">0..n</td>

+    <td align="center">(none)</td>

+    <td><code>type=${INSTANCE-LISTENER}, sequence=${###}, path=${context.path},

+        host=${host.name}, service=${service.name}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine / Host / Context / Listener</td>

+    <td align="center">0..n</td>

+    <td align="center">(none)</td>

+    <td><code>type=${LISTENER}, sequence=${###}, path=${context.path},

+        host=${host.name}, service=${service.name}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine / Host / Context / Loader</td>

+    <td align="center">0..1</td>

+    <td align="center">(none)</td>

+    <td><code>type=${LOADER}, path=${context.path}, host=${host.name},

+        service=${service.name}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine / Host / Context / Manager</td>

+    <td align="center">0..1</td>

+    <td align="center">(none)</td>

+    <td><code>type=${MANAGER}, path=${context.path}, host=${host.name},

+        service=${service.name}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine / Host / Context / Realm</td>

+    <td align="center">0..1</td>

+    <td align="center">(none)</td>

+    <td><code>type=${REALM}, path=${context.path}, host=${host.name},

+        service=${service.name}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine / Host / Context / Resources</td>

+    <td align="center">0..1</td>

+    <td align="center">(none)</td>

+    <td><code>type=${RESOURCES}, path=${context.path}, host=${host.name},

+        service=${service.name}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine / Host / Context / Valve</td>

+    <td align="center">0..n</td>

+    <td align="center">(none)</td>

+    <td><code>type=${VALVE}, sequence=${###}, path=${context.path},

+        host=${host.name}, service=${service.name}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine / Host / Context / Wrapper</td>

+    <td align="center">0..n</td>

+    <td align="center">(none)</td>

+    <td><code>j2eeType=Servlet,name=${name},

+        WebModule=//${host.name}/${context.name},

+        J2EEApplication=${context.J2EEApplication},

+        J2EEServer=${context.J2EEServer}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine / Host / Context / WrapperLifecycle</td>

+    <td align="center">0..n</td>

+    <td align="center">(none)</td>

+    <td><code>type=${WRAPPER-LIFECYCLE}, sequence=${###}, path=${context.path},

+        host=${host.name}, service=${service.name}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine / Host / Context / WrapperListener</td>

+    <td align="center">0..n</td>

+    <td align="center">(none)</td>

+    <td><code>type=${WRAPPER-LISTENER}, sequence=${###}, path=${context.path},

+        host=${host.name}, service=${service.name}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine / Host / Listener</td>

+    <td align="center">0..n</td>

+    <td align="center">(none)</td>

+    <td><code>type=${LISTENER}, sequence=${###}, host=${host.name},

+        service=${service.name}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine / Host / Realm</td>

+    <td align="center">0..1</td>

+    <td align="center">(none)</td>

+    <td><code>type=${REALM}, host=${host.name},

+        service=${service.name}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine / Host / Valve</td>

+    <td align="center">0..n</td>

+    <td align="center">(none)</td>

+    <td><code>type=${VALVE}, sequence=${###},

+        host=${host.name}, service=${service.name}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine / Listener</td>

+    <td align="center">0..n</td>

+    <td align="center">(none)</td>

+    <td><code>type=${LISTENER}, sequence=${###}</code>

+        (<strong>FIXME</strong> - disambiguate from Server / Service /

+        Listener)</td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine / Realm</td>

+    <td align="center">0..1</td>

+    <td align="center">(none)</td>

+    <td><code>type=${REALM}, service=${service.name}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Engine / Valve</td>

+    <td align="center">0..n</td>

+    <td align="center">(none)</td>

+    <td><code>type=${VALVE}, sequence=${###},

+        service=${service.name}</code></td>

+  </tr>

+

+  <tr>

+    <td>Server / Service / Listener</td>

+    <td align="center">0..n</td>

+    <td align="center">(none)</td>

+    <td><code>type=${LISTENER}, sequence=${###}</code>

+        (<strong>FIXME</strong> - disambiguate from Server / Service /

+        Engine / Listener)</td>

+  </tr>

+

+</table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="MBean Groups and Names"><!--()--></a><a name="MBean_Groups_and_Names"><strong>MBean Groups and Names</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The following MBean names shall be defined in the resource file

+<code>/org/apache/catalina/mbeans/mbeans-descriptors.xml</code> (and

+therefore available for use within the Administration/Configuration

+web application for Tomcat):</p>

+

+<table border="1" cellpadding="5">

+

+  <tr>

+    <th align="center" bgcolor="aqua">MBean Name</th>

+    <th align="center" bgcolor="aqua">Group Name</th>

+    <th align="center" bgcolor="aqua">Catalina Interface</th>

+    <th align="center" bgcolor="aqua">Implementation Class</th>

+  </tr>

+

+  <tr>

+    <td><code>AccessLogValve</code></td>

+    <td align="center"><code>VALVE</code></td>

+    <td><code>org.apache.catalina.Valve</code></td>

+    <td><code>org.apache.catalina.valves.AccessLogValve</code></td>

+  </tr>

+

+  <tr>

+    <td><code>BasicAuthenticator</code></td>

+    <td align="center"><code>VALVE</code></td>

+    <td><code>org.apache.catalina.Valve</code></td>

+    <td><code>org.apache.catalina.authenticator.BasicAuthenticator</code></td>

+  </tr>

+

+  <tr>

+    <td><code>CertificatesValve</code></td>

+    <td align="center"><code>VALVE</code></td>

+    <td><code>org.apache.catalina.Valve</code></td>

+    <td><code>org.apache.catalina.valves.CertificatesValve</code></td>

+  </tr>

+

+  <tr>

+    <td><code>ContextConfig</code></td>

+    <td align="center"><code>LISTENER</code></td>

+    <td><code>org.apache.catalina.LifecycleListener</code></td>

+    <td><code>org.apache.catalina.startup.ContextConfig</code></td>

+  </tr>

+

+  <tr>

+    <td><code>ContextEnvironment</code></td>

+    <td align="center"><code>RESOURCES</code></td>

+    <td><code>org.apache.catalina.deploy.ContextEnvironment</code></td>

+    <td><code>org.apache.catalina.deploy.ContextEnvironment</code></td>

+  </tr>

+

+  <tr>

+    <td><code>ContextResource</code></td>

+    <td align="center"><code>RESOURCES</code></td>

+    <td><code>org.apache.catalina.deploy.ContextResource</code></td>

+    <td><code>org.apache.catalina.deploy.ContextResource</code></td>

+  </tr>

+

+  <tr>

+    <td><code>ContextResourceLink</code></td>

+    <td align="center"><code>RESOURCES</code></td>

+    <td><code>org.apache.catalina.deploy.ContextResourceLink</code></td>

+    <td><code>org.apache.catalina.deploy.ContextResourceLink</code></td>

+  </tr>

+

+  <tr>

+    <td><code>CoyoteConnector</code></td>

+    <td align="center"><code>CONNECTOR</code></td>

+    <td><code>org.apache.catalina.Connector</code></td>

+    <td><code>org.apache.coyote.tomcat4.CoyoteConnector</code></td>

+  </tr>

+

+  <tr>

+    <td><code>DigestAuthenticator</code></td>

+    <td align="center"><code>VALVE</code></td>

+    <td><code>org.apache.catalina.Valve</code></td>

+    <td><code>org.apache.catalina.authenticator.DigestAuthenticator</code></td>

+  </tr>

+

+  <tr>

+    <td><code>EngineConfig</code></td>

+    <td align="center"><code>LISTENER</code></td>

+    <td><code>org.apache.catalina.LifecycleListener</code></td>

+    <td><code>org.apache.catalina.startup.EngineConfig</code></td>

+  </tr>

+

+  <tr>

+    <td><code>ErrorReportValve</code></td>

+    <td align="center"><code>VALVE</code></td>

+    <td><code>org.apache.catalina.Valve</code></td>

+    <td><code>org.apache.catalina.valves.ErrorReportValve</code></td>

+  </tr>

+

+  <tr>

+    <td><code>ErrorDispatcherValve</code></td>

+    <td align="center"><code>VALVE</code></td>

+    <td><code>org.apache.catalina.Valve</code></td>

+    <td><code>org.apache.catalina.valves.ErrorDispatcherValve</code></td>

+  </tr>

+

+  <tr>

+    <td><code>FormAuthenticator</code></td>

+    <td align="center"><code>VALVE</code></td>

+    <td><code>org.apache.catalina.Valve</code></td>

+    <td><code>org.apache.catalina.authenticator.FormAuthenticator</code></td>

+  </tr>

+

+  <tr>

+    <td><code>Group</code></td>

+    <td align="center"><code>GROUP</code></td>

+    <td><code>org.apache.catalina.Group</code></td>

+    <td><code>org.apache.catalina.Group</code></td>

+  </tr>

+

+  <tr>

+    <td><code>HostConfig</code></td>

+    <td align="center"><code>LISTENER</code></td>

+    <td><code>org.apache.catalina.LifecycleListener</code></td>

+    <td><code>org.apache.catalina.startup.HostConfig</code></td>

+  </tr>

+

+  <tr>

+    <td><code>HttpConnector10</code></td>

+    <td align="center"><code>CONNECTOR</code></td>

+    <td><code>org.apache.catalina.Connector</code></td>

+    <td><code>org.apache.catalina.connector.http10.HttpConnector</code></td>

+  </tr>

+

+  <tr>

+    <td><code>HttpConnector11</code></td>

+    <td align="center"><code>CONNECTOR</code></td>

+    <td><code>org.apache.catalina.Connector</code></td>

+    <td><code>org.apache.catalina.connector.http.HttpConnector</code></td>

+  </tr>

+

+  <tr>

+    <td><code>JAASRealm</code></td>

+    <td align="center"><code>REALM</code></td>

+    <td><code>org.apache.catalina.Realm</code></td>

+    <td><code>org.apache.catalina.realm.JAASRealm</code></td>

+  </tr>

+

+  <tr>

+    <td><code>JDBCRealm</code></td>

+    <td align="center"><code>REALM</code></td>

+    <td><code>org.apache.catalina.Realm</code></td>

+    <td><code>org.apache.catalina.realm.JDBCRealm</code></td>

+  </tr>

+

+  <tr>

+    <td><code>JDBCUserDatabase</code></td>

+    <td align="center"><code>USERDATABASE</code></td>

+    <td><code>org.apache.catalina.users.JDBCUserDatabase</code></td>

+    <td><code>org.apache.catalina.users.JDBCUserDatabase</code></td>

+  </tr>

+

+  <tr>

+    <td><code>JNDIRealm</code></td>

+    <td align="center"><code>REALM</code></td>

+    <td><code>org.apache.catalina.Realm</code></td>

+    <td><code>org.apache.catalina.realm.JNDIRealm</code></td>

+  </tr>

+

+  <tr>

+    <td><code>MBeanFactory</code></td>

+    <td align="center"><code></code></td>

+    <td><code></code></td>

+    <td><code>org.apache.catalina.mbeans.MBeanFactory</code></td>

+  </tr>

+

+  <tr>

+    <td><code>MemoryRealm</code></td>

+    <td align="center"><code>REALM</code></td>

+    <td><code>org.apache.catalina.Realm</code></td>

+    <td><code>org.apache.catalina.realm.MemoryRealm</code></td>

+  </tr>

+

+  <tr>

+    <td><code>MemoryUserDatabase</code></td>

+    <td align="center"><code>USERDATABASE</code></td>

+    <td><code>org.apache.catalina.users.MemoryUserDatabase</code></td>

+    <td><code>org.apache.catalina.users.MemoryUserDatabase</code></td>

+  </tr>

+

+  <tr>

+    <td><code>NamingContextListener</code></td>

+    <td align="center"><code>LISTENER</code></td>

+    <td><code>org.apache.catalina.LifecycleListener</code></td>

+    <td><code>org.apache.catalina.core.NamingContextListener</code></td>

+  </tr>

+

+  <tr>

+    <td><code>NamingResources</code></td>

+    <td align="center"><code>RESOURCES</code></td>

+    <td><code>org.apache.catalina.deploy.NamingResources</code></td>

+    <td><code>org.apache.catalina.deploy.NamingResources</code></td>

+  </tr>

+

+  <tr>

+    <td><code>NonLoginAuthenticator</code></td>

+    <td align="center"><code>VALVE</code></td>

+    <td><code>org.apache.catalina.Valve</code></td>

+    <td><code>org.apache.catalina.authenticator.NonLoginAuthenticator</code></td>

+  </tr>

+

+  <tr>

+    <td><code>PersistentManager</code></td>

+    <td align="center"><code>MANAGER</code></td>

+    <td><code>org.apache.catalina.Manager</code></td>

+    <td><code>org.apache.catalina.session.PersistentManager</code></td>

+  </tr>

+

+  <tr>

+    <td><code>RemoteAddrValve</code></td>

+    <td align="center"><code>VALVE</code></td>

+    <td><code>org.apache.catalina.Valve</code></td>

+    <td><code>org.apache.catalina.valves.RemoteAddrValve</code></td>

+  </tr>

+

+  <tr>

+    <td><code>RemoteHostValve</code></td>

+    <td align="center"><code>VALVE</code></td>

+    <td><code>org.apache.catalina.Valve</code></td>

+    <td><code>org.apache.catalina.valves.RemoteHostValve</code></td>

+  </tr>

+

+  <tr>

+    <td><code>RequestDumperValve</code></td>

+    <td align="center"><code>VALVE</code></td>

+    <td><code>org.apache.catalina.Valve</code></td>

+    <td><code>org.apache.catalina.valves.RequestDumperValve</code></td>

+  </tr>

+

+  <tr>

+    <td><code>Role</code></td>

+    <td align="center"><code>ROLE</code></td>

+    <td><code>org.apache.catalina.Role</code></td>

+    <td><code>org.apache.catalina.Role</code></td>

+  </tr>

+

+  <tr>

+    <td><code>SingleSignOn</code></td>

+    <td align="center"><code>VALVE</code></td>

+    <td><code>org.apache.catalina.Valve</code></td>

+    <td><code>org.apache.catalina.valves.SingleSignOn</code></td>

+  </tr>

+

+  <tr>

+    <td><code>SSLAuthenticator</code></td>

+    <td align="center"><code>VALVE</code></td>

+    <td><code>org.apache.catalina.Valve</code></td>

+    <td><code>org.apache.catalina.authenticator.SSLAuthenticator</code></td>

+  </tr>

+

+  <tr>

+    <td><code>StandardContext</code></td>

+    <td align="center"><code>CONTEXT</code></td>

+    <td><code>org.apache.catalina.Context</code></td>

+    <td><code>org.apache.catalina.core.StandardContext</code></td>

+  </tr>

+

+  <tr>

+    <td><code>StandardContextValve</code></td>

+    <td align="center"><code>VALVE</code></td>

+    <td><code>org.apache.catalina.Valve</code></td>

+    <td><code>org.apache.catalina.core.StandardContextValve</code></td>

+  </tr>

+

+  <tr>

+    <td><code>StandardEngine</code></td>

+    <td align="center"><code>ENGINE</code></td>

+    <td><code>org.apache.catalina.Engine</code></td>

+    <td><code>org.apache.catalina.core.StandardEngine</code></td>

+  </tr>

+

+  <tr>

+    <td><code>StandardEngineValve</code></td>

+    <td align="center"><code>VALVE</code></td>

+    <td><code>org.apache.catalina.Valve</code></td>

+    <td><code>org.apache.catalina.core.StandardEngineValve</code></td>

+  </tr>

+

+  <tr>

+    <td><code>StandardHost</code></td>

+    <td align="center"><code>HOST</code></td>

+    <td><code>org.apache.catalina.Host</code></td>

+    <td><code>org.apache.catalina.core.StandardHost</code></td>

+  </tr>

+

+  <tr>

+    <td><code>StandardHostValve</code></td>

+    <td align="center"><code>VALVE</code></td>

+    <td><code>org.apache.catalina.Valve</code></td>

+    <td><code>org.apache.catalina.core.StandardHostValve</code></td>

+  </tr>

+

+  <tr>

+    <td><code>StandardManager</code></td>

+    <td align="center"><code>MANAGER</code></td>

+    <td><code>org.apache.catalina.Manager</code></td>

+    <td><code>org.apache.catalina.session.StandardManager</code></td>

+  </tr>

+

+  <tr>

+    <td><code>StandardServer</code></td>

+    <td align="center"><code>SERVER</code></td>

+    <td><code>org.apache.catalina.Server</code></td>

+    <td><code>org.apache.catalina.core.StandardServer</code></td>

+  </tr>

+

+  <tr>

+    <td><code>StandardService</code></td>

+    <td align="center"><code>SERVICE</code></td>

+    <td><code>org.apache.catalina.Service</code></td>

+    <td><code>org.apache.catalina.core.StandardService</code></td>

+  </tr>

+

+  <tr>

+    <td><code>StandardWrapper</code></td>

+    <td align="center"><code>WRAPPER</code></td>

+    <td><code>org.apache.catalina.Wrapper</code></td>

+    <td><code>org.apache.catalina.core.StandardWrapper</code></td>

+  </tr>

+

+  <tr>

+    <td><code>StandardWrapperValve</code></td>

+    <td align="center"><code>VALVE</code></td>

+    <td><code>org.apache.catalina.Valve</code></td>

+    <td><code>org.apache.catalina.core.StandardWrapperValve</code></td>

+  </tr>

+

+  <tr>

+    <td><code>User</code></td>

+    <td align="center"><code>USER</code></td>

+    <td><code>org.apache.catalina.User</code></td>

+    <td><code>org.apache.catalina.User</code></td>

+  </tr>

+

+  <tr>

+    <td><code>UserDatabaseRealm</code></td>

+    <td align="center"><code>REALM</code></td>

+    <td><code>org.apache.catalina.Realm</code></td>

+    <td><code>org.apache.catalina.realm.UserDatabaseRealm</code></td>

+  </tr>

+

+  <tr>

+    <td><code>WebappLoader</code></td>

+    <td align="center"><code>LOADER</code></td>

+    <td><code>org.apache.catalina.Loader</code></td>

+    <td><code>org.apache.catalina.loader.WebappLoader</code></td>

+  </tr>

+

+</table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JSR-77 Cross Reference"><!--()--></a><a name="JSR-77_Cross_Reference"><strong>JSR-77 Cross Reference</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The managed objects in the JSR-77 object hierarchy correspond

+to the specified MBean names or groups as follows:</p>

+

+<table border="1" cellpadding="5">

+

+  <tr>

+    <th align="center" bgcolor="aqua">JSR-77 Managed Object</th>

+    <th align="center" bgcolor="aqua">MBean Name or Group</th>

+    <th align="center" bgcolor="aqua">Comments</th>

+  </tr>

+

+  <tr>

+    <td><code>J2EEServer</code></td>

+    <td><code>${SERVICE}</code></td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td><code>Node</code></td>

+    <td><code>${SERVICE}</code></td>

+    <td>Tomcat supports a single node only.</td>

+  </tr>

+

+  <tr>

+    <td><code>Port</code></td>

+    <td><code>${CONNECTOR}</code></td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td><code>Servlet</code></td>

+    <td><code>${WRAPPER}</code></td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td><code>WebModule</code></td>

+    <td><code>${CONTEXT}</code></td>

+    <td></td>

+  </tr>

+

+</table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JSR-88 Cross Reference"><!--()--></a><a name="JSR-88_Cross_Reference"><strong>JSR-88 Cross Reference</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The deployment objects in the JSR-88 API object hierarchy correspond

+to the specified MBean names or groups as follows:</p>

+

+<table border="1" cellpadding="5">

+

+  <tr>

+    <th align="center" bgcolor="aqua">JSR-88 API Object</th>

+    <th align="center" bgcolor="aqua">MBean Name or Group</th>

+    <th align="center" bgcolor="aqua">Comments</th>

+  </tr>

+

+  <tr>

+    <td><code>DeployableObject</code></td>

+    <td><code>${CONTEXT}</code></td>

+    <td>Context deployment info plus the corresponding WAR file</td>

+  </tr>

+

+  <tr>

+    <td><code>Target</code></td>

+    <td><code>${HOST}</code></td>

+    <td></td>

+  </tr>

+

+</table>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/html-manager-howto.html b/tomcat-uid/webapps/docs/html-manager-howto.html
new file mode 100644
index 0000000..d76e834
--- /dev/null
+++ b/tomcat-uid/webapps/docs/html-manager-howto.html
@@ -0,0 +1,542 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Tomcat Web Application Manager How To</title><meta name="author" content="Glenn L. Nielsen"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Tomcat Web Application Manager How To</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Message">Message</a></li><li><a href="#Manager">Manager</a></li><li><a href="#Applications">Applications</a><ol><li><a href="#Start">Start</a></li><li><a href="#Stop">Stop</a></li><li><a href="#Reload">Reload</a></li><li><a href="#Undeploy">Undeploy</a></li></ol></li><li><a href="#Deploy">Deploy</a><ol><li><a href="#Deploy_directory_or_WAR_file_located_on_server">Deploy directory or WAR file located on server</a></li><li><a href="#Upload_a_WAR_file_to_install">Upload a WAR file to install</a></li><li><a href="#Deployment_Notes">Deployment Notes</a></li><li><a href="#Deploy_Message">Deploy Message</a></li></ol></li><li><a href="#Diagnostics">Diagnostics</a><ol><li><a href="#Finding_memory_leaks">Finding memory leaks</a></li></ol></li><li><a href="#Server_Information">Server Information</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>In many production environments it is very useful to have the capability

+to manage your web applications without having to shut down and restart

+Tomcat.  This document is for the HTML web interface to the web application

+<a href="manager-howto.html">manager</a>.</p>

+

+<p>The interface is divided into six sections:</p>

+<ul>

+  <li><strong>Message</strong> - Displays success and failure messages.</li>

+  <li><strong>Manager</strong> - General manager operations like list and

+      help.</li>

+  <li><strong>Applications</strong> - List of web applications and

+      commands.</li>

+  <li><strong>Deploy</strong> - Deploying web applications.</li>

+  <li><strong>Diagnostics</strong> - Identifying potential problems.</li>

+  <li><strong>Server Information</strong> - Information about the Tomcat

+      server.</li>

+</ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Message"><strong>Message</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>

+Displays information about the success or failure of the last web application

+manager command you performed. If it succeeded <strong>OK</strong> is displayed

+and may be followed by a success message. If it failed <strong>FAIL</strong>

+is displayed followed by an error message. Common failure messages are

+documented below for each command.  The complete list of failure messages for

+each command can be found in the <a href="manager-howto.html">manager</a> web

+application documentation.

+</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Manager"><strong>Manager</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The Manager section has three links:</p>

+<ul>

+  <li><strong>List Applications</strong> - Redisplay a list of web

+      applications.</li>

+  <li><strong>HTML Manager Help</strong> - A link to this document.</li>

+  <li><strong>Manager Help</strong> - A link to the comprehensive Manager

+      App HOW TO.</li>

+</ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Applications"><strong>Applications</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The Applications section lists information about all the installed web

+applications and provides links for managing them. For each web application

+the following is displayed:</p>

+<ul>

+  <li><strong>Path</strong> - The web application context path.</li>

+  <li><strong>Display Name</strong> - The display name for the web application

+      if it has one configured in its "web.xml" file.</li>

+  <li><strong>Running</strong> - Whether the web application is running and

+      available (true), or not running and unavailable (false).</li>

+  <li><strong>Sessions</strong> - The number of active sessions for remote

+      users of this web application.  The number of sessions is a link which

+      when submitted displays more details about session usage by the web

+      application in the Message box.</li>

+  <li><strong>Commands</strong> - Lists all commands which can be performed on

+      the web application. Only those commands which can be performed will be

+      listed as a link which can be submitted. No commands can be performed on

+      the manager web application itself. The following commands can be

+      performed:

+      <ul>

+        <li><strong>Start</strong> - Start a web application which had been

+            stopped.</li>

+        <li><strong>Stop</strong> - Stop a web application which is currently

+            running and make it unavailable.</li>

+        <li><strong>Reload</strong> - Reload the web application so that new

+            ".jar" files in <code>/WEB-INF/lib/</code> or new classes in

+            <code>/WEB-INF/classes/</code> can be used.</li>

+        <li><strong>Undeploy</strong> - Stop and then remove this web

+             application from the server.</li>

+      </ul>

+  </li>

+</ul>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Start"><strong>Start</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Signal a stopped application to restart, and make itself available again.

+Stopping and starting is useful, for example, if the database required by

+your application becomes temporarily unavailable.  It is usually better to

+stop the web application that relies on this database rather than letting

+users continuously encounter database exceptions.</p>

+

+<p>If this command succeeds, you will see a Message like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+OK - Started application at context path /examples

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Otherwise, the Message will start with <code>FAIL</code> and include an

+error message.  Possible causes for problems include:</p>

+<ul>

+<li><em>Encountered exception</em>

+    <blockquote>             

+    <p>An exception was encountered trying to start the web application.

+    Check the Tomcat 6 logs for the details.</p>

+    </blockquote></li>       

+<li><em>Invalid context path was specified</em>

+    <blockquote>             

+    <p>The context path must start with a slash character, unless you are

+    referencing the ROOT web application -- in which case the context path

+    must be a zero-length string.</p>

+    </blockquote></li>       

+<li><em>No context exists for path /foo</em>

+    <blockquote>             

+    <p>There is no deployed application on the context path

+    that you specified.</p>  

+    </blockquote></li>       

+<li><em>No context path was specified</em>

+    <blockquote>             

+    The <code>path</code> parameter is required.

+    </blockquote></li>       

+</ul>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Stop"><strong>Stop</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Signal an existing application to make itself unavailable, but leave it

+deployed.  Any request that comes in while an application is

+stopped will see an HTTP error 404, and this application will show as

+"stopped" on a list applications command.</p>

+                             

+<p>If this command succeeds, you will see a Message like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+OK - Stopped application at context path /examples

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+                             

+<p>Otherwise, the Message will start with <code>FAIL</code> and include an

+error message.  Possible causes for problems include:</p>

+<ul>                         

+<li><em>Encountered exception</em>

+    <blockquote>             

+    <p>An exception was encountered trying to stop the web application.

+    Check the Tomcat 6 logs for the details.</p>

+    </blockquote></li>       

+<li><em>Invalid context path was specified</em>

+    <blockquote>             

+    <p>The context path must start with a slash character, unless you are

+    referencing the ROOT web application -- in which case the context path

+    must be a zero-length string.</p>

+    </blockquote></li>       

+<li><em>No context exists for path /foo</em>

+    <blockquote>             

+    <p>There is no deployed application on the context path

+    that you specified.</p>  

+    </blockquote></li>       

+<li><em>No context path was specified</em>

+    <blockquote>             

+    The <code>path</code> parameter is required.

+    </blockquote></li>       

+</ul>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Reload"><strong>Reload</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Signal an existing application to shut itself down and reload.  This can

+be useful when the web application context is not reloadable and you have

+updated classes or property files in the <code>/WEB-INF/classes</code>

+directory or when you have added or updated jar files in the

+<code>/WEB-INF/lib</code> directory.

+</p>

+<p><strong>NOTE:</strong> The <code>/WEB-INF/web.xml</code>

+web application configuration file is not checked on a reload;

+the previous web.xml configuration is used.

+If you have made changes to your web.xml file you must stop

+then start the web application.

+</p>

+

+<p>If this command succeeds, you will see a Message like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+OK - Reloaded application at context path /examples

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Otherwise, the Message will start with <code>FAIL</code> and include an

+error message.  Possible causes for problems include:</p>

+<ul>

+<li><em>Encountered exception</em>

+    <blockquote>             

+    <p>An exception was encountered trying to restart the web application.

+    Check the Tomcat 6 logs for the details.</p>

+    </blockquote></li>       

+<li><em>Invalid context path was specified</em>

+    <blockquote>             

+    <p>The context path must start with a slash character, unless you are

+    referencing the ROOT web application -- in which case the context path

+    must be a zero-length string.</p>

+    </blockquote></li>       

+<li><em>No context exists for path /foo</em>

+    <blockquote>             

+    <p>There is no deployed application on the context path

+    that you specified.</p>  

+    </blockquote></li>       

+<li><em>No context path was specified</em>

+    <blockquote>             

+    The <code>path</code> parameter is required.

+    </blockquote></li>       

+<li><em>Reload not supported on WAR deployed at path /foo</em>

+    <blockquote>             

+    Currently, application reloading (to pick up changes to the classes or

+    <code>web.xml</code> file) is not supported when a web application is

+    installed directly from a WAR file, which happens when the host is 

+    configured to not unpack WAR files. As it only works when the web 

+    application is installed from an unpacked directory, if you are using 

+    a WAR file, you should <code>undeploy</code> and then <code>deploy</code> 

+    the application again to pick up your changes.

+    </blockquote></li>       

+</ul>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Undeploy"><strong>Undeploy</strong></a></font></td></tr><tr><td><blockquote>

+

+<p><strong><font color="red">WARNING</font> - This command will delete the

+contents of the web application directory and/or ".war" file if it exists within

+the <code>appBase</code> directory (typically "webapps") for this virtual host

+</strong>.  The web application temporary work directory is also deleted.  If

+you simply want to take an application out of service, you should use the

+<code>/stop</code> command instead.</p>

+                             

+<p>Signal an existing application to gracefully shut itself down, and then

+remove it from Tomcat (which also makes this context path available for

+reuse later).  This command is the logical opposite of the

+<code>/deploy</code> Ant command, and the related deploy features available 

+in the HTML manager.</p>

+                             

+<p>If this command succeeds, you will see a Message like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+OK - Undeployed application at context path /examples

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+                             

+<p>Otherwise, the Message will start with <code>FAIL</code> and include an

+error message.  Possible causes for problems include:</p>

+<ul>                         

+<li><em>Encountered exception</em>

+    <blockquote>             

+    <p>An exception was encountered trying to undeploy the web application.

+    Check the Tomcat logs for the details.</p>

+    </blockquote></li>       

+<li><em>Invalid context path was specified</em>

+    <blockquote>             

+    <p>The context path must start with a slash character, unless you are

+    referencing the ROOT web application -- in which case the context path

+    must be a zero-length string.</p>

+    </blockquote></li>       

+<li><em>No context exists for path /foo</em>

+    <blockquote>             

+    <p>There is no deployed application on the context path

+    that you specified.</p>  

+    </blockquote></li>       

+<li><em>No context path was specified</em>

+    <blockquote>             

+    The <code>path</code> parameter is required.

+    </blockquote></li>       

+</ul>

+

+</blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Deploy"><strong>Deploy</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Web applications can be deployed using files or directories located

+on the Tomcat server or you can upload a web application archive (WAR)

+file to the server.</p>

+

+<p>To install an application, fill in the appropriate fields for the type

+of install you want to do and then submit it using the <i>Install</i>

+button.</p>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Deploy directory or WAR file located on server"><!--()--></a><a name="Deploy_directory_or_WAR_file_located_on_server"><strong>Deploy directory or WAR file located on server</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Deploy and start a new web application, attached to the specified <i>Context

+Path:</i> (which must not be in use by any other web application).

+This command is the logical opposite of the <em>Undeploy</em> command.</p>

+

+<p>There are a number of different ways the deploy command can be used.</p>

+

+<h3>Deploy a Directory or WAR by URL</h3>

+

+<p>Install a web application directory or ".war" file located on the Tomcat

+server. If no <i>Context Path</i> is specified, the directory name or the

+war file name without the ".war" extension is used as the path. The

+<i>WAR or Directory URL</i> specifies a URL (including the <code>file:</code>

+scheme) for either a directory or a web application archive (WAR) file. The

+supported syntax for a URL referring to a WAR file is described on the Javadocs

+page for the <code>java.net.JarURLConnection</code> class.  Use only URLs that

+refer to the entire WAR file.</p>

+

+<p>In this example the web application located in the directory

+<code>C:\path\to\foo</code> on the Tomcat server (running on Windows)

+is deployed as the web application context named <code>/footoo</code>.</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+Context Path: /footoo

+WAR or Directory URL: file:C:/path/to/foo

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+

+<p>In this example the ".war" file <code>/path/to/bar.war</code> on the

+Tomcat server (running on Unix) is deployed as the web application

+context named <code>/bar</code>. Notice that there is no <code>path</code>

+parameter so the context path defaults to the name of the web application

+archive file without the ".war" extension.</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+WAR or Directory URL: jar:file:/path/to/bar.war!/

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+

+<h3>Deploy a Directory or War from the Host appBase</h3>

+

+<p>Install a web application directory or ".war" file located in your Host

+appBase directory. If no <i>Context Path</i> is specified the directory name

+or the war file name without the ".war" extension is used as the path.</p>

+

+<p>In this example the web application located in a subdirectory named

+<code>foo</code> in the Host appBase directory of the Tomcat server is

+deployed as the web application context named <code>/foo</code>. Notice

+that there is no <code>path</code> parameter so the context path defaults

+to the name of the web application directory.</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+WAR or Directory URL: foo

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+

+<p>In this example the ".war" file <code>bar.war</code> located in your

+Host appBase directory on the Tomcat server is deployed as the web

+application context named <code>/bartoo</code>.</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+Context Path: /bartoo

+WAR or Directory URL: bar.war

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+

+<h3>Deploy using a Context configuration ".xml" file</h3>

+

+<p>If the Host deployXML flag is set to true, you can install a web

+application using a Context configuration ".xml" file and an optional

+".war" file or web application directory. The <i>Context Path</i>

+is not used when installing a web application using a context ".xml"

+configuration file.</p>

+

+<p>A Context configuration ".xml" file can contain valid XML for a

+web application Context just as if it were configured in your

+Tomcat <code>server.xml</code> configuration file. Here is an

+example for Tomcat running on Windows:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Context path="/foobar" docBase="C:\path\to\application\foobar"&gt;

+

+  &lt;!-- Link to the user database we will get roles from --&gt;

+  &lt;ResourceLink name="users" global="UserDatabase"

+                type="org.apache.catalina.UserDatabase"/&gt;

+

+&lt;/Context&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+

+<p>Use of the <i>WAR or Directory URL</i> is optional. When used

+to select a web application ".war" file or directory it overrides any

+docBase configured in the context configuration ".xml" file.</p>

+

+<p>Here is an example of installing an application using a Context

+configuration ".xml" file for Tomcat running on Windows.</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+XML Configuration file URL: file:C:/path/to/context.xml

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+

+<p>Here is an example of installing an application using a Context

+configuration ".xml" file and a web application ".war" file located

+on the server (Tomcat running on Unix).</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+XML Configuration file URL: file:/path/to/context.xml

+WAR or Directory URL: jar:file:/path/to/bar.war!/

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Upload a WAR file to install"><!--()--></a><a name="Upload_a_WAR_file_to_install"><strong>Upload a WAR file to install</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Upload a WAR file from your local system and install it into the

+appBase for your Host. The name of the WAR file without the ".war"

+extension is used as the context path name.</p>

+

+<p>Use the <i>Browse</i> button to select a WAR file to upload to the

+server from your local desktop system.</p>

+

+<p>The .WAR file may include Tomcat specific deployment configuration, by 

+including a Context configuration XML file in 

+<code>/META-INF/context.xml</code>.</p>

+

+<p>Upload of a WAR file could fail for the following reasons:</p>

+<ul>

+<li><em>File uploaded must be a .war</em>

+    <blockquote>

+    <p>The upload install will only accept files which have the filename

+    extension of ".war".</p>

+    </blockquote></li>

+<li><em>War file already exists on server</em>

+    <blockquote>

+    <p>If a war file of the same name already exists in your Host's

+    appBase the upload will fail. Either undeploy the existing war file

+    from your Host's appBase or upload the new war file using a different

+    name.</p>

+    </blockquote></li>

+<li><em>File upload failed, no file</em>

+    <blockquote>

+    <p>The file upload failed, no file was received by the server.</p>

+    </blockquote></li>

+<li><em>Install Upload Failed, Exception:</em>

+    <blockquote>

+    <p>The war file upload or install failed with a Java Exception.

+    The exception message will be listed.</p>

+    </blockquote></li>

+</ul>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Deployment Notes"><!--()--></a><a name="Deployment_Notes"><strong>Deployment Notes</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>If the Host is configured with unpackWARs=true and you install a war

+file, the war will be unpacked into a directory in your Host appBase

+directory.</p>

+

+<p>If the application war or directory is deployed in your Host appBase

+directory and either the Host is configured with autoDeploy=true or

+liveDeploy=true, the Context path must match the directory name or

+war file name without the ".war" extension.</p>

+

+<p>For security when untrusted users can manage web applications, the

+Host deployXML flag can be set to false.  This prevents untrusted users

+from installing web applications using a configuration XML file and

+also prevents them from installing application directories or ".war"

+files located outside of their Host appBase.</p>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Deploy Message"><!--()--></a><a name="Deploy_Message"><strong>Deploy Message</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>If deployment and startup is successful, you will receive a Message

+like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+OK - Deployed application at context path /foo

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Otherwise, the Message will start with <code>FAIL</code> and include an

+error message.  Possible causes for problems include:</p>

+<ul>

+<li><em>Application already exists at path /foo</em>

+    <blockquote>

+    <p>The context paths for all currently running web applications must be

+    unique.  Therefore, you must either undeploy the existing web

+    application using this context path, or choose a different context path

+    for the new one.</p>

+    </blockquote></li>

+<li><em>Document base does not exist or is not a readable directory</em>

+    <blockquote>

+    <p>The URL specified by the <i>WAR or Directory URL:</i> field must

+    identify a directory on this server that contains the "unpacked" version

+    of a web application, or the absolute URL of a web application archive

+    (WAR) file that contains this application.  Correct the value entered for

+    the <i>WAR or Directory URL:</i> field.</p>

+    </blockquote></li>

+<li><em>Encountered exception</em>

+    <blockquote>

+    <p>An exception was encountered trying to start the new web application.

+    Check the Tomcat 6 logs for the details, but likely explanations include

+    problems parsing your <code>/WEB-INF/web.xml</code> file, or missing

+    classes encountered when initializing application event listeners and

+    filters.</p>

+    </blockquote></li>

+<li><em>Invalid application URL was specified</em>

+    <blockquote>

+    <p>The URL for the <i>WAR or Directory URL:</i> field that you specified

+    was not valid.  Such URLs must start with <code>file:</code>, and URLs

+    for a WAR file must end in ".war".</p>

+    </blockquote></li>

+<li><em>Invalid context path was specified</em>

+    <blockquote>

+    <p>The context path must start with a slash character, unless you are

+    referencing the ROOT web application -- in which case the context path

+    must be a "/" string.</p>

+    </blockquote></li>

+<li><em>Context path must match the directory or WAR file name:</em>

+    <blockquote>

+    If the application war or directory is deployed in your Host appBase

+    directory and either the Host is configured with autoDeploy=true or

+    liveDeploy=true, the Context path must match the directory name or

+    war file name without the ".war" extension.

+    </blockquote></li>

+<li><em>Only web applications in the Host web application directory can

+     be deployed</em>

+     <blockquote>

+     If the Host deployXML flag is set to false this error will happen

+     if an attempt is made to install a web application directory or

+      ".war" file outside of the Host appBase directory.

+     </blockquote></li>

+</ul>

+

+</blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Diagnostics"><strong>Diagnostics</strong></a></font></td></tr><tr><td><blockquote>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Finding memory leaks"><!--()--></a><a name="Finding_memory_leaks"><strong>Finding memory leaks</strong></a></font></td></tr><tr><td><blockquote>

+

+<p><strong>The find leaks diagnostic triggers a full garbage collection. It

+should be used with extreme caution on production systems.</strong></p>

+

+<p>The find leaks diagnostic attempts to identify web applications that have

+caused memory leaks when they were stopped, reloaded or undeployed. Results

+should always be confirmed

+with a profiler. The diagnostic uses additional functionality provided by the

+StandardHost implementation. It will not work if a custom host is used that

+does not extend StandardHost.</p>

+

+<p>This diagnostic will list context paths for the web applications that were

+stopped, reloaded or undeployed, but which classes from the previous runs

+are still present in memory, thus being a memory leak. If an application

+has been reloaded several times, it may be listed several times.</p>

+

+<p>Explicitly triggering a full garbage collection from Java code is documented

+to be unreliable. Furthermore, depending on the JVM used, there are options to

+disable explicit GC triggering, like <code>-XX:+DisableExplicitGC</code>.

+If you want to make sure, that the diagnostics were successfully running a full GC,

+you will need to check using tools like GC logging, JConsole or similar.</p>

+

+</blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Server Information"><!--()--></a><a name="Server_Information"><strong>Server Information</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>This section displays information about Tomcat, the operating system of

+the server Tomcat is hosted on, and the Java Virtual Machine Tomcat is

+running in.</p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/images/add.gif b/tomcat-uid/webapps/docs/images/add.gif
new file mode 100644
index 0000000..0774d07
--- /dev/null
+++ b/tomcat-uid/webapps/docs/images/add.gif
Binary files differ
diff --git a/tomcat-uid/webapps/docs/images/asf-logo.gif b/tomcat-uid/webapps/docs/images/asf-logo.gif
new file mode 100644
index 0000000..22eb9d7
--- /dev/null
+++ b/tomcat-uid/webapps/docs/images/asf-logo.gif
Binary files differ
diff --git a/tomcat-uid/webapps/docs/images/code.gif b/tomcat-uid/webapps/docs/images/code.gif
new file mode 100644
index 0000000..d27307b
--- /dev/null
+++ b/tomcat-uid/webapps/docs/images/code.gif
Binary files differ
diff --git a/tomcat-uid/webapps/docs/images/design.gif b/tomcat-uid/webapps/docs/images/design.gif
new file mode 100644
index 0000000..f5db0a9
--- /dev/null
+++ b/tomcat-uid/webapps/docs/images/design.gif
Binary files differ
diff --git a/tomcat-uid/webapps/docs/images/docs.gif b/tomcat-uid/webapps/docs/images/docs.gif
new file mode 100644
index 0000000..d64a4a1
--- /dev/null
+++ b/tomcat-uid/webapps/docs/images/docs.gif
Binary files differ
diff --git a/tomcat-uid/webapps/docs/images/fix.gif b/tomcat-uid/webapps/docs/images/fix.gif
new file mode 100644
index 0000000..d59ad64
--- /dev/null
+++ b/tomcat-uid/webapps/docs/images/fix.gif
Binary files differ
diff --git a/tomcat-uid/webapps/docs/images/printer.gif b/tomcat-uid/webapps/docs/images/printer.gif
new file mode 100644
index 0000000..5021187
--- /dev/null
+++ b/tomcat-uid/webapps/docs/images/printer.gif
Binary files differ
diff --git a/tomcat-uid/webapps/docs/images/tomcat.gif b/tomcat-uid/webapps/docs/images/tomcat.gif
new file mode 100644
index 0000000..6175673
--- /dev/null
+++ b/tomcat-uid/webapps/docs/images/tomcat.gif
Binary files differ
diff --git a/tomcat-uid/webapps/docs/images/tomcat.svg b/tomcat-uid/webapps/docs/images/tomcat.svg
new file mode 100644
index 0000000..dbccdaf
--- /dev/null
+++ b/tomcat-uid/webapps/docs/images/tomcat.svg
@@ -0,0 +1,589 @@
+<?xml version="1.0" encoding="utf-8"?>

+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<!-- Generator: Adobe Illustrator 11 Build 196, SVG Export Plug-In . SVG Version: 6.0.0 Build 78)  -->

+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"    "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [

+	<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">

+	<!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">

+	<!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">

+	<!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">

+	<!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">

+	<!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">

+	<!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">

+	<!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">

+	<!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">

+	<!ENTITY ns_svg "http://www.w3.org/2000/svg">

+	<!ENTITY ns_xlink "http://www.w3.org/1999/xlink">

+]>

+<svg 

+	 xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;" i:viewOrigin="176.7139 486.707" i:rulerOrigin="-156 -296" i:pageBounds="156 496 456 296"

+	 xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"

+	 width="260.162" height="184.413" viewBox="0 0 260.162 184.413" overflow="visible" enable-background="new 0 0 260.162 184.413"

+	 xml:space="preserve">

+	<metadata>

+		<variableSets  xmlns="&ns_vars;">

+			<variableSet  varSetName="binding1" locked="none">

+				<variables></variables>

+				<v:sampleDataSets  xmlns="&ns_custom;" xmlns:v="&ns_vars;"></v:sampleDataSets>

+			</variableSet>

+		</variableSets>

+		<sfw  xmlns="&ns_sfw;">

+			<slices></slices>

+			<sliceSourceBounds  y="302.294" x="176.714" width="260.162" height="184.413" bottomLeftOrigin="true"></sliceSourceBounds>

+		</sfw>

+<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?><x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 3.0-29, framework 1.6'>

+<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>

+

+ <rdf:Description rdf:about=''

+  xmlns:pdf='http://ns.adobe.com/pdf/1.3/'>

+ </rdf:Description>

+

+ <rdf:Description rdf:about=''

+  xmlns:tiff='http://ns.adobe.com/tiff/1.0/'>

+ </rdf:Description>

+

+ <rdf:Description rdf:about=''

+  xmlns:xap='http://ns.adobe.com/xap/1.0/'

+  xmlns:xapGImg='http://ns.adobe.com/xap/1.0/g/img/'>

+  <xap:CreateDate>2006-05-09T08:17:21Z</xap:CreateDate>

+  <xap:ModifyDate>2006-05-09T08:37:38Z</xap:ModifyDate>

+  <xap:CreatorTool>Illustrator</xap:CreatorTool>

+  <xap:Thumbnails>

+   <rdf:Alt>

+    <rdf:li rdf:parseType='Resource'>

+     <xapGImg:format>JPEG</xapGImg:format>

+     <xapGImg:width>256</xapGImg:width>

+     <xapGImg:height>184</xapGImg:height>

+     <xapGImg:image>/9j/4AAQSkZJRgABAgEASABIAAD/7QAsUGhvdG9zaG9wIDMuMAA4QklNA+0AAAAAABAASAAAAAEA&#xA;AQBIAAAAAQAB/+4ADkFkb2JlAGTAAAAAAf/bAIQABgQEBAUEBgUFBgkGBQYJCwgGBggLDAoKCwoK&#xA;DBAMDAwMDAwQDA4PEA8ODBMTFBQTExwbGxscHx8fHx8fHx8fHwEHBwcNDA0YEBAYGhURFRofHx8f&#xA;Hx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8f/8AAEQgAuAEAAwER&#xA;AAIRAQMRAf/EAaIAAAAHAQEBAQEAAAAAAAAAAAQFAwIGAQAHCAkKCwEAAgIDAQEBAQEAAAAAAAAA&#xA;AQACAwQFBgcICQoLEAACAQMDAgQCBgcDBAIGAnMBAgMRBAAFIRIxQVEGE2EicYEUMpGhBxWxQiPB&#xA;UtHhMxZi8CRygvElQzRTkqKyY3PCNUQnk6OzNhdUZHTD0uIIJoMJChgZhJRFRqS0VtNVKBry4/PE&#xA;1OT0ZXWFlaW1xdXl9WZ2hpamtsbW5vY3R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo+Ck5SVlpeYmZ&#xA;qbnJ2en5KjpKWmp6ipqqusra6voRAAICAQIDBQUEBQYECAMDbQEAAhEDBCESMUEFURNhIgZxgZEy&#xA;obHwFMHR4SNCFVJicvEzJDRDghaSUyWiY7LCB3PSNeJEgxdUkwgJChgZJjZFGidkdFU38qOzwygp&#xA;0+PzhJSktMTU5PRldYWVpbXF1eX1RlZmdoaWprbG1ub2R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo&#xA;+DlJWWl5iZmpucnZ6fkqOkpaanqKmqq6ytrq+v/aAAwDAQACEQMRAD8A9U4q7FXYq7FXYq7FXYq7&#xA;FXYq7FXYq7FXYq7FXYq7FXhH/OYHnWfQ/wAurfRLSUxXXmK49GQqaN9VtwJJqH3cxqfYnFXhP5Y/&#xA;85O+f/JU0enaw769okbBJLS8ZvrUKg0IhnarDj/I9R2HHFX2F+Xn5neT/P8ApP6R8u3glKAfW7KS&#xA;iXNuzdFljqaezCqnsTirK8VdirsVdirsVdirsVdirC/zM/Nvyd+XemC71255Xcqk2WmQUa5nI2+F&#xA;CRxUd3ag+nbFXx1+Zf8Azkn+YvneaW1tLh9C0NgwXTrB2V3Sm/rzji8m3UDitP2cVfV//OOfmabz&#xA;D+T3l+6uHMl1aRPYTsxqSbVzEhJ7kxKhxV6VirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVd&#xA;irsVfHn/ADlxdSa7+bvlvyvGx4RW0EVARtNfXJVqf7BY+uRlKgT3JAt5r/zkD5ZGgfmfqSRR+nZ6&#xA;gsd9agdOMq0f/ksj5h9nZvEwgnmNi2Z4cMiw/wAqebPMHlTXLfW9BvHstQtjVZEPwstQWjkXo6NT&#xA;4lOxzOan3v8Akl+cel/mX5a+tAJa69ZcU1fTlJojGvGWLluYpKbV6GqmtKlV6NirsVdirsVdirsV&#xA;eWfnr+eGl/lroywwBLzzPfox02wJqqL0+sT03EanoOrnYdyFXwh5i8x655j1i41jW7yS+1K6blNc&#xA;SmpPgABQKo6BVFB2xVnf5Q+SjrWh+d9Yli5w6XolylsadbqSNnTj8kiYf7IZg6zUeHKERzlIfL8U&#xA;3YoWCe4Pff8AnCfVTN5D1zTCamz1P11HcLcQIAPlWE5nNL6KxV2KuxV2KuxV2KuxV2KuxV2KuxV2&#xA;KuxV2KuxV2KuxV2KvjD8wm/Sv/OX8UTGsdrqGnCMNUU+rW0Mp6f5ammY2sNYZ/1T9zZi+oe9m/8A&#xA;zkx+Xc/mPytFrunRepqehc3ljUVeS0cAyAU6mMqHA8OXfNB2PqhCfAeUvv8A2uZqcdix0fIedQ69&#xA;m35OefrryN+YOla2kpjsjKttqqDo9nMwEoI78ftr/lKMVfaeqf8AOSH5KaaSs3meCZx0W1inuanf&#xA;YNDG69vHFWM3v/OYn5QW5YQ/pK8ArQwWqitPD1pIuvviqVT/APObH5cKR6GjaxIP2i8dqhB9qTvi&#xA;qmP+c2fIFd9C1Wnfa2/6q4qmFv8A85n/AJUSvxksdZtx/NJb25H/ACTuHOKp3bf85XfkpPBI7avN&#xA;BIisywS2lwGcqCeIZUdKmm1WGKvijzz5x1bzl5q1HzFqjlrm+lLrHWqxRDaOFP8AJjSij7+uKpNb&#xA;W1xdXMVtbRtNcTuscMKAszu54qqgbkkmgwE1uVfbHkL8uk8o/lTPoMiK+o3drPNqZHRrieIhlr4I&#xA;tEB9q5yWo1fi6gS/hBFfN2UMfDAjqwT/AJwdvyt/5usC20sVlOq77em0yMR2/wB2Cudc619ZYq7F&#xA;XYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXxZKTJ/zmFc+oedNTmA5b/ZtG49fCgpmH2h/&#xA;cS9zbh+sPqDrsc4t2r57/Nf/AJxkGo3c+teSTFb3ExMlxo0hEcTMdybd/spU/sN8PgQNs3+i7Xoc&#xA;OX5/rcLLpusWIaF/zif56vFWTVr6y0pG6xgtczL81QLH90mZWTtnFH6bk1x0sjz2Z1pf/OIvlOIL&#xA;+lNbvrthSv1dYrZSe+zC4ND88wp9uTP0xA9+/wCptGkHUsms/wDnGf8AKS3AEunT3dOpmupxXam/&#xA;pNFmPPtjOeRA+H67bBpoPDv+ch/yt03yXrdjeaFbG30HUouCQ8pJBFcQ0DqXkZ2+NSrCrfzeGbns&#xA;vWHNAiX1BxdRi4TtySH8jfJdn5u/MOy07UIfrGl28ct3fw1IDRxrxUEqQaGV0By7X6g4sRkOfRhh&#xA;hxSp9N3X/OO/5P3FSdBETGnxRXN0nT/JEvH8M50dq6gfxfYHOOnh3JDqP/OKn5a3NTazajYt+yIp&#xA;0dfpEsbn/hsvj21lHMRP497A6SPmwzW/+cQr9A76H5himO/CG9haL5AyxGT/AIhmXj7cifqiR7t/&#xA;1NUtIehZh+S3/OP8Xk+5GveYXivNfTkLSKIloLYGqlwzBecjL3p8P45i9odqeIOCH09fNtw6fh3P&#xA;N7DfIz2VwijkzRuFA6klTmpxmpD3uRLk+bf+cJrrj+Yet2tT+90hpeP7J9O5hWp9/wB5tneunfZm&#xA;KuxV2KuxV2KuxV2KuxVZLNFDG0srrHGu7O5CqB7k4qks3nzyNC5jm8xaZHIOqPeW6nf2L4qmFhrW&#xA;j6iK6ff294KVrbypLt1r8BPjirAvzb/Pnyf+WrW9rqKS6hq90vqRaba8eaxVp6krMQEUkEL1JPbq&#xA;cVYFof8Azmp5BupVj1fR9Q0wNsZo/SuY1/1qGN6fJDir2Xyf+Yfkrzjam48taxb6iqgGSKNisyA9&#xA;PUhcLKn+yXFWRYq7FXYq7FXxRrBNj/zl/NVwC+rL8XtcWw+Hf/jJTMXXC8M/6pbMP1h9SZxLtnYq&#xA;7FWG+afzg/LnyvdNZ6vrUSXqGj2sKvcSofB1hV+B/wBamZmHs/NkFxjt8mqWaMeZRPk78zvI/nF5&#xA;ItA1RLm5hHKS1dXhmC1pyEcoRmXputRkdRosuLeQ2TDLGXJCfm/5JXzj5D1HSo05X8a/WtNPcXMI&#xA;JUD/AFxVP9lk+z9R4WUE8jsWOaHFGnl3/OI/lpodN1zzFMlGuJUsLcsKELCPUlpXsWkQfNc2Xbmb&#xA;eMPj+r9LRpI8y+hc0DmuxV2KuxV2Kvl//nClHP5oas4B4Lok6luwLXdqQPpoc9AdK+08VdirsVdi&#xA;rsVdiqXeYPMOi+XtIudY1q7jsdNtF5z3EpooHQAd2ZjsqjcnYYq+VfPf/OV3nXzNqp0D8stPlto5&#xA;mMcF0IfrGoT+8UIDrGD8mbvVcVSqz/5xn/Pjzs66h5t1RbUueX+5W7kurgA/yxx+sq/6pZaeGKsj&#xA;h/5wanMYM3nNUk7qmml1/wCCN0n6sVQt7/zhDr8B56Z5stppEIMZntZLfcb1qkk9KHFXzr5mtdUs&#xA;tfv9O1S5a7vtOuJbKaZndwWt3MZ4mSjcartUDFUsxVFabqeo6XfQ3+m3UtlfW7c4Lq3dopUbxV1I&#xA;IxV9Sfkr/wA5aNcT2+gfmG6K8hWO18wqAi1OwF2q0Vf+Mi0H8w6tir6lVlZQykMrCqsNwQe4xVvF&#xA;XYq+Kfzzro3/ADlLa6oxKJLdaReFiaApGsMLeG1ISMqzw4sco94LKBogvqPOEdw7FXkf55/mBrlj&#xA;Jp3kbykX/wAVeYSFE0Zo8FuzFOSt+wzlW+P9lQx2NDm27N0sZXlyfRFxs+Qj0jmUd5B/IHyP5bsI&#xA;31Oyh1zWnAa6vb1BMnqHciKKSqKAehI5e+Q1XamTIfSeGPlzTj08YjfcsJ/PDy5pXkHX/LH5geW7&#xA;WPTGhvlt9Rt7RBFHKpBk+wgCjnGkiPQbg5m9m5jnhLFM3s1Z4iBEg+hOu4zn3NQOkaLpuj20ltp8&#xA;IghlnnunRe8tzK0sh/4JzQdhtlmXLKZuXdXyYxiByR2VsnYqxjV/zO/L3SJWh1DzDYQzoaPD66PI&#xA;p/ykQsw+kZlY9Dmnyifu+9qOWI6pvoOvaRr+kwato9yt3p1zz9C4UMob03MbbMFOzoR0ynLiljkY&#xA;yFEM4yBFhV1WVYdLvJWJCxwSOxHWioTjhFzA8wsuRfPn/OEVoX83eZLzekOnxQnpSsswb/mVneOn&#xA;fYOKuxV2KuxV2KqF9e2lhZT315KsFpaxtNcTuaKkcYLMzHwAFcVfFHnPzR50/wCchPzJi8veXlaH&#xA;y7aO5sYnqsUUCkK97dU/bYdB2qFXcklV9U/lj+UnlH8u9IWz0a2WS+dQL7VpVBuLhh1q37KV+yg2&#xA;Huakqs1xV2KuxV8v/nf/AM4patrnmG+80eSp4Xn1GR7m/wBIuW9ImdyWd4JSOH7xjUq9KGvxb0Cr&#xA;5/1j8mPzX0iRkvfKepgL9qSC3e5jG9P7yASJ1PjiqRjyb5vMvpDQ9QMtePpi1m5culKca1xVPtG/&#xA;JT82dYdUsvKepUf7MlxA1rGe395cekn44q+zf+cffKv5m+VvJ50bzvPbzRwFf0RFHK01xbxU+KCV&#xA;6cCqmnDizU3FaUAVeo4q7FXx5/zmxpD2vnTy7rcdUN5YPbh12POzmL1qO4FyuKsl/Lz/AJyc8ra2&#xA;sNj5mUaHqZAU3TGtnI3Qnn1ir1o/wj+bOY1XY8474/UO7r+1z8epB2Oz2iKWKaJJYnWSKQBkkQhl&#xA;ZTuCCNiDmnIINFygVGXTNOmvYb6W1hkvbbkLe6eNWljDgq3ByOS1UkGhwjJIDhs0ei0LtE5FLxD/&#xA;AJyycP5F0ezQcp59WjaNdt+NvMp/GQZuuxI/vJH+j+lxNWfSPe9rgiEMEcQNRGoQE9+IpmmlKyS5&#xA;QCpgSsllihieWVxHFGpeR2NFVVFSST0AGEAk0EEvn2fVfOv5269e6foN9Jof5e6fIYbm9QMst2af&#xA;ZIBUtyG4QkKqkFqmgzfiGLRQBkOLKfx+C4ZMspobRZzof/OOv5U6VCiyaUdSnUUa4vZZJGb5opSL&#xA;7kzBydrZ5HY8PuDbHTQDP9G0XStE02HTNJtks9Pt+Xo20Qoi83LtQe7MTmBkyynLikbJboxAFBJv&#xA;zO1Aaf8Al35lu60ZNNuljP8AlvEyJ/wzDL9FDizQH9IfYxymol59/wA4P6S0eg+adXI+G6ura0Vv&#xA;e2jeRgP+kkZ2zqX01irsVdirsVdir50/5zJ/MGbSfK1j5PspOFxrrGa/KmhFpAwon/PWWn0KR3xV&#xA;mf8Azjd+WEPkj8vrae5iA17XES91KQijorrWG333HpI24/mLYq9YxV2KuxV2KuxV2KuxV2KuxV2K&#xA;obUdT03TbR7zUbuGytI/7y4uJFijX5u5VRir5U/5yz/MX8tfNfl7S7DQtZh1LW9NvS5W2V3iFvJG&#xA;yyUnC+kfjVPsscVSv8i/yi/LTzn5Ij1XVLSafU4J5rW9C3EkaFlIdCFQrT926980XaOuy4cnDGqI&#xA;vk5eDDGQsvdvKXkby35StXtdBgmtrZ6Vge6uZ4wf5ljmkkRCe5UCuaPPqp5Tc9/gHLhjEeSN8x3+&#xA;o6foGoX2m2hv9QtoJJbWyFazSKpKxjjv8R22yOCEZTAkaBZTJAsPHv8AlcP53/8Altpv+BuP+ac3&#xA;H8n6X/VPti4vjZP5rzz8wfPP5i+bfNvluw1Dyq1rqWjzG+g0ROZmuRVZDVGHPjxgbcDpXNhpdNiw&#xA;wkYy9Mutj8dWnJOUiAQ9D/5XD+d//ltpv+BuP+ac1/8AJ+l/1T7Yt3jZP5rv+Vw/nf8A+W2m/wCB&#xA;uP8AmnH+T9L/AKp9sV8bJ/NYp+ZX5v8A5qXnli40LVfKbaCutAWkdyxlWRwWXnHGrheRdfhI8DmV&#xA;pNBgE+KMuLh9zXkzTIoirR/kbzf+bvlHy1Y+XtO/LedobYENM6zK0kjtyeRzxoOTH6BtkNTp9Plm&#xA;ZyyfaEwnOIoRej+RPO35o6xr62fmPyf+hdNMTub71C1HWnFaV/azX6rS4IQuE+KXds348kyaIZ7q&#xA;jaqthKdKSCS/pSBbp3jhr4uY1kbbwA38Rmux8PF6r4fJuldbPlv8+YvzstdPS483apafoO7nEEVh&#xA;pcjJbl6NIA0bKkjgenWsnKhpnTdnHTH+7HqHfz+f6nAz8f8AFyfQ3/OLHl06N+TWkyOnCfVpJ9Rm&#xA;Hj6r+nEfphiQ5t3GeuYq7FXYq7FXYq+MfzQhXzz/AM5YWmgz1lsLe7sbB4zvW3gRbi5TvSrNLir7&#xA;OxV2KuxV2KuxV2KuxV2KuxV5j59/5yM/K7yb6kFxqQ1TU0qP0dpvG4cMO0kgIij36hn5e2KvAvMv&#xA;/OWP5p+arl9P8laWukxtXiYIzfXvHpUuy+mg+UdR/NkJ5IwFyIA80xiSaDF/+VT/AJo+b7sah5w1&#xA;h1kavx3sz3k617KgYoo9uYp4ZptR7QYIbRuZ8uXzP7XMx6GcuezJYf8AnH3yrBptwjXFxd6g8LrB&#xA;NIwSNJSpCOEQA7NvRmOak+0eQzGwjCxfU11/FOT/ACfEDnZYH+S+sfmZZeajoHlC8htrq6ZnubC/&#xA;K/VnMAPLkrAtyUdfT+Kg8BnSa7HhMOLINg6/CZA1F9k6KdbOmw/pxbZdTp/pH1IyNAW8U9UK9Pnn&#xA;I5eDi9F8PnzdlG63R2VsmndUUu5CooJZiaAAdSTiBaHhP5N8/On5r+bPzEkBbT7dv0do7EGhWgUM&#xA;tRswgjUsP+LM3vaH7nBDCOZ5/j3/AHOJh9UzJ7vmicx2KvEf+clQLS78i63cEjT9O1cC6O3H4mjl&#xA;FR/qwPm77G3GSPUj9f63E1XQvbQQQCDUHoc0jlN4pSXzN5z8q+V7ZLjX9Tg0+OSvpLK37x+PXhGv&#xA;J3pXfiMuw6bJlNQFsJ5BHmXzJ+dn5haf+Z/mby75e8qtLPbLN6EbyI0YluruRI0oh+KigChIHU50&#xA;/ZmilhieL6i4GoyiZ2fbWh6Ra6Noun6PaClpp1tFaW4/4rgQRr+C5s3HR2KuxV2KuxV2KvjfymCP&#xA;+c0p/rdK/pTU+POlKfUp/S/4144q+yMVdirsVdirsVdirsVeQfmX/wA5Ofl55MaaxtZv0/rcdVNl&#xA;ZMDEj+E1x8SL4ELyYdxir5W/Mf8A5yD/ADJ88GSC6vjpmjyVC6VYFoYmQ1FJXr6kte/I8fADFXme&#xA;Kvpj8jdTtb3yJBFFGkdxYyyW9zwVU5MDzRzTqSjipPU1zhvaDHKOosk8Mht5d/6/i7rQSBh5h6Fm&#xA;ic12Kvnvz6l35B/Nqz8z2CEQyzLqMSqeIY143UVf8upr7Pnedl5RqdLwS5gcJ/R9n2uj1MPDyWPe&#xA;+wdL1Ky1TTbXUrGQTWd5Ek9vKOjJIoZT9xznMkDCRieYc2JsWisgyYZ+b1p5vvfIGqWPlSFZ9Tu0&#xA;9F1LiN/q77TelXYuV+EAkddt6A5vZ8sccoMzsPv6NOYSMdnzl+Wn5m/mVoKR+RtEtNLsrmGWSsOp&#xA;q1vM87t8Su8ssS+p0UKaGgAGdDqtHhyfvJ2fd3fBwseWUfSHq36V/wCcqf8AqzaN/wAGn/ZRms4N&#xA;B/OP2/qci83c79K/85U/9WbRv+DT/sox4NB/OP2/qW83c8o/Mj8z/wAy/MAm8i6zaaZfXU0sY9HT&#xA;Ea4lSdGqqxvFLKvqbFSBXqQc2el0eHH+8jY2693xcfJllL0l9KflXb+bbXyJpVp5riWLV7aIQsqu&#xA;JGMSbRGUio9ThQNQnx70znNccZyk4+R+9zsIkIi2W5iNqB1xdH/RF2+sxQy6XFE8t4tyiyRelGpZ&#xA;i6uCpAAyzFxcQ4D6ixlVb8nzj/zjB5UtfNn5xal5tisltNE0Rpbu1tEUCOOa6ZktYgBt+7j5tt3U&#xA;Z3UIkRAJt1BO77PySHYq7FXYq7FXYq+M/wAyX/wb/wA5b2WsP+7s7q90+7Zz8NILlEt7htqV3EmK&#xA;vszFXYq7FXYq7FWGfmR+bnkn8vrD6xr16PrkilrXS4KPdTdacY6jitRTmxC++Kvjz80/+clPPvnk&#xA;TWVq50Py45KfULRj6kqntcTjiz1H7K8V8QeuKsQ/KyLyvP5wtbTzFbC4trn91bc2IjW4JBj9QAjk&#xA;G+zQ7VIrmB2mcowE4jUh93Vv0wiZgS5Po7zD5J8ta/pa6bf2UfoQrxtWiAjeDbb0io+Hp06eIzht&#xA;N2jmwz4oyu+d7373dZNPCYoh8/effyj17yuZLu3B1DRgSRdRr8cS9f3yD7P+sPh+XTOz7P7Wxajb&#xA;6Z936u90+fSyx78wnP8Azj5r4s/M11o8jUi1OHlED/v63qwA+cbP92YvtDp+PCJjnA/Ydv1NugyV&#xA;Ou99C5xDuWDeefKvnzV9WiufL+v/AKKskt1jkt+Ui8pQ7sX+AEbqyj6M3XZ2t02LGRlhxyvnQO23&#xA;e4eow5JSuJoe8sD81/lL+ZF9pj3Go65Hq7WKPLBbMZGc7VZY+S9WC9O+bnSdsaQTEYQ4OLyAHxou&#xA;Jl0mWrJuvel/5Q/8rK80ySeXdA85S6P9Qh9W2spZ51RouXx+kEDD4CwqPfbvmz1pw4xxzhxX5Bxc&#xA;XFLYGnv35Y+RfzR0DXri881+af03p0lq8MVp6s0nGZpI2WSkiqNkRh9OaLW6rBkgBjjwm+4D7nMx&#xA;Y5g7m3p2axyGGfmF+U3k/wA82pGq23paii8bfVIAFuEpWgLU+NN/st9FDvmZpddkwnbePc1ZMMZ+&#xA;95R/iv8AMz8lbm20/wAzMPMvk2Z/Ssr5XpcIBvxXmSwKr/ut6r2Vxm28HDrAZQ9OTr+P0uNxzxbH&#xA;cNSeb/zJ/Om9uNM8pk+XPJ0Lelf6g7D13DD7L8DyJZf91oafzNTEYMOjAlP1ZOn7P1qZyymhsHrH&#xA;5d/lN5R8i2gXS7f1tRdaXGqTgNcPXqAeiJ/kr9NTvmq1euyZjvtHucjHhEPezPMJuePedvy3/OXV&#xA;fNF/qGg+c/0ZpM7KbWx9a4X0wI1VhxRSoqwJ2zc6fWaaMAJQuXuDizxZCbB2eNfm7F+Z3lQQaDr3&#xA;nKXV21SJmm0+GedgIQwCmVXC7OwIUd6HNtopYcvrhDhrrQcbKJR2JeieSv8AnHD8+9H0SJtG83Q+&#xA;XlvlS5udPinuonSR0Hwy+nHxLqPhO5zYtD2r8mvJH5m+V/0x/jjzN/iL659W/R/76eb0PS9X1f75&#xA;Vpz5p08MVel4q7FXYq7FXYq+Xv8AnNjya81joXnG3Sv1Vm0y/YCp4SEy25PgquJB82GKva/yY87J&#xA;5z/LXRNbaTneNALfUfEXVv8Au5SR25leY9mGKs2xV2KrZJI4o2kkYJGgLO7EBVUCpJJ6AYq+aPzm&#xA;/wCctrTTWn0L8vmjvL1ax3GvOA9vEehFsh2lYH9tvg8A1cVeMfl95AvPzCvLrzP5l1SW6iNwUueT&#xA;tJdTyqqsQ7tXgvFgPGmwp1zS9rdrflqjEXMj4OZpdL4m5Oz3O18seXrXSP0PDp0C6ZSjWhjVkb3c&#xA;NXk3ud842etzSyeIZHi73bDDAR4a2eaeb/yBsLlmvPK9x9QuQeX1OYs0JPX4JN3j/EfLN9ovaIj0&#xA;5hfmP0j9XycLNoBzh8noHku+1y50OKLXrV7XWLT9xeB6FZGUCkyOvwsHG549DUds03aOLHHJxYiD&#xA;jluPLy8v1OXp5SMakPUE9IBBBFQdiDmCDTe841/8pLaHW7bzL5U42OqWkyzvYfZt5+JqyrT+6LrV&#xA;f5fl1zoNL21xQOLPvGQri6j39/3+9wMujo8UOY6PSB06U9s54uewnzt5H8z69qsV5pXme60W3jgW&#xA;F7WAyhWcO7GQ+nLGKkMB07Zt9BrsGGBjkxiZvnt5d7iZ8M5m4ypj/wDyqbz9/wBT/f8A/BXP/ZRm&#xA;d/K+k/1CPyj+pp/K5f55+15z518keZ/y91G01W01SZ2nLiPVrYyW8qTMDzQurFgXQnfl8Qrm90Pa&#xA;GLVxIrl/CXCz4JYiHv8A+Qeia/NDH5tufO155k0u+s3gGm3Tzt9XufUjZuQkmlUPHwZdh0NQaHfV&#xA;9qTgP3YgIyB57bhv04PO7eyZp3KYZ+afm/zN5Z0KGby5okmtanezC1gVAXSF3UlXkRPjYbdqDxYd&#xA;83Q6eGWR45cIG7TmmYjYMC8p/kVrGu6ovmj81b1tV1Njyi0YODBEOoWQp8FB/vuP4fEtXM7P2nGE&#xA;eDAKHf8Aj7y1QwEm5orzX+Rd9pepP5n/ACuvm0HWlq0mlhqWc46lFBqqV/kYFP8AVyODtMSHBnHF&#xA;Hv8Ax9/NM8BBuGxZB+VP5j+ZPMs9/ovmbQJ9J13R1Q3s3ErbPzNEoGPJWehIA5KQKhu2Ua7RwxgT&#xA;hK4yZYcplsRuHo2a1yHh35u+SvN1nNrXnD/lYl/omiIFli0yB7gBSEVFiiC3EacpHGwAG5zd6HPi&#xA;lw4/DEpd+3z5OJmhIXLi2eW/lJ+UXnn829Svtdl1ue0XTjGo127MtzM9ytDHHG5dXrGg5E8vh+Hx&#xA;zo4QERQFBwSSeb2z/oXX86P/AC8Gq/8AI2+/7Kskh6L+UP5dedPJv6W/xN5wu/Nf1/6v9U+tvO/1&#xA;f0fV9Th68s3956i1pT7OKvRcVdirsVdirsVY/wCf/J9l5x8nar5bvKLFqMDRpKRX05R8UUlP8iRV&#xA;b6MVfLf/ADiz50vvJX5han+XXmGtsmoztDHE/SLU4Dw4jt++Qca9yEpir7ExVK/MnmbQvLOjXGs6&#xA;5eR2Om2q8pZ5TT5KoG7M3RVUVJ6Yq+M/zS/PHzr+bWrnyv5Vt5rPy67fDZoaS3CqaerduDRU/wAi&#xA;vEd+RplWbNDFEymaiGUIGRoc0Nc/846uugI1vqXPX1BaRGFLVtv7tTTmtP5z18BnOw9pInLRj+77&#xA;+vv/AB9rsD2eeHY+pV/Io6rofmDWPK2rwSWlzJEl3FBIKCsbem5UjZuYddxUHjke34xy4YZYGwDW&#xA;3n/YuhJjMxL2rOSdq7FXYq7FXYq7FXYq7FUt8w6Bp2v6Pc6VqCc7a5XiSPtIw3V0J6Mp3GZGl1M8&#xA;GQTjzH2+TXlxicaLxryB5w1r8nPPM+i63yl8v3rKbrgCVKE0ju4V8R0ZR13HUDO3ywx67CJw59P1&#xA;H8ebpgZYZ0X1xZXlpfWkN5ZyrPa3CLLBNGQyOjiqspHUEZzE4mJo8w54N7q2RS7FXYq73xVTuLi3&#xA;treS4uJFht4VMk00hCoiKKszMdgAOpwxiSaHNBNPlfzv5j8wfnh+Yll5O8qBhoVtKTFKwIQqvwzX&#xA;047IgNEB33p9p6Z13Z2iGGNn6zz/AFOtz5eM+T7B8j+TdG8m+V7Hy7o8fCzso+Jc/blkO8ksh7s7&#xA;bn7htTNi0J9irsVdirsVdirsVdirsVfLP/OXf5WXENxb/mXoKNHNCY4tbMNVdWQhbe7BG9RtGx/1&#xA;PfFWefl3/wA5I+VdQ/KqTzN5mu0ttV0YLbavarT1Z7gqfSaCPbl9YCkgdFIb9la4q+cvNPm3z/8A&#xA;nr5uCUNnolo1YLRSxtrOIkgSSdPUmYd+p7cV6Yms1mPTw4pn3DqW3FhlkNB695O8l6J5U00Wemx/&#xA;vHAN1duB6szDux8B2XoM4LXdoZNTK5cug7vx3u7w4I4xQT/MFvUJbGzluYbqSFGubfl6ExA5oHFG&#xA;AbrQjqMsjmkImIPplzDEwBIPUNahew2Nhc3s54wWsTzSt4JGpZj9wxw4zOYiP4iB81nLhBPc8w/J&#xA;Tzn5v8y3mqHV7oXFlaIhjHpojLJKxIAZQtQFQ9a50XbujwYYRMI8MifsH4DgaLNOZNmwHq+cy7F2&#xA;KuxV2KuxV2KuxVjXnzyLpnm/SDZ3P7m7hq9leAVaJyO/ijftL/EDNj2d2jLTTsbxPMfjq4+o04yD&#xA;zeb/AJZ/mj5g/KrXZPKnmyKSTQS9QFq5t+Z/v7c/txP1ZR8x8VQet1Gmx6vGMmM+r8bF1UJyxS4Z&#xA;PqrTNT0/VLCDUNOuI7qyuVDwXETBkZT3BGczkxygeGQohzgQRYRWRZOxVSurq2tLaW6upUgtoVLz&#xA;TSMEREUVLMxoABhjEyNDcoJp8v8A5n/mrr/5n65D5E8hQTTadcy+kxQcZL1lNeTV+xbpTl8VNvia&#xA;nTOp7O7OGL1S+v7v2uvz5+LYcn0j+SX5N6V+Wvlv6uCl1r96FfV9RUGjMKlYoq7iKOu38x+I+A2z&#xA;jPR8VdirsVdirsVdirsVdirsVSDz3rvlfQ/KWp6h5oaMaGsDx3kUgDCZJFK+iqEjm0leIXvir81d&#xA;SfTpdTupdPhkt9MedzawyMJJI4WYmNGeihmCbV74q+q/y8tfLEHlOyPlsV06VefqGnqvJ0czH/fl&#xA;RQ+HQbUzzrtWeY5z4v1D5V5eTv8ATCAgOFkma5yHYq7FWIfm3qBsfy81mRftSxLbge08ixN/wrHN&#xA;r2Jj4tVHys/Z+txdZKsZSD/nH3TRb+S5rwj4767kYH/IjVYwP+CDZm+0mQnNGPQR+/8AAauz4+gn&#xA;zenZzrnuxV2KuxV2KuxV2KuxVjnnbyLovm3Tfqt+np3MYJtL1APUiY+Feqn9pe/zocz9B2jk00rj&#xA;vHqPx1aM+njkG/N4/ovmf8xfyX1w2rr9b0W4fkbVyxtLgDq8T0Jikp12r4gimdkPA12PiHP7R7/x&#xA;7nUETwyovpX8vvzc8m+eLZf0ZdCDUgKzaVcEJcKR1KitJF/ykr70O2aHVaDJhO4uPf8Ajk5ePNGX&#xA;vTXzl578seTtMOoa9eLboa+hAPimmYfsxRjdj+A7kZVp9LPMaiP1Mp5BEbvmXzJ54/Mb87vMcflj&#xA;y1ZyQ6SzhksENFCKf96L2YbcV60+yDQAM1Cep0eghgF85d/6nX5cxn7n1H+S35IaB+Wmkkxlb3zD&#xA;eIo1LVGHyJhgrukQbfxbqewGe0vSsVdirsVdirsVdirsVdirsVQup6np+l6fc6jqNwlrY2kbTXNx&#xA;KeKJGgqzMfYYq+HfzQ/MTzL+dvnmHSNFR4PLtm7fo+2eoUIKh7y5pX42BoB+yPhG5JajU6mGGBnM&#xA;7BnjxmZoPQ4Pyv8AK8fk1vK5i5W8g5yXVAJjcU2nr/MO3am3TOGl2xmOfxfs6V3ft73dDSQ4OH7X&#xA;kehaz5g/KfzbLpWqK0+jXLB5VQfDJGaqlxDU7MKfEv0HsR0uowYu0MAlA+ocvI9x/HmHXY5ywTo8&#xA;n0Fp2o2OpWMN9YzLcWlwoeGZDUEH/Pcds4jNhljkYyFSDuYTEhY5KzTQoaPIqnwJAOCOOR3AKmQH&#xA;VyzQueKyKx8AQTiccgLIKiQPV5t/zkDctD5FijHS5voYm37BJJP1x5vPZwf4Qf6h+8OH2h/dj3p3&#xA;+UNt9X/LnRkoQXjklNRQ/vJnf9TbZjdtyvVT+H3Bs0Y/dBmOalynYq7FXYq7FXYq7FXYq7FUHq+j&#xA;6ZrFhLYanbJdWkwo8Tjb2II3Vh2I3GXYNRPFLigaLCeMSFF4R50/JTXdCnOq+VpJby1ib1FjjJF5&#xA;ARuCvGhenYr8Xt3zstB25jzenJ6Z/Yf1fF1OfRShvHcJFJ5F/M7zRY3PmTUI7m8eKMFHvZHa6mRe&#xA;0SvV2CjcdK/s1OZsu0NNimMVgHy5D39zQMGSQ4qfTP8AziV518hXnlX/AA3p1lBpPmi0XnqUIr6l&#xA;6F2+sq7lnfr8SV+A9AFIzYtD6BxV2KuxV2KuxV2KuxV2KuxV2KvjX/nI7847/wA+eYk/L/ye7XGj&#xA;QTiO4kgNRfXSnswNDBEeh6Egt0CnIZMkYRMpGgExiSaDJvy88h2PlDRRbJxl1G4o9/dAfbcDZVPX&#xA;gn7P3988/wC0+0Zamd8oDkP0+93um04xx82vOP5meVvKoMV7OZ7+lVsLejy+3PcKg/1j8q4dF2Tm&#xA;1G4HDDvP6O9c2qhj25l47r/mfzt+ak6aXovlxrmO3f1I47SF7meOuxLzAURT32UZ1/Z/ZcNNdEkn&#xA;n3fJ1OfUnJzDFvNXl7z35Lu/8P8AmCG60uQoLhbNpaxMsg+2nps0TVpQkHqKHcZseEXdbtFsbySH&#xA;Yqu9ST0/T5H068uFTx5UpWnjir2HyZ+T/wCfGr+U9O1/yreSS6VdKzWkEOo+iQI5HRlMcjxoPjjI&#xA;pXKMmmxT+qMT7wGcckhyJCOudA/5yq0IfvtM1G4VDuscNvqFadqwidj07HMXJ2Tpp84D4bfc2x1W&#xA;QdUvl/Oj8y9CmEPmHQ0iPQpc209pKT1/aNP+FzCyezunly4o/H9bbHX5Bzop1pv/ADkboslBqWkX&#xA;FsfG3dJx8/j9HNfl9mZfwTB94r9bkR7RHUMv0r82/wAvtSoserx28ndLoNb0/wBlIFT7mzWZuxdT&#xA;D+HiHlv9nP7HIhrMcutMst7i3uIlmt5Umib7MkbBlPyIqM1s8coGpAg+bkxkDuFTIJdirsVdirsV&#xA;dirH/PXm608q+XZ9Umo8391ZwH/dk7A8V+Qpyb2GZ/Z2iOoyiP8AD19zRqMwxxvq+cfL9n+Yf19/&#xA;Omi29ytzYytfnU41CgPyLOyhqCTqeSqDt1FM7+WoxYyIGQBOwDoxjlIE0+1/yK/O7S/zJ0IpP6dp&#xA;5nsVA1LT1OzrsPrEAO5jYncdVOx/ZJyGt6jirsVdirsVdirsVdirsVfO/wDzlT+dh8vaa/kfQJ6a&#xA;7qUf+5S4jPxWtrINoxTpJMD8wm/7SnFWA/k3+W48v6eNZ1OL/c1ep8EbDe3hbfhQ9Hbq3h08a8V2&#xA;52n4svCgfRHn5n9Q/HR3Gi03COI8yl/5qfm5LYTt5d8sP6mqM3pXd3GOZiY7elFStZa9T+z0+10v&#xA;7I7G4gMmUbdI/pP6mGr1demPzZX+UH/OJcl6I/MP5lNKZJj6sehB2EjV35XkoPKp68FNfFuq51wF&#xA;OqfT2j6Jo+i2Een6RZQafYxf3dtbRrFGPfigAqe5xVj35mflh5Y/MLy++k61CBKgLWGoIB69tKf2&#xA;o2PY0HJejD6CFXwV+Z35WeaPy715tL1qHlbyFmsNRjB9C4jBoGU/st/Mh3X5UJVYdirsVfb3/OHX&#xA;mKPUfyrfSS9Z9EvpovTrUiK4/wBIRvYM7yD6MVe7YqsmhhniaKaNZYnFHjcBlI8CDtirDde/JX8q&#xA;Ne5HUvK1g0j15zQRC1lJPcyW/pOT9OKvMfMn/OF/5eXwZ9D1K+0aY/ZRit3AP9g/CT/krirzTVv+&#xA;cTvzh8tSPdeVNVh1EDoLS4exuWp4rIVj/wCSpyGTHGYqQBHmmMiNwxq58/fnT5ImW382aVMYgeIO&#xA;oWzRch0pHcRhUfp1+LNVn7C02TcDhPl+rk5UNbkj1tlGgf8AOQHlS94x6rBNpUx6uR68P/BIOf8A&#xA;wmaPUezmWO+MiX2H9X2uZj7QifqFPRNK1vR9Wg9fTL2G9iHVoHV6V7NQ7H2OaTPpsmI1OJi5sMkZ&#xA;cjaNyhm7FXYqlGq+VNC1fULe91S2F69opW2hn+OFCxqzekfhLGg3avTbMzDrsuKBhA8N8yOfz/U0&#xA;zwRlKzumyqqqFUAKBQKNgAO2YhJJttp84edta0nyl+Y0Gu+Qr/0NQtH9W4WAfuI5wfiRSDxdJBUO&#xA;lOPUd6D0PsqWc4R4w36d5Hm6HUiAn6H2P+TH5xaN+ZXlwXcIW11u0ATVdM5VMbnpJHXcxP8Asnt0&#xA;PTNk470PFXYq7FXYq7FXYqwf84fzP078uvJtxrU/GXUJawaTZMf765YbVA34IPic+G3UjFXyR+U/&#xA;lPUvNnmK589+ZXa65XDzRPKB/pF2Wq0h7cIz0AFK7D7NM5/tztLwo+HA+uXPyH6z+OjnaLT8R4jy&#xA;DOPzf89t5Y8v+hZScdX1HlHbEdY0A/eS/MVovufbNJ2J2f4+TikPRD7T3fr/AGubrM/BGhzKf/8A&#xA;OK/5HQWtjb/mF5ltxLqV3+90K2mBPoxHpdMD1kk6x+C/F1O3dukfTGKuxV2KpL5v8neXfN+hz6J5&#xA;gs0vLCffi2zxuPsyROPiR17EfqxV8N/nR/zj/wCZfy5umvYeep+VpXpb6mq/FFyPwx3Kj7Ddg32W&#xA;7UO2KvKcVeu/84z/AJoQeRvPwi1KX0tC11Vs7+RjRIpA1YJ29kZipJ6KxPbFX3sCCKjcHocVbxV2&#xA;KuxV2Kqc9vBcQvBcRrNDIOMkUihlYHsVNQcVeX+cP+cZ/wAovM3OQ6QNIvH/AOPrSmFsQf8AjDRo&#xA;D/yLrirw/wA0f84fef8AQZ21DyRrKal6dTHEWNhejwVH5GJvmXT5ZGURIURYSCRyYf8A8rL/ADW8&#xA;jXo03zjpUslK8Y7+JreVlXasU6rxdf8AKo3zzT6rsHBk3j6D5cvl+qnLx62cee7P/LX5zeSdbKxS&#xA;XJ0y7bb0byiKT/kygmP5VIPtnO6rsLPi3iOOPlz+X6rc/HrYS57FnSsrKGUhlIqCNwRmmIINFywW&#xA;8CWLebfLnmTzCG0+PVV0jRm2n+rK0lzOpG6s7FFjXtRa17nembXRavBp/VwmeTz2A93P5uLmxTnt&#xA;dRSjR/yO8g6cVea2l1GVTUPdyEiv+pH6aEfMHL83tBqJ/TUfcP12whocY57sS80+XfMH5YeaLfz3&#xA;5JdorSKStxbAExxBz8UUigjlbydP8n58Tm97H7WGccE/7wf7L9vf8/dhavS8BsfT9z6x/Kf81NB/&#xA;MbyzHq2nEQXsVI9U0xmDSW03genJHpVHpuPAggb1wmbYq7FXYq7FVK6ure0tprq5lWG2gRpZ5nIV&#xA;ERByZmJ2AAFTir4W89eZtV/PD81xHas8Xlyw5RWXb0bJGHqTsDt6s7U/4Vei1zE12rjp8Rmfh5lt&#xA;w4jOVB7Zp2n2enWMFjZxiG1tkWKGMdAqig655xmyyyTM5G5F6CEREUOTxPS9Gb81/wA/YNJlLNo1&#xA;tMUuKbUsrEky0I6es9QD25jPQ+zNL4OCMevM+8/inQ6nJxzJfdcUUUUSRRIscUahY41AVVVRQAAb&#xA;AAZntC/FXYq7FXYqo3dnaXtrLaXkKXFrOpjnglUOjowoVZWqCD74q+T/AM7f+cTri0a48wfl7E09&#xA;pvJdeX6lpY+5NqTu6/8AFZ+Ifs16BV8xyRyRSNHIpSRCVdGBDBgaEEHoRiqLv9b1nUEjS/v7m7SF&#xA;VjhWeV5QiIOKqocmgUbADFU/8k/mp588l38N1oOrzwxREcrCR2ktJFH7MkDHgRTaoow7EYq/Qb8v&#xA;POFv5y8laR5mt4/RXUoBI8NeXpyqxjlQNtULIjCuKsixV2KuxV2KuxVB6rpGlavZSWGq2cF/ZS7S&#xA;W1zGssbfNHBGKvD/AD5/zh75B1r1Lny1PL5cvmqREtbizY/8YnYOlT/K9B/LirxDWPy7/Pr8pmea&#xA;GKW90OI8nuLOt5ZcQakvERzhHixVfnmJqdDhzj1xvz6/Ntx5pw5FNvKv/OQWi3fCDzDbNp0/Q3UI&#xA;aWAmnUqKyJv2+L55zWr9nJDfEeLyPP58vudhi7QB2kKepWGo6fqNst1YXMd1bP8AZmhcOp+lSc57&#xA;LhnjPDMGJ83YRmJCwbROVMlk0MU8LwzIJIZVKSRsKqysKEEHqCMlCZiQRsQggEUXiepWHmf8m/OM&#xA;PnDyiS+jSH07i3erxhHYFrafuY2oOD9QadwCe77J7UGojwy2yD7fN0mq0xxmx9L7C/Lr8wvL/n3y&#xA;zBr+iyExSfBc2z/3tvOAC8Ug8RXY9CNxm5cRk+KuxV2Kvm7/AJzA/NOTTNHg8haVKRf6ugn1ZkJ5&#xA;JacqJDt3mdTyH8op0bFUg/KjyOvlfy2n1iMDVr8LNfsaVXb4Ia/8Vg7/AOVXOB7Z1/j5aH0R5fpL&#xA;vNJg4I2eZZRr1/8Ao/Q9Rv8A/lktZp/+RUZf+Ga7SwE8sInkZAfa35ZVEnyYp/zg/o0Ump+atccV&#xA;mghtbKJu/Gd3ll/GBM9PecfWeKuxV2KuxV2KuxV2KvOfPf5Aflj521UatrGmtHqRFJ7m0kMDTdKG&#xA;Xjs7CmzUr+GKsb/6FD/Jv/lmvv8ApLb+mKu/6FD/ACb/AOWa+/6S2/pir0/yZ5Q0byf5as/LmirI&#xA;mmWPqfV1lcyOPWleZ6sevxyHFU7xV2KuxV2KuxV2KuxV2KvMfzC/5x1/LLzr6lzcaf8AovVn3/Se&#xA;ncYJGbrWSOhikr3LLy9xir5080f846/nH+XVzJqnlK6k1nT1NTLpwYXHFenrWR58/kvMZTmwQyx4&#xA;ZgSDKEzE2DSH8r/85ABZRZea7IwSoeD3lup+FgaH1YT8Qp34/wDA5zes9nBzwn4H9B/X83Y4u0Ok&#xA;w9b0nWdK1e0W80y7iu7ZukkTBgD4Hup9jvnM59PkxS4ZgxLsYZIyFg2q31jaX9pNZ3kKz2s6lJoX&#xA;FVZT2ORxZZY5CUTUgmURIUeTxy2svzN/KLzbcaj5Eil1DS9RRkNuIZLqMqDVUnij35Rk/A+3z3YZ&#xA;3Wg7YxZYXOQhMc7NfK/wHS59JKMthYZVB/zlL+eWlMZNc8owTWiEmRzaXlsaClaS83jp/sTmxx6r&#xA;FM1GUZe4guPLHIcwQ9C8jf8AOYH5ea7NFaa9bzeW7uUhRLMwns+RNADOgVl+bxhR3OXsHulvcW9z&#xA;BHcW0qTW8yh4Zo2Do6MKqysKggjoRir849U/MZtX/M6688azZnUTNdNcxWTSekFVPhtk5cZPhhVV&#xA;FKb0yjU4pZMZjE8JPVnjkIyBItnP/Qyn/fuf9Pv/AF4zm/8AQx/tn+x/487D+Uv6P2/sQWuf85A/&#xA;pXRNQ0z9A+j9etprb1vrfLh60ZTlx9Fa05VpXLcHs74eSM+O+Eg/T3f5zGev4okcPPz/AGPU/wDn&#xA;B7UUbTvNmmkgPFNaXCjuRIsqH7vTH350zrn1DirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsV&#xA;dirsVdirsVdirBPzB/JP8uvPivJremKmpFaJqtofQul2oKuopJTsJFYYq+afOP8AzjN+afkK7fWP&#xA;JF7LrNjGeX+iVjvVUb0ktqlZh/qcq/yjK8uKGSPDIAjzZRkYmwl/lf8AP1opf0f5vsmgnjb05LyB&#xA;CCrA0PqwH4lI78f+BzmtZ7OA74T8D+g/r+bsMPaHSfzet6TrOlavZreaZdR3ds3SSJgwB8D3B9jv&#xA;nMZ9PkxS4ZgxLsoZIyFg2jMpZsJ87flR5Z8zxSTLCthqxBKX0Kgcm/4uQUEg9/te+bjQds5cBAke&#xA;KHcf0H8BxM+kjPlsWPfkJ+aPmL8t/PS+QfNEjHQbycWyo7FktbiZh6U8LH/dMpYcxsN+WxBr3OHN&#xA;HLATibiXSzgYmjzfWP8AyrzyB/1LOlf9INt/zRlrF3/KvPIH/Us6V/0g23/NGKu/5V55A/6lnSv+&#xA;kG2/5oxVHaV5Z8uaRJJJpOlWenySgLK9rbxQMyg1AYxqtRiqZYq7FXYq7FXYq7FXYq7FXYq7FXYq&#xA;7FXYq7FXYq7FXYq7FXYq7FXYq7FXYqwT8xvyU/L/AM/xFtbsBHqQXjFq1pSG6XsKuARIB2EisB2x&#xA;V856t/ziZ+bHl/VpT5M1qO4sZhtcpcPYT0B2SVFJBp4hj8hleTFCYqQEh5i2UZGPI0of9C+f85Nf&#xA;9XeT/uLS/wDNWUfkNP8A6nD/AEo/Uz8ef84/N3/Qvn/OTX/V3k/7i0v/ADVj+Q0/+pw/0o/Uvjz/&#xA;AJx+aX3n/OK/576ldpcalLBdTgKguLi/MzqoNQAzVagqTTMjHijAVECI8tmEpEmybf/Z</xapGImg:image>

+    </rdf:li>

+   </rdf:Alt>

+  </xap:Thumbnails>

+ </rdf:Description>

+

+ <rdf:Description rdf:about=''

+  xmlns:dc='http://purl.org/dc/elements/1.1/'>

+  <dc:format>image/svg+xml</dc:format>

+ </rdf:Description>

+

+</rdf:RDF>

+</x:xmpmeta>

+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <?xpacket end='w'?>

+			</metadata>

+		<switch>

+			<foreignObject requiredExtensions="&ns_ai;" x="0" y="0" width="1" height="1">

+				<i:pgfRef  xlink:href="#adobe_illustrator_pgf">

+				</i:pgfRef>

+			</foreignObject>

+			<g i:extraneous="self">

+				<g id="colors" i:layer="yes" i:dimmedPercent="3" i:rgbTrio="#4F00FFFF4F00">

+					<path i:knockout="Off" fill="#F8DC75" d="M237.682,33.617c-0.019-5.071,0.402-24.5-2.5-30.4

+						c-7.869,2.99-19.189,11.68-22.431,21.588c-15.532-2.32-35.042-2.045-50.381,0.608C159.808,14.753,147.946,7.596,138.243,3

+						c-4.093,6.907-3.906,19.92-3.445,31.279c-0.018,0.013-0.037,0.024-0.054,0.037c1.8,47.7,22.2,74.399,52.799,92.399

+						c31.481-17.988,50.972-49.057,50.101-93.12C237.656,33.603,237.67,33.609,237.682,33.617z M216.485,25.421

+						c0.114,0.021,0.229,0.042,0.344,0.064C216.715,25.463,216.601,25.441,216.485,25.421z M214.527,25.083

+						c0.275,0.044,0.554,0.094,0.83,0.141C215.081,25.177,214.805,25.129,214.527,25.083z"/>

+					<path i:knockout="Off" fill="#D2A41F" d="M91.013,133.328c46.474,4.115,90.927,22.883,141.085,49.085h25.598l0.361,0.191

+						c0.516-2.575-1.888-6.025-4.752-9.229c-4.941-5.528-11.623-6.145-19.707-5.951c-5.738-6.83-41.004-43.861-41.004-43.861

+						l-4.808,3.395c-38.75-21.75-49.155-62.513-49.155-62.513c-33.792,8.148-69.78,28.334-90.391,49.761l-3.118,3.292

+						c-1.489,1.597-2.928,3.174-4.312,4.723C18.967,146.661,3,170.87,3,175.213v2.25h23.816l-0.505-0.668

+						c-2.449-12.943,4.443-23.341,10.279-30.385c4.179-5.044,11.1-9.801,21.968-12.457L91.013,133.328z"/>

+				</g>

+				<g id="tomcat" i:layer="yes" i:dimmedPercent="3" i:rgbTrio="#4F00FFFF4F00">

+					<path i:knockout="Off" d="M240.682,32.617c-0.019-5.071-1.598-26.5-4.5-32.4c-7.869,2.99-22.189,12.68-25.431,22.588

+						c-15.532-2.32-33.042-2.045-48.381,0.608C159.808,12.753,146.946,4.596,137.243,0c-4.093,6.907-5.906,22.92-5.445,34.279

+						c-0.018,0.013-0.037,0.024-0.054,0.037c1.8,47.7,25.2,77.399,55.799,95.399c31.481-17.988,53.972-53.057,53.101-97.12

+						C240.656,32.603,240.67,32.609,240.682,32.617z M214.485,23.421c0.114,0.021,0.229,0.042,0.344,0.064

+						C214.715,23.463,214.601,23.441,214.485,23.421z M212.527,23.083c0.275,0.044,0.554,0.094,0.83,0.141

+						C213.081,23.177,212.805,23.129,212.527,23.083z M235.784,36.059c0.81,39.69-19.44,71.279-47.79,87.48

+						c-48.118-23.977-57.183-84.71-48.977-117.289c2.283,12.454,6.424,20.266,15.394,24.098c19.533-5.591,46.423-6.033,66.231-0.57

+						c8.255-6.001,11.456-15.169,13.204-23.18C236.029,15.921,235.777,36.055,235.784,36.059z"/>

+					<g>

+						<rect x="133.209" y="90.51" i:knockout="Off" width="26.245" height="3.239"/> 

+						<rect x="133.209" y="82.732" i:knockout="Off" width="26.245" height="3.24"/> 

+						<rect x="213.35" y="90.51" i:knockout="Off" width="26.244" height="3.239"/> 

+						<rect x="213.35" y="82.732" i:knockout="Off" width="26.244" height="3.24"/> 

+						<g>

+							<path i:knockout="Off" d="M204.1,63.524h-27.188h-3.021h-12.561v-2.917h13.31c1.639-7.018,1.963-13.725-0.014-17.125

+								c-0.844-1.446-2.01-2.121-3.674-2.121c-7.609,0-10.753,8.046-10.884,8.389l0.002-0.003l-2.73-1.024

+								c0.156-0.42,3.965-10.278,13.612-10.278c2.692,0,4.834,1.235,6.191,3.57c2.41,4.141,2.127,11.305,0.494,18.592l23.354,0

+								c3.103-9.116,9.581-13.414,20.405-13.414v2.916c-11.732,0-15.019,4.973-17.366,10.498l12.743,0l-0.029,2.901L204.1,63.524z"

+								/>

+							<path i:knockout="Off" d="M206.017,77.925l0.019-0.003c-3.459-5.101-4.555-9.456-3.108-14.413l-2.971,0.015

+								c-1.035,3.3-0.62,8.273,1.929,12.54H172.21c1.806-3.616,3.479-8.025,4.702-12.54h-3.021

+								c-1.348,4.786-3.241,9.524-5.372,13.277l-0.689,1.213l16.652,10.482l-9.375,6.178l1.605,2.436l10.479-6.908l11.312,7.382

+								l1.554-2.468l-10.488-6.488c0,0,15.682-10.187,16.461-10.684C206.024,77.937,206.021,77.931,206.017,77.925z M187.156,86.733

+								l-12.317-7.755l24.071,0.006L187.156,86.733z"/>

+						</g>

+					</g>

+					<polygon i:knockout="Off" points="114.745,73.635 122.087,95.391 99.788,80.434 "/>

+					<polygon i:knockout="Off" points="93.261,83.153 101.147,96.75 84.559,88.32 "/>

+					<polygon i:knockout="Off" points="75.313,93.759 79.12,107.356 67.699,99.47 "/>

+					<polygon i:knockout="Off" points="196.871,130.199 189.801,141.077 202.31,135.366 "/>

+					<polygon i:knockout="Off" points="208.021,142.709 196.6,151.411 212.372,147.332 "/>

+					<polygon i:knockout="Off" points="180.282,24.686 188.713,43.178 194.151,24.414 "/>

+					<polygon i:knockout="Off" points="137.588,51.608 150.913,58.678 138.947,59.494 "/>

+					<polygon i:knockout="Off" points="140.851,66.021 149.009,69.284 142.211,71.188 "/>

+					<polygon i:knockout="Off" points="236.031,56.775 225.153,61.398 234.127,62.757 "/>

+					<polygon i:knockout="Off" points="231.68,70.1 223.25,72.548 230.048,74.995 "/>

+					<path i:knockout="Off" d="M256.305,173.375c-4.941-5.528-14.623-8.145-22.707-7.951c-5.738-6.83-39.004-41.861-39.004-41.861

+						l-2.306,2.903l40.162,43.238l1.743-0.149c10.912-0.935,17.115,4.983,18.757,6.819c1.204,1.347,1.931,2.575,2.326,3.539h-22.075

+						c-50.624-26.416-95.078-45.044-142.297-49.112c0.104-6.571,1.273-14.01,3.518-22.299l-4.343-1.177

+						c-2.308,8.521-3.523,16.236-3.661,23.133c-4.92-0.326-9.872-0.495-14.868-0.495c-4.237,0-8.095,0.394-11.614,1.077

+						c-4.59-4.587-8.5-8.959-11.823-13.108c21.936-22.85,58.15-43.498,89.533-51.092l-1.015-4.396

+						c-33.792,8.148-70.78,30.334-91.391,51.761c-9.565-12.91-13.36-23.504-14.487-31.532c-1.424-10.14,0.997-19.441,6.999-26.899

+						C47.15,44.099,60.502,43.277,74.23,45.586c-0.268,2.167,0.017,4.24,0.885,5.522c3.631,5.363,23.144,7.246,34.791,2.049

+						c-8.595-12.045-26.006-17.926-30.83-15.569c-1.598,0.781-2.804,2.214-3.63,3.886c-4.745-0.849-9.458-1.48-12.903-1.455

+						c-12.107,0.088-21.363,4.319-28.296,12.932c-6.802,8.451-9.551,18.944-7.95,30.347c1.516,10.8,6.863,22.286,15.825,34.198

+						c-1.489,1.597-2.928,3.174-4.312,4.723C15.967,146.661,0,172.87,0,177.213v2.25h28.816l-0.505-2.668

+						c-1.627-8.601,1.623-19.351,8.279-27.385c4.179-5.044,11.1-10.801,21.968-13.457c9.663,9.431,21.975,19.446,35.679,29.109

+						h21.414v-2.25c0-2.539-1.259-4.762-3.545-6.257c-3.383-2.212-8.605-2.517-13.402-0.881c-4.573-5.093-7.137-11.896-7.691-20.347

+						c46.474,4.115,90.927,22.883,141.085,49.085h27.598l0.361-1.809C260.572,180.029,259.169,176.579,256.305,173.375z

+						 M33.125,146.539c-6.816,8.227-10.429,19.094-9.601,28.424H5.372c3.647-7.894,18.176-30.712,39.644-53.76

+						c2.958,3.656,6.253,7.35,9.872,11.073C44.347,135.444,37.437,141.336,33.125,146.539z"/>

+				</g>

+			</g>

+		</switch>

+		<i:pgf  id="adobe_illustrator_pgf">

+			<![CDATA[

+			eJzdffle8sqy6H0B3gFUFGQwEyEBB2YHUEFwwJlJRJlkWGuv88d59lvVSUgICWmQ75x1716/7aed

+Tnd1dXXN1fF6iuVQsjmot0J8mHG7vN70qFWbDEYxN2l1n3e70/FkhE2+G7+bZcMMdEqeS29qx7vW

+aNwZ9GPkEXmYw7d951e565vTrN/t80NbpTPptqB1Mug1apPw+K+2X5sLXs7UJvAwciAfMKKbZWJ8

+1J28hOepwbTf7PTbqcF/YPyo6OYZzi3AU0GKwuOzzk1rbO4TjrK8jB3DnAy/CLwYluBNQYInDL6V

+GTSmvVZ/UhwNGq3xOD3oDkbjmDv9T63vvqy14UnNXW11u4O/3alurfHtgtVG3nKdbgsW1qtN3FFc

+ZfKcfyOv3o7hHXgdf8fm6Nt5D1rKrckEoIKBESXpy2reOB9Aqv7ne7pptTsEw4CIF78ycqXVG3YB

+KWRRPCCFl0XtX7UHwEOehqJsmJdlGfAmhiMy9BMlPiwwjAC/RMgj5Q193a2/Oq2/Y+6rQb+lLC45

+mpQ7/9XCqRg3xzBK68202xrd9jsTWASHTbKy4stBs9VVm8i7uW6NLJT8x+o/lQ6V2qjdmsBODbrT

+CaEUSZvhator1P5pjfQJroetfmVwR+ALiUJYFMWIWxQY5Rc2HHFLouyOMoA6ScEgC8tUp2TJtKwy

+No6E42gTRHHvi7Az16NOu9OPsYLoDnHYint2Ouo09S2Lcm5J+UHWEZYM/5e1/ysAw9onk1Zf2eZs

+v5ke9BDJY6Re2Ng+7Hp30FaezX4nT2C66VCBlfz9BvtRHHX6CIPrijyR3ordKTw6HQ2mw/P+x8Dl

+U05lEScd9a/78MunOzWajj/dlcGgC6dtroP6SBkFH44mxt5L54C+9uPrA601drrW7Xbao9rws9Ow

+Gt7i+Wweu3eXTgjbNGrpY5A/Z/8ufbPcIKi0gnL+0WxwizeWz/BPrz7odsY9fWBDi/67E0XARnVb

+/eZ4Nozypw5YofOX1rh8sEzrA1idYWtJa7b/V6s7GBrQOGup9Zvu+9poaDcsQvfR6TcBK+VpZ9LS

+N3rQGyIDd5c/a0NsXuipnBA4PcbzEQotPzgrvyArT5ARTv7ptsaug3x/8Hef/OGOuXxPgJLatDt5

+8bsPrmq9ljvoOih3gEm3tC6M+9rFqDzwG367cWn8MO/SuCLjfvgH/riAX76g6W+34L50P70w7ia0

+Pty4kIE9NF0HxRoA54673AcwLfxLAIQV6eA5rrFY6wI7axEginWXnbhBkMauhdZiY/bGt+XTYmoG

+gjbTKvgtwHBGpC6skHRYZyNZRnmkHBsc5v+ozTCQqdFmcBVWTV6CclJzed8OtL9hr/GvTgOxURv9

+o/z9cFm4ArlI/vBtN9W+QC3lCQzedvv+0+v2oUMIf/SBgvxAQt436+d/1bpTtYPsPjiHOeceT/4Z

+qk8PkqNRzQqCXmtSawLgvweAXQ+Av2qjTq3eRT1o/G8A4n8dhv9JLMT1Po3PTrc5avXVPiayNXQE

+mTXq1KcTBDRIHgUX1xIb15Dn4ZH4H95Y6iXNQ4zvOIPp2+2P3xpg5wx6cZvOBpi5/9lt0NawuB3k

+QewvuuUBHY7/rYvDNQRpyHFNKoC1A7leEYQ44areIeYk++9DlXEVi8TQHTS+W03n9fXB6vv3rU2D

+/k9SwQq84N98WCiRNL/28cff/2sScNztNP6/EH9kIeXBdNRoEa/Tv3JN8yD/4wjizFN2cNOqdf81

+pP6PpcBzXM3MAfjvWs1/rFbzd6c5+XRcEScyYVbk2H/ZilTgF1f12eq0P53VbVYSwgLL/9uWpUG/

+uK76YALqYaH1MVEciM4rdB+kBoN/z9IWF/AvEbYgm/4fl7WbEzgbAt7ggMAWRsVd8pxl3TM/BnFA

+uwu1fntaa7fcxcFwOjSRLnmhOGqNW6O/Wu5K6z8Td7bZmdTqnW5norJoMRLhI7MJZHdtNKkPaqOm

+u4HBAjfrHmmKnWPP9qilrdexb31GGRFO4CT7rpwOgGNPAwCOfesLQnyx2zzp4vPJqNYfD2uwr41/

+YLpO0z3u/Fdrtk0a2mX3sDZsjeBhb9olfjdNWjMax8RO19PJcDpx39TGk9ao81+ko1sPtajgRebe

+uWyNPx3eYOb2X6Mldwd61SYtWHmL2EhLO3/3QaUfAHBtdAOrx/3pstXsTHuGCV8MJ9+KPNX4CqCC

+kOHEbbB/TEdCIxfAvIr4qIb55rATNkFb63bGpqZebfytolnUMDasNXWzJHnuTk4ngxn2tP1nDAeM

+cX/MQB6RfqG/Wo0JkEy91q31G4t7PfcKYKzb6bfcEzhrdD3Hk9HgWzv7rE3nRrczBJJE581/4Dy0

+AW0Obwy1Uz/4qzUaooN0xl4ANY3BqNlqLm6D++BqMJl7vCrvcRhOp5YDne8djJqjcVhx4JgV74Vu

+tX5/MJmtXdnlhU4aHsbjeQ662HHabzh0AXkHJ6ZJdQSML/9nGNYlpdXo0GEwbE4dOoydRmgM5tmY

+qQOSzvIOgz6QyEShw6VzqT112iasyaonMOJ5lsQzNj1H5p7RiHXHueNnufNDZd+X7zp0AjY038/A

+lc1dP2vN1qi1fLwuiyezNlnaCXA3Ia6bpX16eGzHRkZu1a/fagPj/2v5YPUOnsF5CWYGvPVXq2s/

+yEd/Eh5P6+MlC8Muze5w9DGY8RcrKlO69UDbUbUDS3S3e9/hXm30PR58fIQVdZe6+0jX+yl6TwZD

+6r5d0LhnCLDpDPyh1TRDTdHdADVF7xnUFH3noF7ce+xLNJx6bbSMuLHfyBA9dOg6BGHQ6X8MnGYe

+GVZi3YUsRO0T5iK2C262PlCKGsxZa2ZMOn8N6hNMZHLsqIiij0532RHDjmMMdjr0mZMfVr0ao2Z4

+Ahq5ppFZnSDsM240+ssOo9Jn2G38Y9BrFvGmdKt1W+G/KPt9LiE77DUYtbWxlvZRx7Fi8NhlOBh3

+lhMZ9oL9Hn4ORv+lcraoXb/BqIO5YA4DdkfhmYJUx3Sx5X01WTkcTJYcG+ypMztrOgNadFAPsEe9

+M+nVhmYRadebrKI2Vl6i6DpYTuGzfnXVW7qsY7M17rT7TugeDkdhYkItoxbs9AlMbNxaxhtJt7/p

+uhndQksGc2Qi0Enfs2iUDwuWjAm6dTCJcE4cROSIU3eDOGClsLVsmnWeSQNWdOqqC4OozNl1NeJI

+ZG27GZBkxaewS1NJC1nCFqGTs7Y/nnTVXsNh035G7KbOOOtnPyB0wZPZtfLxL/RF2m+N5lyCS6dX

++muGgiHlyGoGEL/dFjGVdJM4PnPZYAJRUuvsRpuKyryyO504WW3icNZHoA6Oxi0cbWS/YOw5/u4M

+gVv2v504HCoEcNzbluu7GNQxvcywOt0TA52yxbL72mS8zvlP1D4FtKIxexGz2IiPa6kHRX3rdFRr

+ooAgbyk+FTtDZPaO4jc4uFP8ASk7f4AKumrfV3RrybZP2c4HoHRLo/WfVq3/G6P1T+ORwRGWuGFY

+o9eqP9D9Be5On7gcUCpbuWwWqc/3ZEg3d69B/1Z2Cq6hmMm9pYmN1TG6Lq3IU+uueT0NEKHrE8BI

+14aKA7TTWmKyaOOcItbg6FQ+p716v9bpLpGD2juYtwz/5pZKV61zDojqvlXHd5yhIQncmcHffSWR

+J9/pNw0kTvuamdI5zkols3mZpMcn64O/dFtu+atp3arV4V2+0/NvlaY1fc+5iOOEmFtf1r17yzZ3

+VPtndWzOv7UaMuffXQWX+ObKqDS9tAIm8U16RF4O+oPG52jQa1mh09r5s+xdM1KFpRuCI9gjVaCa

+2xK1y4+i8gJIHudDXhl1epfoUXDuCvydsich9tRSA37GDQEl50sNc51vEiUGQajMwnN2Jrh5efct

+BzeM9sI1UdtzgHhA39+D0XdhpqKu9l7KyU1k++bNuqBWlrphtNdS6MAoLPcdzfW9cTBR5jqvAIMR

+Q8voWQG4019iAWtds716q3meThdHxILUpOjSU16e1hGNg/7kBo1EZ3hmqh+FCFW0m4ohNkelHi0Z

+C54rmtKVIdNmKbLNL17W/rNED6UaodO31Ulp3lf01JTJb079OmqdqtKp6JyrD6Hqt2WH0ILD6xVj

+LM1R4Us2RoN6baLUjc3MDuihrmqmdppNDtkc3hrW+pp7XJOx5btTJGGFmCcLHjv1cWHQqC3OAA/J

+wVGsCJWm9GcAXqOju/4NM2b7jYEerxX0B6TUQufSM00eHpHyHKRdOBANi+daheLik2L7Y7HxoWZO

+LcDpu53GDKz4ojmgF77M12Lgjik1Griz2jMX2UljC5oYyXL6/FyKZGDcJlbteAPHYmgnMfY/bGXy

+F42PnL/EJRM/qVefcHL9fhy955lmvBXz9smf8fPx4CP3Xpju5TyBJ8bUFji5qx8wXHcSSd5UcpVE

+bPgii49i79HlPQy95wZkMJgvPk6Wp7e+ZL/eHqvvHP/0kvn77PZodFzrn3bvvuqp98tSMhnssy/x

+E/ZOymw3p9lM+uz5hQwVOD4aeoUxv1MKnHxOeAKIy0sBygqAHNWTweHVRSIvj4+ls8P7cG7wKNy5

+vNnR8yOTecxVK7mj5FHDCp7jof9wCBOchdLcztF7JjxN3Cajz29VsTpki7nd0kNXna+R3M18DP1s

+snIxmeptLq/Smn/wT2Cci2kmfP15OBoJmQ7DiVvDxN1eeUfpzjLFWs4/2a1lgy9XBykxyG2p47wP

+EqNRfFwBeIPnDBv6iunIiqdu0i2XdyzlJnfc6+B7Vyy19gMRT9p/LRyWYpXA0Y34OXphxodhviBz

+geNTz64w5saXAM2dFD4YS6eC9BP/gj/9fqa5W83MT/o8erl8LpFJgcbmp4V3o6+R2Plr2HLS152r

+gu2kYid/6rWa1OUdjQ49vtGY9Y6s1jqWiuyzsMXF9q0mHe8FL0M2k0Y+fbW9apZM6vIurFXwPwcO

+uXbJctKt3KuwfTvsFqwmZXKpfMJqUpcXphW3d/oj/5E1goXqK5P7uCpbT3rqOdxlL94qlpOennEV

+Mime/UUEc4/HlXcyKbufrGfnd/V+9Dw9LuCk8cU99VX5py7rh0lDQX1SmEUhpQKTUtda3NszTRqJ

+9N6GdpO+jV4++xWbSRM1MZrbYV1e07QqKZ2839hNerbD++LP1pMeel7G25+tG9OkwGGUaUtp//HP

+Tq9gNWkg3o0d20wa+dw/eUxcW08qVKtMTmaugMas1rqVa0d3bnrctdWkTO7lJWczqbjt/e5fpk2T

+wizatDXmNPh+Zz3pKZPca/miVUv0TraDJ+qk1ZDPhN6TK+Ho2aWcVTb7/J2bW+vjIVOIhlic9HBh

+0rPWQLyphTiYlAmZV1p4eqyZJiWzqGuNfjdzr3aTZpjL/RfZetLzn1jia3R1YzlpOb7Hw6m0Xqu4

+nW+VecZm0qcQU37zb1lPmj9rXT09+n36pC6vYdq7vX7bdtLyZ+m9bjfpKXOXHx5aTw==

+			]]>

+			<![CDATA[

+			WuC9Lu9tLnF4ZLnWu+HFlu2kd2+nWxO7Sa+Z+5N8Rp8U1mKY9vI4+/ZaenmxnPTl+vvcdtKvaqSZ

+s5n0Gbgl8zLuhqzXevU17F3LEm856dt5qG876chbDnj0SVGKGc/qLZPt9C4sJ5WuQluexEsoC5Py

+YfOhmb5F39RJ67zfdGhcXv9jobZPpuX2jn1n82stMO/7sSROemyaFIb9+tGYvnhgnnQ82D1SJ52c

+BGBf5tfqea49+ZVJU1X2fJ4VBkfj22MPTppY5EnnIW2lh6xpUsBY/GxLVKY9YfMhEysMDoUrRdLw

+O7F0fn7SndGoVu/jpCnzSkfJ1kCj3hTQmFmUR75iqqQ5iZXCJgRvDVrvFUWmtmpv4jxIZ7e7r4OY

+1VMikSNn1RLbu7N7+5M5e/dObZ8C683s2jyFHdgNpL0qt2RaX62o6bkosW8a3ONvyfy0/7n1YPs0

+WjyPPetPF3Zf4vZv3m3flj5rr3u2T5Pc7mPD6qmqwxQC/RPO9u1C/fojbvv0eqtRP7N5Kp3tnh3e

+jjWMfez9yKa3bwMdTT39YLdi5qf1i3Lf9uldJvA90p8uYOzeWz/w2L59/5yJHdk+ffe+RnesnqoY

++5oUh2e2b3/fcamS7dPed+741e4poKoUj8wwtvj8ghOOH2yfNvr1csHu6a5n9/x53x5ju9nkZb1l

++/YFd7LF2j1Nergdf8wWY5EzJnu0r6065oubznSgUhqfqE/T4UPT08r76X7S+FQI3iBDKSnGXDq0

+nwbdcjJ8fUm3Pyvo1EseHctnO0hZ9z7VWj5pxGzMvvFD4u7jtpysVLz3hEUlK5dNIVsbPXkDqcH4

+Sm8Du7I2etwjfC7GSp4rwsw8+/k46wlmbu49wbvXsif41qx4fE/+Kf5WBBL8TntC+bfIolFYbSdL

+fFkCqNMBsE4H3+JOVP5AS3yf82h25YuUe5s81xLxIbuVuQhsR7Sl7faSg8wrkOm2vMXtHRWPM639

+rJecOzRnnjQsWvdzKT3R2pKX9yT9jmPpp6pjPzDD6js333o/l9e257730DNwHFHcpl0L2GLRG/8L

+xYg7fT7+RtHPe925rFGsRdxGod6gGHHvvB5ua/22e7n0x4V0cHnRisKf+9vJ6GOXV2xkPwjHj0OF

+Tpgx101Wkv0ccxER9hWyQfcHWMsRThe84lZVuMw+Nn4+DjpHdb/4KBbOVLs5ujuaCeB0cvBz60cO

+s7glft/JU3c5eGhLv9AAt5WrhY1eBVvwmFz+sGgCz3I3hKvMuxVwhFvq4FXfqMA73RFpgDstbT8a

+dH478KSzOWKxxV31ZjlwQGPK1l7l72jAy2ZvczPcZZLl4PcODFCqHnS2Y8G5CQKHZhqLGUBh9yKv

+mY9KhkeQBVzaob5SNnjLhvRJR1M+zVBMCjr//LREO15z0kBsMMnipEOCFoabJj7Tn8Kbui+gah4P

+M9lGsSJqbsX2NNuoth6UNo2P5zPnzSPQlHLTbjReui6ib5GbPb3B38AI/5bPAergdy59EiuTbTdY

+FuPA8XF2D6At7yOMYbLq46GvOVZdNfMORmWlbW83ebt9hFoBs5Usdz2jXFa6OVAHvWr8BI6LuwOY

+BYWZOPGxp+qLO82MojYDZKmDz1bGq/wAOriHwYqiam3BfLMtIcvIoJMhN7+MjMGrQJbhNfzAmWPv

+P8WYQbTOgfezEnDkVC4Fr86fWYFnAdy+LXC4FhW8MQ14hEIJVaojXkh2y53q42m7b7tg+HGjLFfx

+3VgsF4yrwvLlulbZjb2tNUlF5ckLu3Fa7CERt/EgbStcR7wgauyddCyf3hbBctr1kh/c3glzjoCc

+z4YqaZyvKELnpwzsCxhId5T7S0F8A3Y/9ZVjWDnyleATj6jB7fpmvosK04Rd9Xq1H8K+eiCJy2Au

+AhF7H43rsE3xEC0CXXSn7fT55zcI1LVxFYWoJz/++oDoCORSj/IF+i3nULgSAi042o0VR5udympw

+aMYyM3xNr8fRsgjNqY4RVSJb4+Q0v4sz31jufvb5emLaq8jwQC6a9oqwd5fXlsHPjXjnoRhR/VF7

+yCCCzmx3/zXL78Tzhbm92t6z3KtWMbyr7osFxk5ipcvNYCwToNzJXZfKD615w2sWHQX3Jvm6Okgu

+LwIVpgXKASSwWatWIFnISic8MU4gDQJHugpBWIFyXi6WgJcOPy3F2K6uihhPL3FeamC6vBbnt7xE

+I6lzCyLf+fSSfbE8vzkrxcpi43Xd6omMqAbW5sZzeZURT3zZPBUpGYTMpWzNI2G5CmOenTqiw5jO

+nU+yVv3mUG2giNrWJbcci3he5mhCXzq8PTmdLX2ojy1VdvcuTyvPX02GTT23M+Gb26Ae7iczw1C3

+I50nqbLSSiYtV2PnRnwYL5dxLu8cITrrWd/SZHW9zeVdOuJ0M5rgTIp9yx6qEY/q+/o5sKJa7HyK

+3v0LM082SXYa82JuXz63N70v8s6m90Wmsm5W2RdppMhSJ5UGjVCCVFXtOrXhtM1TXWt1eZeqXTRM

+St3u07uB7eYAT17nGN4tCJmlqHR5nY/hiK3t7J39BpUmHQaQSafBroLK+hilmKOWvbJhfmsSgzN7

+n2BnckxlXNKpsWe6GutAY7pqb6lscKmHT7PSaYUMl8HosN79yQmVNbn0aJowdkLFPuiM5zPdeP4t

+xqpbu5vB2PGYjvXMrKlFDV3RYYAcTsv9lSxHW5BWtpGtzQYEqTpcCSQlwmsNFBVfoQDpbUR19uct

+bDulun1moVQv8Y/NLOxyfD70dKMNe+hLRl89Ye5lXE+lP6Nnw0w+/5PSgjVk0q9zprlXyxJkuLz0

+RjjJFrIg55dx34EBuLwWODmzwcnX+Yp7pQHnMqd5auBNHNSSleSey8u9TLzUJGBlZpuWu2hk0/iU

+bHdjEtijBc5FsxuYg3C7qgfIaN3M8eQTX2ZixSDWJ75PbhZ7XUUu2nD58+UuNKOmREvOq7vQiAZr

+YyAiAokT7TcIJAxu5k9WtY97eyP8hL1YMGcoXWiWnt4LkxNtTe8LvxPz7ZC9Aj7m7ESjON0wYtgs

+m/XxFnbf8XT3LlZ3odlgbN6JtjbG5B9m8bys46/qXVC40Fy0QPG/caGpUR4FKDsn2sp4iphAAilG

+QfNzvpI5igezgcI561qmOqgpJ9eGIOJJrDixCyLmkc6zlB5FZ/89UOD2SttkoOR52hnmTT4um2NB

+ZTKTUwkjvkxTeZqDhj+WSxX+5DbmM+0V6JbWrnT/LuECdhjzbwpjFnJ4HcI+ufXyixHedRgAgPSx

+9/NgC9JcJNERKPNpowXJZO8jUAvi1tYba61Pz+2fxypiZUtZ1j5vC1MfyWc7btLQdT72ULY9uusE

+3k6LPTb7Mj416fxrBHPSALdg1o+s+RitzEXCPqDWLubtdEtZiTAe0YTWHE4voo0/uatc0u2+E9r8

+PmcPPM25I7Sx4M2jXd+8hwRWuPwQ0x5h3ES/brj9msb8C4FxC4pw0UpfMiJtlM48noHGLGIfrz9L

+Ylen5T6toHN5KUQd7n7lN+GmmY08B+MqLNPrwDJxPDgvjrFCpxEtnBqob/p1Xcflndd20sARYpTH

+giJ95OGWGCmEJ//2bIy/HRjcjJJpIyPAAFZXeHAtNioPwugQIaTkTrd4XjZhqyBIgUX/prpIrLBb

+gaVgrk1w9fXNPIomwlj0TK4lX+4GxFzZEI0FFnmN0S9AMiHnA8eOfBPR5hjlmQsbu+hNF8SibeAY

+xZL9hilnf6WIRxoenI9W2jU7fzLAvWn75eFuo1kEAKHJ8WCVRUB3crLPz2YHqi3aXN5l5A7bvREj

+BuULUMeiH3HN9Vkn8Gj1lSvwvjsr7+HaNLZW7p21WCYV3DiiTbThN7EGZGEBIpZdXqtMZmAuBUqc

+0IhlktO7Ce8hws3ScRh6sfz8s5JYdjl4IhBG4ddiWeEw9xsSywBSyEos28Qslh++2tblatlzth4S

+WN+mxPLzD3KYTfgRCbJsxbKuw6wqlq3yuezEMkpkLcePTiy/jZaI5ZiPnlvSiGUA7snJWG9Nbg8s

+rSS7wOrDg0Vm/9JsRf1sl+O2PPlttHG5/7BZuf82WkHu2/mr5rdb3KgljnlDNLa9YTw7Xx9usrMj

+ZEY7NA4/Jb7vfPZpMl2tvH5c6qGaJF4/l3cxMv9Q3azXD/OUdL+fDcGumEqKKoSZ9VhERqhSSY1k

+kXr43lq+k2pkhNqtCIDSOpUNbkXAmE1oGGGcmAP/zoqMJYtSzn6VXiLTkG59bFKvl2baL0tRQtwd

+OKrXKuXMPL3OZz/18OboZFhMTCdYnJf7qtjSdYpUrPMafEiWgw+D5E2/nk+FpMH1Ap5md2iZb8vi

+xm1PqF96c3mxejrrCSX5V0/oQs6qhdMXctUT/Pyq4I8wtuWw1DpN6q3xBonDZPm795Ft3J80cC1Z

+rMisZmrl40LOPzpD9+rOXi7zHdrCKmpB1ZSUAuviWaWYDYz5XV3Sikdf9fNsPZRYLLa9OrnR92pJ

+v+IBM1f3at+zFCtS9BtN38Mhq34u72LPGEsz81bu1XLExX7NA7q1bOW+KGce8lRrwQuyIlQjnoZk

+Qz+7StnROBYYG+4hsS/kFR4+C7P7CewKeQ+3fLaFvBizMGwJG6YAL3AY7904Aidub/+I02c98m5f

+Z/xEV6PdcyggV28GY3KDSoUCvN1C67PpXATdMgEH1qtlfftV6YECd0z26umUYmNd3rnCf3vwSmsX

+Ru8fHRhojLoeG6ux4ytN6vIa1o/3Da0zqeAvKpOqroXCQyKW89ZUGJRYktgflhOHnckDjn2bDew3

+w8lr9uQe2qZbJhVrSTgmNx052vu6OWCvwVsZTcXdnl0aRkbX6hwyh/cpyygX6hnnbT9DJNEYMLWv

+Gl1wp9AAZ2clFXcXsOxcqGILHHKYhYKt3yTwZywMroy5sn4Fk6u4R12XQ1fDu6gTrkYq8xHe4u6A

+LkccmB5dyXJghXxLGuKjrUyZVwjtq74tAtoOCCT5lsuqvqkSkp0QiLOoKFyIBv7igJgSy5ZU2C1B

+oBVHqwb7dhwtq9wISmGp0nG0atCSMa/ugX/Nru6gUSq57OLtMOJGEsu03c8+Vx3sXCofZTVkmYq3

+DsZWj8lYZ9pjIIXWs+NYCQ1HeANRUQSJMvJOA5RTloS9V8geY/YRiOX2sNXpVXZfO791bmB3fnO/

+Ob0WOSR1jio9nDqMUue3qHMUKUq3csSvZ3Xq1PtgLTyFzj7mWo62It5lsXTHCh7QtxM2FTzNU72C

+Z3nNCH3NqWNRhjqUGk2gKpSkUist9TbLvL5Tytt6qEs5qXXL+XNgX1tsWcA4x5NpzIu5fVmUPr/e

+F+dLgFbdFzqVdaV9obsJaJVqZXPYCj0kv7mcCauVnSuZXKsdQ0rl1YzK2W3zVoeG7k4gClSqOgwi

+0zH6uCoq9Zqm5TWJKxvmk+MfKzGo172aBeH6hvnk2CwG7Whsptpb00H7bCWTY3anyg==

+			]]>

+			<![CDATA[

+			wu6fUTK4oKJdvHOv77ZHU8OYhfm8tvE8OTGL+bUxRjK1N4IxOtaj62N2xDDGU7kop5dYjvYgrWwj

+2wK1GBCkAsngUZwBRcVXKEDSbbblZ3/ewrYJUGKQaSFlxto/ZrKwna65GX7YX3PzMm6bkxhcXmcj

+fEkRNOU2uSjLZH/MVudKwJki71/ny1NNV1U/YTxUc2jvhXOq3+JeJj77GxbsfUpLarRXYS5OudZY

+tLyOB8jCulF48vlyBrH6ck1aiOXtQBZycUnJMoU8cy0e8SUIdDjitgi01GDPraozV0TgnO7h8qrV

+mezF2M4Iv/i1C22+sp7NL5gf69X1Utw/ttLphhGdXWgu+urMnRhrvuJgreonwJhDSRZ9JTR93oVT

+2TF1FcbyGw6xEnoThV0uLwL1+xxUFSQbF9oKt50Y9+9iungVwpJct1m2rVOe1oN9EBFLQilreaj8

+9/k1k5mNGRFaES1Lk51EfRXCyW10b+Gum5XuEzVV5tpehbBaLU9+zTxmK4x5Hd2vlJXQs6sQDBHe

+Ncuzac6ai648+5cpzKq9j0DRJIFSpoDmrSNWK2bSWSYuF3u2GjreBV17o6rGpzu4WFMaNitda90S

+gHCvFLYy1FjZlomWf51XvFApvJHbgBFtiSnt7juhjTZ25aIqX/5tPZGijZNiY+p7ih0rvReM7LVp

+bKWbEVzOhb44In2Zr6U0V2ZZLPT9avlsv4zANHePaOr4dEE3k/u2NxB8tRwvTHYMNyla3wxGjr7e

+XB/Rtn4dxjugvrfHdkSr+vWRla4zu90US1QXfFhWx4IqfQTFpCFErHGY9eqMaS9ypo6MYLVrYbqm

+wmNTKbwYa1mzuJffzK1NpHh5wb9pnWlPU77sfAWU7fpUzq+XLzuWKlBXeoc3R2M2gWNT2NgQ5XHO

+08eqb6c6TMtUApRijiUmoK8cH9sEjkmBqpPPwbVCxOO0Olxz18z+5PRK30Ogqv/Y++E2mUWQts3d

+mcsioDo51eGiR3Gte+HSK30UwbF4+W5Aa/E5rW9Td0Mpld4L3sO1acz5ywj0lgwZj13re0mOYnkS

+WHYXNGiFmxTLYCjSaxfLqeieQizPqjgpxXJt640yZ84olpdVCm9GLAPaIpu5S40ULy8Ry6abJ53K

+l9cUywseElK+vCGxXNu63NDNkwRZTmIZ7f3VKj8BbSuLZWqPYnFZPhcpZF0ill1GK4pKLL+NVq/7

+tF7LfC3watmKVnWfCzwZetZpvlpEL/djPmGjch8g/N6hlfsUt35jzfcKdZ8UlvjbiD6J16buU/X1

+kfp+2spP6rrPvaM71vnsr5DpOuf1q49NXr85ywJLWTfo9eNSD82p453DK6aSYuG3zXUFhsiI/YUF

+NmRRH9O6Falvn6tu+va5+pjarUhzXUE6HF3h7NOVLK9834X9Jq96XQHF2Qfq/+11BarcV8SWzhuO

+xRKfvBkkaqluNN87DDCZV4tjMftQ9eInqX03O1GsmC5jxXTB5fWEpNCb5Yeq9ytJcc0PVZs+U+3y

+/pEPVZs+U004/+Y/VG3q5/L+kQ9Vmz5TvXwta3+o2nYtG/1Qtekz1XgTxR/4ULXVl743/6FqE3Au

+7x/5UHVg/jPVsJY/8aFqE3DEB7v5D1WbPlOt1b5t+EPVps9UY5baH/hQtWlS/Dr2H/hQNcJg+Ez1

+zKuw2Q9Vz0sfowd+kx+qXjVz2KGM0uZD1RaRRINm88sPVdsBZ7aSaD9UTVtAPqar4V3vQ9Wm8Rbv

+6nQ0uWg+VL1SDS/dh6qdSUVZC/WHqqlLluc/U22fb0lLfJYfqnbOt/zth6otEGj7pe8Vk8eXIxDv

+7KK6LJP2gAysvrFjVWFHjcAF14nTLQEOZu+y8uwNR3lsyrMp/HYLX5Te4P15enE27dcZnDJLlxdn

+r+KDtSnPXgdjm7ky11Sc/ZuoqFqevYGsG4rybAqQyL78rjybojjbDmNrOq1sirO1L0pv8nKFxeJs

+my8ZrVKeTZ2j+KvybAqPmm2Uh748m6I4Wz+Va5dnU3A527XQl2dTf7X8V+XZFptoLs6212FWGNGx

+dtFKiq1Ynm2gWrvi7CX7QluevcK+/KI82xKL87GGjeyLo/a74l2dVuXZv/8CO015NoWyoX+Vae3y

+bIribGM04beV7vbF2evdaj5Xnk2BSrv85BXKsymKs1eOii6WZ1OUGlvl9a1Ynk1RnO1wLxxNeTZF

+cfZ81s1a5dlrY2zFCkrH4myn80JRdkwhpV2UQK1YfWkCaZZtu3559iJIFnnjvy7Ppqys/2V5tnNx

+tjHXGtfaMicOUq/U6uad2bezre7oNn49m75Wfdm3s6m+J05dNm7HmEw1VrTgrfjtbKdM+818O1uX

+yNZfz157N+a+nU19k96vvp1tpcEuq6OmUmkWlmv7bfRPuotcHAvRSRU1sffX8Out9u1sy7s6qRFI

+p8jQ36vwuVAZR319CahDBj9//s9VjNvc1LrhinEKL9wGKsYXa0X/RMW4PcY2WTG+gRsOKSrGaW84

+/F3FuDHn6s9VjNN80eD3FeMuh4SjzVSML2YQ/YmK8VmFnWWx8aYqxvVK4SjlQVunYnzdb9itVjG+

+HGObqhjH/OT1a6doK8bNsdc/UzFuWVm/8Ypx+rsIflMxPl+V9qcqxpfljm6uYnyluwfXrhi3/VrW

+RivGN1OX5FQxvkJd0i8qxhdy4P9IxfgGaIyiYtxFL31/UTE+R2N/rGJ8lW/Wr18xbvPN+g1XjJMb

+QTna6Oq6FeMu7+I3zzdfMb6hGiuHinEDJdOXpq1cMa74+uxUnk1VjCvaBb8ptNmUpq1e97pOxbi1

+72LTFeObo7HFWPbi3YMrlqatWDHuWsl0Wbdi3Hxn15+pGLe/qXWTFeOz6qc96vvX1qgY/81dN/QV

+4y6KD17/XtnQvlpOUdLyi4pxu+/ybLZifDmNLVaMr1rfPXc7kOVHHzZXMY7f4LbKl95sxbjyjdTf

+524trxg3c5g/UzHucvZEbKBifMZh2C3ar5KuUTG+5t1QK1aML/GQbLBiHLTxWc34H6kYJ2LZ/gsg

+m6wY178AssK3gleuGKeIjGygYtzCSvoDFeNk923LiTdVMW6oeqZ1WK9RMb7eDYerVoyvZImvXTFu

+cUfEH6gYJxVDd5v8NtKc10+tGHd5rT9xv9mKcVjLrGb8z1WMW0ZGNl4xrkdGqN2Ka1SMk7w+20/c

+b6pifHb20+Hon6sYd8i031DF+Er3j61dMW5z/9jyivFFPC2pGMfacPwG95+qDtdrw+Hs/7HqcL0f

+YuxPVYfr/VzeP1cdvnwtm6oO1/u5vH+uOlwvtl380vfmqsP12nC9amDz1eE6cHNfYd5wdThdZf1v

+q8NNlfV/qDrcsbJ+I9Xhepk26Px/rDpcrw3X5MufqA5XRUK3PQWM/bHqcF0xVK2kP1IdbpcDv9nq

+cJMO84eqw80+pT9THb65L+Utqw5fo15sjerwpV8v3Vh1uF4bvkZOL3V1uL5cy69mbKg63CKj+w9U

+h1tmdG+8OlwPYzvUWfyqOtzKStpYdbiGO6s6iz9QHa4jw+VIT+tXhy/U8P6R6nC6/LHfVocbswj+

+XHX4YtXzn6gOX5ajuLnqcKcI72aqw/XacIds219Vh9thbLPV4XptOE3m8LrV4TbZgxuuDtdlvVrN

+8Ueqw3VEm+5V2Gh1uJ6M5PL+uepw27VstDpcrw0309gmq8PtdZhNVodbSbHNV4cv2ZcNVofrteGb

+3Re7T3f/Yl9W+HT3Eovv19Xh+mZb6Pwbqw7XNxtj4n+qOtypinMz1eFzttgfqw6nuleB+SgIz0tR

+afAbqAs3xpENCRIur5Yi0WvZf8A39fC6+gdAz23PfvtsU4W8lLdq6NLeUsOD9X1TfQH4nXtFz1Wn

++MA6kFLq4cd8K/ZKpZwLGFuxlNMOY7T3XThjbPHm3xXu7Jpbmq0JvxJIJJL4RpWO5Py9dFtmZZ/X

+Z4unFYtI56xXE1Br3OJmF+giX2Cnrfek0PlxpQu5O7jSOZ3fwlK31/RPfJmRnaZ/brLTf/0V5uxC

+GZoN56er9l3L6Wh7EziAt2AU/8bpCON5V/gyi6PT8dzW6bg8D9Z+N/ZWOjQOVtL5eldSLqust0gJ

++90nwGcC0eXdxM0Jnwvp7fMItPkO7xIELknctkWgrQ6DxetOyWHUCMRZsHjdyZ5QcWchIS0yRsft

+JbVv/I48pKlsoPPB9i6sdn+NrMCLjX/172KzXzQALrFwsNcrfdbzvX+LMccP/tH5LbF6ekPfSL0g

+Gd+/zxsnIFmkelvd1EqBJ0c/03zKnlLLY5eihcXrv/w86sw7Olfsxp9UJhkb79Iwv2aWt7UPlj+5

+DZhvgFlnm2IlLSrqlFNHK95jJftjtsaN0/nVE7xtMXbk3wjGPFq92C8TqfMUSWR0X/xEoH6T222I

+8eWtfBtr4skUNVoe5XFS8rF0nSYd0LV6gcZwScIClsZaHNy1b5zGuBB1kY/L61RTTCdzl0vcue8j

+n73HzO6W9S+KwNJ17fQaIrxrfWm39kZzwYOLshSbSvDakrj+FWasW9/EbRFK1fr8EV73Vg1StR7c

+HI2tKn2tZK9uv5AR69Q0tkLyeLmPPNnGj4iOHqoybmdBp+9+uW97HdLqYWyEcF9nmY66pWFEuzIP

+MuLSa3VcXooRLWtT95ORI7simFtLD8n6sVAQkxTizUVzNgDuHA3x2TruF+ssgAHQ3j1DVZu6nywu

+3j24VvnY3WB5berc7juWYu+vaT6Z/MmEOjZTm4rl15qz9LfyBavWnWtTaWksvpAgYXYiLctAsPlm

+vQXfNDtCKArlZoFxwpO1ezoAj/u2yaJs9jlNYxRa+Rws13K30lVZSyuKKb9dSx01A/N3o3fcIYyr

+3fdg/33ku5Xuy1peiK1V1/76kga7FCVLi8/5S+freB+svl+JdetrXZplhSyrexStXKSUH8PEEe3C

+H1Y0tsKVEbWt0xM7sXyvi2UHbkkplp9/lovlFeRLbeuBxqtpJZZt7iGB3ac9dzRimdS91jfgc0G0

+2Yrlxd13/Hg3taavHz1Lnny/MbGM5dcgljdwi6ZStb5ULK9EY5eOFzzYiOVl36zfnFhe8Chi2DVo

+K5YBxlsa08wklu3X8uAslqkrV3Ur6W3kqFgtfPPcuX6d27TcfxttWO7HfLQXSnjnIolLyuv7v7xq

+cd4Sf1jBEaKOaIs7kxuEourZWUxi/brz2aepYLfw+r15lnn96oaPECy3xOm8fh/psIONiH4YmysX

+lpU0fzpduDCfgeuiuNOg+mu34sI9ilY5Sb9wK1Yt8y3Xvn2YlK7TS2S6z50fUKvXWi2PjdiyTC1a

+48KF+bNfpfHzr2JN6kIL8y0LQthebL2M2w7Xg6nLWPZdiHnr9TZ2YDsfRcTcdr7ZjTqqxxHxWKhk

+6weNXrLfCA2Ske700iQDyFSpbktkEoff18+5/d1rjbk0kruZj6GfTebvHwuzfQYrSQ==

+			]]>

+			<![CDATA[

+			r7xXT5G5+/uV3l3vrNRqqTgpXKe6kodNX92XWrnD7HMY1nfvy/lLXDLxk3r1YWWKYg7MWk8aORyx

+mIhXSlOsjz6TQp7dafY+de+ZP1zFTCNWa2Yb79niaMSNk5799qh0EPLGdvn7y0gyIgbGn+cHg2nN

+5d07a0ny/snTzuOW53zi9yRzNwdb1VcxtlO+3854v/vlwl7rcxgSy4Wft+h3s9BOfL9ffeZbZVm+

+ej77uSuzw/xH+bPU6d6eHlxO795O/b63t3TA/1WNfF33ioH4h8s7DDwmJiNv2bc3GvE7nq1Ba3Dg

+ZXY+4/7HQuMuIAcufcc/O71CjHu/OUoyh4dbo9FJrOjZfzm99HCp624g3hASTI45OWZylfscc7o9

+uGJOr68+R6POSWg0/TwGbjneC17Vw3xBjiXL2+09UkIO63vOhqKF3S8pepLOp7rRUoAUb8NKKxWA

+odUMWFy4YJHnoOyky2t55YK/05U9ga5Qwul5nXRjXG2vlDgMnQlKQfte6ufGGsddVih/3u78jBJ9

+8crl9dxf5QMOKJq+h3f2d70PxR0p3k15i+XTi7338vmRIO9eirCqlCdZOaifYIF8JXB0ELpH4KKJ

++MtrN3Ph852Qr2NXS0z2Lvo2Grcvthmu9LydjL4kWpnz3slDIjZ8OTR58oFHXv5kg9I4LBcvSp3Z

+6TXQOciFYlo/FC6vdixeLnXxznDdyWH6U7yuwl6NX5OwF/dz4zx5rcY2433/JTf1BD+/HvC+i7vX

+rCd4ef/g8YVqW3jLxQX+iHtCSb7oCR3svuI2HXtC/dKzJ9AIy4iOSPKm8ryXrTPxKBk7es8zTXLz

+Bfkt3notfgL3vffBqrYP8Tbgs4+XTGs0CiZ7g8IYVnX/g23NXDrl2Up8bSe76U7tgGWY8ftupn79

+dpWUgsNBIHv3cAadH7ZgvsA7ov+ceztrBhn2ddub6l2/SLl0clpLDMdsXfvi57HYCGYbje39RPzi

+G459Pj8hRhPDTSfbidF2c5QKSd0rht3zt5Plxt40WdqX7pKDQbiAiuqOWM3384nYdfor+x5qTxKH

+J4I3kyrcNXAtUZc39/52PUxWMo8ckHvwKPPBVPFaD5kla8U/3xOHomeEx8I/a+sd+hOFcqrb3wvh

+YLe4k5HU90/Mmyold8SUMAk85XyDdzbzEXq6Jpz/XQCiak5wnGrm4+U+muomujyOSOJBnvTnU2Ma

+uwzwT0gHeQI8kFfoIpe9vJNynuBNLvfmf8qLk+FrEfbqJAiAeHynk7dhHVb1ICBPvpgGEvGCB+/V

+3d/O5PNnUXh7Ozw3jm9P25zMCBc+zqVboaeUEOn7CQloe/rgTX+Gzptn22FvVN9nPPvv51sAfI8N

+ZILeac53dn4eu0pNnzLn54ldvS3e5qrfqbPb/o8yHzethmCRzS29i/gofj0lbz7ao8zHwc5btrH9

+fUKmgrUAAP5c9uc5ltv3BwPiduyhnG0ED0Nzi7ziYNJUn7iOdBhT35c3B0AHzyO8iyBNeFvmI3Uv

+5TKRRw4IqVrIZTk/6DAGdHDbb98JPnXwpfzJtqMDgDa9bVhQ/vF0YAD+KPdzRnYNtuSplBhNc3tA

+DNU7hvdsSZnw9WeGbCLoYx+9+E6y5Km2YRnRi8zF+3gX5N3RC8MFW92UmLj/IfKVYQfVLrCmh0ny

+mg2V1c1pDktkf9UuqXorcfdxew8Mda+QKlVPGYIMQmMfsIM3vXLu+azQSl6nU9VM/txzt/CgzVyQ

+033kCwXfxWrhNpF7be1UM+fdwFXmYzA6VhgXHy/vptqPpbv4x7SYRsJ9hrOPh1PRrggLm3U68k25

+99PDoa+We/fHMhhuu1ZhfNr/zgY6jxNxO339tgCS2JzAvpzswMjnfTwvd2Qtzy9HL/nsQaYd8tWT

+khgN5zLVShDQFn1iuEk8KRe97Yf4RapxnzsZnxZz73fVJChTFQGPVCpZDu1cpi+P+mmVWzQK41Sp

+dH2bavSnr+q+SP32M5+tlx5QF8yHxRPx4TSdvREmKgnkq9108z54n/kojd+QCd/msuxoJxOs/eAK

+HkOZg9rhbqzd37sFuCK+TGt8Iqi48wgyUYJAt+S5wiT3FryLoRpbMpoNVr4prnAPxBmXcP+KtDOD

+fLGYe+WZc+nPaF710CJHAz6dq6AElMXbI7wVMHm7G38nnfAukXt85yLV9VYq6XZ77AG4LyUET8o2

+Iu/+6F23cKqfl+hd6akCP3q13OHp0ylhZqQtdtWOd2KdV+kDHrCwFvVAAgCZVmfwdOo9ff7K1ivZ

+iD4YcLTUrfhQG96R7UbiLGdaD35+9ud76ps78mhC5GwPr35pprrhmwBYQS9+QmPZXaB5IZvztU5e

+koPP633VAtMfNL+esrVaRD6Wz7mBgtnLs7vvxOi0B/qD/7WUCd80OPJ0XudPI59+gbW0PytvoFsn

+jyx02ZjBLQ5MagtY6+1OIj7oVVPXk9o43op5+4oFdj4efOTeC9M9PUtAb5vd1nj80yNX1YDiGN2L

+7Q44ARTjn7vEwWQ/E5AjwiH8dniROBgPT+DB5UVmWitew4Ojk5y8c9NMv1xsnxEFK3oX2rrMvV/u

+RlWn4zAJVtL8Mb0GkLlptvF4RITjDUixwxGezw7uwTnoAjxPfBd44ivkyEXjjYeQqV82sC9+iEdf

+9fNsPZQ4V7I7duIfZweV5DUzvERCO1dE+bTH12HPfyrkphhyKxdwgYc0UWjhnAs+YKg/DaJsHIbe

+cwP99i5JHhx8JMuT4TSZf/RLsBYkP0PrTf/7OVvf3X87O3rm7xV1+PrH30hdT/d8yMzOMh+vW99n

+2zenYeDyz/d4MdBPznfx5QO0DBh1qGmJUCAcXCZ44PKysOXHMJjMAQNsbwMf37uA/f3ZBUWm6kve

+dIf72cb3jwwaUDKEU3WIiILDEHwE9p/YIlRCrhc68t8HOgQtZLnECsTPI4XVbFv29DWMBS/ZrVw2

+44+aepqdFWyl4wOQmE9QjbY+U6FYZkdhlLMfYBS2PDDAzVaydNX6grMvtKeNeRLA+wKkQeZi/2kH

+hmgNDVpfIwVSG9EvC29PN4fBx8xzLhMUAwb5eXJzeJ/z7b50svVyfpoNFMJKpXDKm8mn3vncc3On

+TXYf21hgAPEJKMHXHrmbazzHW7f+TqrxszVSucXO1jjnL3ZigePo3Vn6/Tu1n2m9Tx9zb5PPbiKW

+89ZmD7ZcXmApL8cKD3kU28+gj+UN2gxYP2I0l+kGFUGIBzslTvKTo9xb98CTiGXjxaQcz4e03Q0O

+QPdoT3PJXiyo3X7Uvp73Wq9iNhivwQvtJMb+h61M/uLxPc3e9sY5z345pD/AL0tefLRhzyPRlBhk

+H3DEi9Q3W2tkcs+X7Wzg8/URT+A78TilO1/iAehM99PoiD/rpAqPgwc4i7FnEOSfO8Ajr4RE7Opb

+Tl0Xhx1QaWK78tfI8+TyqqSksLAPJtXtDUPK0dUV7MdGixmNjg6wyzZoLh95llC8PphisOxGBvr1

+WFWQcjdbOX+1OAEau06HjomCiRufRMM9hBYKo8O9ON8ooHuzjnzdeAfw2fYkfpLbicRhsNkkl34R

+X8H2jzi9dHkNyuTifEXDDVx2OFHuvkrvnGRtVwq7r6z1kbuwWqvFzNuOKx3sm1ZK/DBWawXb3pva

+ySxdaYl2pWBX8udPPaPF0GyXTLhlcw+n7MztlIpx9YMO2mw1NCC+iDwj/EB7UM+bpB2efXgeb3u8

+X9lG9Z1LdS8OemAWHkfQ45jCjwsUcu+xgZDzyaI/GwoMhrqNddAJxvAsPsqJ+5J3y/Ld1w+s5AJG

+ko/GOunMJ+G1KPJ9yDyD8Y/g6DHdvLu/VC3e42wQDTcZTIlTwGKd2cl8fJT4mR3rz4TD58E4c/Lh

+gS4Hr7psdnnl67v2de71eaAIodgV030Tpzf8Pdj7500Ypxgh3hC8bxF08OHTa/K6cPaIqn0p984l

+IwqNHcZ7Nwx3dj3NnE6irVQkE7rTnwLG4o3rS5BExQFIIrkGnLgxVuAhasD0nTXc9mcECeSnPUhP

+I5CzM5BA5zcDlRmXbYEKxLu3V6uDhLtf3O3ZAKXcI3lli6f52wqvwIZ6207ExqEBbvxZNnA1qIBh

+cwUWX7LYK7dz6cZNGv0+j3jkuHTnKBWwnPSmx71qzuLMOHMR2N9OCfdcCk1PJlke98tAVAfTufUl

+eCLF/FOQKhcPZNq5Sf3PhnNnNAA7JQWpuWSmYYlyBanntQcyKdiVxmljrPVOT45/aHd6YVKuXTJE

+RgxoxS8bF3S0Lq7PFqkwaeJ+v0ZAgmMWfCVP0T+mPce7Sp8VoEr78Wcr8rICCXSh70s7kF4JSGhZ

+2AGFmDABpT/FOzhfaEGC86IDdVKZXC0Hak2QXN6VgNJBwrinn5YdWZz9ZQxpTXZEfH3V4UrUbzpy

+6oGc5J4tJ8XjiDT2ctFWVNq5jajaHMiX2rJzDgfO4pRjnpI6LF7IKh/j7jcsJn3Qd9+O5LoWrOcE

+bwS6ACm2ucNne/RA66Mlqo90OLQmm4Hd/xMCBUjqc6qTlI0UW0JUR5z1sMVne0rV1rJkWDs+XXz7

+oT0AQGP00LbGtsMyuZR4bQuryzveyrUZm2EHnvWPK8A6O654e7bNgV31uL63bY8rruX0LLVMLFf7

+NsM23myHBQR9GbgAcpiFYV/smMuLDdWW+9YnrCAc6XFkI0fgT24LBQt0vNpsXXVgqSkFC4G4znDI

+rebKBAkuVWXPLSZozaLHX9n6wQfGNkqvROlW3kD/fOr7MjQBdf/5PtvYFncUV/j1q3hMwhHogVfM

+WX6XuInU3y4+vtEPc8MGvqN7DJtP9k4fTo7qSeb4oqc5Z6Gtuu9ppD+fUt6Z77+L8ZwfLb7kF4l3

+BTO7NL8QrL8bRhfNceajUsJgzuN++uPos4iGu+KwP6yL8X7q23fzEW/tiUXcqyd84wIMlrO+4myC

+P6VZXOgZzDrf9uyrGaL/Z2YbfQEXzDJKqIfkTighsVz1VQkVsPnvSS7BXNwCHsKP6p97mXsllKV4

+/LEtefotkKgRWuJq3OgcgxhcsnJ3GwC6ewkYbRowOQ5Pu8fVbH1wFkoWm/GmIVjF+/vbYMfd7mTO

+u7e3JscnCQShlcTEo5pDNzhGk8urhE8OQ/et1Hfha6T4B+eCObXk7e7hMWz33fViQOm+q9u2JCKF

+33ycj0lxZ+mhQiL5armv7fTkSwmu5E9+BD3yg9vZSXde3zit7TEOW7LvnwWw9mHNzD5Sss/vM8TF

+Lr62f8haovf8Yc04PYnHPo2F1PfeaU4z631eY6ArffyilmvNXmPzVZT775feLkasRMXi67xe9IHG

+RiLG6bbk72QW0ObnZzHTBw8cvvxohp2JEj0ddRp+DdZ7KfHA+MPan7tg7+d8ecaLzulLOHK1XYUY

+mrvBfG6fO+a0bXyU0Oru5N738i9wAo+2SWQE3ZgZA0sBGkqA/f3QS1Yus3l9c1xezQ==

+			]]>

+			<![CDATA[

+			/+uVsVMcWj1fydIVaJkY6tHRMYsgyXgOCkrwCO24+QfFRLx3nDYEfV74bBdsZOKA04JCxEFV1UJG

+4ihRTudvQA/xn5MoHjpBJQw4PGldUl9JqfH4kDl4KEWVcNosGAXblPlIxJ+TF4Qnm4GKYrToKNmv

+196V84K35xzujVvtrG/rrp3JeT8u5gNKF+J9zz9IDobDekqYpkqmiJTCYT5zJ+Pnu8Dx9uE2vnMG

+mA/siNssc39wWf5GHfVkB/Sj/SfVEfJ+fgyc6mRsiFx2vZWSIZQzH4QBi6/16v8A7SqHmTPbEvqg

+B7MY0d3Z9s1RHInhEihmb0LcEYpD15wHqmVuzYIs1/qkuJa5aTc+Kbt3gRbfee27uBjb8l9IJVk6

+BS7YqpDAuPoOCcaNIoVUKB6PEe89MArvNF0YTK4RzKF2Srhp+nN6U8HARA45jMLCSGvvK1lJ336Q

+ZcyOoV8JtxWfLp6zb8PmF9DiVkQbjASC2Ex2J/R5z3Ah3yRZDHUraswf/yxdle8wMuJvXish++/W

+C4xTYGup7vd5WQvjA51PfOHLxfi++kDc/vGUT4c7hyL63bcQqYVovHF7Q4QWSfZAWQm41aJFC6I1

+1u6nSing0lupwmMpqbJWRbqeMBhFD6NQ68/kx2Gq+yzHCAx6nGYWf+metnOJduJZOQJkG9lU/dMU

+0VHjNPL4hHwyQOmH9/wnfhKjQ+IdVN+VO57sXn+3BCCxTy6vOTfk+DTvI9GLROzB10lxX2E1Jq70

+C4Z7Sngk3SjHzCGTdGtag+mTLVX3eKgWsvVws4VWUqe9rTiWQDiO1SDN6O5UTZBIpTygMBwntFCP

+b5cczePdcqwTOK4OFE1BCfoQl+xD7eeC8Omzo9c7hhAX0cf0AI/gzZxWE/Vk/8QzyJw/idtKyi1/

+6BOSkebpbeLno91XL/h6mISVQodOMBZAPWqQrNzv7GffxWHD0M/iTntxB4DK/aAH/gsTaUZqoHP2

+A0OQmon31MzWvc26iQQQTxktEUqVj2QtO3u5zHfw9Oj+I51guO3vj6z/tdYGPaMyzj62Jruq0Nv7

+8CYOI18dZMcvChcAZCW1lL5sH/NdSMpQEiQJxyditUI/9fl+iXZlJ/n8nq2XqjPZpgV97t+PK6nu

+Vj9HojyyeOpvYDgGtbCHDHkQPbwX3zDtpYMh8lI2WPk4MMCFn6AA6v0Za7qlwj7k5Hvi8CwdxsHi

+amhY3d9YshxMgLLRqUxIsgtqzJdaduT4v49dAsMKbiHKiu6Dm2m3NboeddqdvjvoirsOkucse9tv

+DnKjVqvS+s8kM2hMe63+xB1zHyTL6fNzCfhrY9BsQXfvXDyn8aFnOuppV7QxX8sg/aPYe3R5SehT

+zeES42PMMPWBrGuPF6LEx7X+affuq556vywlk8E++xI/Ye+kzHZzms2kz55ftCjq0FyxBKLIGZQV

+AAHdPji8ukjk5fGxdHZ4H84NHgVgrNnR8yOTecxVK7mj5FHDCh6NISo6z9dKkfOZwFseORfqB6ks

+d5YgQfPEx23lKnkmvl9RRc5Re1dVBEWT7/a30KR4UyLit6+5GvD8pytDogS2SZXn1H3qe1eaaCcE

+j+VXp6bwx5kQ1APgbLDdPlaYkS9br3QOM/n84d68CVMAtb8XxByeoprIo6RHvEQTsWtfCznJKVE0

+NTWz9pT6zpwxKg9nMi8khIRhp/RTCxihvK9EX0h8ngTkhffQi/IlF9x4NVyvpRLqOVN6WyzPHhzo

+gRwlf6ReOdxGsRp8ieTejpM1+4w5e6PncXAJyziVVaEU8vWUPKrKxVRWRYh8+ePyJkaNMFGkJ9lm

+7LhnYbj00UwMn748+2LpVrl4OxtnlohmCAKWrYwjlzd2WSudKOaBvtP3l8NzAvycDXSHcfeTH2Nb

+z7eX8zWeZ+zyBZTP4uOBIeqO6QioVPWOMDmvWwWB+CIbktfQqkp1Wyk20bseltQw3selrKf7YZxw

+V8lHNybtFB7A0mC+CWtE5OfwEz6RgYRZmSJIxZNbEA3j4JzhkhxlznOPW9qfhwB3/uHDuKDGjxfU

+ndeQJky07M3rglgiGYGouIeeMOVd+diaoOkWJGW20Mrkdv2lVOSuNNEyygw+EYwEHqN0vP/J+c4f

+bmabc6mmuoYS6J5gdmD3MTdAswwq9Rk6QpqZ4XlDFfBmMauNPDg6U3TDxWS5C80weQ7PJeeh7UOU

+Lu1oPj5ye8e+M2OXe/kj0w7kaxa2y2G2cfyyDasPPphAArFaehx2zGL+ZVwvgfWSDYPpIbfErdxb

+CbpIrOZveX45er5KH+WSjXYDU+Su0vxR5ZjYuEoCByba6VYMWct9kFhBhgQ7dvBzBiRXJCSSydQu

+Lm4T8ZPpZE4rP79Pd46OYwoTBu39OxEvT4qpkPQVSHXD7f1ksfFRQLjK5FNkzcfsY/MCY7Avx5ge

+gihq+NKd8SFL6iTmy2FN18KkNPPg+9p2UnSmzE3760nF41vhKskcTscqHzt4BEpW0unZg+3xYeA2

+PlI6oXZE3lET4zBZbhZZVlMAX/NZ4xFXbKDgI1ZonKksDNtaA6EBp3LBelET8UwJduoJROvlOtXL

+qZuMVsDgIvui/4kZna3UWWX7Ffc0jSkfQWK0n2DKSLo3S7W7RLfLQ7J/tv8zy+vSH1zMvvU10JBa

+64FmXPlBsVVNxCs3Y+Xp3AUcqyfMcIUK+t0+QUQNt+OtyvsNCNtaz1yaUrmYTGdyXy9YUT7seDHF

+xN3D0Yib7Hr8h1eCJ3Swd4cp9BnPTkY6nGXUn+CDC0/wZ3iND04wwb7pCV4+nHn2f7ZHsC+XLyYX

+J70RtroJhqkzqxphq5tgcF5WNsJWN8HURJCVjLDVTTDtoodVjLDVTTDislnRCFvdBMOSjFWNsNVN

+MCUpfzUjbHUTzOVdNMK0mljiifZXR6TqoZ87zDVZs0Kv2AbG4rezTMszDOIZaiTuKue1XFYqtZRy

+39zsURv3PEw+5KoU3UrcbS5ZnmyVcZObWPNxrBTKGzKq2qXXWXrdrVVaHGoXmL71Vpm8ZANjfnfG

+wpZngiUcM8Eau0ZbbHnWG36is7Q0E+yOIhNMS2jzTHzj5ZlgzPlzMKxFkpalCk7rxR/TSkHuO2e9

+2a50a+v45HTpSm/nPnW5NOuNyR5eZx1W2tqKHNiuVNt9ZRmpg0untMiz3TNjcdjJaSATDouPxGhQ

+5JlS/aA+uCfSjhTkaPJOed7bAuMk86Vkus1y2fb53fgTO59e92Wwqy4i4bieJ2d61+VV3gbl9gvs

+pdhuLlnqjWcxpQZ7+tpmQOa8jlDNO8/6b8/HimoL6ucNBu5bWAHYIlFivZgJU+7ec8kn1gPyI/WK

+7lq9sH2+NsY+2sy1S7TRZhJrNiVOhUNrRZtfLpcHwNHe/2XGCgVIJPBgCMlerRnsXxLqrwZBVm48

+L6+2dXpuymExpM44pUYZP1JtMPvSy/PyDGlAq+TldW9WT3UgsnJZvgdGnH6dFApr2VwWFl6BPbYC

+yeWlShb8ZQ6P8ZpCI1Cx4mTt/MVFkDBM+/vEorvBcna0/OwvMKQ12ZHp7L+8U1C/He2/2uaqkQJp

+Mu062WpW59wqVw3k/m+z1Shy1VAik1yamC/4RzKyydGb7f5qRFW3T9SiSP/dlECZJ6kW8fasS1R2

+qU/vZkq1Wsvq+dPvS9M1HdOybaFtLMv/ah6YBjWnmD/ZDfvxG8wCT16WXLrmcU2Y8pXNa+ktT5dH

+dvxjMWwSTbysDReoPitrsR8W7Zd31SF06x0ky4+eSYp7v/wislmpNrlKH7wSp/l83cmLfrOBegH6

+8rsNfn2zAWDM+W6DX99soAbpl99t8OubDVxeirsNAr+92YAU4TvdbfDrmw3UhLbldxv8+mYDl5fi

+boNf32wANOZ8t8GvbzZweSnuNvj1zQbouXK82yDw25sNMC7meLfBr282wFJMx7sNAr+92QB23/lu

+g1/fbABrcbrbAAxgh/sFHC81QHt/tQsVVptUuc9gVh6/eKPBBu8zUEvKrW402OB9Bvq1OAs3GgQ2

+d58BXryl3mhgIVoNlZsF081B0jDIjVPfmb3PmTC6RWob5fZ9/g7AkL4HWVHdJnC5lExV9Au9zF8K

+EM+cN47u9J7Yj/jopGQ5+L1DHEuGywO2qsJl9rHpbRNXMuxVXxV0IPck5YqfWUq47+ygs1XcnaVN

+vM2c5kRg9vQwgybU78d6W1LknzvJSJNrq36B0vM2iWjgqVRiGiUmt783muphDxQE7yAIvv2pXmC3

+qgyWPxmWofMgljn/+jnjMqGngDGW0mxfZAPj7G7685kPJpnjaZQQl8ur31iAQraRhR0ZAPqDUzWO

+fFS8IUEYY1TiOBuaRSXUT3ZwwZEHyed7vp93ti/aB8qUKvGr3e/qLBSSnt3Nu6uFQuDgoslBrihY

+JIHPJ4Z9ufxMRfziyJgRQfJFMOuWI/EJvK/sKdPKPuwBEvQ06fte7r0w4MFw2/pMdfKJseoO1Or9

+UUDf4+5Xoe00DIpKqJ3zfUivWP5fx5i4d7hvOGiRA7meaX1dHDKRev4ED1Ioze0cvWfC0/EDSJ/K

+VHvABJOV7G5HzWzeO+NzvnxSVyH2E7HsAXDQVP1E0S0vSbRBi2Tc1xOVG6mMmaEldX+1AIia4Y4R

+R/2GgMF/H7viQEbnLPuW7TeNuWQurxdayq3JdIgdIm+pVrvTL9T+aY1crFv5j4H/WDfnjspuLhLB

+fxg3D/8v1F2+xqA7GI397kLf5X07SI4mmU5j0hn0a6N/3DFsergs3J5n3DH3rGvc7QNImDfoDE/8

+mLz2BtC9uRh3Ev7/8LdrfwpzZ+D3axcTZjg+4mbCLCcL8E+EkSWY+tvFqIDBC//AHxfwyxc0/e0W

+3JfupxfG3cSxblwCK4R5GcAWInyYkeDtntIWjUKTFGZFRnRjQ1SGhQnRaDgiwUwCy4Yl8prEhwWZ

+4dxpl8AIAI0IDyUAxM3LXDjKiCym74UlkHxuXpLDgihIbkFkw5gCBC/xUT4s8xzMIQphjmOjbj4i

+hAWOg8lEeCREeTfPywCaQF7jZFguvMaL4QjHRsjgcoQX3TwnhMWIDFBH5TDLsvAaQC1HRAXGKBPF

+11gmLIk8QBAVwxLDYCc2zETgF5wtKokiaYmwLC6fA0AkjrzHwioFVmljYd2kJRpRWxgYkrREohHS

+wsusSN7jw1wEloC4EWVWgLXwAGaUcwOCw7LMwS+48IgIA0RkpQXekyPhKC/xSi+JgUHZCKBHgl8Y

+QIYgSWRT+EhUIDsHC5ZwC8jOMazSxghKJwkXjNsr46YubHja9QETQn+YXMGxBLvWI22wgIjSJsJa

+sUXgcBBsEQSlJSLwSgP8z91wKZ0krRMfdSsDCbOBRPfidA0AggGiBsTBS6zyROQEAgduiCiSpoiE

+hAQtUVmQlRYetxGIjYmyCiCw3wIBZLEXjiSpI0UlZaS56RCO/Vvrw0pOoXb4wiyMzA==

+			]]>

+			<![CDATA[

+			IPBw1sNSVMLjx8Ay4fBxoFlGOaQlwDEflWRcBeCdY4AKeUEGJCBa4HiJER7pmwHqwpPCSHBSgKp5

+IBegdDwgAg/HgQFUzdoKpC0aZZR+oN5ESFtEwSTPiGExipvEc2FJ4pAykT/g8YWJGFw/0iXP424J

+XAQQF4XXWJhbJCQjKQTCs3Bco4h3eJ8nYEELJ/HaYQfCBrA4EagPVyHKYZ6JwuBwklgBtrvqQtqO

+EMKOIow8TAa/8BKLrUDRPJwVNxx2RAgH/Tl8EoFfkUphRs7NCZEwnGGBkIyMZMVxeKwFmCfKAb9D

+YIBvhCWYi8DAsTATxwHIwK2gJRoWETwOliUzEraIsE+AKGA2wEMAoQilIMEpbbhYOHiiRHYJUCVE

+ZDcL7AQISybwwiRzLSpXSLv0Njie5GQADAycDQ4OmKmN4QSln8wqsDLALqMRmBMQIUUA8xwTBUaJ

+x59H/gHUzOGGMQJH4OJkgKLhQvgJqQMWYbGMRFCj8KIIo5x2DqkCuQ3wpGiEENQicRacaL6QUoQf

+iEIi+kKhtYThZNBr1CZUwlDrSiUMiSB0t1eQeVGNBQq6zIuqMk/WZF5ElXkozRSZx2kyT9RlXkST

+eTyReYwm83hN5kU1mcfrMo/VZJ64IPMiZpnHW8g8XpN5vCrzJE6Tebwm80RN5gGlqTJPVmUesBmT

+zIOWBZkHbSaZhy3zMg9bFmQeYy/zhAWZJ1rIPEGTeZIq81hGk3lRTeYJusyLajJPUGVeVJN5gibz

+zBuuyDxWE0K8LvNYTebxmsxjNZnHazKPVWUer8s8VpN5vCbzWE3m8ZrMM083k3mSrAkhXpN50KTK

+PF6VedCiSjNek2aMJvP4mcxb7EVGktSRiMwzT4dwIHELMuKMCYtAKeRI8ApDR/TLEYmwYCaCHB4o

+CTghS/YxCoyHsHxRIrsv4mmRCOETKQBDANkCBxeEqCInkZNGeZacLAGJFV8DkmR5RCD8AhySMEMg

+OlwdSC+ZQTICBHKIUiAaEJ4CvofgImkRlVKAo4AaUwQXIIiEJHG/kGgiynuyQtx4bkVCLNBL5nBX

+NNkrgFgBquHIsiMRWSRwskyUSGNAU1RAARVl8OiwbgVxiE0CCse7F1CZduKvU3K2EYG8DP/KcHh6

+5NzKHApWra1gbOPIlhQMby62zN77mDXCsQ3LUZCehglmbQVjG6yPFwTDeJZNszfxPAE9inxkBgqS

+kKjqBDPoDE36svQ3rdq0Vw1TzGAxzGGAz9CmL01/16pt9u4HbgfsuETYAHBYVuIJa4jgaRH1poJC

+fUwkMtfGAwELeAIt20D3kGUydQQYRASp2dgGS5WRunhU6YncRtUZGR7IA4kTUFSwirAXBGQ/ArIR

+hANoH4hRAJYbxbMCSiacF2xRtSzQhsKiGNUb4DXUcfA8651gX4Fjw2t8FMSOzJOWqERAEhXJogii

+qBTR2mSi2oFKysC5I2/KyIyUNo5lUO+UUF7gaHjM4QVBANYuskaw1AZlNaAyCoZOEdT0WMJBQNuV

+CVok5ABkwShj8DUQpiIyOgHPLbK+CAhTCTkPoJOXREXOwmAGpKM0jhJJqTaR/cLtZ/Dko/rECgo3

+4ySJJfsQAWUayBKMYxaPu9aCImzWBlwQeQiOBaQYlWW9DWQTTITyiVdsDpwO6JHVQUgrVpQEG2Ak

+D2xTCVCWOA3QOTolupxiovCgFER5lKPA2qISCKqe0oaESJoiZAxg5qh5ALeXJNRCo7AIGeUbil8B

+dWHoIQqMYWbEGlgZojxP5lFgqjzqOmAnSBLuN/RiCC9EWxwsFTJ6RJYUoSICTnAs2GdgOpLephyt

+KIeUgnZTBAWKonQocImipFDB3IlMW59INLhA8qmWTZTQHEgunqwZ9CeOaNDA9QRiXcvAEQhUAop5

+BVeirFC0iDJc5MnuE9JWDrLEsaoNilZVgfAK2DhJkb6oguC7qABGFH4eYSKyijGOVfuBbCNNomrb

+oZohs4Sjo56IG4jTMqgN4NaDwBNV8ECdB4YqabIJNxctzDuVBiReaSPDkhY8FKQFjaYFOklrigmA

+LEWJwQ1oifJEakTQRANyB8qAHZIi2sZzgtrEaaudf1W1Mm5dstvndz/cu5ZJRK0Ph4pVhKiAcGii

+HApGMKlQj5VUHQtW0HVxUcQpSm+wfjng5Ni28G4XQLCfkxMRUlRv0XCLAP5gLmAOIOUVNUqG0wHD

+ossCSJNsBuEqXYtXHaYCWgazQVaEG2jvOFUE7UtBUa4icNpgWCBB0CZEhf3wUVzB4qvLp0IHGyIB

+2WOEiaJURnKKsGhBC7hvcIi7hAswHE6vyZfu4qsOM0mCIkN5kEwysapwBKJO88hIQVTgqBJaNsjE

+gXEC5ZAm05sOExGjAfmliLiAXcc1RZQTh2IRrG6ewI/ePpRT0I8YUV2Ldx3mQncZw0pEFBDeDHNx

+ILPwBHBwGkEq4LCg0ooiylt4xrEcWejCq05TgeYqEi0BmJhEDhs6TDhUldHW59RhkVsSLhuBbZTJ

+qsyvLp9J0WKRXDkZLVFclMAAGxNR7YU5QQ1EaJEfS0TX4HhFu+5avOswF4NMl0eGDxKDEYkvDHkC

+4V3o5kEGDOPCwY2KaIKybDjKsjJpM7+7fC5V8KG4n3Nzwepwq2zcXBxrdnNxrIWbS1LdXGC8L7q5

+ZDRaoIlRLCvQQBn0I6C1CFsDz4jbDu0oBjUAaGPRVIA2dF2xqGihBSSJskpVHDrIOFSyZYJpURkL

+IOTRT4WePEmUOGKBy+iDRGUClKYosbeiRNxBi4xuCvQIRlVvInE7RfQmlFUo/1nF18QSrzlxcxG5

+xqMfh7jQ0JeG+pQiHBUnEqpmcIyEKJxiOHthiZhbyAtZ0c0BouDoKwoFx0RY8hpOi2tDJicR4cYR

+7xu6xMhxBV7LEZNZVjGM/jD8BRBEOBF6z2CkCApgVlaYUxQ9hRFeUxRgEjTUOaI/otNMa2kQlspw

+6GDRezEKmnliVgLj5UBTg8MkkwWjcgrT8cAtRBRnuMXoSOOQIEgngB+1EHS+SRySmIiCNYLmKScg

+USP5yKjqwUpA1spIh3iMiJwiXEIhSPTTRKNq2EB1jQqKaxTQBBhTXaOi5hrlFlyj7IJrFOYBjosi

+JIKyBNaLvh5CKKCHMKiHKO5GpBiM4PACKuEcg5qbdkRBhSDvCSIwaWQGQjQCK4ZHgog8F6hRBnMD

+34OHircJoBPRaObQlGAjCmcGUgYwQUkDBRNb0KJnRLKfwLii2AtMBOLcIr1ERlGcJVDHoQU1LZkl

+DJUokQ0iNVEnBgg4Hl7n0HkUVZkzUfU5UMBFDq0HHmMVMiHfqKS4YdHyAWQAMmFfRRZ1woga2MGR

+0Y0gYDhJIjhBB5PMysQw4XmwylAYK6cPNlpGjxi2sCKgXiAqJfH3gdmGDjTSiZFYluxcFIQPaYmi

+3sfxsuo0gxYRthIxGVUIDJvIatHhSxyR8DqPh59DhiKyioEDFEe8wgxhqVGVj+PSgLMD61HCeBLL

+oH8ZGST6LOAXYLKc+l6EHAwZNw5sKw4dh1FB8dezHJIOMk+Dnz1NfNBmP3tkwc8uWPjZuQU/u6h5

+1XnNzy7qPvWZn33WFtV96hHNzz7Xtuhn51H9jxBWSyw2JHJRwBYOYzLYMvOzEwPY7GfnzH52IAST

+n52Z+dmB04DOAfwAqJwHBgK0gfChps6rMoSLomcN0QAnV0RhAu/JnGKdzNoKxjYeScDUJoaBAGA0

+9DAyRKRhZAnIEpQTVbrA+WAjxE7mkBGAugRtOABuGViRsEkCacHzzEWRVyBeAFCGJxYBgioJguIj

+YDmF4cObPEGLwn70yAKrRBbSxrBX1Bz24qSFsBenh71ELezF6WEv0SLsFV0Ie0UWwl68Oeyl2DeE

+wnlZIFSIZlhPDdDwircRaE5ws6CskOOD+8FEyYFCZiMpwWMiQ4AwgbEz6GuYtRWgDf2caCkAaxcx

+ukDeRCUHcSZE8HDAoMSYAP01wiiEg5FscoCA3eHZQk4gS0TWgcxB1zOHngMGhS0GDnji58eRMPSA

+yFdpGTkB8E0SH4oi3zGv1zHaaRX58RZr7VZlVOt0WyNXe1z7q+Wu9fuDSW3SGsITd3vUGk8Go5Z7

+/Dn4G1vgFa2715u9zrn+L1T7Dxc=

+			]]>

+		</i:pgf>

+	</svg>

diff --git a/tomcat-uid/webapps/docs/images/update.gif b/tomcat-uid/webapps/docs/images/update.gif
new file mode 100644
index 0000000..31e22ab
--- /dev/null
+++ b/tomcat-uid/webapps/docs/images/update.gif
Binary files differ
diff --git a/tomcat-uid/webapps/docs/images/void.gif b/tomcat-uid/webapps/docs/images/void.gif
new file mode 100644
index 0000000..e565824
--- /dev/null
+++ b/tomcat-uid/webapps/docs/images/void.gif
Binary files differ
diff --git a/tomcat-uid/webapps/docs/index.html b/tomcat-uid/webapps/docs/index.html
new file mode 100644
index 0000000..cf560c7
--- /dev/null
+++ b/tomcat-uid/webapps/docs/index.html
@@ -0,0 +1,154 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Documentation Index</title><meta name="author" content="Craig R. McClanahan"><meta name="author" content="Remy Maucherat"><meta name="author" content="Yoav Shapira"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Documentation Index</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>This is the top-level entry point of the documentation bundle for the

+<strong>Apache Tomcat</strong> Servlet/JSP container.  Apache Tomcat version 6.0

+implements the

+Servlet 2.5 and JavaServer Pages 2.1 specifications from the

+<a href="http://www.jcp.org">Java Community Process</a>, and includes many

+additional features that make it a useful platform for developing and deploying

+web applications and web services.</p>

+

+<p>Select one of the links from the navigation menu (to the left) to drill

+down to the more detailed documentation that is available.  Each available

+manual is described in more detail below.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Apache Tomcat User Guide"><!--()--></a><a name="Apache_Tomcat_User_Guide"><strong>Apache Tomcat User Guide</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The following documents will assist you in downloading, installing

+Apache Tomcat 6, and using many of the Apache Tomcat features.</p>

+

+<ol>

+<li><a href="introduction.html"><strong>Introduction</strong></a> - A

+    brief, high level, overview of Apache Tomcat.</li>

+<li><a href="setup.html"><strong>Setup</strong></a> - How to install and run

+    Apache Tomcat on a variety of platforms.</li>

+<li><a href="appdev/index.html"><strong>First web application</strong></a>

+    - An introduction to the concepts of a <em>web application</em> as defined

+    in the <a href="http://wiki.apache.org/tomcat/Specifications">Servlet

+    2.5 Specification</a>.  Covers basic organization of your web application

+    source tree, the structure of a web application archive, and an

+    introduction to the web application deployment descriptor

+    (<code>/WEB-INF/web.xml</code>).</li>

+<li><a href="deployer-howto.html"><strong>Deployer</strong></a> -

+    Operating the Apache Tomcat Deployer to deploy, precompile, and validate web

+    applications.</li>

+<li><a href="manager-howto.html"><strong>Manager</strong></a> -

+    Operating the <strong>Manager</strong> web app to deploy, undeploy, and

+    redeploy applications while Apache Tomcat is running.</li>

+<li><a href="realm-howto.html"><strong>Realms and Access Control</strong></a>

+    - Description of how to configure <em>Realms</em> (databases of users,

+    passwords, and their associated roles) for use in web applications that

+    utilize <em>Container Managed Security</em>.</li>

+<li><a href="security-manager-howto.html"><strong>Security Manager</strong></a>

+    - Configuring and using a Java Security Manager to

+    support fine-grained control over the behavior of your web applications.

+    </li>

+<li><a href="jndi-resources-howto.html"><strong>JNDI Resources</strong></a>

+    - Configuring standard and custom resources in the JNDI naming context

+    that is provided to each web application.</li>

+<li><a href="jndi-datasource-examples-howto.html">

+    <strong>JDBC DataSource</strong></a>

+    - Configuring a JNDI DataSoure with a DB connection pool.

+    Examples for many popular databases.</li>

+<li><a href="class-loader-howto.html"><strong>Classloading</strong></a>

+    - Information about class loading in Apache Tomcat 6, including where to place

+    your application classes so that they are visible.</li>

+<li><a href="jasper-howto.html"><strong>JSPs</strong></a>

+    - Information about Jasper configuration, as well as the JSP compiler

+    usage.</li>

+<li><a href="ssl-howto.html"><strong>SSL</strong></a> -

+    Installing and

+    configuring SSL support so that your Apache Tomcat will serve requests using

+    the <code>https</code> protocol.</li>

+<li><a href="ssi-howto.html"><strong>SSI</strong></a> -

+    Using Server Side Includes in Apache Tomcat.</li>

+<li><a href="cgi-howto.html"><strong>CGI</strong></a> -

+    Using CGIs with Apache Tomcat.</li>

+<li><a href="proxy-howto.html"><strong>Proxy Support</strong></a> -

+    Configuring Apache Tomcat 6 to run behind a proxy server (or a web server

+    functioning as a proxy server).</li>

+<li><a href="mbeans-descriptor-howto.html"><strong>MBean Descriptor</strong></a> -

+    Configuring MBean descriptors files for custom components.</li>

+<li><a href="default-servlet.html"><strong>Default Servlet</strong></a> -

+    Configuring the default servlet and customizing directory listings.</li>

+<li><a href="cluster-howto.html"><strong>Apache Tomcat Clustering</strong></a> -

+    Enable session replication in a Apache Tomcat environment.</li>

+<li><a href="balancer-howto.html"><strong>Balancer</strong></a> -

+    Configuring, using, and extending the load balancer application.</li>

+<li><a href="connectors.html"><strong>Connectors</strong></a> -

+    Connectors available in Apache Tomcat, and native web server integration.</li>

+<li><a href="monitoring.html"><strong>Monitoring and Management</strong></a> -

+    Enabling JMX Remote support, and using tools to monitor and manage Apache Tomcat.</li>

+<li><a href="logging.html"><strong>Logging</strong></a> -

+    Configuring logging in Apache Tomcat.</li>

+<li><a href="apr.html"><strong>Apache Portable Runtime</strong></a> -

+    Using APR to provide superior performance, scalability and better

+    integration with native server technologies.</li>

+<li><a href="virtual-hosting-howto.html"><strong>Virtual Hosting</strong></a> -

+    Configuring virtual hosting in Apache Tomcat.</li>

+<li><a href="aio.html"><strong>Advanced IO</strong></a> -

+    Extensions available over regular, blocking IO.</li>

+<li><a href="extras.html"><strong>Additional Components</strong></a> -

+    Obtaining additional, optional components.</li>

+

+</ol>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Reference"><strong>Reference</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The following documents are aimed at <em>System Administrators</em> who

+are responsible for installing, configuring, and operating a Apache Tomcat 6 server.

+</p>

+<ul>

+<li><a href="RELEASE-NOTES.txt"><strong>Release notes</strong></a>

+    - Known issues in this Apache Tomcat release.

+    </li>

+<li><a href="config/index.html"><strong>Apache Tomcat Server Configuration Reference</strong></a>

+    - Reference manual that documents all available elements and attributes

+      that may be placed into a Apache Tomcat 6 <code>conf/server.xml</code> file.

+    </li>

+<li><a href="http://tomcat.apache.org/connectors-doc/index.html"><strong>JK Documentation</strong></a>

+    - Complete documentation and HOWTOs on the JK native webserver connector,

+      used to interface Apache Tomcat with servers like Apache HTTPd, IIS

+      and others.</li>

+<li><a href="http://docs.oracle.com/cd/E17802_01/products/products/servlet/2.5/docs/servlet-2_5-mr2/">

+    <strong>Servlet API Javadocs</strong></a> - The Servlet 2.5 API Javadocs.</li>

+<li><a href="http://docs.oracle.com/cd/E17802_01/products/products/jsp/2.1/docs/jsp-2_1-pfd2/index.html">

+    <strong>JSP API Javadocs</strong></a> - The JSP 2.1 API Javadocs.</li>

+</ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Apache Tomcat Developers"><!--()--></a><a name="Apache_Tomcat_Developers"><strong>Apache Tomcat Developers</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The following documents are for Java developers who wish to contribute to

+the development of the <em>Apache Tomcat</em> project.</p>

+<ul>

+<li><a href="building.html"><strong>Building from Source</strong></a> -

+    Details the steps necessary to download Apache Tomcat 6 source code (and the

+    other packages that it depends on), and build a binary distribution from

+    those sources.

+    </li>

+<li><a href="changelog.html"><strong>Changelog</strong></a> - Details the

+    changes made to Apache Tomcat.

+    </li>

+<li><a href="http://wiki.apache.org/tomcat/TomcatVersions"><strong>Status</strong></a> -

+    Apache Tomcat development status.

+    </li>

+<li><a href="developers.html"><strong>Developers</strong></a> - List of active

+    Apache Tomcat contributors.

+    </li>

+<li><a href="funcspecs/index.html"><strong>Functional Specifications</strong></a>

+    - Requirements specifications for features of the <em>Catalina</em> servlet

+    container portion of Apache Tomcat 6.</li>

+<li><a href="api/index.html"><strong>Javadocs</strong></a>

+    - Javadoc API documentation for Apache Tomcat's internals.</li>

+<li><a href="architecture/index.html"><strong>Apache Tomcat Architecture</strong></a>

+    - Documentation of the Apache Tomcat Server Architecture.</li>

+</ul>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/introduction.html b/tomcat-uid/webapps/docs/introduction.html
new file mode 100644
index 0000000..6fdb660
--- /dev/null
+++ b/tomcat-uid/webapps/docs/introduction.html
@@ -0,0 +1,109 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Introduction</title><meta name="author" content="Robert Slifka"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Introduction</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Terminology">Terminology</a></li><li><a href="#Directories_and_Files">Directories and Files</a></li><li><a href="#Configuring_Tomcat">Configuring Tomcat</a></li><li><a href="#Where_to_Go_for_Help">Where to Go for Help</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>For administrators and web developers alike, there are some important bits

+of information you should familiarize yourself with before starting out. This

+document serves as a brief introduction to some of the concepts and

+terminology behind the Tomcat container. As well, where to go when you need

+help.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Terminology"><strong>Terminology</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>In the course of reading these documents, you will run across a number of

+terms; some specific to Tomcat, and others defined by the

+<a href="http://wiki.apache.org/tomcat/Specifications">Servlet and

+JSP specifications</a>.</p>

+

+<ul>

+<li><strong>Context</strong> - In a nutshell, a Context is a

+    web application.</li>

+<li><strong>Term2</strong> - This is it.</li>

+<li><strong>Term3</strong> - This is it!</li>

+</ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Directories and Files"><!--()--></a><a name="Directories_and_Files"><strong>Directories and Files</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Throughout the docs, you'll notice there are numerous references to

+<strong>$CATALINA_HOME</strong>. This represents the root of your Tomcat

+installation. When we say, "This information can be found in your

+$CATALINA_HOME/README.txt file" we mean to look at the README.txt file at the

+root of your Tomcat install. Optionally, Tomcat may be configured for multiple

+instances by defining <strong>$CATALINA_BASE</strong> for each instance. If

+multiple instances are not configured, <strong>$CATALINA_BASE</strong> is the

+same as <strong>$CATALINA_HOME</strong>.</p>

+

+<p>These are some of the key tomcat directories:</p>

+

+<ul>

+<li><strong>/bin</strong> - Startup, shutdown, and other scripts. The

+    <code>*.sh</code> files (for Unix systems) are functional duplicates of

+    the <code>*.bat</code> files (for Windows systems).  Since the Win32

+    command-line lacks certain functionality, there are some additional

+    files in here.</li>

+<li><strong>/conf</strong> - Configuration files and related DTDs.  The most

+    important file in here is server.xml.  It is the main configuration file

+    for the container.</li>

+<li><strong>/logs</strong> - Log files are here by default.</li>

+<li><strong>/webapps</strong> - This is where your webapps go.</li>

+</ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Configuring Tomcat"><!--()--></a><a name="Configuring_Tomcat"><strong>Configuring Tomcat</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>This section will acquaint you with the basic information used during

+the configuration of the container.</p>

+

+<p>All of the information in the configuration files is read at startup,

+meaning that any change to the files necessitates a restart of the container.

+</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Where to Go for Help"><!--()--></a><a name="Where_to_Go_for_Help"><strong>Where to Go for Help</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>While we've done our best to ensure that these documents are clearly

+written and easy to understand, we may have missed something.  Provided

+below are various web sites and mailing lists in case you get stuck.</p>

+

+<p>As Tomcat 6 is a new release of Tomcat, keep in mind that some of the

+issues and solutions vary between the major versions of Tomcat (4.x versus

+5).  As you search around the web, there will be some documentation that

+is not relevant to Tomcat 6, but 3.x, 4.x and 5.x.  Doing 3.x or 4.x things to 6

+will probably not work in most cases as the server.xml files are very

+different.</p>

+

+<ul>

+<li>Current document - most documents will list potential hangups. Be sure

+    to fully read the relevant documentation as it will save you much time

+    and effort. There's nothing like scouring the web only to find out that

+    the answer was right in front of you all along!</li>

+<li><a href="http://wiki.apache.org/tomcat/FAQ">Tomcat FAQ</a> as maintained by the developers.</li>

+<li><a href="http://wiki.apache.org/tomcat/">Tomcat WIKI</a></li>

+<li>Tomcat FAQ at <a href="http://www.jguru.com/faq/home.jsp?topic=Tomcat">jGuru</a></li>

+<li>Tomcat mailing list archives - numerous sites archive the Tomcat mailing

+    lists. Since the links change over time, clicking here will search

+    <a href="http://www.google.com/search?q=tomcat+mailing+list+archives">Google</a>.

+    </li>

+<li>The TOMCAT-USER mailing list, which you can subscribe to

+    <a href="http://tomcat.apache.org/lists.html">here</a>. If you don't

+    get a reply, then there's a good chance that your question was probably

+    answered in the list archives or one of the FAQs.  Although questions

+    about web application development in general are sometimes asked and

+    answered, please focus your questions on Tomcat-specific issues.</li>

+<li>The TOMCAT-DEV mailing list, which you can subscribe to

+    <a href="http://tomcat.apache.org/lists.html">here</a>.  This list is

+    <strong>reserved</strong> for discussions about the development of Tomcat

+    itself.  Questions about Tomcat configuration, and the problems you run

+    into while developing and running applications, will normally be more

+    appropriate on the TOMCAT-USER list instead.</li>

+</ul>

+

+<p>And, if you think something should be in the docs, by all means let us know

+on the TOMCAT-DEV list, or send one of the doc authors email.</p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/jasper-howto.html b/tomcat-uid/webapps/docs/jasper-howto.html
new file mode 100644
index 0000000..2909532
--- /dev/null
+++ b/tomcat-uid/webapps/docs/jasper-howto.html
@@ -0,0 +1,357 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Jasper 2 JSP Engine How To</title><meta name="author" content="Glenn L. Nielsen"><meta name="author" content="Peter Rossbach"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Jasper 2 JSP Engine How To</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Configuration">Configuration</a></li><li><a href="#Known_issues">Known issues</a></li><li><a href="#Production_Configuration">Production Configuration</a></li><li><a href="#Web_Application_Compilation">Web Application Compilation</a></li><li><a href="#Using_Jikes">Using Jikes</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Tomcat 6.0 uses the Jasper 2 JSP Engine to implement

+the <a href="http://wiki.apache.org/tomcat/Specifications">JavaServer Pages 2.1</a>

+specification.</p>

+

+<p>Jasper 2 has been redesigned to significantly improve performance over

+the original Jasper.  In addition to general code improvements the following

+changes were made:

+<ul>

+<li><strong>JSP Custom Tag Pooling</strong> - The java objects instantiated

+for JSP Custom Tags can now be pooled and reused.  This significantly boosts

+the performance of JSP pages which use custom tags.</li>

+<li><strong>Background JSP compilation</strong> - If you make a change to

+a JSP page which had already been compiled Jasper 2 can recompile that

+page in the background.  The previously compiled JSP page will still be

+available to serve requests.  Once the new page has been compiled

+successfully it will replace the old page.  This helps improve availability

+of your JSP pages on a production server.</li>

+<li><strong>Recompile JSP when included page changes</strong> - Jasper 2

+can now detect when a page included at compile time from a JSP has changed

+and then recompile the parent JSP.</li>

+<li><strong>JDT used to compile JSP pages</strong> - The

+Eclipse JDT Java compiler is now used to perform JSP java source code

+compilation. This compiler loads source dependencies from the container

+classloader. Ant and javac can still be used.</li>

+</ul>

+</p>

+

+<p>Jasper is implemented using the servlet class

+<code>org.apache.jasper.servlet.JspServlet</code>.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Configuration"><strong>Configuration</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>By default Jasper is configured for use when doing web application

+development.  See the section <a href="#Production Configuration">

+Production Configuration</a> for information on configuring Jasper

+for use on a production Tomcat server.</p>

+

+<p>The servlet which implements Jasper is configured using init parameters

+in your global <code>$CATALINA_BASE/conf/web.xml</code>.

+

+<ul>

+<li><strong>checkInterval</strong> - If development is false and checkInterval

+is greater than zero, background compiles are enabled. checkInterval is the time

+in seconds between checks to see if a JSP page (and its dependent files) needs

+to be recompiled. Default <code>0</code> seconds.</li>

+

+<li><strong>classdebuginfo</strong> - Should the class file be compiled with

+debugging information?  <code>true</code> or <code>false</code>, default

+<code>true</code>.

+</li>

+

+<li><strong>classpath</strong> - Defines the class path to be used to compile

+the generated servlets. This parameter only has an effect if the ServletContext

+attribute org.apache.jasper.Constants.SERVLET_CLASSPATH is not set. This

+attribute is always set when Jasper is used within Tomcat. By default the

+classpath is created dynamically based on the current web application.</li>

+

+<li><strong>compiler</strong> - Which compiler Ant should use to compile JSP

+pages.  See the Ant documentation for more information. If the value is not set,

+then the default Eclipse JDT Java compiler will be used instead of using Ant. 

+No default value.</li>

+

+<li><strong>compilerSourceVM</strong> - What JDK version are the source files

+compatible with? (Default value: <code>1.5</code>)</li>

+

+<li><strong>compilerTargetVM</strong> - What JDK version are the generated files

+compatible with? (Default value: <code>1.5</code>)</li>

+

+<li><strong>development</strong> - Is Jasper used in development mode? If true,

+the frequency at which JSPs are checked for modification may be specified via

+the modificationTestInterval parameter.<code>true</code> or <code>false</code>,

+default <code>true</code>.</li>

+

+<li><strong>displaySourceFragment</strong> - Should a source fragment be

+included in exception messages? <code>true</code> or <code>false</code>,

+default <code>true</code>.</li>

+

+<li><strong>dumpSmap</strong> - Should the SMAP info for JSR45 debugging be

+dumped to a file? <code>true</code> or <code>false</code>, default

+<code>false</code>. <code>false</code> if suppressSmap is true.</li>

+

+<li><strong>enablePooling</strong> - Determines whether tag handler pooling is

+enabled. This is a compilation option. It will not alter the behaviour of JSPs

+that have already been compiled. <code>true</code> or <code>false</code>,

+default <code>true</code>.

+</li>

+

+<li><strong>engineOptionsClass</strong> - Allows specifying the Options class

+used to configure Jasper. If not present, the default EmbeddedServletOptions

+will be used.

+</li>

+

+<li><strong>errorOnUseBeanInvalidClassAttribute</strong> - Should Jasper issue

+an error when the value of the class attribute in an useBean action is not a

+valid bean class? <code>true</code> or <code>false</code>, default

+<code>true</code>.</li>

+

+<li><strong>fork</strong> - Have Ant fork JSP page compiles so they are

+performed in a separate JVM from Tomcat? <code>true</code> or

+<code>false</code>, default <code>true</code>.</li>

+

+<li><strong>genStringAsCharArray</strong> - Should text strings be generated as

+char arrays, to improve performance in some cases? Default

+<code>false</code>. The alternative name of <strong>genStrAsCharArray</strong>

+for this initialisation parameter is also supported.</li>

+

+<li><strong>ieClassId</strong> - The class-id value to be sent to Internet

+Explorer when using &lt;jsp:plugin&gt; tags.   Default

+<code>clsid:8AD9C840-044E-11D1-B3E9-00805F499D93</code>.</li>

+

+<li><strong>javaEncoding</strong> - Java file encoding to use for generating

+java source files. Default <code>UTF8</code>.</li>

+

+<li><strong>keepgenerated</strong> - Should we keep the generated Java source

+code for each page instead of deleting it? <code>true</code> or

+<code>false</code>, default <code>true</code>.</li>

+

+<li><strong>mappedfile</strong> - Should we generate static content with one 

+print statement per input line, to ease debugging?

+<code>true</code> or <code>false</code>, default <code>true</code>.</li>

+

+<li><strong>modificationTestInterval</strong> - Causes a JSP (and its dependent

+files) to not be checked for modification during the specified time interval

+(in seconds) from the last time the JSP was checked for modification. A value of

+0 will cause the JSP to be checked on every access. Used in development mode

+only. Default is <code>4</code> seconds.</li>

+

+<li><strong>recompileOnFail</strong> - If a JSP compilation fails should the

+modificationTestInterval be ignored and the next access trigger a re-compilation

+attempt? Used in development mode only and is disabled by default as compilation

+may be expensive and could lead to excessive resource usage.</li>

+

+<li><strong>scratchdir</strong> - What scratch directory should we use when

+compiling JSP pages? Default is the work directory for the current web

+application.</li>

+

+<li><strong>suppressSmap</strong> - Should the generation of SMAP info for JSR45

+debugging be suppressed? <code>true</code> or <code>false</code>, default

+<code>false</code>.</li>

+ 

+<li><strong>trimSpaces</strong> - Should white spaces in template text between

+actions or directives be trimmed ?, default <code>false</code>.</li>

+

+<li><strong>xpoweredBy</strong> - Determines whether X-Powered-By response

+header is added by generated servlet. <code>true</code> or <code>false</code>,

+default <code>false</code>.</li>

+</ul>

+</p>

+

+<p>The Java compiler from Eclipse JDT in included as the default compiler. It is

+an advanced Java compiler which will load all dependencies from the Tomcat class

+loader, which will help tremendously when compiling on large installations with

+tens of JARs. On fast servers, this will allow sub-second recompilation cycles

+for even large JSP  pages.</p>

+

+<p>Apache Ant, which was used in previous Tomcat releases, can be used instead

+of the new compiler by simply removing the <code>lib/ecj-*.jar</code> file, 

+and placing the <code>ant.jar</code> and <code>ant-launcher.jar</code> files

+from the latest Ant distribution in the <code>lib</code> folder.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Known issues"><!--()--></a><a name="Known_issues"><strong>Known issues</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>As described in

+<a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=39089">

+bug 39089</a>, a known JVM issue,

+<a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6294277">

+bug 6294277</a>, may cause a

+<code>java.lang.InternalError: name is too long to represent</code> exception

+when compiling very large JSPs. If this is observed then it may be worked around

+by using one of the following:

+<ul>

+<li>reduce the size of the JSP</li>

+<li>disable SMAP generation and JSR-045 support by setting

+<code>suppressSmap</code> to <code>true</code>.</li>

+</ul>

+</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Production Configuration"><!--()--></a><a name="Production_Configuration"><strong>Production Configuration</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The main JSP optimization which can be done is precompilation of JSPs.

+However, this might not be possible (for example, when using the

+jsp-property-group feature) or practical, in which case the configuration of the

+Jasper servlet becomes critical.</p>

+

+<p>When using Jasper 2 in a production Tomcat server you should consider making

+the following changes from the default configuration.

+<ul>

+<li><strong>development</strong> - To disable on access checks for JSP

+pages compilation set this to <code>false</code>.</li>

+<li><strong>genStringAsCharArray</strong> - To generate slightly more efficient 

+char arrays, set this to <code>true</code>.</li>

+<li><strong>modificationTestInterval</strong> - If development has to be set to

+<code>true</code> for any reason (such as dynamic generation of JSPs), setting

+this to a high value will improve performance a lot.</li>

+<li><strong>trimSpaces</strong> - To remove useless bytes from the response,

+set this to <code>true</code>.</li>

+</ul>

+</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Web Application Compilation"><!--()--></a><a name="Web_Application_Compilation"><strong>Web Application Compilation</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Using Ant is the preferred way to compile web applications using JSPC. Note

+that when pre-compiling JSPs, SMAP information only be included in the final

+classes if suppressSmap is false and compile is true. 

+Use the script given below (a similar script is included in the "deployer" 

+download) to precompile a webapp:

+</p>

+

+<p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;project name="Webapp Precompilation" default="all" basedir="."&gt; 

+

+   &lt;import file="${tomcat.home}/bin/catalina-tasks.xml"/&gt;

+  

+   &lt;target name="jspc"&gt; 

+

+    &lt;jasper 

+             validateXml="false" 

+             uriroot="${webapp.path}" 

+             webXmlFragment="${webapp.path}/WEB-INF/generated_web.xml" 

+             outputDir="${webapp.path}/WEB-INF/src" /&gt; 

+

+  &lt;/target&gt; 

+

+  &lt;target name="compile"&gt;

+

+    &lt;mkdir dir="${webapp.path}/WEB-INF/classes"/&gt;

+    &lt;mkdir dir="${webapp.path}/WEB-INF/lib"/&gt;

+

+    &lt;javac destdir="${webapp.path}/WEB-INF/classes"

+           optimize="off"

+           debug="on" failonerror="false"

+           srcdir="${webapp.path}/WEB-INF/src" 

+	   excludes="**/*.smap"&gt;

+      &lt;classpath&gt;

+        &lt;pathelement location="${webapp.path}/WEB-INF/classes"/&gt;

+        &lt;fileset dir="${webapp.path}/WEB-INF/lib"&gt;

+          &lt;include name="*.jar"/&gt;

+        &lt;/fileset&gt;

+        &lt;pathelement location="${tomcat.home}/lib"/&gt;

+        &lt;fileset dir="${tomcat.home}/lib"&gt;

+          &lt;include name="*.jar"/&gt;

+        &lt;/fileset&gt;

+        &lt;fileset dir="${tomcat.home}/bin"&gt; 

+          &lt;include name="*.jar"/&gt; 

+        &lt;/fileset&gt; 

+      &lt;/classpath&gt;

+      &lt;include name="**" /&gt;

+      &lt;exclude name="tags/**" /&gt;

+    &lt;/javac&gt;

+

+  &lt;/target&gt;

+

+  &lt;target name="all" depends="jspc,compile"&gt;

+  &lt;/target&gt;

+

+  &lt;target name="cleanup"&gt;

+  	&lt;delete&gt;

+        &lt;fileset dir="${webapp.path}/WEB-INF/src"/&gt;

+        &lt;fileset dir="${webapp.path}/WEB-INF/classes/org/apache/jsp"/&gt;

+  	&lt;/delete&gt;

+  &lt;/target&gt;

+

+&lt;/project&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>

+

+<p>

+The following command line can be used to run the script

+(replacing the tokens with the Tomcat base path and the path to the webapp 

+which should be precompiled):<br>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+$ANT_HOME/bin/ant -Dtomcat.home=&lt;$TOMCAT_HOME&gt; -Dwebapp.path=&lt;$WEBAPP_PATH&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>

+

+<p>

+Then, the declarations and mappings for the servlets which were generated 

+during the precompilation must be added to the web application deployment

+descriptor. Insert the <code>${webapp.path}/WEB-INF/generated_web.xml</code>

+at the right place inside the <code>${webapp.path}/WEB-INF/web.xml</code> file.

+Restart the web application (using the manager) and test it to verify it is 

+running fine with precompiled servlets. An appropriate token placed in the

+web application deployment descriptor may also be used to automatically

+insert the generated servlet declarations and mappings using Ant filtering 

+capabilities. This is actually how all the webapps distributed with Tomcat 

+are automatically compiled as part of the build process.

+</p>

+

+<p>

+At the jasper task you can use the option <code>addWebXmlMappings</code> for

+automatic merge the <code>${webapp.path}/WEB-INF/generated_web.xml</code>

+with the current web application deployment descriptor at

+<code>${webapp.path}/WEB-INF/web.xml</code>. When you want to use Java 5

+features inside your jsp's, add the following javac compiler task attributes:

+<code>source="1.5" target="1.5"</code>. For live

+applications you can also compile with <code>optimize="on"</code> and

+without debug info <code>debug="off"</code>.

+</p>

+

+<p>

+When you don't want to stop the jsp generation at first jsp syntax error, use   

+<code>failOnError="false"</code>and with

+<code>showSuccess="true"</code> all successfull <i>jsp to java</i>

+generation are printed out. Sometimes it is very helpfull, when you cleanup the

+generate java source files at <code>${webapp.path}/WEB-INF/src</code>

+and the compile jsp servlet classes at

+<code>${webapp.path}/WEB-INF/classes/org/apache/jsp</code>.

+</p>

+

+<p><strong>Hints:</strong>

+<ul>

+<li> When you switch to another Tomcat release, then regenerate and recompile

+your jsp's with the new Tomcat version.</li>

+<li>Use java system property at server runtime to disable PageContext pooling

+<code>org.apache.jasper.runtime.JspFactoryImpl.USE_POOL=false</code>.

+and limit the buffering with

+<code>org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true</code>. Note

+that changing from the defaults may affect performance, but it will vary

+depending on the application.</li>

+</ul>

+</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Using Jikes"><!--()--></a><a name="Using_Jikes"><strong>Using Jikes</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>If you wish to use

+<a href="http://oss.software.ibm.com/developerworks/opensource/jikes/">

+Jikes</a> to compile JSP pages:

+<ul>

+<li>From your <a href="http://ant.apache.org">Ant</a> installation, copy ant.jar

+and (if it's available: Ant 1.5 and later) ant-launcher.jar to 

+<code>$CATALINA_HOME/lib</code>.</li>

+<li>Download and install jikes. jikes must support the -encoding option.

+Execute <code>jikes -help</code> to verify that it was built with support

+for <code>-encoding</code>.</li>

+<li>Set the init parameter <code>compiler</code> to <code>jikes</code>.</li>

+<li>Define the property <code>-Dbuild.compiler.emacs=true</code> when starting

+Tomcat by adding it to your <code>CATALINA_OPTS</code> environment variable.

+This changes how jikes outputs error messages so that it is compatible with

+Jasper.</li>

+<li>If you get an error reporting that jikes can't use UTF8 encoding, try

+setting the init parameter <code>javaEncoding</code> to

+<code>ISO-8859-1</code>.</li>

+</ul>

+</p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/jndi-datasource-examples-howto.html b/tomcat-uid/webapps/docs/jndi-datasource-examples-howto.html
new file mode 100644
index 0000000..0d5b1a0
--- /dev/null
+++ b/tomcat-uid/webapps/docs/jndi-datasource-examples-howto.html
@@ -0,0 +1,659 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - JNDI Datasource HOW-TO</title><meta name="author" content="Les Hughes"><meta name="author" content="David Haraburda"><meta name="author" content="Glenn Nielsen"><meta name="author" content="Yoav Shapira"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>JNDI Datasource HOW-TO</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#DriverManager,_the_service_provider_mechanism_and_memory_leaks">DriverManager, the service provider mechanism and memory leaks</a></li><li><a href="#Database_Connection_Pool_(DBCP)_Configurations">Database Connection Pool (DBCP) Configurations</a><ol><li><a href="#Installation">Installation</a></li><li><a href="#Preventing_database_connection_pool_leaks">Preventing database connection pool leaks</a></li><li><a href="#MySQL_DBCP_Example">MySQL DBCP Example</a></li><li><a href="#Oracle_8i,_9i_&_10g">Oracle 8i, 9i &amp; 10g</a></li><li><a href="#PostgreSQL">PostgreSQL</a></li></ol></li><li><a href="#Non-DBCP_Solutions">Non-DBCP Solutions</a></li><li><a href="#Oracle_8i_with_OCI_client">Oracle 8i with OCI client</a><ol><li><a href="#Oracle_8i_with_OCI_client/Introduction">Introduction</a></li><li><a href="#Putting_it_all_together">Putting it all together</a></li></ol></li><li><a href="#Common_Problems">Common Problems</a><ol><li><a href="#Intermittent_Database_Connection_Failures">Intermittent Database Connection Failures</a></li><li><a href="#Random_Connection_Closed_Exceptions">Random Connection Closed Exceptions</a></li><li><a href="#Context_versus_GlobalNamingResources">Context versus GlobalNamingResources</a></li><li><a href="#JNDI_Resource_Naming_and_Realm_Interaction">JNDI Resource Naming and Realm Interaction</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>JNDI Datasource configuration is covered extensively in the

+JNDI-Resources-HOWTO.  However, feedback from <code>tomcat-user</code> has

+shown that specifics for individual configurations can be rather tricky.</p>

+

+<p>Here then are some example configurations that have been posted to

+tomcat-user for popular databases and some general tips for db usage.</p>

+

+<p>You should be aware that since these notes are derived from configuration

+and/or feedback posted to <code>tomcat-user</code> YMMV :-). Please let us

+know if you have any other tested configurations that you feel may be of use

+to the wider audience, or if you feel we can improve this section in anyway.</p>

+

+<p>

+<b>Please note that JNDI resource configuration changed somewhat between

+Tomcat 5.0.x and Tomcat 5.5.x.</b>  You will most likely need to modify older

+JNDI resource configurations to match the syntax in the example below in order

+to make them work in Tomcat 6.x.x.

+</p>

+

+<p>

+Also, please note that JNDI DataSource configuration in general, and this 

+tutorial in particular, assumes that you have read and understood the 

+<a href="config/context.html">Context</a> and 

+<a href="config/host.html">Host</a> configuration references, including

+the section about Automatic Application Deployment in the latter reference.

+</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="DriverManager, the service provider mechanism and memory leaks"><!--()--></a><a name="DriverManager,_the_service_provider_mechanism_and_memory_leaks"><strong>DriverManager, the service provider mechanism and memory leaks</strong></a></font></td></tr><tr><td><blockquote>

+

+<p><code>java.sql.DriverManager</code> supports the

+<a href="http://docs.oracle.com/javase/6/docs/api/index.html?java/sql/DriverManager.html">service

+provider</a> mechanism. This feature is that all the available JDBC drivers

+that announce themselves by providing a <code>META-INF/services/java.sql.Driver</code>

+file are automatically discovered, loaded and registered,

+relieving you from the need to load the database driver explicitly before

+you create a JDBC connection.

+However, the implementation is fundamentally broken in all Java versions for

+a servlet container environment. The problem is that

+<code>java.sql.DriverManager</code> will scan for the drivers only once.</p>

+

+<p>The <a href="config/listeners.html">JRE Memory Leak Prevention Listener</a>

+that is included with Apache Tomcat solves this by triggering the drivers scan

+during Tomcat startup. This is enabled by default. It means that only

+libraries visible to the listener such as the ones in

+<code>$CATALINA_BASE/lib</code> will be scanned for database drivers.

+If you are considering disabling this feature, note that

+the scan would be triggered by the first web application that is

+using JDBC, leading to failures when this web application is reloaded

+and for other web applications that rely on this feature.

+</p>

+

+<p>Thus, the web applications that have database drivers in their

+<code>WEB-INF/lib</code> directory cannot rely on the service provider

+mechanism and should register the drivers explicitly.</p>

+

+<p>The list of drivers in <code>java.sql.DriverManager</code> is also

+a known source of memory leaks. Any Drivers registered

+by a web application must be deregistered when the web application stops.

+Tomcat will attempt to automatically discover and deregister any

+JDBC drivers loaded by the web application class loader when the web

+application stops.

+However, it is expected that applications do this for themselves via

+a <code>ServletContextListener</code>.

+</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Database Connection Pool (DBCP) Configurations"><!--()--></a><a name="Database_Connection_Pool_(DBCP)_Configurations"><strong>Database Connection Pool (DBCP) Configurations</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The default database connection pool implementation in Apache Tomcat

+relies on the libraries from the

+<a href="http://commons.apache.org/">Apache Commons</a> project.

+The following libraries are used:

+</p>

+

+<ul>

+<li>Commons DBCP</li>

+<li>Commons Pool</li>

+</ul>

+

+<p>

+These libraries are located in a single JAR at 

+<code>$CATALINA_HOME/lib/tomcat-dbcp.jar</code>. However,

+only the classes needed for connection pooling have been included, and the

+packages have been renamed to avoid interfering with applications.

+</p>

+

+<p>DBCP 1.3 provides support for JDBC 3.0.</p>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Installation"><strong>Installation</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>See the <a href="http://commons.apache.org/dbcp/configuration.html">

+DBCP documentation</a> for a complete list of configuration parameters.

+</p>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Preventing database connection pool leaks"><!--()--></a><a name="Preventing_database_connection_pool_leaks"><strong>Preventing database connection pool leaks</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>

+A database connection pool creates and manages a pool of connections

+to a database. Recycling and reusing already existing connections

+to a database is more efficient than opening a new connection.

+</p>

+

+<p>

+There is one problem with connection pooling.  A web application has

+to explicitly close ResultSet's, Statement's, and Connection's.

+Failure of a web application to close these resources can result in

+them never being available again for reuse, a database connection pool "leak".

+This can eventually result in your web application database connections failing

+if there are no more available connections.</p>

+

+<p>

+There is a solution to this problem.  The Apache Commons DBCP can be

+configured to track and recover these abandoned database connections.  Not

+only can it recover them, but also generate a stack trace for the code

+which opened these resources and never closed them.</p>

+

+<p>

+To configure a DBCP DataSource so that abandoned database connections are

+removed and recycled add the following attribute to the

+<code>Resource</code> configuration for your DBCP DataSource:

+</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>removeAbandoned="true"</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>

+When available database connections run low DBCP will recover and recycle

+any abandoned database connections it finds. The default is <code>false</code>.

+</p>

+

+<p>

+Use the <code>removeAbandonedTimeout</code> attribute to set the number

+of seconds a database connection has been idle before it is considered abandoned.

+</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>removeAbandonedTimeout="60"</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>

+The default timeout for removing abandoned connections is 300 seconds.

+</p>

+

+<p>

+The <code>logAbandoned</code> attribute can be set to <code>true</code>

+if you want DBCP to log a stack trace of the code which abandoned the

+database connection resources.

+</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>logAbandoned="true"</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+<p>

+The default is <code>false</code>.

+</p>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="MySQL DBCP Example"><!--()--></a><a name="MySQL_DBCP_Example"><strong>MySQL DBCP Example</strong></a></font></td></tr><tr><td><blockquote>

+

+<h3>0. Introduction</h3>

+<p>Versions of <a href="http://www.mysql.com/products/mysql/index.html">MySQL</a> and JDBC

+drivers that have been reported to work:

+</p>

+<ul>

+<li>MySQL 3.23.47, MySQL 3.23.47 using InnoDB,, MySQL 3.23.58,  MySQL 4.0.1alpha</li>

+<li><a href="http://www.mysql.com/products/connector-j">Connector/J</a> 3.0.11-stable (the official JDBC Driver)</li>

+<li><a href="http://mmmysql.sourceforge.net">mm.mysql</a> 2.0.14 (an old 3rd party JDBC Driver)</li>

+</ul>

+

+<p>Before you proceed, don't forget to copy the JDBC Driver's jar into <code>$CATALINA_HOME/lib</code>.</p>

+

+<h3>1. MySQL configuration</h3>

+<p>

+Ensure that you follow these instructions as variations can cause problems.

+</p>

+

+<p>Create a new test user, a new database and a single test table.

+Your MySQL user <strong>must</strong> have a password assigned. The driver

+will fail if you try to connect with an empty password.

+</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+mysql&gt; GRANT ALL PRIVILEGES ON *.* TO javauser@localhost 

+    -&gt;   IDENTIFIED BY 'javadude' WITH GRANT OPTION;

+mysql&gt; create database javatest;

+mysql&gt; use javatest;

+mysql&gt; create table testdata (

+    -&gt;   id int not null auto_increment primary key,

+    -&gt;   foo varchar(25), 

+    -&gt;   bar int);

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+<blockquote>

+<strong>Note:</strong> the above user should be removed once testing is

+complete!

+</blockquote>

+

+<p>Next insert some test data into the testdata table.

+</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+mysql&gt; insert into testdata values(null, 'hello', 12345);

+Query OK, 1 row affected (0.00 sec)

+

+mysql&gt; select * from testdata;

++----+-------+-------+

+| ID | FOO   | BAR   |

++----+-------+-------+

+|  1 | hello | 12345 |

++----+-------+-------+

+1 row in set (0.00 sec)

+

+mysql&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<h3>2. Context configuration</h3>

+<p>Configure the JNDI DataSource in Tomcat by adding a declaration for your

+resource to your <a href="config/context.html">Context</a>.</p>

+<p>For example:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Context&gt;

+

+    &lt;!-- maxActive: Maximum number of database connections in pool. Make sure you

+         configure your mysqld max_connections large enough to handle

+         all of your db connections. Set to -1 for no limit.

+         --&gt;

+

+    &lt;!-- maxIdle: Maximum number of idle database connections to retain in pool.

+         Set to -1 for no limit.  See also the DBCP documentation on this

+         and the minEvictableIdleTimeMillis configuration parameter.

+         --&gt;

+

+    &lt;!-- maxWait: Maximum time to wait for a database connection to become available

+         in ms, in this example 10 seconds. An Exception is thrown if

+         this timeout is exceeded.  Set to -1 to wait indefinitely.

+         --&gt;

+

+    &lt;!-- username and password: MySQL username and password for database connections  --&gt;

+

+    &lt;!-- driverClassName: Class name for the old mm.mysql JDBC driver is

+         org.gjt.mm.mysql.Driver - we recommend using Connector/J though.

+         Class name for the official MySQL Connector/J driver is com.mysql.jdbc.Driver.

+         --&gt;

+    

+    &lt;!-- url: The JDBC connection url for connecting to your MySQL database.

+         --&gt;

+

+  &lt;Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource"

+               maxActive="100" maxIdle="30" maxWait="10000"

+               username="javauser" password="javadude" driverClassName="com.mysql.jdbc.Driver"

+               url="jdbc:mysql://localhost:3306/javatest"/&gt;

+

+&lt;/Context&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<h3>3. web.xml configuration</h3>

+

+<p>Now create a <code>WEB-INF/web.xml</code> for this test application.</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;web-app xmlns="http://java.sun.com/xml/ns/j2ee"

+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee

+http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"

+    version="2.4"&gt;

+  &lt;description&gt;MySQL Test App&lt;/description&gt;

+  &lt;resource-ref&gt;

+      &lt;description&gt;DB Connection&lt;/description&gt;

+      &lt;res-ref-name&gt;jdbc/TestDB&lt;/res-ref-name&gt;

+      &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;

+      &lt;res-auth&gt;Container&lt;/res-auth&gt;

+  &lt;/resource-ref&gt;

+&lt;/web-app&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<h3>4. Test code</h3>

+<p>Now create a simple <code>test.jsp</code> page for use later.

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %&gt;

+&lt;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %&gt;

+

+&lt;sql:query var="rs" dataSource="jdbc/TestDB"&gt;

+select id, foo, bar from testdata

+&lt;/sql:query&gt;

+

+&lt;html&gt;

+  &lt;head&gt;

+    &lt;title&gt;DB Test&lt;/title&gt;

+  &lt;/head&gt;

+  &lt;body&gt;

+

+  &lt;h2&gt;Results&lt;/h2&gt;

+  

+&lt;c:forEach var="row" items="${rs.rows}"&gt;

+    Foo ${row.foo}&lt;br/&gt;

+    Bar ${row.bar}&lt;br/&gt;

+&lt;/c:forEach&gt;

+

+  &lt;/body&gt;

+&lt;/html&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>

+

+<p>That JSP page makes use of <a href="http://java.sun.com/products/jsp/jstl">JSTL</a>'s

+SQL and Core taglibs. You can get it from

+<a href="http://tomcat.apache.org/taglibs/standard/">Apache Tomcat Taglibs - Standard Tag Library</a>

+project &mdash; just make sure you get a 1.1.x release. Once you have JSTL,

+copy <code>jstl.jar</code> and <code>standard.jar</code> to your web app's

+<code>WEB-INF/lib</code> directory.

+

+</p>

+

+<p>Finally deploy your web app into <code>$CATALINA_BASE/webapps</code> either

+as a warfile called <code>DBTest.war</code> or into a sub-directory called

+<code>DBTest</code></p>

+<p>Once deployed, point a browser at

+<code>http://localhost:8080/DBTest/test.jsp</code> to view the fruits of

+your hard work.</p>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Oracle 8i, 9i & 10g"><!--()--></a><a name="Oracle_8i,_9i_&_10g"><strong>Oracle 8i, 9i &amp; 10g</strong></a></font></td></tr><tr><td><blockquote>

+<h3>0.    Introduction</h3>

+

+<p>Oracle requires minimal changes from the MySQL configuration except for the

+usual gotchas :-)</p>

+<p>Drivers for older Oracle versions may be distributed as *.zip files rather

+than *.jar files. Tomcat will only use <code>*.jar</code> files installed in

+<code>$CATALINA_HOME/lib</code>. Therefore <code>classes111.zip</code>

+or <code>classes12.zip</code> will need to be renamed with a <code>.jar</code>

+extension. Since jarfiles are zipfiles, there is no need to unzip and jar these

+files - a simple rename will suffice.</p>

+

+<p>For Oracle 9i onwards you should use <code>oracle.jdbc.OracleDriver</code>

+rather than <code>oracle.jdbc.driver.OracleDriver</code> as Oracle have stated

+that <code>oracle.jdbc.driver.OracleDriver</code> is deprecated and support

+for this driver class will be discontinued in the next major release.

+</p>

+

+<h3>1. Context configuration</h3>

+<p>In a similar manner to the mysql config above, you will need to define your

+Datasource in your <a href="config/context.html">Context</a>. Here we define a

+Datasource called myoracle using the thin driver to connect as user scott,

+password tiger to the sid called mysid. (Note: with the thin driver this sid is

+not the same as the tnsname). The schema used will be the default schema for the

+user scott.</p>

+

+<p>Use of the OCI driver should simply involve a changing thin to oci in the URL string.

+</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Resource name="jdbc/myoracle" auth="Container"

+              type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"

+              url="jdbc:oracle:thin:@127.0.0.1:1521:mysid"

+              username="scott" password="tiger" maxActive="20" maxIdle="10"

+              maxWait="-1"/&gt; 

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<h3>2.    web.xml configuration</h3>

+<p>You should ensure that you respect the element ordering defined by the DTD when you

+create you applications web.xml file.</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;resource-ref&gt;

+ &lt;description&gt;Oracle Datasource example&lt;/description&gt;

+ &lt;res-ref-name&gt;jdbc/myoracle&lt;/res-ref-name&gt;

+ &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;

+ &lt;res-auth&gt;Container&lt;/res-auth&gt;

+&lt;/resource-ref&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+<h3>3.   Code example</h3>

+<p>You can use the same example application as above (asuming you create the required DB

+instance, tables etc.) replacing the Datasource code with something like</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+Context initContext = new InitialContext();

+Context envContext  = (Context)initContext.lookup("java:/comp/env");

+DataSource ds = (DataSource)envContext.lookup("jdbc/myoracle");

+Connection conn = ds.getConnection();

+//etc.

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="PostgreSQL"><strong>PostgreSQL</strong></a></font></td></tr><tr><td><blockquote>

+<h3>0.    Introduction</h3>

+<p>PostgreSQL is configured in a similar manner to Oracle.</p>

+

+<h3>1. Required files </h3>

+<p>

+Copy the Postgres JDBC jar to $CATALINA_HOME/lib. As with Oracle, the

+jars need to be in this directory in order for DBCP's Classloader to find

+them. This has to be done regardless of which configuration step you take next.

+</p>

+

+<h3>2. Resource configuration</h3>

+

+<p>

+You have two choices here: define a datasource that is shared across all Tomcat

+applications, or define a datasource specifically for one application.

+</p>

+

+<h4>2a. Shared resource configuration</h4>

+<p>

+Use this option if you wish to define a datasource that is shared across

+multiple Tomcat applications, or if you just prefer defining your datasource

+in this file.

+</p>

+<p><i>This author has not had success here, although others have reported so.

+Clarification would be appreciated here.</i></p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Resource name="jdbc/postgres" auth="Container"

+          type="javax.sql.DataSource" driverClassName="org.postgresql.Driver"

+          url="jdbc:postgresql://127.0.0.1:5432/mydb"

+          username="myuser" password="mypasswd" maxActive="20" maxIdle="10" maxWait="-1"/&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+<h4>2b. Application-specific resource configuration</h4>

+

+<p>

+Use this option if you wish to define a datasource specific to your application,

+not visible to other Tomcat applications. This method is less invasive to your

+Tomcat installation.

+</p>

+

+<p>

+Create a resource definition for your <a href="config/context.html">Context</a>.

+The Context element should look something like the following.

+</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Context&gt;

+

+&lt;Resource name="jdbc/postgres" auth="Container"

+          type="javax.sql.DataSource" driverClassName="org.postgresql.Driver"

+          url="jdbc:postgresql://127.0.0.1:5432/mydb"

+          username="myuser" password="mypasswd" maxActive="20" maxIdle="10"

+maxWait="-1"/&gt;

+&lt;/Context&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<h3>3. web.xml configuration</h3>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;resource-ref&gt;

+ &lt;description&gt;postgreSQL Datasource example&lt;/description&gt;

+ &lt;res-ref-name&gt;jdbc/postgres&lt;/res-ref-name&gt;

+ &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;

+ &lt;res-auth&gt;Container&lt;/res-auth&gt;

+&lt;/resource-ref&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<h4>4. Accessing the datasource</h4>

+<p>

+When accessing the datasource programmatically, remember to prepend

+<code>java:/comp/env</code> to your JNDI lookup, as in the following snippet of

+code. Note also that "jdbc/postgres" can be replaced with any value you prefer, provided

+you change it in the above resource definition file as well.

+</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+InitialContext cxt = new InitialContext();

+if ( cxt == null ) {

+   throw new Exception("Uh oh -- no context!");

+}

+

+DataSource ds = (DataSource) cxt.lookup( "java:/comp/env/jdbc/postgres" );

+

+if ( ds == null ) {

+   throw new Exception("Data source not found!");

+}

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+</blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Non-DBCP Solutions"><!--()--></a><a name="Non-DBCP_Solutions"><strong>Non-DBCP Solutions</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+These solutions either utilise a single connection to the database (not recommended for anything other

+than testing!) or some other pooling technology.

+</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Oracle 8i with OCI client"><!--()--></a><a name="Oracle_8i_with_OCI_client"><strong>Oracle 8i with OCI client</strong></a></font></td></tr><tr><td><blockquote>

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Oracle 8i with OCI client/Introduction"><!--()--></a><a name="Oracle_8i_with_OCI_client/Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+<p>Whilst not strictly addressing the creation of a JNDI DataSource using the OCI client, these notes can be combined with the

+Oracle and DBCP solution above.</p>

+<p>

+In order to use OCI driver, you should have an Oracle client installed. You should have installed

+Oracle8i(8.1.7) client from cd,  and download the suitable JDBC/OCI

+driver(Oracle8i 8.1.7.1 JDBC/OCI Driver) from <a href="http://otn.oracle.com/">otn.oracle.com</a>. 

+</p>

+<p>

+After renaming <code>classes12.zip</code> file to <code>classes12.jar</code>

+for Tomcat, copy it into <code>$CATALINA_HOME/lib</code>. 

+You may also have to remove the <code>javax.sql.*</code> classes

+from this file depending upon the version of Tomcat and JDK you are using.

+</p>

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Putting it all together"><!--()--></a><a name="Putting_it_all_together"><strong>Putting it all together</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+Ensure that you have the <code>ocijdbc8.dll</code> or <code>.so</code> in your <code>$PATH</code> or <code>LD_LIBRARY_PATH</code>

+ (possibly in <code>$ORAHOME\bin</code>) and also confirm that the native library can be loaded by a simple test program 

+using <code>System.loadLibrary("ocijdbc8");</code>

+</p>

+<p>

+You should next create a simple test servlet or jsp that has these

+<strong>critical lines</strong>:

+</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+DriverManager.registerDriver(new

+oracle.jdbc.driver.OracleDriver());

+conn =

+DriverManager.getConnection("jdbc:oracle:oci8:@database","username","password");

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+<p>

+where database is of the form <code>host:port:SID</code> Now if you try to access the URL of your 

+test servlet/jsp and what you get is a 

+<code>ServletException</code> with a root cause of <code>java.lang.UnsatisfiedLinkError:get_env_handle</code>.

+</p>

+<p>

+First, the <code>UnsatisfiedLinkError</code> indicates that you have 

+<ul>

+<li>a mismatch between your JDBC classes file and

+your Oracle client version. The giveaway here is the message stating that a needed library file cannot be

+found. For example, you may be using a classes12.zip file from Oracle Version 8.1.6 with a Version 8.1.5

+Oracle client. The classeXXXs.zip file and Oracle client software versions must match.

+</li>

+<li>A <code>$PATH</code>, <code>LD_LIBRARY_PATH</code> problem.</li>

+<li>It has been reported that ignoring the driver you have downloded from otn and using 

+the classes12.zip file from the directory <code>$ORAHOME\jdbc\lib</code> will also work.

+</li>

+</ul>

+</p>

+<p>

+Next you may experience the error <code>ORA-06401 NETCMN: invalid driver designator</code>

+</p>

+<p>

+The Oracle documentation says : "Cause: The login (connect) string contains an invalid

+driver designator. Action: Correct the string and re-submit."

+

+Change the database connect string (of the form <code>host:port:SID</code>) with this one:

+<code>(description=(address=(host=myhost)(protocol=tcp)(port=1521))(connect_data=(sid=orcl)))</code>

+</p>

+<p>

+<i>Ed. Hmm, I don't think this is really needed if you sort out your TNSNames - but I'm not an Oracle DBA :-)</i>

+</p>

+</blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Problems"><!--()--></a><a name="Common_Problems"><strong>Common Problems</strong></a></font></td></tr><tr><td><blockquote>

+<p>Here are some common problems encountered with a web application which

+uses a database and tips for how to solve them.</p>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Intermittent Database Connection Failures"><!--()--></a><a name="Intermittent_Database_Connection_Failures"><strong>Intermittent Database Connection Failures</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+Tomcat runs within a JVM.  The JVM periodically performs garbage collection

+(GC) to remove java objects which are no longer being used.  When the JVM

+performs GC execution of code within Tomcat freezes. If the maximum time

+configured for establishment of a database connection is less than the amount

+of time garbage collection took you can get a database connection failure.

+</p>

+

+<p>To collect data on how long garbage collection is taking add the

+<code>-verbose:gc</code> argument to your <code>CATALINA_OPTS</code>

+environment variable when starting Tomcat.  When verbose gc is enabled

+your <code>$CATALINA_BASE/logs/catalina.out</code> log file will include

+data for every garbage collection including how long it took.</p>

+

+<p>When your JVM is tuned correctly 99% of the time a GC will take less

+than one second.  The remainder will only take a few seconds.  Rarely,

+if ever should a GC take more than 10 seconds.</p>

+

+<p>Make sure that the db connection timeout is set to 10-15 seconds.

+For the DBCP you set this using the parameter <code>maxWait</code>.</p>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Random Connection Closed Exceptions"><!--()--></a><a name="Random_Connection_Closed_Exceptions"><strong>Random Connection Closed Exceptions</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+These can occur when one request gets a db connection from the connection

+pool and closes it twice.  When using a connection pool, closing the

+connection just returns it to the pool for reuse by another request,

+it doesn't close the connection.  And Tomcat uses multiple threads to

+handle concurrent requests. Here is an example of the sequence

+of events which could cause this error in Tomcat:

+</p>

+<pre>

+  Request 1 running in Thread 1 gets a db connection.

+

+  Request 1 closes the db connection.

+

+  The JVM switches the running thread to Thread 2

+

+  Request 2 running in Thread 2 gets a db connection

+  (the same db connection just closed by Request 1).

+

+  The JVM switches the running thread back to Thread 1

+

+  Request 1 closes the db connection a second time in a finally block.

+

+  The JVM switches the running thread back to Thread 2

+

+  Request 2 Thread 2 tries to use the db connection but fails

+  because Request 1 closed it.

+</pre>

+<p>

+Here is an example of properly written code to use a database connection

+obtained from a connection pool:

+</p>

+<pre>

+  Connection conn = null;

+  Statement stmt = null;  // Or PreparedStatement if needed

+  ResultSet rs = null;

+  try {

+    conn = ... get connection from connection pool ...

+    stmt = conn.createStatement("select ...");

+    rs = stmt.executeQuery();

+    ... iterate through the result set ...

+    rs.close();

+    rs = null;

+    stmt.close();

+    stmt = null;

+    conn.close(); // Return to connection pool

+    conn = null;  // Make sure we don't close it twice

+  } catch (SQLException e) {

+    ... deal with errors ...

+  } finally {

+    // Always make sure result sets and statements are closed,

+    // and the connection is returned to the pool

+    if (rs != null) {

+      try { rs.close(); } catch (SQLException e) { ; }

+      rs = null;

+    }

+    if (stmt != null) {

+      try { stmt.close(); } catch (SQLException e) { ; }

+      stmt = null;

+    }

+    if (conn != null) {

+      try { conn.close(); } catch (SQLException e) { ; }

+      conn = null;

+    }

+  }

+</pre>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Context versus GlobalNamingResources"><!--()--></a><a name="Context_versus_GlobalNamingResources"><strong>Context versus GlobalNamingResources</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+  Please note that although the above instructions place the JNDI declarations in a Context

+  element, it is possible and sometimes desirable to place these declarations in the 

+  <a href="config/globalresources.html">GlobalNamingResources</a> section of the server

+  configuration file.  A resource placed in the GlobalNamingResources section will be shared

+  among the Contexts of the server.

+</p>

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JNDI Resource Naming and Realm Interaction"><!--()--></a><a name="JNDI_Resource_Naming_and_Realm_Interaction"><strong>JNDI Resource Naming and Realm Interaction</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+  In order to get Realms to work, the realm must refer to the datasource as

+  defined in the &lt;GlobalNamingResources&gt; or &lt;Context&gt; section, not a datasource as renamed

+  using &lt;ResourceLink&gt;.

+</p>

+</blockquote></td></tr></table> 

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/jndi-resources-howto.html b/tomcat-uid/webapps/docs/jndi-resources-howto.html
new file mode 100644
index 0000000..4ee0e69
--- /dev/null
+++ b/tomcat-uid/webapps/docs/jndi-resources-howto.html
@@ -0,0 +1,931 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - JNDI Resources HOW-TO</title><meta name="author" content="Craig R. McClanahan"><meta name="author" content="Yoav Shapira"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>JNDI Resources HOW-TO</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#web.xml_configuration">web.xml configuration</a></li><li><a href="#context.xml_configuration">context.xml configuration</a></li><li><a href="#Global_configuration">Global configuration</a></li><li><a href="#Using_resources">Using resources</a></li><li><a href="#Tomcat_Standard_Resource_Factories">Tomcat Standard Resource Factories</a><ol><li><a href="#Generic_JavaBean_Resources">Generic JavaBean Resources</a></li><li><a href="#UserDatabase_Resources">UserDatabase Resources</a></li><li><a href="#JavaMail_Sessions">JavaMail Sessions</a></li><li><a href="#JDBC_Data_Sources">JDBC Data Sources</a></li></ol></li><li><a href="#Adding_Custom_Resource_Factories">Adding Custom Resource Factories</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Tomcat 6 provides a JNDI <strong>InitialContext</strong> implementation

+instance for each web application running under it, in a manner that is 

+compatible with those provided by a 

+<a href="http://java.sun.com/j2ee">Java2 Enterprise Edition</a> application 

+server. The J2EE standard provides a standard set of elements in the

+<code>/WEB-INF/web.xml</code> file to reference/define resources.</p>

+

+<p>See the following Specifications for more information about programming APIs

+for JNDI, and for the features supported by Java2 Enterprise Edition (J2EE)

+servers, which Tomcat emulates for the services that it provides:</p>

+<ul>

+<li><a href="http://java.sun.com/products/jndi">Java Naming and Directory

+    Interface</a> (included in JDK 1.4 onwards)</li>

+<li><a href="http://java.sun.com/j2ee/download.html">J2EE Platform

+    Specification</a> (in particular, see Chapter 5 on <em>Naming</em>)</li>

+</ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="web.xml configuration"><!--()--></a><a name="web.xml_configuration"><strong>web.xml configuration</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The following elements may be used in the web application deployment

+descriptor (<code>/WEB-INF/web.xml</code>) of your web application to define

+resources:</p>

+<ul>

+<li><code><strong>&lt;env-entry&gt;</strong></code> - Environment entry, a

+    single-value parameter that can be used to configure how the application

+    will operate.</li>

+<li><code><strong>&lt;resource-ref&gt;</strong></code> - Resource reference,

+    which is typically to an object factory for resources such as a JDBC

+    <code>DataSource</code>, a JavaMail <code>Session</code>, or custom

+    object factories configured into Tomcat 6.</li>

+<li><code><strong>&lt;resource-env-ref&gt;</strong></code> - Resource

+    environment reference, a new variation of <code>resource-ref</code>

+    added in Servlet 2.4 that is simpler to configure for resources

+    that do not require authentication information.</li>

+</ul>

+

+<p>Providing that Tomcat is able to identify an appropriate resource factory to

+use to create the resource and that no further configuration information is

+required, Tomcat will use the information in <code>/WEB-INF/web.xml</code> to

+create the resource.</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="context.xml configuration"><!--()--></a><a name="context.xml_configuration"><strong>context.xml configuration</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>If Tomcat is unable to identify the appropriate resource factory and/or

+additional configuration information is required, additional Tomcat specific

+configuration must be specified before Tomcat can create the resource.

+Tomcat specific resource configuration is entered in

+the <a href="config/context.html"><code>&lt;Context&gt;</code></a> elements that

+can be specified in either <code>$CATALINA_BASE/conf/server.xml</code> or,

+preferably, the per-web-application context XML file

+(<code>META-INF/context.xml</code>).</p>

+

+<p>Tomcat specific resource configuration is performed using the following

+elements in the <a href="config/context.html"><code>&lt;Context&gt;</code></a>

+element:</p>

+

+<ul>

+<li><a href="config/context.html#Environment Entries">&lt;Environment&gt;</a> -

+    Configure names and values for scalar environment entries that will be

+    exposed to the web application through the JNDI

+    <code>InitialContext</code> (equivalent to the inclusion of an

+    <code>&lt;env-entry&gt;</code> element in the web application

+    deployment descriptor).</li>

+<li><a href="config/context.html#Resource Definitions">&lt;Resource&gt;</a> -

+    Configure the name and data type of a resource made available to the

+    application (equivalent to the inclusion of a

+    <code>&lt;resource-ref&gt;</code> element in the web application

+    deployment descriptor).</li>

+<li><a href="config/context.html#Resource Links">&lt;ResourceLink&gt;</a> -

+    Add a link to a resource defined in the global JNDI context. Use resource 

+    links to give a web application access to a resource defined in 

+    the <a href="config/globalresources.html">&lt;GlobalNamingResources&gt;</a>

+    child element of the <a href="config/server.html">&lt;Server&gt;</a>

+    element.</li>

+<li><a href="config/context.html#Transaction">&lt;Transaction&gt;</a> -

+    Add a resource factory for instantiating the UserTransaction object 

+    instance that is available at <code>java:comp/UserTransaction</code>.</li>

+

+</ul>

+

+<p>Any number of these elements may be nested inside a

+<a href="config/context.html"><code>&lt;Context&gt;</code></a> element and will

+be associated only with that particular web application.</p>

+

+<p>If a resource has been defined in a

+<a href="config/context.html"><code>&lt;Context&gt;</code></a> element it is not

+necessary for that resource to be defined in <code>/WEB-INF/web.xml</code>.

+However, it is recommended to keep the entry in <code>/WEB-INF/web.xml</code>

+to document the resource requirements for the web application.</p>

+

+<p>Where the same resource name has been defined for a

+<code>&lt;env-entry&gt;</code> element included in the web application

+deployment descriptor (<code>/WEB-INF/web.xml</code>) and in an

+<code>&lt;Environment&gt;</code> element as part of the

+<a href="config/context.html"><code>&lt;Context&gt;</code></a> element for the

+web application, the values in the deployment descriptor will take precedence

+<strong>only</strong> if allowed by the corresponding

+<code>&lt;Environment&gt;</code> element (by setting the <code>override</code>

+attribute to "true").</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Global configuration"><!--()--></a><a name="Global_configuration"><strong>Global configuration</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Tomcat 6 maintains a separate namespace of global resources for the 

+entire server.  These are configured in the 

+<a href="config/globalresources.html">

+<code><strong>&lt;GlobalNamingResources&gt;</strong></code></a> element of 

+<code>$CATALINA_BASE/conf/server.xml</code>. You may expose these resources to 

+web applications by using a 

+<a href="config/context.html#Resource Links">&lt;ResourceLink&gt;</a> to

+include it in the per-web-application context.</p>

+

+<p>If a resource has been defined using a 

+<a href="config/context.html#Resource Links">&lt;ResourceLink&gt;</a>, it is not

+necessary for that resource to be defined in <code>/WEB-INF/web.xml</code>.

+However, it is recommended to keep the entry in <code>/WEB-INF/web.xml</code>

+to document the resource requirements for the web application.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Using resources"><!--()--></a><a name="Using_resources"><strong>Using resources</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The <code>InitialContext</code> is configured as a web application is

+initially deployed, and is made available to web application components (for

+read-only access).  All configured entries and resources are placed in

+the <code>java:comp/env</code> portion of the JNDI namespace, so a typical

+access to a resource - in this case, to a JDBC <code>DataSource</code> -

+would look something like this:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+// Obtain our environment naming context

+Context initCtx = new InitialContext();

+Context envCtx = (Context) initCtx.lookup("java:comp/env");

+

+// Look up our data source

+DataSource ds = (DataSource)

+  envCtx.lookup("jdbc/EmployeeDB");

+

+// Allocate and use a connection from the pool

+Connection conn = ds.getConnection();

+... use this connection to access the database ...

+conn.close();

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat Standard Resource Factories"><!--()--></a><a name="Tomcat_Standard_Resource_Factories"><strong>Tomcat Standard Resource Factories</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>Tomcat 6 includes a series of standard resource factories that can

+  provide services to your web applications, but give you configuration

+  flexibility (via the

+  <a href="config/context.html"><code>&lt;Context&gt;</code></a> element)

+  without modifying the web application or the deployment descriptor. Each

+  subsection below details the configuration and usage of the standard resource

+  factories.</p>

+

+  <p>See <a href="#Adding Custom Resource Factories">Adding Custom

+  Resource Factories</a> for information about how to create, install,

+  configure, and use your own custom resource factory classes with

+  Tomcat 6.</p>

+

+  <p><em>NOTE</em> - Of the standard resource factories, only the

+  "JDBC Data Source" and "User Transaction" factories are mandated to

+  be available on other platforms, and then they are required only if

+  the platform implements the Java2 Enterprise Edition (J2EE) specs.

+  All other standard resource factories, plus custom resource factories

+  that you write yourself, are specific to Tomcat and cannot be assumed

+  to be available on other containers.</p>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Generic JavaBean Resources"><!--()--></a><a name="Generic_JavaBean_Resources"><strong>Generic JavaBean Resources</strong></a></font></td></tr><tr><td><blockquote>

+

+    <h3>0.  Introduction</h3>

+

+    <p>This resource factory can be used to create objects of <em>any</em>

+    Java class that conforms to standard JavaBeans naming conventions (i.e.

+    it has a zero-arguments constructor, and has property setters that

+    conform to the setFoo() naming pattern.  The resource factory will

+    create a new instance of the appropriate bean class every time a

+    <code>lookup()</code> for this entry is made.</p>

+

+    <p>The steps required to use this facility are described below.</p>

+

+    <h3>1.  Create Your JavaBean Class</h3>

+

+    <p>Create the JavaBean class which will be instantiated each time

+    that the resource factory is looked up.  For this example, assume

+    you create a class <code>com.mycompany.MyBean</code>, which looks

+    like this:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+package com.mycompany;

+

+public class MyBean {

+

+  private String foo = "Default Foo";

+

+  public String getFoo() {

+    return (this.foo);

+  }

+

+  public void setFoo(String foo) {

+    this.foo = foo;

+  }

+

+  private int bar = 0;

+

+  public int getBar() {

+    return (this.bar);

+  }

+

+  public void setBar(int bar) {

+    this.bar = bar;

+  }

+

+

+}

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+  <h3>2.  Declare Your Resource Requirements</h3>

+

+  <p>Next, modify your web application deployment descriptor

+  (<code>/WEB-INF/web.xml</code>) to declare the JNDI name under which

+  you will request new instances of this bean.  The simplest approach is

+  to use a <code>&lt;resource-env-ref&gt;</code> element, like this:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;resource-env-ref&gt;

+  &lt;description&gt;

+    Object factory for MyBean instances.

+  &lt;/description&gt;

+  &lt;resource-env-ref-name&gt;

+    bean/MyBeanFactory

+  &lt;/resource-env-ref-name&gt;

+  &lt;resource-env-ref-type&gt;

+    com.mycompany.MyBean

+  &lt;/resource-env-ref-type&gt;

+&lt;/resource-env-ref&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p><strong>WARNING</strong> - Be sure you respect the element ordering

+    that is required by the DTD for web application deployment descriptors!

+    See the

+    <a href="http://wiki.apache.org/tomcat/Specifications">Servlet

+    Specification</a> for details.</p>

+

+  <h3>3.  Code Your Application's Use Of This Resource</h3>

+

+  <p>A typical use of this resource environment reference might look

+  like this:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+Context initCtx = new InitialContext();

+Context envCtx = (Context) initCtx.lookup("java:comp/env");

+MyBean bean = (MyBean) envCtx.lookup("bean/MyBeanFactory");

+

+writer.println("foo = " + bean.getFoo() + ", bar = " +

+               bean.getBar());

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <h3>4.  Configure Tomcat's Resource Factory</h3>

+

+    <p>To configure Tomcat's resource factory, add an element like this to the

+    <a href="config/context.html"><code>&lt;Context&gt;</code></a> element for

+    this web application.</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Context ...&gt;

+  ...

+  &lt;Resource name="bean/MyBeanFactory" auth="Container"

+            type="com.mycompany.MyBean"

+            factory="org.apache.naming.factory.BeanFactory"

+            bar="23"/&gt;

+  ...

+&lt;/Context&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>Note that the resource name (here, <code>bean/MyBeanFactory</code>

+    must match the value specified in the web application deployment

+    descriptor.  We are also initializing the value of the <code>bar</code>

+    property, which will cause <code>setBar(23)</code> to be called before

+    the new bean is returned.  Because we are not initializing the

+    <code>foo</code> property (although we could have), the bean will

+    contain whatever default value is set up by its constructor.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="UserDatabase Resources"><!--()--></a><a name="UserDatabase_Resources"><strong>UserDatabase Resources</strong></a></font></td></tr><tr><td><blockquote>

+

+    <h3>0.  Introduction</h3>

+

+    <p>UserDatabase resources are typically configured as global resources for

+    use by a UserDatabase realm. Tomcat includes a UserDatabaseFactoory that

+    creates UserDatabase resources backed by an XML file - usually

+    <code>tomcat-users.xml</code></p>

+

+    <p>The steps required to set up a global UserDatabase resource are described

+    below.</p>

+

+    <h3>1. Create/edit the XML file</h3>

+

+    <p>The XMl file is typically located at

+    <code>$CATALINA_BASE/conf/tomcat-users.xml</code> however, you are free to

+    locate the file anywhere on the file system. It is recommended that the XML

+    files are placed in <code>$CATALINA_BASE/conf</code>. A typical XML would

+    look like:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;?xml version='1.0' encoding='utf-8'?&gt;

+&lt;tomcat-users&gt;

+  &lt;role rolename="tomcat"/&gt;

+  &lt;role rolename="role1"/&gt;

+  &lt;user username="tomcat" password="tomcat" roles="tomcat"/&gt;

+  &lt;user username="both" password="tomcat" roles="tomcat,role1"/&gt;

+  &lt;user username="role1" password="tomcat" roles="role1"/&gt;

+&lt;/tomcat-users&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <h3>2.  Declare Your Resource</h3>

+

+    <p>Next, modify <code>$CATALINA_BASE/conf/server.xml</code> to create the

+    UserDatabase resource based on your XMl file. It should look something like

+    this:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Resource name="UserDatabase"

+          auth="Container"

+          type="org.apache.catalina.UserDatabase"

+          description="User database that can be updated and saved"

+          factory="org.apache.catalina.users.MemoryUserDatabaseFactory"

+          pathname="conf/tomcat-users.xml"

+          readonly="false" /&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>The <code>pathname</code> attribute can be absolute or relative. If

+    relative, it is relative to <code>$CATALINA_BASE</code>.</p>

+    

+    <p>The <code>readonly</code> attribute is optional and defaults to

+    <code>true</code> if not supplied. If the XML is writeable then it will be

+    written to when Tomcat starts. <strong>WARNING:</strong> When the file is

+    written it will inherit the default file permissions for the user Tomcat

+    is running as. Ensure that these are appropriate to maintain the security

+    of your installation.</p>

+

+    <h3>3.  Configure the Realm</h3>

+

+    <p>Configure a UserDatabase Realm to use this resource as described in the

+    <a href="config/realm.html">Realm configuration documentation</a>.</p>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JavaMail Sessions"><!--()--></a><a name="JavaMail_Sessions"><strong>JavaMail Sessions</strong></a></font></td></tr><tr><td><blockquote>

+

+    <h3>0.  Introduction</h3>

+

+    <p>In many web applications, sending electronic mail messages is a

+    required part of the system's functionality.  The

+    <a href="http://java.sun.com/products/javamail">Java Mail</a> API

+    makes this process relatively straightforward, but requires many

+    configuration details that the client application must be aware of

+    (including the name of the SMTP host to be used for message sending).</p>

+

+    <p>Tomcat 6 includes a standard resource factory that will create

+    <code>javax.mail.Session</code> session instances for you, already

+    configured to connect to an SMTP server.

+    In this way, the application is totally insulated from changes in the

+    email server configuration environment - it simply asks for, and receives,

+    a preconfigured session whenever needed.</p>

+

+    <p>The steps required for this are outlined below.</p>

+

+    <h3>1.  Declare Your Resource Requirements</h3>

+

+    <p>The first thing you should do is modify the web application deployment

+    descriptor (<code>/WEB-INF/web.xml</code>) to declare the JNDI name under

+    which you will look up preconfigured sessions.  By convention, all such

+    names should resolve to the <code>mail</code> subcontext (relative to the

+    standard <code>java:comp/env</code> naming context that is the root of

+    all provided resource factories.  A typical <code>web.xml</code> entry

+    might look like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;resource-ref&gt;

+  &lt;description&gt;

+    Resource reference to a factory for javax.mail.Session

+    instances that may be used for sending electronic mail

+    messages, preconfigured to connect to the appropriate

+    SMTP server.

+  &lt;/description&gt;

+  &lt;res-ref-name&gt;

+    mail/Session

+  &lt;/res-ref-name&gt;

+  &lt;res-type&gt;

+    javax.mail.Session

+  &lt;/res-type&gt;

+  &lt;res-auth&gt;

+    Container

+  &lt;/res-auth&gt;

+&lt;/resource-ref&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p><strong>WARNING</strong> - Be sure you respect the element ordering

+    that is required by the DTD for web application deployment descriptors!

+    See the

+    <a href="http://wiki.apache.org/tomcat/Specifications">Servlet

+    Specification</a> for details.</p>

+

+    <h3>2.  Code Your Application's Use Of This Resource</h3>

+

+    <p>A typical use of this resource reference might look like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+Context initCtx = new InitialContext();

+Context envCtx = (Context) initCtx.lookup("java:comp/env");

+Session session = (Session) envCtx.lookup("mail/Session");

+

+Message message = new MimeMessage(session);

+message.setFrom(new InternetAddress(request.getParameter("from")));

+InternetAddress to[] = new InternetAddress[1];

+to[0] = new InternetAddress(request.getParameter("to"));

+message.setRecipients(Message.RecipientType.TO, to);

+message.setSubject(request.getParameter("subject"));

+message.setContent(request.getParameter("content"), "text/plain");

+Transport.send(message);

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>Note that the application uses the same resource reference name

+    that was declared in the web application deployment descriptor.  This

+    is matched up against the resource factory that is configured in the

+    <a href="config/context.html"><code>&lt;Context&gt;</code></a> element

+    for the web application as described below.</p>

+

+    <h3>3.  Configure Tomcat's Resource Factory</h3>

+

+    <p>To configure Tomcat's resource factory, add an elements like this to the

+    <a href="config/context.html"><code>&lt;Context&gt;</code></a> element for

+    this web application.</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Context ...&gt;

+  ...

+  &lt;Resource name="mail/Session" auth="Container"

+            type="javax.mail.Session"

+            mail.smtp.host="localhost"/&gt;

+  ...

+&lt;/Context&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>Note that the resource name (here, <code>mail/Session</code>) must

+    match the value specified in the web application deployment descriptor.

+    Customize the value of the <code>mail.smtp.host</code> parameter to

+    point at the server that provides SMTP service for your network.</p>

+

+    <p>Additional resource attributes and values will be converted to properties

+    and values and passed to

+    <code>javax.mail.Session.getInstance(java.util.Properties)</code> as part of

+    the <code>java.util.Properties</code> collection. In addition to the

+    properties defined in Annex A of the JavaMail specification, individual

+    providers may also support additional properties.</p>

+    

+    <p>Tomcat's resource factory provides a <code>password</code> property

+    which can be configured by adding <code>password="yourpassword"</code>

+    to the Resource definition.</p>

+

+    <h3>4.  Install the JavaMail libraries</h3>

+

+    <p><a href="http://www.oracle.com/technetwork/java/index-138643.html">

+    Download the JavaMail API</a>.  The JavaMail API requires the Java Activation

+    Framework (JAF) API as well.  The Java Activation Framework is included in

+    Java SE 6 onwards. Java SE 5 users can download the latest version, 

+    <a href="http://www.oracle.com/technetwork/java/javase/downloads/index-135046.html">

+    JAF 1.1.1</a>.

+    </p>

+

+    <p>Unpackage the distribution(s) and place mail.jar (and activation.jar if

+    required) into $CATALINA_HOME/lib so the JAR(s) is(are) available to Tomcat

+    during the initialization of the mail Session Resource.

+    <strong>Note:</strong> placing jars in both $CATALINA_HOME/lib and a web

+    application's lib folder will cause an error, so ensure mail.jar (and

+    activation.jar) is(are) placed only the $CATALINA_HOME/lib location.

+    </p>

+

+    <h3>Example Application</h3>

+

+    <p>The <code>/examples</code> application included with Tomcat contains

+    an example of utilizing this resource factory.  It is accessed via the

+    "JSP Examples" link.  The source code for the servlet that actually

+    sends the mail message is in

+    <code>/WEB-INF/classes/SendMailServlet.java</code>.</p>

+

+    <p><strong>WARNING</strong> - The default configuration assumes that there

+    is an SMTP server listing on port 25 on <code>localhost</code>. If this is

+    not the case, edit the

+    <a href="config/context.html"><code>&lt;Context&gt;</code></a> element for

+    this web application and modify the parameter value for the

+    <code>mail.smtp.host</code> parameter to be the host name of an SMTP server

+    on your network.</p>

+

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JDBC Data Sources"><!--()--></a><a name="JDBC_Data_Sources"><strong>JDBC Data Sources</strong></a></font></td></tr><tr><td><blockquote>

+

+    <h3>0.  Introduction</h3>

+

+    <p>Many web applications need to access a database via a JDBC driver,

+    to support the functionality required by that application.  The J2EE

+    Platform Specification requires J2EE Application Servers to make

+    available a <em>DataSource</em> implementation (that is, a connection

+    pool for JDBC connections) for this purpose.  Tomcat 6 offers exactly

+    the same support, so that database-based applications you develop on

+    Tomcat using this service will run unchanged on any J2EE server.</p>

+

+    <p>For information about JDBC, you should consult the following:</p>

+    <ul>

+    <li><a href="http://java.sun.com/products/jdbc/">http://java.sun.com/products/jdbc/</a> -

+        Home page for information about Java Database Connectivity.</li>

+    <li><a href="http://docs.oracle.com/javase/1.3/docs/guide/jdbc/spec2/jdbc2.1.frame.html">http://docs.oracle.com/javase/1.3/docs/guide/jdbc/spec2/jdbc2.1.frame.html</a> -

+        The JDBC 2.1 API Specification.</li>

+    <li><a href="http://java.sun.com/products/jdbc/jdbc20.stdext.pdf">http://java.sun.com/products/jdbc/jdbc20.stdext.pdf</a> -

+        The JDBC 2.0 Standard Extension API (including the

+        <code>javax.sql.DataSource</code> API).  This package is now known

+        as the "JDBC Optional Package".</li>

+    <li><a href="http://java.sun.com/j2ee/download.html">http://java.sun.com/j2ee/download.html</a> -

+        The J2EE Platform Specification (covers the JDBC facilities that

+        all J2EE platforms must provide to applications).</li>

+    </ul>

+

+    <p><strong>NOTE</strong> - The default data source support in Tomcat

+    is based on the <strong>DBCP</strong> connection pool from the

+    <a href="http://commons.apache.org/">Commons</a>

+    project.  However, it is possible to use any other connection pool

+    that implements <code>javax.sql.DataSource</code>, by writing your

+    own custom resource factory, as described

+    <a href="#Adding Custom Resource Factories">below</a>.</p>

+

+    <h3>1.  Install Your JDBC Driver</h3>

+

+    <p>Use of the <em>JDBC Data Sources</em> JNDI Resource Factory requires

+    that you make an appropriate JDBC driver available to both Tomcat internal

+    classes and to your web application.  This is most easily accomplished by

+    installing the driver's JAR file(s) into the

+    <code>$CATALINA_HOME/lib</code> directory, which makes the driver

+    available both to the resource factory and to your application.</p>

+

+    <h3>2.  Declare Your Resource Requirements</h3>

+

+    <p>Next, modify the web application deployment descriptor

+    (<code>/WEB-INF/web.xml</code>) to declare the JNDI name under

+    which you will look up preconfigured data source.  By convention, all such

+    names should resolve to the <code>jdbc</code> subcontext (relative to the

+    standard <code>java:comp/env</code> naming context that is the root of

+    all provided resource factories.  A typical <code>web.xml</code> entry

+    might look like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;resource-ref&gt;

+  &lt;description&gt;

+    Resource reference to a factory for java.sql.Connection

+    instances that may be used for talking to a particular

+    database that is configured in the &lt;Context&gt;

+    configurartion for the web application.

+  &lt;/description&gt;

+  &lt;res-ref-name&gt;

+    jdbc/EmployeeDB

+  &lt;/res-ref-name&gt;

+  &lt;res-type&gt;

+    javax.sql.DataSource

+  &lt;/res-type&gt;

+  &lt;res-auth&gt;

+    Container

+  &lt;/res-auth&gt;

+&lt;/resource-ref&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p><strong>WARNING</strong> - Be sure you respect the element ordering

+    that is required by the DTD for web application deployment descriptors!

+    See the

+    <a href="http://wiki.apache.org/tomcat/Specifications">Servlet

+    Specification</a> for details.</p>

+

+    <h3>3.  Code Your Application's Use Of This Resource</h3>

+

+    <p>A typical use of this resource reference might look like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+Context initCtx = new InitialContext();

+Context envCtx = (Context) initCtx.lookup("java:comp/env");

+DataSource ds = (DataSource)

+  envCtx.lookup("jdbc/EmployeeDB");

+

+Connection conn = ds.getConnection();

+... use this connection to access the database ...

+conn.close();

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>Note that the application uses the same resource reference name that was

+    declared in the web application deployment descriptor. This is matched up

+    against the resource factory that is configured in the

+    <a href="config/context.html"><code>&lt;Context&gt;</code></a> element for

+    the web application as described below.</p>

+

+    <h3>4.  Configure Tomcat's Resource Factory</h3>

+

+    <p>To configure Tomcat's resource factory, add an element like this to the

+    <a href="config/context.html"><code>&lt;Context&gt;</code></a> element for

+    the web application.</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Context ...&gt;

+  ...

+  &lt;Resource name="jdbc/EmployeeDB"

+            auth="Container"

+            type="javax.sql.DataSource"

+            username="dbusername"

+            password="dbpassword"

+            driverClassName="org.hsql.jdbcDriver"

+            url="jdbc:HypersonicSQL:database"

+            maxActive="8"

+            maxIdle="4"/&gt;

+  ...

+&lt;/Context&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>Note that the resource name (here, <code>jdbc/EmployeeDB</code>) must

+    match the value specified in the web application deployment descriptor.</p>

+

+    <p>This example assumes that you are using the HypersonicSQL database

+    JDBC driver.  Customize the <code>driverClassName</code> and

+    <code>driverName</code> parameters to match your actual database's

+    JDBC driver and connection URL.</p>

+

+    <p>The configuration properties for Tomcat's standard data source

+    resource factory

+    (<code>org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory</code>) are

+    as follows:</p>

+    <ul>

+    <li><strong>driverClassName</strong> - Fully qualified Java class name

+        of the JDBC driver to be used.</li>

+    <li><strong>username</strong> - Database username to be passed to our

+        JDBC driver.</li>

+    <li><strong>password</strong> - Database password to be passed to our

+        JDBC driver.</li>

+    <li><strong>url</strong> - Connection URL to be passed to our JDBC driver.

+        (For backwards compatibility, the property <code>driverName</code>

+        is also recognized.)</li>

+    <li><strong>initialSize</strong> - The initial number of connections

+        that will be created in the pool during pool initialization. Default: 0</li>

+    <li><strong>maxActive</strong> - The maximum number of connections

+        that can be allocated from this pool at the same time. Default: 8</li>

+    <li><strong>minIdle</strong> - The minimum number of connections that

+        will sit idle in this pool at the same time. Default: 0</li>

+    <li><strong>maxIdle</strong> - The maximum number of connections that

+        can sit idle in this pool at the same time. Default: 8</li>

+    <li><strong>maxWait</strong> - The maximum number of milliseconds that the

+        pool will wait (when there are no available connections) for a

+        connection to be returned before throwing an exception. Default: -1 (infinite)</li>

+    </ul>

+    <p>Some additional properties handle connection validation:</p>

+    <ul>

+    <li><strong>validationQuery</strong> - SQL query that can be used by the

+        pool to validate connections before they are returned to the

+        application.  If specified, this query MUST be an SQL SELECT

+        statement that returns at least one row.</li>

+    <li><strong>validationQueryTimeout</strong> - Timeout in seconds

+        for the validation query to return. Default: -1 (infinite)</li>

+    <li><strong>testOnBorrow</strong> - true or false: whether a connection

+        should be validated using the validation query each time it is

+        borrowed from the pool. Default: true</li>

+    <li><strong>testOnReturn</strong> - true or false: whether a connection

+        should be validated using the validation query each time it is

+        returned to the pool. Default: false</li>

+    </ul>

+    <p>The optional evictor thread is responsible for shrinking the pool

+    by removing any conections which are idle for a long time. The evictor

+    does not respect <code>minIdle</code>. Note that you do not need to

+    activate the evictor thread if you only want the pool to shrink according

+    to the configured <code>maxIdle</code> property.</p>

+    <p>The evictor is disabled by default and can be configured using

+    the following properties:</p>

+    <ul>

+    <li><strong>timeBetweenEvictionRunsMillis</strong> - The number of

+        milliseconds between consecutive runs of the evictor.

+        Default: -1 (disabled)</li>

+    <li><strong>numTestsPerEvictionRun</strong> - The number of connections

+        that will be checked for idleness by the evitor during each

+        run of the evictor. Default: 3</li>

+    <li><strong>minEvictableIdleTimeMillis</strong> - The idle time in

+        milliseconds after which a connection can be removed from the pool

+        by the evictor. Default: 30*60*1000 (30 minutes)</li>

+    <li><strong>testWhileIdle</strong> - true or false: whether a connection

+        should be validated by the evictor thread using the validation query

+        while sitting idle in the pool. Default: false</li>

+    </ul>

+    <p>Another optional feature is the removal of abandoned connections.

+    A connection is called abandoned if the application does not return it

+    to the pool for a long time. The pool can close such connections

+    automatically and remove them from the pool. This is a workaround

+    for applications leaking connections.</p>

+    <p>The abandoning feature is disabled by default and can be configured

+    using the following properties:</p>

+    <ul>

+    <li><strong>removeAbandoned</strong> - true or false: whether to

+        remove abandoned connections from the pool. Default: false</li>

+    <li><strong>removeAbandonedTimeout</strong> - The number of

+        seconds after which a borrowed connection is assumed to be abandoned.

+        Default: 300</li>

+    <li><strong>logAbandoned</strong> - true or false: whether to log

+        stack traces for application code which abandoned a statement

+        or connection. This adds serious overhead. Default: false</li>

+    </ul>

+    <p>Finally there are various properties that allow further fine tuning

+    of the pool behaviour:</p>

+    <ul>

+    <li><strong>defaultAutoCommit</strong> - true or false: default

+        auto-commit state of the connections created by this pool.

+        Default: true</li>

+    <li><strong>defaultReadOnly</strong> - true or false: default

+        read-only state of the connections created by this pool.

+        Default: false</li>

+    <li><strong>defaultTransactionIsolation</strong> - This sets the

+        default transaction isolation level. Can be one of

+        <code>NONE</code>, <code>READ_COMMITTED</code>,

+        <code>READ_UNCOMMITTED</code>, <code>REPEATABLE_READ</code>,

+        <code>SERIALIZABLE</code>. Default: no default set</li>

+    <li><strong>poolPreparedStatements</strong> - true or false: whether to

+        pool PreparedStatements and CallableStatements. Default: false</li>

+    <li><strong>maxOpenPreparedStatements</strong> - The maximum number of open

+        statements that can be allocated from the statement pool at the same time.

+        Default: -1 (unlimited)</li>

+    <li><strong>defaultCatalog</strong> - The name of the default catalog.

+        Default: not set</li>

+    <li><strong>connectionInitSqls</strong> - A list of SQL statements

+        run once after a Connection is created. Separate multiple statements

+        by semicolons (<code>;</code>). Default: no statement</li>

+    <li><strong>connectionProperties</strong> - A list of driver specific

+        properties passed to the driver for creating connections. Each

+        property is given as <code>name=value</code>, multiple properties

+        are separated by semicolons (<code>;</code>). Default: no properties</li>

+    <li><strong>accessToUnderlyingConnectionAllowed</strong> - true or false: whether

+        accessing the underlying connections is allowed. Default: false</li>

+    </ul>

+    <p>For more details, please refer to the commons-dbcp documentation.</p>

+

+  </blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Adding Custom Resource Factories"><!--()--></a><a name="Adding_Custom_Resource_Factories"><strong>Adding Custom Resource Factories</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>If none of the standard resource factories meet your needs, you can write

+  your own factory and integrate it into Tomcat 6, and then configure the use

+  of this factory in the

+  <a href="config/context.html"><code>&lt;Context&gt;</code></a> element for

+  the web application. In the example below, we will create a factory that only

+  knows how to create <code>com.mycompany.MyBean</code> beans from the

+  <a href="#Generic JavaBean Resources">Generic JavaBean Resources</a> example

+  above.</p>

+

+  <h3>1.  Write A Resource Factory Class</h3>

+

+  <p>You must write a class that implements the JNDI service provider

+  <code>javax.naming.spi.ObjectFactory</code> inteface.  Every time your

+  web application calls <code>lookup()</code> on a context entry that is

+  bound to this factory, the <code>getObjectInstance()</code> method is

+  called, with the following arguments:</p>

+  <ul>

+  <li><strong>Object obj</strong> - The (possibly null) object containing

+      location or reference information that can be used in creating an object.

+      For Tomcat, this will always be an object of type

+      <code>javax.naming.Reference</code>, which contains the class name of

+      this factory class, as well as the configuration properties (from the

+      <a href="config/context.html"><code>&lt;Context&gt;</code></a> for the

+      web application) to use in creating objects to be returned.</li>

+  <li><strong>Name name</strong> - The name to which this factory is bound

+      relative to <code>nameCtx</code>, or <code>null</code> if no name

+      is specified.</li>

+  <li><strong>Context nameCtx</strong> - The context relative to which the

+      <code>name</code> parameter is specified, or <code>null</code> if

+      <code>name</code> is relative to the default initial context.</li>

+  <li><strong>Hashtable environment</strong> - The (possibly null)

+      environment that is used in creating this object.  This is generally

+      ignored in Tomcat object factories.</li>

+  </ul>

+

+  <p>To create a resource factory that knows how to produce <code>MyBean</code>

+  instances, you might create a class like this:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+package com.mycompany;

+

+import java.util.Enumeration;

+import java.util.Hashtable;

+import javax.naming.Context;

+import javax.naming.Name;

+import javax.naming.NamingException;

+import javax.naming.RefAddr;

+import javax.naming.Reference;

+import javax.naming.spi.ObjectFactory;

+

+public class MyBeanFactory implements ObjectFactory {

+

+  public Object getObjectInstance(Object obj,

+      Name name, Context nameCtx, Hashtable environment)

+      throws NamingException {

+

+      // Acquire an instance of our specified bean class

+      MyBean bean = new MyBean();

+

+      // Customize the bean properties from our attributes

+      Reference ref = (Reference) obj;

+      Enumeration addrs = ref.getAll();

+      while (addrs.hasMoreElements()) {

+          RefAddr addr = (RefAddr) addrs.nextElement();

+          String name = addr.getType();

+          String value = (String) addr.getContent();

+          if (name.equals("foo")) {

+              bean.setFoo(value);

+          } else if (name.equals("bar")) {

+              try {

+                  bean.setBar(Integer.parseInt(value));

+              } catch (NumberFormatException e) {

+                  throw new NamingException("Invalid 'bar' value " + value);

+              }

+          }

+      }

+

+      // Return the customized instance

+      return (bean);

+

+  }

+

+}

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+  <p>In this example, we are unconditionally creating a new instance of

+  the <code>com.mycompany.MyBean</code> class, and populating its properties

+  based on the parameters included in the <code>&lt;ResourceParams&gt;</code>

+  element that configures this factory (see below).  You should note that any

+  parameter named <code>factory</code> should be skipped - that parameter is

+  used to specify the name of the factory class itself (in this case,

+  <code>com.mycompany.MyBeanFactory</code>) rather than a property of the

+  bean being configured.</p>

+

+  <p>For more information about <code>ObjectFactory</code>, see the

+  <a href="http://java.sun.com/products/jndi/docs.html">JNDI 1.2 Service

+  Provider Interface (SPI) Specification</a>.</p>

+

+  <p>You will need to compile this class against a class path that includes

+  all of the JAR files in the <code>$CATALINA_HOME/lib</code> directory.  When you are through,

+  place the factory class (and the corresponding bean class) unpacked under

+  <code>$CATALINA_HOME/lib</code>, or in a JAR file inside

+  <code>$CATALINA_HOME/lib</code>.  In this way, the required class

+  files are visible to both Catalina internal resources and your web

+  application.</p>

+

+  <h3>2.  Declare Your Resource Requirements</h3>

+

+  <p>Next, modify your web application deployment descriptor

+  (<code>/WEB-INF/web.xml</code>) to declare the JNDI name under which

+  you will request new instances of this bean.  The simplest approach is

+  to use a <code>&lt;resource-env-ref&gt;</code> element, like this:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;resource-env-ref&gt;

+  &lt;description&gt;

+    Object factory for MyBean instances.

+  &lt;/description&gt;

+  &lt;resource-env-ref-name&gt;

+    bean/MyBeanFactory

+  &lt;/resource-env-ref-name&gt;

+  &lt;resource-env-ref-type&gt;

+    com.mycompany.MyBean

+  &lt;/resource-env-ref-type&gt;

+&lt;resource-env-ref&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p><strong>WARNING</strong> - Be sure you respect the element ordering

+    that is required by the DTD for web application deployment descriptors!

+    See the

+    <a href="http://wiki.apache.org/tomcat/Specifications">Servlet

+    Specification</a> for details.</p>

+

+  <h3>3.  Code Your Application's Use Of This Resource</h3>

+

+  <p>A typical use of this resource environment reference might look

+  like this:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+Context initCtx = new InitialContext();

+Context envCtx = (Context) initCtx.lookup("java:comp/env");

+MyBean bean = (MyBean) envCtx.lookup("bean/MyBeanFactory");

+

+writer.println("foo = " + bean.getFoo() + ", bar = " +

+               bean.getBar());

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <h3>4.  Configure Tomcat's Resource Factory</h3>

+

+    <p>To configure Tomcat's resource factory, add an elements like this to the

+    <a href="config/context.html"><code>&lt;Context&gt;</code></a> element for

+    this web application.</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Context ...&gt;

+  ...

+  &lt;Resource name="bean/MyBeanFactory" auth="Container"

+            type="com.mycompany.MyBean"

+            factory="com.mycompany.MyBeanFactory"

+            bar="23"/&gt;

+  ...

+&lt;/Context&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>Note that the resource name (here, <code>bean/MyBeanFactory</code>

+    must match the value specified in the web application deployment

+    descriptor.  We are also initializing the value of the <code>bar</code>

+    property, which will cause <code>setBar(23)</code> to be called before

+    the new bean is returned.  Because we are not initializing the

+    <code>foo</code> property (although we could have), the bean will

+    contain whatever default value is set up by its constructor.</p>

+

+    <p>You will also note that, from the application developer's perspective,

+    the declaration of the resource environment reference, and the programming

+    used to request new instances, is identical to the approach used for the

+    <em>Generic JavaBean Resources</em> example.  This illustrates one of the

+    advantages of using JNDI resources to encapsulate functionality - you can

+    change the underlying implementation without necessarily having to

+    modify applications using the resources, as long as you maintain

+    compatible APIs.</p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/logging.html b/tomcat-uid/webapps/docs/logging.html
new file mode 100644
index 0000000..47eb81f
--- /dev/null
+++ b/tomcat-uid/webapps/docs/logging.html
@@ -0,0 +1,566 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Logging in Tomcat</title><meta name="author" content="Allistair Crossley"><meta name="author" content="Yoav Shapira"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Logging in Tomcat</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a><ol><li><a href="#Java_logging_API_%E2%80%94_java.util.logging">Java logging API &mdash; java.util.logging</a></li><li><a href="#Servlets_logging_API">Servlets logging API</a></li><li><a href="#Console">Console</a></li><li><a href="#Access_logging">Access logging</a></li></ol></li><li><a href="#Using_java.util.logging_(default)">Using java.util.logging (default)</a><ol><li><a href="#Documentation_references">Documentation references</a></li><li><a href="#Considerations_for_productive_usage">Considerations for productive usage</a></li></ol></li><li><a href="#Using_Log4j">Using Log4j</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+    <p>

+      Logging in Apache Tomcat is implemented with the help of

+      <a href="http://commons.apache.org/logging">Apache Commons Logging</a>

+      library. That library is a thin wrapper above different logging

+      frameworks. It provides Tomcat with the ability to log

+      hierarchically across various log levels without the need to rely on a

+      particular logging implementation.

+    </p>

+

+    <p>

+      Since Tomcat 6.0, Tomcat uses a private package-renamed implementation of

+      Apache Commons Logging, to allow web applications to use their own

+      independent copies of the original Apache Commons Logging library.

+      In the default distribution this private copy of the library

+      is simplified and hardcoded to use the <code>java.util.logging</code> framework.

+    </p>

+

+    <p>

+      To configure Tomcat to use alternative logging frameworks for its internal

+      logging, one has to replace the logging library with the one that is built

+      with the full implementation. Such library is provided as an <a href="extras.html">extras</a>

+      component. Instructions on how to configure Tomcat to use Log4j framework

+      for its internal logging may be found below.

+    </p>

+

+    <p>

+      A web application running on Apache Tomcat can:

+    </p>

+    <ul>

+      <li>

+        Use system logging API, <code>java.util.logging</code>.

+      </li>

+      <li>

+        Use logging API provided by the Java Servlets specification,

+        <code>javax.servlet.ServletContext.log(...)</code>

+      </li>

+      <li>

+        Use any logging framework of its choice.

+      </li>

+    </ul>

+

+    <p>

+      The logging frameworks used by different web applications run independently

+      of each other. See <a href="class-loader-howto.html">class loading</a>

+      for more details.

+      The exception to this rule is <code>java.util.logging</code>, if it used

+      directly or indirectly by your logging library. That is because it is loaded

+      by the system and is shared across web applications.

+    </p>

+

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Java logging API %E2%80%94 java.util.logging"><!--()--></a><a name="Java_logging_API_%E2%80%94_java.util.logging"><strong>Java logging API &mdash; java.util.logging</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>

+      Apache Tomcat has its own implementation of several key elements of

+      <code>java.util.logging</code> API. This implementation is called "JULI".

+      The key component there is a custom LogManager implementation,

+      that is aware of different web applications running on Tomcat (and

+      their different class loaders). It supports private per-application

+      logging configurations. It is also notified by Tomcat when a web application

+      is unloaded from memory, so that the references to its classes can be

+      cleared, preventing memory leaks.

+    </p>

+

+    <p>

+      This <code>java.util.logging</code> implementation is enabled by providing

+      certain system properties when starting Java. The Apache Tomcat startup

+      scripts do this for you, but if you are using different tools to run

+      Tomcat (such as jsvc, or running Tomcat from within an IDE), you should

+      take care of them by yourself.

+    </p>

+

+    <p>

+      More details about java.util.logging may be found in the documentation

+      for your JDK and on its Javadoc pages for the <code>java.util.logging</code>

+      package.

+    </p>

+

+    <p>

+      More details about Tomcat JULI may be found below.

+    </p>

+

+    </blockquote></td></tr></table>

+

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Servlets logging API"><!--()--></a><a name="Servlets_logging_API"><strong>Servlets logging API</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>

+      The calls to <code>javax.servlet.ServletContext.log(...)</code> to write

+      log messages are handled by internal Tomcat logging. Such messages are

+      logged to the category named

+    </p>

+      <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>org.apache.catalina.core.ContainerBase.[${engine}].[${host}].[${context}]</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <p>

+      This logging is performed according to the Tomcat logging configuration. You

+      cannot overwrite it in a web application.

+    </p>

+

+    <p>

+      The Servlets logging API predates the <code>java.util.logging</code> API

+      that is now provided by Java. As such, it does not offer you much options.

+      E.g., you cannot control the log levels. It can be noted, though, that

+      in Apache Tomcat implementation the calls to <code>ServletContext.log(String)</code>

+      or <code>GenericServlet.log(String)</code> are logged at the INFO level.

+      The calls to <code>ServletContext.log(String, Throwable)</code> or

+      <code>GenericServlet.log(String, Throwable)</code>

+      are logged at the ERROR level.

+    </p>

+

+    </blockquote></td></tr></table>

+

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Console"><strong>Console</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>

+      When running Tomcat on unixes, the console output is usually redirected

+      to the file named <code>catalina.out</code>. The name is configurable

+      using an environment variable. (See the startup scripts).

+      Whatever is written to <code>System.err/out</code> will be caught into

+      that file. That may include:

+    </p>

+

+    <ul>

+      <li>Uncaught exceptions printed by <code>java.lang.ThreadGroup.uncaughtException(..)</code></li>

+      <li>Thread dumps, if you requested them via a system signal</li>

+    </ul>

+

+    <p>

+      When running as a service on Windows, the console output is also caught

+      and redirected, but the file names are different.

+    </p>

+

+    <p>

+      The default logging configuration in Apache Tomcat writes the same

+      messages to the console and to a log file. This is great when using

+      Tomcat for development, but usually is not needed in production.

+    </p>

+

+    <p>

+      Old applications that still use <code>System.out</code> or <code>System.err</code>

+      can be tricked by setting <code>swallowOutput</code> attribute on a

+      <a href="config/context.html">Context</a>. If the attribute is set to

+      <code>true</code>, the calls to <code>System.out/err</code> during request

+      processing will be intercepted, and their output will be fed to the

+      logging subsystem using the

+      <code>javax.servlet.ServletContext.log(...)</code> calls.<br>

+      <strong>Note</strong>, that the <code>swallowOutput</code>  feature is

+      actually a trick, and it has its limitations.

+      It works only with direct calls to <code>System.out/err</code>,

+      and only during request processing cycle. It may not work in other

+      threads that might be created by the application. It cannot be used to

+      intercept logging frameworks that themselves write to the system streams,

+      as those start early and may obtain a direct reference to the streams

+      before the redirection takes place.

+    </p>

+

+    </blockquote></td></tr></table>

+

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Access logging"><!--()--></a><a name="Access_logging"><strong>Access logging</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>

+      A related, but different feature is access logging. It can be configured

+      as a valve at the Context, or Host, or Engine. See <a href="config/valve.html">Valves</a>

+      documentation for more details.

+    </p>

+

+    </blockquote></td></tr></table>

+

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Using java.util.logging (default)"><!--()--></a><a name="Using_java.util.logging_(default)"><strong>Using java.util.logging (default)</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>

+    The default implementation of java.util.logging provided in the JDK is too

+    limited to be useful. A limitation of JDK Logging appears to be the

+    inability to have per-web application logging,  as the configuration is

+    per-VM. As a result, Tomcat will, in the default configuration, replace the

+    default LogManager implementation with a container friendly implementation

+    called JULI, which addresses these shortcomings. It supports the same

+    configuration mechanisms as the standard JDK java.util.logging, using either

+    a programmatic approach, or properties files. The main difference is that

+    per-classloader properties files can be set (which enables easy redeployment

+    friendly webapp configuration), and the properties files support slightly

+    extended constructs which allows more freedom for defining handlers and

+    assigning them to loggers.

+  </p>

+  <p>

+    JULI is enabled by default, and supports per classloader configuration, in

+    addition to the regular global java.util.logging configuration. This means

+    that logging can be configured at the following layers:

+    <ul>

+      <li>Globally. That is usually done in the

+        <code>${catalina.base}/conf/logging.properties</code> file.

+        The file is specified by the <code>java.util.logging.config.file</code>

+        System property which is set by the startup scripts.

+        If it is not readable or is not configured, the default is to use the

+        <code>${java.home}/lib/logging.properties</code> file in the JRE.

+      </li>

+      <li>In the web application. The file will be

+        <code>WEB-INF/classes/logging.properties</code>

+      </li>

+    </ul>

+  </p>

+  <p>

+    The default <code>logging.properties</code> in the JRE specifies a

+    <code>ConsoleHandler</code> that routes logging to System.err.

+    The default <code>conf/logging.properties</code> in Apache Tomcat also

+    adds several <code>FileHandler</code>s that write to files.

+  </p>

+  <p>

+    A handler's log level threshold is INFO by default and can be set using

+    SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST or ALL.

+    You can also target specific packages to collect logging from and specify

+    a level.

+  </p>

+  <p>

+    Here is how you would set debugging from Tomcat. You would need to ensure the

+    ConsoleHandler's (or FileHandler's') level is also set to collect this threshold,

+    so FINEST or ALL should be set. Please refer to <code>java.util.logging</code>

+    documentation in the JDK for the complete details:

+  </p>

+  <p>

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>org.apache.catalina.level=FINEST</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+  </p>

+  <p>

+    The configuration used by JULI is extremely similar to the one supported by

+    plain <code>java.util.logging</code>, but uses a few

+    extensions to allow better flexibility in assigning loggers. The main

+    differences are:

+  </p>

+  <ul>

+      <li>A prefix may be added to handler names, so that multiple handlers of a

+      single class may be instantiated. A prefix is a String which starts with a

+      digit, and ends with '.'. For example, <code>22foobar.</code> is a valid

+      prefix.</li>

+      <li>System property replacement is performed for property values which

+      contain ${systemPropertyName}.</li>

+      <li>As in Java 6.0, loggers can define a list of handlers using the

+      <code>loggerName.handlers</code> property.</li>

+      <li>By default, loggers will not delegate to their parent if they have

+      associated handlers. This may be changed per logger using the

+      <code>loggerName.useParentHandlers</code> property, which accepts a

+      boolean value.</li>

+      <li>The root logger can define its set of handlers using the

+      <code>.handlers</code> property.</li>

+  </ul>

+  <p>

+    There are several additional implementation classes, that can be used

+    together with the ones provided by Java. The notable one is

+    <code>org.apache.juli.FileHandler</code>.

+  </p>

+  <p>

+    <code>org.apache.juli.FileHandler</code> supports buffering of the

+      logs. The buffering is not enabled by default. To configure it, use the

+      <code>bufferSize</code> property of a handler. A value of <code>0</code>

+      uses system default buffering (typically an 8K buffer will be used). A

+      value of <code>&lt;0</code> forces a writer flush upon each log write. A

+      value <code>&gt;0</code> uses a BufferedOutputStream with the defined

+      value but note that the system default buffering will also be

+      applied.

+  </p>

+  <p>

+    Example logging.properties file to be placed in $CATALINA_BASE/conf:

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+handlers = 1catalina.org.apache.juli.FileHandler, \

+           2localhost.org.apache.juli.FileHandler, \

+           3manager.org.apache.juli.FileHandler, \

+           java.util.logging.ConsoleHandler

+

+.handlers = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler

+

+############################################################

+# Handler specific properties.

+# Describes specific configuration info for Handlers.

+############################################################

+

+1catalina.org.apache.juli.FileHandler.level = FINE

+1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs

+1catalina.org.apache.juli.FileHandler.prefix = catalina.

+

+2localhost.org.apache.juli.FileHandler.level = FINE

+2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs

+2localhost.org.apache.juli.FileHandler.prefix = localhost.

+

+3manager.org.apache.juli.FileHandler.level = FINE

+3manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs

+3manager.org.apache.juli.FileHandler.prefix = manager.

+3manager.org.apache.juli.FileHandler.bufferSize = 16384

+

+java.util.logging.ConsoleHandler.level = FINE

+java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter

+

+

+############################################################

+# Facility specific properties.

+# Provides extra control for each logger.

+############################################################

+

+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO

+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = \

+   2localhost.org.apache.juli.FileHandler

+

+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level = INFO

+org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers = \

+   3manager.org.apache.juli.FileHandler

+

+# For example, to log debug messages in ContextConfig and HostConfig

+# classes and to log only warnings and errors in other

+# org.apache.catalina.** classes, uncomment these lines:

+#org.apache.catalina.startup.ContextConfig.level = FINE

+#org.apache.catalina.startup.HostConfig.level = FINE

+#org.apache.catalina.level = WARNING

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    </p>

+    

+    <p>

+      Example logging.properties for the servlet-examples web application to be

+      placed in WEB-INF/classes inside the web application:

+      <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler

+

+############################################################

+# Handler specific properties.

+# Describes specific configuration info for Handlers.

+############################################################

+

+org.apache.juli.FileHandler.level = FINE

+org.apache.juli.FileHandler.directory = ${catalina.base}/logs

+org.apache.juli.FileHandler.prefix = servlet-examples.

+

+java.util.logging.ConsoleHandler.level = FINE

+java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    </p>

+

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Documentation references"><!--()--></a><a name="Documentation_references"><strong>Documentation references</strong></a></font></td></tr><tr><td><blockquote>

+      <p>See the following resources for additional information:</p>

+      <ul>

+        <li>Apache Tomcat Javadoc for the

+          <a href="api/org/apache/juli/package-summary.html"><code>org.apache.juli</code></a>

+          package.

+        </li>

+        <li>Oracle Java 6 Javadoc for the

+          <a href="http://docs.oracle.com/javase/6/docs/api/java/util/logging/package-summary.html"><code>java.util.logging</code></a>

+          package.

+        </li>

+      </ul>

+    </blockquote></td></tr></table>

+

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Considerations for productive usage"><!--()--></a><a name="Considerations_for_productive_usage"><strong>Considerations for productive usage</strong></a></font></td></tr><tr><td><blockquote>

+      <p>You may want to take note of the following:</p>

+      <ul>

+        <li><p>Consider removing <code>ConsoleHandler</code> from configuration.</p>

+        <p>By default (thanks to the <code>.handlers</code> setting) logging goes

+        both to a <code>FileHandler</code> and to a <code>ConsoleHandler</code>.

+        The output of the latter one is usually captured into a file, such as

+        <code>catalina.out</code>. Thus you end up with two copies of the same

+        messages.</p>

+        </li>

+        <li><p>Consider removing <code>FileHandler</code>s for the applications

+        that you do not use. E.g., the one for <code>host-manager</code>.</p></li>

+        <li><p>The handlers by default use the system default encoding to write

+        the log files. It can be configured with <code>encoding</code> property.

+        See Javadoc for details.</p></li>

+        <li><p>Consider configuring an <a href="config/valve.html">Access

+        log</a>.</p></li>

+      </ul>

+    </blockquote></td></tr></table>

+

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Using Log4j"><!--()--></a><a name="Using_Log4j"><strong>Using Log4j</strong></a></font></td></tr><tr><td><blockquote>

+    <p>

+      This section explains how to configure Tomcat to use

+      <a href="http://logging.apache.org/log4j/">log4j</a> rather than

+      java.util.logging for all Tomcat's internal logging.

+    </p>

+    <p><em>Note</em>: The steps described in this section are needed

+      when you want to reconfigure Tomcat to use Apache log4j for its own

+      logging. These steps are <strong>not</strong> needed if you just want

+      to use log4j in your own web application. &mdash; In that case, just

+      put <code>log4j.jar</code> and <code>log4j.properties</code> into

+      <code>WEB-INF/lib</code> and <code>WEB-INF/classes</code>

+      of your web application.

+    </p>

+    <p>

+      The following steps describe configuring log4j to output Tomcat's

+      internal logging.

+    </p>

+

+    <ol>

+        <li>Create a file called <code>log4j.properties</code> with the 

+        following content and save it into <code>$CATALINA_BASE/lib</code></li>

+    </ol>

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+log4j.rootLogger=INFO, CATALINA

+

+# Define all the appenders

+log4j.appender.CATALINA=org.apache.log4j.DailyRollingFileAppender

+log4j.appender.CATALINA.File=${catalina.base}/logs/catalina.

+log4j.appender.CATALINA.Append=true

+log4j.appender.CATALINA.Encoding=UTF-8

+# Roll-over the log once per day

+log4j.appender.CATALINA.DatePattern='.'yyyy-MM-dd'.log'

+log4j.appender.CATALINA.layout = org.apache.log4j.PatternLayout

+log4j.appender.CATALINA.layout.ConversionPattern = %d [%t] %-5p %c- %m%n

+

+log4j.appender.LOCALHOST=org.apache.log4j.DailyRollingFileAppender

+log4j.appender.LOCALHOST.File=${catalina.base}/logs/localhost.

+log4j.appender.LOCALHOST.Append=true

+log4j.appender.LOCALHOST.Encoding=UTF-8

+log4j.appender.LOCALHOST.DatePattern='.'yyyy-MM-dd'.log'

+log4j.appender.LOCALHOST.layout = org.apache.log4j.PatternLayout

+log4j.appender.LOCALHOST.layout.ConversionPattern = %d [%t] %-5p %c- %m%n

+

+log4j.appender.MANAGER=org.apache.log4j.DailyRollingFileAppender

+log4j.appender.MANAGER.File=${catalina.base}/logs/manager.

+log4j.appender.MANAGER.Append=true

+log4j.appender.MANAGER.Encoding=UTF-8

+log4j.appender.MANAGER.DatePattern='.'yyyy-MM-dd'.log'

+log4j.appender.MANAGER.layout = org.apache.log4j.PatternLayout

+log4j.appender.MANAGER.layout.ConversionPattern = %d [%t] %-5p %c- %m%n

+

+log4j.appender.HOST-MANAGER=org.apache.log4j.DailyRollingFileAppender

+log4j.appender.HOST-MANAGER.File=${catalina.base}/logs/host-manager.

+log4j.appender.HOST-MANAGER.Append=true

+log4j.appender.HOST-MANAGER.Encoding=UTF-8

+log4j.appender.HOST-MANAGER.DatePattern='.'yyyy-MM-dd'.log'

+log4j.appender.HOST-MANAGER.layout = org.apache.log4j.PatternLayout

+log4j.appender.HOST-MANAGER.layout.ConversionPattern = %d [%t] %-5p %c- %m%n

+

+log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender

+log4j.appender.CONSOLE.Encoding=UTF-8

+log4j.appender.CONSOLE.layout = org.apache.log4j.PatternLayout

+log4j.appender.CONSOLE.layout.ConversionPattern = %d [%t] %-5p %c- %m%n

+

+# Configure which loggers log to which appenders

+log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost]=INFO, LOCALHOST

+log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager]=\

+  INFO, MANAGER

+log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager]=\

+  INFO, HOST-MANAGER

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <ol start="2">

+        <li><a href="http://logging.apache.org/log4j">Download Log4J</a> 

+        (v1.2 or later).</li>

+

+        <li><p>Download or build <code>tomcat-juli.jar</code> and

+        <code>tomcat-juli-adapters.jar</code> that are available as an "extras"

+        component for Tomcat. See <a href="extras.html">Additional Components

+        documentation</a> for details.</p>

+        <p>This <code>tomcat-juli.jar</code> differs from the default one. It

+        contains the full Apache Commons Logging implementation and thus is

+        able to discover the presense of log4j and configure itself.</p>

+        </li>

+

+        <li><p>If you want to configure Tomcat to use log4j globally:</p>

+        <ul>

+          <li>Put <code>log4j.jar</code> and

+            <code>tomcat-juli-adapters.jar</code> from "extras" into

+            <code>$CATALINA_HOME/lib</code>.</li>

+          <li>Replace <code>$CATALINA_HOME/bin/tomcat-juli.jar</code> with

+          <code>tomcat-juli.jar</code> from "extras".</li>

+        </ul>

+        </li>

+

+        <li><p>If you are running Tomcat with separate $CATALINA_HOME and

+        $CATALINA_BASE and want to configure to use log4j in a single

+        $CATALINA_BASE only:</p>

+        <ul>

+          <li>Create <code>$CATALINA_BASE/bin</code> and

+          <code>$CATALINA_BASE/lib</code> directories if they do not exist.

+          </li>

+          <li>Put <code>log4j.jar</code> and

+             <code>tomcat-juli-adapters.jar</code> from "extras" into

+             <code>$CATALINA_BASE/lib</code></li>

+          <li>Put <code>tomcat-juli.jar</code> from "extras" as

+          <code>$CATALINA_BASE/bin/tomcat-juli.jar</code></li>

+          <li>If you are running with a

+          <a href="security-manager-howto.html">security manager</a>, you

+          would need to edit the

+          <code>$CATALINA_BASE/conf/catalina.policy</code> file to adjust

+          it to using a different copy of tomcat-juli.jar.</li>

+          <li>The old <code>tomcat-juli.jar</code> in

+          <code>$CATALINA_HOME/bin</code> is still referenced by manifest of

+          <code>bootstrap.jar</code> and thus will be implicitly present

+          on Tomcat's classpath. The startup scripts configure

+          <code>$CATALINA_BASE/bin/tomcat-juli.jar</code> to be earlier on the

+          classpath than <code>bootstrap.jar</code>, and so it should have

+          higher priority. Thus it should be OK, but

+          consider removing the unneeded copy of <code>tomcat-juli.jar</code>

+          (copy it into all other $CATALINA_BASEs that do not use log4j).

+          Tomcat 7 does not have this issue.</li>

+        </ul>

+        </li>

+

+        <li><p>Delete <code>$CATALINA_BASE/conf/logging.properties</code> to

+        prevent java.util.logging generating zero length log files.</p></li>

+

+        <li><p>Start Tomcat</p></li>

+    </ol>

+

+    <p>

+      This log4j configuration mirrors the default java.util.logging setup

+      that ships with Tomcat: both the manager and host-manager apps get an

+      individual log file, and everything else goes to the "catalina.log" log

+      file. Each file is rolled-over once per day.

+    </p>

+

+    <p>

+      You can (and should) be more picky about which packages to include 

+      in the logging. Tomcat defines loggers by Engine and Host names.

+      For example, for a more detailed Catalina localhost log, add this to the

+      end of the log4j.properties above. Note that there are known issues with 

+      using this naming convention (with square brackets) in log4j XML based

+      configuration files, so we recommend you use a properties file as

+      described until a future version of log4j allows this convention.

+    </p>

+      <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost]=DEBUG

+log4j.logger.org.apache.catalina.core=DEBUG

+log4j.logger.org.apache.catalina.session=DEBUG

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>

+      Be warned: a level of DEBUG will produce megabytes of logging and slow

+      startup of Tomcat. This level should be used sparingly when debugging of

+      internal Tomcat operations is required.

+    </p>

+

+    <p>

+      Your web applications should certainly use their own log4j configuration. 

+      This is valid <i>with</i> the above configuration.  You would place a

+      similar log4j.properties file in your web application's WEB-INF/classes

+      directory, and log4jx.y.z.jar into WEB-INF/lib. Then specify your package

+      level logging. This is a basic setup of log4j which does *not* require

+      Commons-Logging, and you should consult the 

+      <a href="http://logging.apache.org/log4j/docs/documentation.html">log4j

+      documentation</a> for more options. This page is intended only as a

+      bootstrapping guide.

+    </p>

+

+    <p><em>Additional notes</em></p>

+    <ul>

+        <li><p>This exposes log4j libraries to the web applications through the

+        Common classloader. See <a href="class-loader-howto.html">class loading</a>

+        documentation for details.</p>

+        <p>Because of that, the web applications and libraries using

+        <a href="http://commons.apache.org/logging">Apache Commons Logging</a>

+        library are likely to automatically choose log4j as the underlying

+        logging implementation.</p></li>

+

+        <li><p>The <code>java.util.logging</code> API is still available, for

+        those web applications that use it directly. The

+        <code>${catalina.base}/conf/logging.properties</code> file is still

+        referenced by Tomcat startup scripts.</p>

+        <p> Removal of <code>${catalina.base}/conf/logging.properties</code>

+        file, mentioned as one of the steps, just causes

+        <code>java.util.logging</code> to fallback to the default configuration

+        as configured in JRE, which is to use a ConsoleHandler and do not

+        create any files.</p></li>

+    </ul>

+  </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/manager-howto.html b/tomcat-uid/webapps/docs/manager-howto.html
new file mode 100644
index 0000000..5936f1c
--- /dev/null
+++ b/tomcat-uid/webapps/docs/manager-howto.html
@@ -0,0 +1,1305 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Manager App HOW-TO</title><meta name="author" content="Craig R. McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Manager App HOW-TO</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Configuring_Manager_Application_Access">Configuring Manager Application Access</a></li><li><a href="#Supported_Manager_Commands">Supported Manager Commands</a><ol><li><a href="#Deploy_A_New_Application_Remotely">Deploy A New Application Remotely</a></li><li><a href="#Deploy_A_New_Application_from_a_Local_Path">Deploy A New Application from a Local Path</a></li><li><a href="#List_Currently_Deployed_Applications">List Currently Deployed Applications</a></li><li><a href="#Reload_An_Existing_Application">Reload An Existing Application</a></li><li><a href="#List_OS_and_JVM_Properties">List OS and JVM Properties</a></li><li><a href="#List_Available_Global_JNDI_Resources">List Available Global JNDI Resources</a></li><li><a href="#List_Available_Security_Roles">List Available Security Roles</a></li><li><a href="#Session_Statistics">Session Statistics</a></li><li><a href="#Start_an_Existing_Application">Start an Existing Application</a></li><li><a href="#Stop_an_Existing_Application">Stop an Existing Application</a></li><li><a href="#Undeploy_an_Existing_Application">Undeploy an Existing Application</a></li><li><a href="#Finding_memory_leaks">Finding memory leaks</a></li><li><a href="#Server_Status">Server Status</a></li></ol></li><li><a href="#Executing_Manager_Commands_With_Ant">Executing Manager Commands With Ant</a><ol><li><a href="#Tasks_output_capture">Tasks output capture</a></li></ol></li><li><a href="#Using_the_JMX_Proxy_Servlet">Using the JMX Proxy Servlet</a><ol><li><a href="#What_is_JMX_Proxy_Servlet">What is JMX Proxy Servlet</a></li><li><a href="#JMX_Query_command">JMX Query command</a></li><li><a href="#JMX_Set_command">JMX Set command</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>In many production environments, it is very useful to have the capability

+to deploy a new web application, or undeploy an existing one, without having

+to shut down and restart the entire container.  In addition, you can request

+an existing application to reload itself, even if you have not declared it

+to be <code>reloadable</code> in the Tomcat 6 server

+configuration file.</p>

+

+<p>To support these capabilities, Tomcat 6 includes a web application

+(installed by default on context path <code>/manager</code>) that supports

+the following functions:</p>

+<ul>

+<li>Deploy a new web application from the uploaded contents of a WAR file.</li>

+<li>Deploy a new web application, on a specified context path, from the

+    server file system.</li>

+<li>List the currently deployed web applications, as well as the

+    sessions that are currently active for those web apps.</li>

+<li>Reload an existing web application, to reflect changes in the

+    contents of <code>/WEB-INF/classes</code> or <code>/WEB-INF/lib</code>.

+    </li>

+<li>List the OS and JVM property values.</li>

+<li>List the available global JNDI resources, for use in deployment

+    tools that are preparing <code>&lt;ResourceLink&gt;</code> elements

+    nested in a <code>&lt;Context&gt;</code> deployment description.</li>

+<li>List the available security roles defined in the user database.</li>

+<li>Start a stopped application (thus making it available again).</li>

+<li>Stop an existing application (so that it becomes unavailable), but

+    do not undeploy it.</li>

+<li>Undeploy a deployed web application and delete its document base

+    directory (unless it was deployed from file system).</li>

+</ul>

+

+<p>A default Tomcat installation includes the manager. To add an instance of the

+Manager web application <code>Context</code> to a new host install the

+<code>manager.xml</code> context configuration file in the

+<code>$CATALINA_BASE/conf/[enginename]/[hostname]</code> folder. Here is an

+example:</p>

+<pre>

+&lt;Context

+    docBase="/usr/local/tomcat6/webapps/manager"

+    antiResourceLocking="false" privileged="true" useHttpOnly="true"&gt;

+  &lt;Valve className="org.apache.catalina.valves.RemoteAddrValve"

+       allow="127\.0\.0\.1" /&gt;

+&lt;/Context&gt;

+</pre>

+

+<p>If you have Tomcat configured to support multiple virtual hosts

+(websites) you would need to configure a Manager for each.</p>

+

+<p>There are three ways to use the <strong>Manager</strong> web application.</p>

+<ul>

+<li>As an application with a user interface you use in your browser.

+Here is an example URL where you can replace <code>localhost</code> with

+your website host name:  <code>http://localhost/manager/html/</code> .</li>

+<li>A minimal version using HTTP requests only which is suitable for use

+by scripts setup by system administrators.  Commands are given as part of the

+request URI, and responses are in the form of simple text that can be easily

+parsed and processed.  See <a href="#Supported Manager Commands">

+Supported Manager Commands</a> for more information.</li>

+<li>A convenient set of task definitions for the <em>Ant</em>

+(version 1.4 or later) build tool.  See

+<a href="#Executing Manager Commands With Ant">Executing Manager Commands

+With Ant</a> for more information.</li>

+</ul>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Configuring Manager Application Access"><!--()--></a><a name="Configuring_Manager_Application_Access"><strong>Configuring Manager Application Access</strong></a></font></td></tr><tr><td><blockquote>

+

+    <blockquote>

+    <p><em>The description below uses the variable name $CATALINA_BASE to refer the

+    base directory against which most relative paths are resolved. If you have

+    not configured Tomcat 6 for multiple instances by setting a CATALINA_BASE

+    directory, then $CATALINA_BASE will be set to the value of $CATALINA_HOME,

+    the directory into which you have installed Tomcat 6.</em></p>

+    </blockquote>

+

+<p>It would be quite unsafe to ship Tomcat with default settings that allowed

+anyone on the Internet to execute the Manager application on your server.

+Therefore, the Manager application is shipped with the requirement that anyone

+who attempts to use it must authenticate themselves, using a username and

+password that have the appropriate role associated with them.

+Further, there is no username in the default users file

+(<code>$CATALINA_BASE/conf/tomcat-users.xml</code>) that is assigned an

+appropriate role.  Therefore, access to the Manager application is completely

+disabled by default.</p>

+

+<p>To enable access to the Manager web application, you must either create

+a new username/password combination and associate one of the manager roles with

+it, or add a manager role to some existing username/password combination. There

+are four roles defined by the manager application:</p>

+<ul>

+<li><em>manager-gui</em> - Allows access to the html interface</li>

+<li><em>manager-script</em> - Allows access to the plain text interface</li>

+<li><em>manager-jmx</em> - Allows access to the JMX proxy interface</li>

+<li><em>manager-status</em> - Allows access to the read-only status pages</li>

+</ul>

+<p>The manager application is configured to use the CSRF prevention filter. For

+this filter to be effective, any user assigned the <code>manager-gui</code> role

+must not be assigned the <code>manager-script</code> nor the

+<code>manager-jmx</code> roles.</p>

+

+<p>Exactly where roles are associated to users depends on which

+<code>Realm</code> implementation you are using:</p>

+<ul>

+<li><em>MemoryRealm</em> - If you have not customized your

+    <code>$CATALINA_BASE/conf/server.xml</code> to select a different one,

+    Tomcat 6 defaults to an XML-format file stored at

+    <code>$CATALINA_BASE/conf/tomcat-users.xml</code>, which can be

+    edited with any text editor.  This file contains an XML

+    <code>&lt;user&gt;</code> for each individual user, which might

+    look something like this:

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;user name="craigmcc" password="secret" roles="standard,manager-gui" /&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    which defines the username and password used by this individual to

+    log on, and the role names he or she is associated with.  You can

+    add a role, e.g. <strong>manager-gui</strong>, to the comma-delimited

+    <code>roles</code> attribute for one or more existing users, and/or

+    create new users with that assigned role.</li>

+<li><em>JDBCRealm</em> - Your user and role information is stored in

+    a database accessed via JDBC.  Add the required role(s) to one or more

+    existing users, and/or create one or more new users with the required

+    role(s) assigned, following the standard procedures for your

+    environment.</li>

+<li><em>JNDIRealm</em> - Your user and role information is stored in

+    a directory server accessed via LDAP.  Add the required role(s) to one or

+    more existing users, and/or create one or more new users with the required

+    role(s) assigned, following the standard procedures for your

+    environment.</li>

+</ul>

+

+<p>The first time you attempt to issue one of the Manager commands

+described in the next section, you will be challenged to log on using

+BASIC authentication.  The username and password you enter do not matter,

+as long as they identify a valid user in the users database who possesses

+the appropriate role.</p>

+

+<p>In addition to the password restrictions the manager web application

+could be restricted by the remote IP address or host by adding a

+<code>RemoteAddrValve</code> or <code>RemoteHostValve</code>.  Here is

+an example of restricting access to the localhost by IP address:</p>

+<pre>

+&lt;Context antiResourceLocking="false" privileged="true" useHttpOnly="true"&gt;

+  &lt;Valve className="org.apache.catalina.valves.RemoteAddrValve"

+         allow="127\.0\.0\.1"/&gt;

+&lt;/Context&gt;

+</pre>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Supported Manager Commands"><!--()--></a><a name="Supported_Manager_Commands"><strong>Supported Manager Commands</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>All commands that the Manager application knows how to process are

+specified in a single request URI like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://{host}:{port}/manager/{command}?{parameters}

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+<p>where <code>{host}</code> and <code>{port}</code> represent the hostname

+and port number on which Tomcat is running, <code>{command}</code>

+represents the Manager command you wish to execute, and

+<code>{parameters}</code> represents the query parameters

+that are specific to that command.  In the illustrations below, customize

+the host and port appropriately for your installation.</p>

+

+<p>Most commands accept one or more of the following query parameters:</p>

+<ul>

+<li><strong>path</strong> - The context path (including the leading slash)

+    of the web application you are dealing with.  To select the ROOT web

+    application, specify "/".  <strong>NOTE</strong> -

+    It is not possible to perform administrative commands on the

+    Manager application itself.</li>

+<li><strong>war</strong> - URL of a web application archive (WAR) file,

+    pathname of a directory which contains the web application, or a

+    Context configuration ".xml" file.  You can use URLs in any of the

+    following formats:

+    <ul>

+    <li><strong>file:/absolute/path/to/a/directory</strong> - The absolute

+        path of a directory that contains the unpacked version of a web

+        application.  This directory will be attached to the context path

+        you specify without any changes.</li>

+    <li><strong>file:/absolute/path/to/a/webapp.war</strong> - The absolute

+        path of a web application archive (WAR) file.  This is valid

+        <strong>only</strong> for the <code>/deploy</code> command, and is

+        the only acceptable format to that command.</li>

+    <li><strong>jar:file:/absolute/path/to/a/warfile.war!/</strong> - The

+        URL to a local web application archive (WAR) file.  You can use any

+        syntax that is valid for the <code>JarURLConnection</code> class

+        for reference to an entire JAR file.</li>

+    <li><strong>file:/absolute/path/to/a/context.xml</strong> - The

+        absolute path of a web application Context configuration ".xml"

+        file which contains the Context configuration element.</li>

+    <li><strong>directory</strong> - The directory name for the web

+        application context in the Host's application base directory.</li>

+    <li><strong>webapp.war</strong> - The name of a web application war file

+        located in the Host's application base directory.</li>

+    </ul></li>

+</ul>

+

+<p>Each command will return a response in <code>text/plain</code> format

+(i.e. plain ASCII with no HTML markup), making it easy for both humans and

+programs to read).  The first line of the response will begin with either

+<code>OK</code> or <code>FAIL</code>, indicating whether the requested

+command was successful or not.  In the case of failure, the rest of the first

+line will contain a description of the problem that was encountered.  Some

+commands include additional lines of information as described below.</p>

+

+<p><em>Internationalization Note</em> - The Manager application looks up

+its message strings in resource bundles, so it is possible that the strings

+have been translated for your platform.  The examples below show the English

+version of the messages.</p>

+

+<blockquote>

+<p><em><strong>WARNING:</strong>  the legacy commands <code>/install</code> and 

+<code>/remove</code> are deprecated.

+They are presently equivalent to <code>/deploy</code> and <code>/undeploy</code>,

+but could be removed in a future release.</em></p>

+</blockquote>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Deploy A New Application Remotely"><!--()--></a><a name="Deploy_A_New_Application_Remotely"><strong>Deploy A New Application Remotely</strong></a></font></td></tr><tr><td><blockquote>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/deploy?path=/foo

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Upload the web application archive (WAR) file that is specified as the

+request data in this HTTP PUT request, install it into the <code>appBase</code>

+directory of our corresponding virtual host, and start , using the directory

+name or the war file name without the .war extension as the path.  The

+application can later be undeployed (and the corresponding application directory

+removed) by use of the <code>/undeploy</code> command.</p>

+

+<p>The .WAR file may include Tomcat specific deployment configuration, by 

+including a Context configuration XML file in 

+<code>/META-INF/context.xml</code>.</p>

+

+<p>URL parameters include:</p>

+<ul>

+<li><code>update</code>: When set to true, any existing update will be

+    undeployed first. The default value is set to false.</li>

+<li><code>tag</code>: Specifying a tag name, this allows associating the

+    deployed webapp with a version number. The application version can

+    be later redeployed when needed using only the tag.</li>

+</ul>

+

+<p><strong>NOTE</strong> - This command is the logical

+opposite of the <code>/undeploy</code> command.</p>

+

+<p>If installation and startup is successful, you will receive a response

+like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+OK - Deployed application at context path /foo

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Otherwise, the response will start with <code>FAIL</code> and include an

+error message.  Possible causes for problems include:</p>

+<ul>

+<li><em>Application already exists at path /foo</em>

+    <blockquote>

+    <p>The context paths for all currently running web applications must be

+    unique.  Therefore, you must undeploy the existing web

+    application using this context path, or choose a different context path

+    for the new one. The <code>update</code> parameter may be specified as

+    a parameter on the URL, with a value of <code>true</code> to avoid this

+    error. In that case, an undeploy will be performed on an existing

+    application before performing the deployment.</p>

+    </blockquote></li>

+<li><em>Encountered exception</em>

+    <blockquote>

+    <p>An exception was encountered trying to start the new web application.

+    Check the Tomcat 6 logs for the details, but likely explanations include

+    problems parsing your <code>/WEB-INF/web.xml</code> file, or missing

+    classes encountered when initializing application event listeners and

+    filters.</p>

+    </blockquote></li>

+</ul>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Deploy A New Application from a Local Path"><!--()--></a><a name="Deploy_A_New_Application_from_a_Local_Path"><strong>Deploy A New Application from a Local Path</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Deploy and start a new web application, attached to the specified context

+<code>path</code> (which must not be in use by any other web application).

+This command is the logical opposite of the <code>/undeploy</code> command.</p>

+

+<p>There are a number of different ways the deploy command can be used.</p>

+

+<h3>Deploy a version of a previously deployed webapp</h3>

+

+<p>This can be used to deploy a previous version of a web application, which

+has been deployed using the <code>tag</code> attribute. Note that the work

+directory for the manager webapp will contain the previously deployed WARs;

+removing it would make the deployment fail.</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/deploy?path=/footoo&amp;tag=footag

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+

+<h3>Deploy a Directory or WAR by URL</h3>

+

+<p>Deploy a web application directory or ".war" file located on the Tomcat

+server. If no <code>path</code> is specified, the directory name or the war file

+name without the ".war" extension is used as the path. The <code>war</code>

+parameter specifies a URL (including the <code>file:</code> scheme) for either

+a directory or a web application archive (WAR) file. The supported syntax for

+a URL referring to a WAR file is described on the Javadocs page for the

+<code>java.net.JarURLConnection</code> class.  Use only URLs that refer to

+the entire WAR file.</p>

+

+<p>In this example the web application located in the directory

+<code>/path/to/foo</code> on the Tomcat server is deployed as the

+web application context named <code>/footoo</code>.</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/deploy?path=/footoo&amp;war=file:/path/to/foo

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+

+<p>In this example the ".war" file <code>/path/to/bar.war</code> on the

+Tomcat server is deployed as the web application context named

+<code>/bar</code>. Notice that there is no <code>path</code> parameter

+so the context path defaults to the name of the web application archive

+file without the ".war" extension.</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/deploy?war=jar:file:/path/to/bar.war!/

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+

+<h3>Deploy a Directory or War from the Host appBase</h3>

+

+<p>Deploy a web application directory or ".war" file located in your Host

+appBase directory. The directory name or the war file name without the ".war"

+extension is used as the path.</p>

+

+<p>In this example the web application located in a sub directory named

+<code>foo</code> in the Host appBase directory of the Tomcat server is

+deployed as the web application context named <code>/foo</code>. Notice

+that the context path used is the name of the web application directory.</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/deploy?war=foo

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+

+<p>In this example the ".war" file <code>bar.war</code> located in your

+Host appBase directory on the Tomcat server is deployed as the web

+application context named <code>/bar</code>.</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/deploy?war=bar.war

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+

+<h3>Deploy using a Context configuration ".xml" file</h3>

+

+<p>If the Host deployXML flag is set to true you can deploy a web

+application using a Context configuration ".xml" file and an optional

+".war" file or web application directory. The context <code>path</code>

+is not used when deploying a web application using a context ".xml"

+configuration file.</p>

+

+<p>A Context configuration ".xml" file can contain valid XML for a

+web application Context just as if it were configured in your

+Tomcat <code>server.xml</code> configuration file. Here is an

+example:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Context path="/foobar" docBase="/path/to/application/foobar"&gt;

+

+  &lt;!-- Link to the user database we will get roles from --&gt;

+  &lt;ResourceLink name="users" global="UserDatabase"

+                type="org.apache.catalina.UserDatabase"/&gt;

+

+&lt;/Context&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+

+<p>When the optional <code>war</code> parameter is set to the URL

+for a web application ".war" file or directory it overrides any

+docBase configured in the context configuration ".xml" file.</p>

+

+<p>Here is an example of deploying an application using a Context

+configuration ".xml" file.</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/deploy?config=file:/path/context.xml

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+

+<p>Here is an example of deploying an application using a Context

+configuration ".xml" file and a web application ".war" file located

+on the server.</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/deploy

+ ?config=file:/path/context.xml&amp;war=jar:file:/path/bar.war!/

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+

+<h3>Deployment Notes</h3>

+

+<p>If the Host is configured with unpackWARs=true and you deploy a war

+file, the war will be unpacked into a directory in your Host appBase

+directory.</p>

+

+<p>If the application war or directory is installed in your Host appBase

+directory and either the Host is configured with autoDeploy=true or

+liveDeploy=true, the Context path must match the directory name or

+war file name without the ".war" extension.</p>

+

+<p>For security when untrusted users can manage web applications, the

+Host deployXML flag can be set to false.  This prevents untrusted users

+from deploying web applications using a configuration XML file and

+also prevents them from deploying application directories or ".war"

+files located outside of their Host appBase.</p>

+

+

+<h3>Deploy Response</h3>

+

+<p>If installation and startup is successful, you will receive a response

+like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+OK - Deployed application at context path /foo

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Otherwise, the response will start with <code>FAIL</code> and include an

+error message.  Possible causes for problems include:</p>

+<ul>

+<li><em>Application already exists at path /foo</em>

+    <blockquote>

+    <p>The context paths for all currently running web applications must be

+    unique.  Therefore, you must undeploy the existing web

+    application using this context path, or choose a different context path

+    for the new one. The <code>update</code> parameter may be specified as

+    a parameter on the URL, with a value of <code>true</code> to avoid this

+    error. In that case, an undeploy will be performed on an existing

+    application before performing the deployment.</p>

+    </blockquote></li>

+<li><em>Document base does not exist or is not a readable directory</em>

+    <blockquote>

+    <p>The URL specified by the <code>war</code> parameter must identify a

+    directory on this server that contains the "unpacked" version of a

+    web application, or the absolute URL of a web application archive (WAR)

+    file that contains this application.  Correct the value specified by

+    the <code>war</code> parameter.</p>

+    </blockquote></li>

+<li><em>Encountered exception</em>

+    <blockquote>

+    <p>An exception was encountered trying to start the new web application.

+    Check the Tomcat 6 logs for the details, but likely explanations include

+    problems parsing your <code>/WEB-INF/web.xml</code> file, or missing

+    classes encountered when initializing application event listeners and

+    filters.</p>

+    </blockquote></li>

+<li><em>Invalid application URL was specified</em>

+    <blockquote>

+    <p>The URL for the directory or web application that you specified

+    was not valid.  Such URLs must start with <code>file:</code>, and URLs

+    for a WAR file must end in ".war".</p>

+    </blockquote></li>

+<li><em>Invalid context path was specified</em>

+    <blockquote>

+    <p>The context path must start with a slash character. To reference the

+    ROOT web application use "/".</p>

+    </blockquote></li>

+<li><em>Context path must match the directory or WAR file name:</em>

+    <blockquote>

+    If the application war or directory is installed in your Host appBase

+    directory and either the Host is configured with autoDeploy=true or

+    liveDeploy=true, the Context path must match the directory name or

+    war file name without the ".war" extension.

+    </blockquote></li>

+<li><em>Only web applications in the Host web application directory can

+     be installed</em>

+     <blockquote>

+     If the Host deployXML flag is set to false this error will happen

+     if an attempt is made to deploy a web application directory or

+      ".war" file outside of the Host appBase directory.

+     </blockquote></li>

+</ul>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="List Currently Deployed Applications"><!--()--></a><a name="List_Currently_Deployed_Applications"><strong>List Currently Deployed Applications</strong></a></font></td></tr><tr><td><blockquote>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/list

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>List the context paths, current status (<code>running</code> or

+<code>stopped</code>), and number of active sessions for all currently

+deployed web applications.  A typical response immediately

+after starting Tomcat might look like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+OK - Listed applications for virtual host localhost

+/webdav:running:0

+/examples:running:0

+/manager:running:0

+/:running:0

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Reload An Existing Application"><!--()--></a><a name="Reload_An_Existing_Application"><strong>Reload An Existing Application</strong></a></font></td></tr><tr><td><blockquote>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/reload?path=/examples

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Signal an existing application to shut itself down and reload.  This can

+be useful when the web application context is not reloadable and you have

+updated classes or property files in the <code>/WEB-INF/classes</code>

+directory or when you have added or updated jar files in the

+<code>/WEB-INF/lib</code> directory.

+</p>

+<p><strong>NOTE:</strong> The <code>/WEB-INF/web.xml</code>

+web application configuration file is not reread on a reload.

+If you have made changes to your web.xml file you must stop

+then start the web application.

+</p>

+

+<p>If this command succeeds, you will see a response like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+OK - Reloaded application at context path /examples

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Otherwise, the response will start with <code>FAIL</code> and include an

+error message.  Possible causes for problems include:</p>

+<ul>

+<li><em>Encountered exception</em>

+    <blockquote>

+    <p>An exception was encountered trying to restart the web application.

+    Check the Tomcat 6 logs for the details.</p>

+    </blockquote></li>

+<li><em>Invalid context path was specified</em>

+    <blockquote>

+    <p>The context path must start with a slash character. To reference the

+    ROOT web application use "/".</p>

+    </blockquote></li>

+<li><em>No context exists for path /foo</em>

+    <blockquote>

+    <p>There is no deployed application on the context path

+    that you specified.</p>

+    </blockquote></li>

+<li><em>No context path was specified</em>

+    <blockquote>

+    The <code>path</code> parameter is required.

+    </blockquote></li>

+<li><em>Reload not supported on WAR deployed at path /foo</em>

+    <blockquote>

+    Currently, application reloading (to pick up changes to the classes or

+    <code>web.xml</code> file) is not supported when a web application is

+    deployed directly from a WAR file.  It only works when the web application

+    is deployed from an unpacked directory.  If you are using a WAR file,

+    you should <code>undeploy</code> and then <code>deploy</code> or

+    <code>deploy</code> with the <code>update</code> parameter the

+    application again to pick up your changes.

+    </blockquote></li>

+</ul>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="List OS and JVM Properties"><!--()--></a><a name="List_OS_and_JVM_Properties"><strong>List OS and JVM Properties</strong></a></font></td></tr><tr><td><blockquote>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/serverinfo

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Lists information about the Tomcat version, OS, and JVM properties.</p>

+

+<p>If an error occurs, the response will start with <code>FAIL</code> and

+include an error message.  Possible causes for problems include:</p>

+<ul>

+<li><em>Encountered exception</em>

+    <blockquote>

+    <p>An exception was encountered trying to enumerate the system properties.

+    Check the Tomcat 6 logs for the details.</p>

+    </blockquote></li>

+</ul>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="List Available Global JNDI Resources"><!--()--></a><a name="List_Available_Global_JNDI_Resources"><strong>List Available Global JNDI Resources</strong></a></font></td></tr><tr><td><blockquote>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/resources[?type=xxxxx]

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>List the global JNDI resources that are available for use in resource

+links for context configuration files.  If you specify the <code>type</code>

+request parameter, the value must be the fully qualified Java class name of

+the resource type you are interested in (for example, you would specify

+<code>javax.sql.DataSource</code> to acquire the names of all available

+JDBC data sources).  If you do not specify the <code>type</code> request

+parameter, resources of all types will be returned.</p>

+

+<p>Depending on whether the <code>type</code> request parameter is specified

+or not, the first line of a normal response will be:</p>

+<pre>

+  OK - Listed global resources of all types

+</pre>

+<p>or</p>

+<pre>

+  OK - Listed global resources of type xxxxx

+</pre>

+<p>followed by one line for each resource.  Each line is composed of fields

+delimited by colon characters (":"), as follows:</p>

+<ul>

+<li><em>Global Resource Name</em> - The name of this global JNDI resource,

+    which would be used in the <code>global</code> attribute of a

+    <code>&lt;ResourceLink&gt;</code> element.</li>

+<li><em>Global Resource Type</em> - The fully qualified Java class name of

+    this global JNDI resource.</li>

+</ul>

+

+<p>If an error occurs, the response will start with <code>FAIL</code> and

+include an error message.  Possible causes for problems include:</p>

+<ul>

+<li><em>Encountered exception</em>

+    <blockquote>

+    <p>An exception was encountered trying to enumerate the global JNDI

+    resources.  Check the Tomcat 6 logs for the details.</p>

+    </blockquote></li>

+<li><em>No global JNDI resources are available</em>

+    <blockquote>

+    <p>The Tomcat server you are running has been configured without

+    global JNDI resources.</p>

+    </blockquote></li>

+</ul>

+

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="List Available Security Roles"><!--()--></a><a name="List_Available_Security_Roles"><strong>List Available Security Roles</strong></a></font></td></tr><tr><td><blockquote>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/roles

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>List the security role names (and corresponding descriptions) that are

+available in the <code>org.apache.catalina.UserDatabase</code> resource that

+is linked to the <code>users</code> resource reference in the web.xml file

+for the Manager web application.  This would typically be used, for example,

+by a deployment tool that wanted to create

+<code>&lt;security-role-ref&gt;</code> elements to map security role names

+used in a web application to the role names actually defined within the

+container.</p>

+

+<p>By default, the <code>users</code> resource reference is pointed at the

+global <code>UserDatabase</code> resource.  If you choose to utilize a

+different user database per virtual host, you should modify the

+<code>&lt;ResourceLink&gt;</code> element in the default

+<code>manager.xml</code> context configuration file to point at the global

+user database resource for this virtual host.</p>

+

+<p>When this command is executed, the first line of the response will be:</p>

+<pre>

+  OK - Listed security roles

+</pre>

+<p>followed by one line for each security role.  Each line is composed of

+fields delimited by colon characters (":") as follows:</p>

+<ul>

+<li><em>Security Role Name</em> - A security role name that is known to Tomcat

+    in the user database.</li>

+<li><em>Description</em> - Description of this security role (useful in

+    creating user interfaces for selecting roles.</li>

+</ul>

+

+<p>If an error occurs, the response will start with <code>FAIL</code> and

+include an error message.  Possible causes for problems include:</p>

+<ul>

+<li><em>Cannot resolve user database reference</em> - A JNDI error prevented

+    the successful lookup of the <code>org.apache.catalina.UserDatabase</code>

+    resource.  Check the Tomcat log files for a stack trace associated with

+    this error.</li>

+<li><em>No user database is available</em> - You have not configured a resource

+    reference for the <code>users</code> resource that points at an

+    appropriate user database instance.  Check your <code>manager.xml</code>

+    file and ensure that you have created an appropriate

+    <code>&lt;ResourceLink&gt;</code> or

+    <code>&lt;ResourceParams&gt;</code> element for this resource.</li>

+</ul>

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Session Statistics"><!--()--></a><a name="Session_Statistics"><strong>Session Statistics</strong></a></font></td></tr><tr><td><blockquote>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/sessions?path=/examples

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Display the default session timeout for a web application, and the

+number of currently active sessions that fall within ten-minute ranges of

+their actual timeout times.  For example, after restarting Tomcat and then

+executing one of the JSP samples in the <code>/examples</code> web app,

+you might get something like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+OK - Session information for application at context path /examples

+Default maximum session inactive interval 30 minutes

+30 - &lt;40 minutes:1 sessions

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Start an Existing Application"><!--()--></a><a name="Start_an_Existing_Application"><strong>Start an Existing Application</strong></a></font></td></tr><tr><td><blockquote>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/start?path=/examples

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Signal a stopped application to restart, and make itself available again.

+Stopping and starting is useful, for example, if the database required by

+your application becomes temporarily unavailable.  It is usually better to

+stop the web application that relies on this database rather than letting

+users continuously encounter database exceptions.</p>

+

+<p>If this command succeeds, you will see a response like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+OK - Started application at context path /examples

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Otherwise, the response will start with <code>FAIL</code> and include an

+error message.  Possible causes for problems include:</p>

+<ul>

+<li><em>Encountered exception</em>

+    <blockquote>

+    <p>An exception was encountered trying to start the web application.

+    Check the Tomcat 6 logs for the details.</p>

+    </blockquote></li>

+<li><em>Invalid context path was specified</em>

+    <blockquote>

+    <p>The context path must start with a slash character. To reference the

+    ROOT web application use "/".</p>

+    </blockquote></li>

+<li><em>No context exists for path /foo</em>

+    <blockquote>

+    <p>There is no deployed application on the context path

+    that you specified.</p>

+    </blockquote></li>

+<li><em>No context path was specified</em>

+    <blockquote>

+    The <code>path</code> parameter is required.

+    </blockquote></li>

+</ul>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Stop an Existing Application"><!--()--></a><a name="Stop_an_Existing_Application"><strong>Stop an Existing Application</strong></a></font></td></tr><tr><td><blockquote>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/stop?path=/examples

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Signal an existing application to make itself unavailable, but leave it

+deployed.  Any request that comes in while an application is

+stopped will see an HTTP error 404, and this application will show as

+"stopped" on a list applications command.</p>

+

+<p>If this command succeeds, you will see a response like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+OK - Stopped application at context path /examples

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Otherwise, the response will start with <code>FAIL</code> and include an

+error message.  Possible causes for problems include:</p>

+<ul>

+<li><em>Encountered exception</em>

+    <blockquote>

+    <p>An exception was encountered trying to stop the web application.

+    Check the Tomcat 6 logs for the details.</p>

+    </blockquote></li>

+<li><em>Invalid context path was specified</em>

+    <blockquote>

+    <p>The context path must start with a slash character. To reference the

+    ROOT web application use "/".</p>

+    </blockquote></li>

+<li><em>No context exists for path /foo</em>

+    <blockquote>

+    <p>There is no deployed application on the context path

+    that you specified.</p>

+    </blockquote></li>

+<li><em>No context path was specified</em>

+    <blockquote>

+    The <code>path</code> parameter is required.

+    </blockquote></li>

+</ul>

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Undeploy an Existing Application"><!--()--></a><a name="Undeploy_an_Existing_Application"><strong>Undeploy an Existing Application</strong></a></font></td></tr><tr><td><blockquote>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/undeploy?path=/examples

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p><strong><font color="red">WARNING</font> - This command will delete any web 

+application artifacts that exist within <code>appBase</code> directory 

+(typically "webapps") for this virtual host</strong>.

+This will delete the the application .WAR, if present, 

+the application directory resulting either from a deploy in unpacked form 

+or from .WAR expansion as well as the XML Context definition from

+<code>$CATALINA_BASE/conf/[enginename]/[hostname]/</code> directory. 

+If you simply want to take an application

+out of service, you should use the <code>/stop</code> command instead.</p>

+

+<p>Signal an existing application to gracefully shut itself down, and

+remove it from Tomcat (which also makes this context path available for

+reuse later).  In addition, the document root directory is removed, if it

+exists in the <code>appBase</code> directory (typically "webapps") for

+this virtual host.  This command is the logical opposite of the

+<code>/deploy</code> command.</p>

+

+<p>If this command succeeds, you will see a response like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+OK - Undeployed application at context path /examples

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Otherwise, the response will start with <code>FAIL</code> and include an

+error message.  Possible causes for problems include:</p>

+<ul>

+<li><em>Encountered exception</em>

+    <blockquote>

+    <p>An exception was encountered trying to undeploy the web application.

+    Check the Tomcat 6 logs for the details.</p>

+    </blockquote></li>

+<li><em>Invalid context path was specified</em>

+    <blockquote>

+    <p>The context path must start with a slash character. To reference the

+    ROOT web application use "/".</p>

+    </blockquote></li>

+<li><em>No context exists for path /foo</em>

+    <blockquote>

+    <p>There is no deployed application on the context path

+    that you specified.</p>

+    </blockquote></li>

+<li><em>No context path was specified</em>

+    <blockquote>

+    The <code>path</code> parameter is required.

+    </blockquote></li>

+</ul>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Finding memory leaks"><!--()--></a><a name="Finding_memory_leaks"><strong>Finding memory leaks</strong></a></font></td></tr><tr><td><blockquote>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/findleaks

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p><strong>The find leaks diagnostic triggers a full garbage collection. It

+should be used with extreme caution on production systems.</strong></p>

+

+<p>The find leaks diagnostic attempts to identify web applications that have

+caused memory leaks when they were stopped, reloaded or undeployed. Results

+should always be confirmed

+with a profiler. The diagnostic uses additional functionality provided by the

+StandardHost implementation. It will not work if a custom host is used that

+does not extend StandardHost.</p>

+

+<p>Explicitly triggering a full garbage collection from Java code is documented

+to be unreliable. Furthermore, depending on the JVM used, there are options to

+disable explicit GC triggering, like <code>-XX:+DisableExplicitGC</code>.

+If you want to make sure, that the diagnostics were successfully running a full GC,

+you will need to check using tools like GC logging, JConsole or similar.</p>

+

+<p>If this command succeeds, you will see a response like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+/leaking-webapp

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Each context path for a web application that was stopped, reloaded or

+undeployed, but which classes from the previous runs are still loaded in memory,

+thus causing a memory leak, will be listed on a new line. If an application

+has been reloaded several times, it may be listed several times.</p>

+

+<p>If the command does not succeed, the response will start with

+<code>FAIL</code> and include an error message.</p>

+ 

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Server Status"><!--()--></a><a name="Server_Status"><strong>Server Status</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>From this link , you can view information about the server.</p>

+

+<p>First, you have the server and JVM version number, JVM provider, OS name 

+and number followed by the architecture type.</p>

+

+<p>Second, there is several information about the memory usage of the JVM 

+(available, total and max memory).</p>

+

+<p>Then, there is information about the Tomcat AJP and HTTP connectors. 

+The same information is available for both of them :

+</p>

+<ul>

+    <li><p>Threads information : Max threads, min and max spare threads, 

+    current thread count and current thread busy.</p></li>

+    <li><p>Request information : Max processing time and processing time, 

+    request and error count, bytes received and sent.</p></li>

+    <li><p>A table showing Stage, Time, Bytes Sent, Bytes Receive, Client, 

+    VHost and Request. All existing threads are listed in the table. 

+    Here is the list of the possible thread stages :</p>

+    <ul>

+        <li><p><em>"Parse and Prepare Request"</em> : The request headers are

+        being parsed or the necessary preparation to read the request body (if

+        a transfer encoding has been specified) is taking place.</p></li>

+        <li><p><em>"Service"</em> : The thread is processing a request and

+        generating the response. This stage follows the "Parse and Prepare

+        Request" stage and precedes the "Finishing" stage. There is always at

+        least one thread in this stage (the server-status page).</p></li>

+        <li><p><em>"Finishing"</em> : The end of the request processing. Any

+        remainder of the response still in the output buffers is sent to the

+        client. This stage is followed by "Keep-Alive" if it is appropriate to

+        keep the connection alive or "Ready" if "Keep-Alive" is not

+        appropriate.</p></li>

+        <li><p><em>"Keep-Alive"</em> : The thread keeps the connection open to

+        the client in case the client sends another request. If another request

+        is recieved, the next stage will br "Parse and Prepare Requst". If no

+        request is received before the keep alive times out, the connection will

+        be closed and the next stage will be "Ready".</p></li>

+        <li><p><em>"Ready"</em> : The thread is at rest and ready to be

+        used.</p></li>

+    </ul>

+    </li>

+</ul>

+</blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Executing Manager Commands With Ant"><!--()--></a><a name="Executing_Manager_Commands_With_Ant"><strong>Executing Manager Commands With Ant</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>In addition to the ability to execute Manager commands via HTTP requests,

+as documented above, Tomcat 6 includes a convenient set of Task definitions

+for the <em>Ant</em> (version 1.4 or later) build tool.  In order to use these

+commands, you must perform the following setup operations:</p>

+<ul>

+<li>Download the binary distribution of Ant from

+    <a href="http://ant.apache.org">http://ant.apache.org</a>.

+    You must use version <strong>1.4</strong> or later.</li>

+<li>Install the Ant distribution in a convenient directory (called

+    ANT_HOME in the remainder of these instructions).</li>

+<li>Copy the file <code>server/lib/catalina-ant.jar</code> from your Tomcat 6

+    installation into Ant's library directory (<code>$ANT_HOME/lib</code>).

+    </li>

+<li>Add the <code>$ANT_HOME/bin</code> directory to your <code>PATH</code>

+    environment variable.</li>

+<li>Configure at least one username/password combination in your Tomcat

+    user database that includes the <code>manager-script</code> role.</li>

+</ul>

+

+<p>To use custom tasks within Ant, you must declare them first with a

+<code>&lt;taskdef&gt;</code> element.  Therefore, your <code>build.xml</code>

+file might look something like this:</p>

+

+<table border="1">

+<tr><td><pre>

+&lt;project name="My Application" default="compile" basedir="."&gt;

+

+  &lt;!-- Configure the directory into which the web application is built --&gt;

+  &lt;property name="build"    value="${basedir}/build"/&gt;

+

+  &lt;!-- Configure the context path for this application --&gt;

+  &lt;property name="path"     value="/myapp"/&gt;

+

+  &lt;!-- Configure properties to access the Manager application --&gt;

+  &lt;property name="url"      value="http://localhost:8080/manager"/&gt;

+  &lt;property name="username" value="myusername"/&gt;

+  &lt;property name="password" value="mypassword"/&gt;

+

+  &lt;!-- Configure the custom Ant tasks for the Manager application --&gt;

+  &lt;taskdef name="deploy"    classname="org.apache.catalina.ant.DeployTask"/&gt;

+  &lt;taskdef name="list"      classname="org.apache.catalina.ant.ListTask"/&gt;

+  &lt;taskdef name="reload"    classname="org.apache.catalina.ant.ReloadTask"/&gt;

+  &lt;taskdef name="resources" classname="org.apache.catalina.ant.ResourcesTask"/&gt;

+  &lt;taskdef name="roles"     classname="org.apache.catalina.ant.RolesTask"/&gt;

+  &lt;taskdef name="start"     classname="org.apache.catalina.ant.StartTask"/&gt;

+  &lt;taskdef name="stop"      classname="org.apache.catalina.ant.StopTask"/&gt;

+  &lt;taskdef name="undeploy"  classname="org.apache.catalina.ant.UndeployTask"/&gt;

+

+  &lt;!-- Executable Targets --&gt;

+  &lt;target name="compile" description="Compile web application"&gt;

+    &lt;!-- ... construct web application in ${build} subdirectory, and

+            generated a ${path}.war ... --&gt;

+  &lt;/target&gt;

+

+  &lt;target name="deploy" description="Install web application"

+          depends="compile"&gt;

+    &lt;deploy url="${url}" username="${username}" password="${password}"

+            path="${path}" war="file:${build}${path}.war"/&gt;

+  &lt;/target&gt;

+

+  &lt;target name="reload" description="Reload web application"

+          depends="compile"&gt;

+    &lt;reload  url="${url}" username="${username}" password="${password}"

+            path="${path}"/&gt;

+  &lt;/target&gt;

+

+  &lt;target name="undeploy" description="Remove web application"&gt;

+    &lt;undeploy url="${url}" username="${username}" password="${password}"

+            path="${path}"/&gt;

+  &lt;/target&gt;

+

+&lt;/project&gt;

+</pre></td></tr>

+</table>

+

+<p>Note: The definition of the resources task above will override the resources

+datatype added in Ant 1.7. If you wish to use the resources datatype you will

+need to use Ant's namespace support to assign the Tomcat tasks to their own

+namespace.</p>

+

+<p>Now, you can execute commands like <code>ant deploy</code> to deploy the

+application to a running instance of Tomcat, or <code>ant reload</code> to

+tell Tomcat to reload it.  Note also that most of the interesting values in

+this <code>build.xml</code> file are defined as replaceable properties, so

+you can override their values from the command line.  For example, you might

+consider it a security risk to include the real manager password in your

+<code>build.xml</code> file's source code.  To avoid this, omit the password

+property, and specify it from the command line:</p>

+<pre>

+  ant -Dpassword=secret deploy

+</pre>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tasks output capture"><!--()--></a><a name="Tasks_output_capture"><strong>Tasks output capture</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Using <em>Ant</em> version <strong>1.6.2</strong> or later,

+the Catalina tasks offer the option to capture their output in 

+properties or external files. They support directly the following subset of the 

+<code>&lt;redirector&gt;</code> type attributes:

+</p>

+

+<table border="1" cellpadding="2" cellspacing="0">

+<tbody>

+<tr>

+<td valign="top"><b>Attribute</b></td>

+<td valign="top"><b>Description</b></td>

+<td align="center" valign="top"><b>Required</b></td>

+</tr>

+<tr>

+<td valign="top">output</td>

+<td valign="top">Name of a file to which to write the output. If

+the error stream is not also redirected to a file or property, it will

+appear in this output.</td>

+<td align="center" valign="top">No</td>

+</tr>

+<tr>

+<td valign="top">error</td>

+<td valign="top">The file to which the standard error of the

+command should be redirected.</td>

+<td align="center" valign="top">No</td>

+</tr>

+<tr>

+<td valign="top">logError</td>

+<td valign="top">This attribute is used when you wish to see

+error output in Ant's log and you are redirecting output to a

+file/property. The error output will not be included in the output

+file/property. If you redirect error with the <i>error</i> or <i>errorProperty</i>

+attributes, this will have no effect.</td>

+<td align="center" valign="top">No</td>

+</tr>

+<tr>

+<td valign="top">append</td>

+<td valign="top">Whether output and error files should be

+appended to or overwritten. Defaults to <code>false</code>.</td>

+<td align="center" valign="top">No</td>

+</tr>

+<tr>

+<td valign="top">createemptyfiles</td>

+<td valign="top">Whether output and error files should be created

+even when empty. Defaults to <code>true</code>.</td>

+<td align="center" valign="top">No</td>

+</tr>

+<tr>

+<td valign="top">outputproperty</td>

+<td valign="top">The name of a property in which the output of

+the command should be stored. Unless the error stream is redirected to

+a separate file or stream, this property will include the error output.</td>

+<td align="center" valign="top">No</td>

+</tr>

+<tr>

+<td valign="top">errorproperty</td>

+<td valign="top">The name of a property in which the standard

+error of the command should be stored.</td>

+<td align="center" valign="top">No</td>

+</tr>

+</tbody>

+</table>

+

+<p>A couple of additional attributes can also be specified:

+</p>

+<table border="1" cellpadding="2" cellspacing="0">

+<tbody>

+<tr>

+<td valign="top"><b>Attribute</b></td>

+<td valign="top"><b>Description</b></td>

+<td align="center" valign="top"><b>Required</b></td>

+</tr>

+<tr>

+<td valign="top">alwaysLog</td>

+<td valign="top">This attribute is used when you wish to see the

+output you are capturing, appearing also in the Ant's log. It must not be

+used unless you are capturing task output.

+Defaults to <code>false</code>.

+<em>This attribute will be supported directly by <code>&lt;redirector&gt;</code>

+in Ant 1.6.3</em></td>

+<td align="center" valign="top">No</td>

+</tr>

+<tr>

+<td valign="top">failonerror</td>

+<td valign="top">This attribute is used when you wish to avoid that

+any manager command processing error terminates the ant execution. Defaults to <code>true</code>.

+It must be set to <code>false</code>, if you want to capture error output,

+otherwise execution will terminate before anything can be captured.

+<br>

+This attribute acts only on manager command execution,

+any wrong or missing command attribute will still cause Ant execution termination.

+</td>

+<td align="center" valign="top">No</td>

+</tr>

+</tbody>

+</table>

+

+<p>They also support the embedded <code>&lt;redirector&gt;</code> element

+in which you can specify

+its full set of attributes, but <code>input</code>, <code>inputstring</code> and 

+<code>inputencoding</code> that, even if accepted, are not used because they have

+no meaning in this context.

+Refer to <a href="http://ant.apache.org">ant manual</a> for details on 

+<code>&lt;redirector&gt;</code> element attributes.

+</p>

+

+<p>

+Here is a sample build file extract that shows how this output redirection support

+can be used:

+</p>

+

+<table border="1">

+<tr><td><pre>

+  &lt;target name="manager.deploy"

+    depends="context.status"

+    if="context.notInstalled"&gt;

+    &lt;deploy url="${mgr.url}"

+      username="${mgr.username}"

+      password="${mgr.password}"

+      path="${mgr.context.path}"

+      config="${mgr.context.descriptor}"/&gt;

+  &lt;/target&gt;

+

+  &lt;target name="manager.deploy.war"

+    depends="context.status"

+    if="context.deployable"&gt;

+    &lt;deploy url="${mgr.url}"

+      username="${mgr.username}"

+      password="${mgr.password}"

+      update="${mgr.update}"

+      path="${mgr.context.path}"

+      war="${mgr.war.file}"/&gt;

+  &lt;/target&gt;

+  

+  &lt;target name="context.status"&gt;

+    &lt;property name="running" value="${mgr.context.path}:running"/&gt;

+    &lt;property name="stopped" value="${mgr.context.path}:stopped"/&gt;

+  

+    &lt;list url="${mgr.url}"

+      outputproperty="ctx.status"

+      username="${mgr.username}"

+      password="${mgr.password}"&gt;

+    &lt;/list&gt;

+    

+    &lt;condition property="context.running"&gt;

+      &lt;contains string="${ctx.status}" substring="${running}"/&gt;

+    &lt;/condition&gt;

+    &lt;condition property="context.stopped"&gt;

+      &lt;contains string="${ctx.status}" substring="${stopped}"/&gt;

+    &lt;/condition&gt;

+    &lt;condition property="context.notInstalled"&gt;

+      &lt;and&gt;

+        &lt;isfalse value="${context.running}"/&gt;

+        &lt;isfalse value="${context.stopped}"/&gt;

+      &lt;/and&gt;

+    &lt;/condition&gt;

+    &lt;condition property="context.deployable"&gt;

+      &lt;or&gt;

+        &lt;istrue value="${context.notInstalled}"/&gt;

+        &lt;and&gt;

+          &lt;istrue value="${context.running}"/&gt;

+          &lt;istrue value="${mgr.update}"/&gt;

+        &lt;/and&gt;

+        &lt;and&gt;

+          &lt;istrue value="${context.stopped}"/&gt;

+          &lt;istrue value="${mgr.update}"/&gt;

+        &lt;/and&gt;

+      &lt;/or&gt;

+    &lt;/condition&gt;

+    &lt;condition property="context.undeployable"&gt;

+      &lt;or&gt;

+        &lt;istrue value="${context.running}"/&gt;

+        &lt;istrue value="${context.stopped}"/&gt;

+      &lt;/or&gt;

+    &lt;/condition&gt;

+  &lt;/target&gt;

+</pre></td></tr>

+</table>

+

+<p><strong>WARNING:</strong> even if it doesn't make many sense, and is always a bad idea,

+calling a Catalina task more than once,

+badly set Ant tasks depends chains may cause that a task be called

+more than once in the same Ant run, even if not intended to. A bit of caution should be exercised when you are

+capturing output from that task, because this could lead to something unexpected:</p>

+<ul>

+<li>when capturing in a property you will find in it only the output from the <em>first</em> call, because

+Ant properties are immutable and once set they cannot be changed,

+</li>

+<li>when capturing in a file, each run will overwrite it and you will find in it only the <em>last</em> call

+output, unless you are using the <code>append="true"</code> attribute, in which case you will

+see the output of each task call appended to the file.

+</li>

+</ul>

+

+</blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Using the JMX Proxy Servlet"><!--()--></a><a name="Using_the_JMX_Proxy_Servlet"><strong>Using the JMX Proxy Servlet</strong></a></font></td></tr><tr><td><blockquote>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="What is JMX Proxy Servlet"><!--()--></a><a name="What_is_JMX_Proxy_Servlet"><strong>What is JMX Proxy Servlet</strong></a></font></td></tr><tr><td><blockquote>

+    The JMX Proxy Servlet is a lightweight proxy to get and set the

+    tomcat internals. (Or any class that has been exposed via an MBean)

+    Its usage is not very user friendly but the UI is

+    extremely help for integrating command line scripts for monitoring

+    and changing the internals of tomcat. You can do two things with the proxy:

+    get information and set information. For you to really understand the

+    JMX Proxy Servlet, you should have a general understanding of JMX.

+    If you don't know what JMX is, then prepare to be confused.

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JMX Query command"><!--()--></a><a name="JMX_Query_command"><strong>JMX Query command</strong></a></font></td></tr><tr><td><blockquote>

+    This takes the form:

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://webserver/manager/jmxproxy/?qry=STUFF

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    Where <code>STUFF</code> is the JMX query you wish to perform. For example,

+    here are some queries you might wish to run:

+    <ul>

+      <li>

+        <code>qry=*%3Atype%3DRequestProcessor%2C* --&gt;

+         type=RequestProcessor</code> which will locate all

+         workers which can process requests and report

+         their state.

+      </li>

+      <li>

+        <code>qry=*%3Aj2eeType=Servlet%2c* --&gt;

+            j2eeType=Servlet</code> which return all loaded servlets.

+      </li>

+      <li>

+        <code>qry=Catalina%3Atype%3DEnvironment%2Cresourcetype%3DGlobal%2Cname%3DsimpleValue --&gt;

+            Catalina:type=Environment,resourcetype=Global,name=simpleValue</code>

+            which look for a specific MBean by the given name.

+      </li>

+    </ul>

+    You'll need to experiment with this to really understand its capabilites.

+    If you provide no <code>qry</code> parameter, then all of the MBeans will

+    be displayed. We really recommend looking at the tomcat source code and

+    understand the JMX spec to get a better understanding of all the queries

+    you may run.

+  </blockquote></td></tr></table>

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JMX Set command"><!--()--></a><a name="JMX_Set_command"><strong>JMX Set command</strong></a></font></td></tr><tr><td><blockquote>

+    Now that you can query an MBean, its time to muck with Tomcat's internals!

+    The general form of the set command is :

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://webserver/manager/jmxproxy/?set=BEANNAME&amp;att=MYATTRIBUTE&amp;val=NEWVALUE

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    So you need to provide 3 request parameters:

+    <ol>

+      <li><code>set</code>: The full bean name</li>

+      <li><code>att</code>: The attribute you wish to alter</li>

+      <li><code>val</code>: The new value </li>

+    </ol>

+    If all goes ok, then it will say OK, otherwise an error message will be

+    shown. For example, lets say we wish to turn up debugging on the fly for the

+    <code>ErrorReportValve</code>. The following will set debugging to 10.

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/jmxproxy/

+ ?set=Catalina%3Atype%3DValve%2Cname%3DErrorReportValve%2Chost%3Dlocalhost

+ &amp;att=debug&amp;val=10

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    and my result is (YMMV):

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+Result: ok

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    Here is what I see if I pass in a bad value. Here is the URL I used,

+    I try set debugging equal to 'cow':

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+http://localhost:8080/manager/jmxproxy/

+ ?set=Catalina%3Atype%3DValve%2Cname%3DErrorReportValve%2Chost%3Dlocalhost

+ &amp;att=debug&amp;val=cow

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    When I try that, my result is

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+Error: java.lang.NumberFormatException: For input string: "cow"

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/maven-jars.html b/tomcat-uid/webapps/docs/maven-jars.html
new file mode 100644
index 0000000..55a5dd9
--- /dev/null
+++ b/tomcat-uid/webapps/docs/maven-jars.html
@@ -0,0 +1,25 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Apache Tomcat - Using Tomcat libraries with Maven</title><meta name="author" content="Filip Hanik"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Apache Tomcat - Using Tomcat libraries with Maven</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Using_Tomcat_libraries_With_Maven">Using Tomcat libraries With Maven</a><ol><li><a href="#Tomcat_Snapshots">Tomcat Snapshots</a></li><li><a href="#Tomcat_Releases">Tomcat Releases</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Using Tomcat libraries With Maven"><!--()--></a><a name="Using_Tomcat_libraries_With_Maven"><strong>Using Tomcat libraries With Maven</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat Snapshots"><!--()--></a><a name="Tomcat_Snapshots"><strong>Tomcat Snapshots</strong></a></font></td></tr><tr><td><blockquote>

+      Tomcat snapshots are located in the 

+      <a href="http://people.apache.org/repo/m2-snapshot-repository/org/apache/tomcat/">Apache Snapshot Repository</a>.

+      The official URL is <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>http://people.apache.org/repo/m2-snapshot-repository/org/apache/tomcat/</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+      Snapshots are done periodically, not on a regular basis, but when changes happen and the Tomcat team deems a new snapshot might 

+      useful.

+    </blockquote></td></tr></table>

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat Releases"><!--()--></a><a name="Tomcat_Releases"><strong>Tomcat Releases</strong></a></font></td></tr><tr><td><blockquote>

+      Stable releases are published to the

+      <a href="http://repo2.maven.org/maven2/org/apache/tomcat/">Central

+      Maven Repositories</a>. The URL for this is

+      <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>http://repo2.maven.org/maven2/org/apache/tomcat/</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    </blockquote></td></tr></table>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/mbeans-descriptor-howto.html b/tomcat-uid/webapps/docs/mbeans-descriptor-howto.html
new file mode 100644
index 0000000..d64dee8
--- /dev/null
+++ b/tomcat-uid/webapps/docs/mbeans-descriptor-howto.html
@@ -0,0 +1,51 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - MBean Descriptor How To</title><meta name="author" content="Amy Roh"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>MBean Descriptor How To</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Adding_MBean_descriptions">Adding MBean descriptions</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Tomcat 6 uses JMX MBeans as the technology for implementing 

+manageability of Tomcat.</p>

+

+<p>The descriptions of JMX MBeans for Catalina are in the mbeans-descriptor.xml 

+file in each package.</p>

+

+<p>You will need to add MBean descriptions for your custom components 

+in order to avoid a "ManagedBean is not found" exception.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Adding MBean descriptions"><!--()--></a><a name="Adding_MBean_descriptions"><strong>Adding MBean descriptions</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>You may also add MBean descriptions for custom components in 

+a mbeans-descriptor.xml file, located in the same package as the class files

+it describes.</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+  &lt;mbean         name="LDAPRealm"

+            className="org.apache.catalina.mbeans.ClassNameMBean"

+          description="Custom LDAPRealm"

+               domain="Catalina"

+                group="Realm"

+                 type="com.myfirm.mypackage.LDAPRealm"&gt;

+

+    &lt;attribute   name="className"

+          description="Fully qualified class name of the managed object"

+                 type="java.lang.String"

+            writeable="false"/&gt;

+

+    &lt;attribute   name="debug"

+          description="The debugging detail level for this component"

+                 type="int"/&gt;

+    .

+    .

+    .

+

+  &lt;/mbean&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/monitoring.html b/tomcat-uid/webapps/docs/monitoring.html
new file mode 100644
index 0000000..d1aaae9
--- /dev/null
+++ b/tomcat-uid/webapps/docs/monitoring.html
@@ -0,0 +1,1081 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Monitoring and Managing Tomcat</title><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Monitoring and Managing Tomcat</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Enabling_JMX_Remote">Enabling JMX Remote</a></li><li><a href="#Manage_Tomcat_with_JMX_remote_Ant_Tasks">Manage Tomcat with JMX remote Ant Tasks</a></li><li><a href="#JMXAccessorOpenTask_-_JMX_open_connection_task">JMXAccessorOpenTask - JMX open connection task</a></li><li><a href="#JMXAccessorGetTask:__get_attribute_value_Ant_task">JMXAccessorGetTask:  get attribute value Ant task</a></li><li><a href="#JMXAccessorSetTask:__set_attribute_value_Ant_task">JMXAccessorSetTask:  set attribute value Ant task</a></li><li><a href="#JMXAccessorInvokeTask:__invoke_MBean_operation_Ant_task">JMXAccessorInvokeTask:  invoke MBean operation Ant task</a></li><li><a href="#JMXAccessorQueryTask:__query_MBean_Ant_task">JMXAccessorQueryTask:  query MBean Ant task</a></li><li><a href="#JMXAccessorCreateTask:__remote_create_MBean_Ant_task">JMXAccessorCreateTask:  remote create MBean Ant task</a></li><li><a href="#JMXAccessorUnregisterTask:__remote_unregister_MBean_Ant_task">JMXAccessorUnregisterTask:  remote unregister MBean Ant task</a></li><li><a href="#JMXAccessorCondition:__express_condition">JMXAccessorCondition:  express condition</a></li><li><a href="#JMXAccessorEqualsCondition:__equals_MBean_Ant_condition">JMXAccessorEqualsCondition:  equals MBean Ant condition</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>Monitoring is a key aspect of system administration. Looking inside a

+     running server, obtaining some statistics or reconfiguring some aspects of

+     an application are all daily administration tasks.</p>  

+  

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Enabling JMX Remote"><!--()--></a><a name="Enabling_JMX_Remote"><strong>Enabling JMX Remote</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p><strong>Note:</strong> This configuration is needed if you are

+    going to monitor Tomcat remotely. If you are going

+    to monitor it locally, using the same user that Tomcat runs with, then

+    with Java 6 it is not needed at all, and with Java 5 it is as simple as

+    adding <code>-Dcom.sun.management.jmxremote</code>, see Java documentation.</p>

+

+    <p>The Oracle website includes the list of options and how to configure JMX Remote on Java 5:

+        <a href="http://docs.oracle.com/javase/1.5.0/docs/guide/management/agent.html">

+        http://docs.oracle.com/javase/1.5.0/docs/guide/management/agent.html</a>

+        and on Java 6:

+        <a href="http://docs.oracle.com/javase/6/docs/technotes/guides/management/agent.html">

+        http://docs.oracle.com/javase/6/docs/technotes/guides/management/agent.html</a>.

+    </p>

+    <p>The following is a quick configuration guide for Java 5:</p>

+    <p>Add the following parameters to <code>setenv.bat</code> script of your

+    Tomcat (see <a href="RUNNING.txt">RUNNING.txt</a> for details).<br>

+    <em>Note:</em> This syntax is for Microsoft Windows. The command has

+    to be on the same line. It is wrapped to be more readable. If Tomcat is

+    running as a Windows service, use its configuration dialog to set

+    java options for the service.

+    For un*xes remove <code>"set "</code> from beginning of the line.

+    </p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+set CATALINA_OPTS=-Dcom.sun.management.jmxremote

+  -Dcom.sun.management.jmxremote.port=%my.jmx.port%

+  -Dcom.sun.management.jmxremote.ssl=false

+  -Dcom.sun.management.jmxremote.authenticate=false

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <ol>

+    <li>If you require authorization, add and change this :

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+  -Dcom.sun.management.jmxremote.authenticate=true

+  -Dcom.sun.management.jmxremote.password.file=../conf/jmxremote.password

+  -Dcom.sun.management.jmxremote.access.file=../conf/jmxremote.access

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    </li>

+    <li>edit the access authorization file <em>$CATALINA_BASE/conf/jmxremote.access</em> :

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+monitorRole readonly

+controlRole readwrite

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    </li>

+    <li>edit the password file <em>$CATALINA_BASE/conf/jmxremote.password</em> :

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+monitorRole tomcat

+controlRole tomcat

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <b>Tip</b>: The password file should be read-only and only accessible by the

+    operating system user Tomcat is running as.

+    </li>

+    </ol>

+    <p><strong>Note:</strong> The JSR 160 JMX-Adaptor opens a second data channel

+    on a random port. That is a problem when you have a local firewall installed.

+    To fix it, configure a <code>JmxRemoteLifecycleListener</code>, as described

+    in <a href="config/listeners.html">listeners</a> documentation.

+    </p>

+

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Manage Tomcat with JMX remote Ant Tasks"><!--()--></a><a name="Manage_Tomcat_with_JMX_remote_Ant_Tasks"><strong>Manage Tomcat with JMX remote Ant Tasks</strong></a></font></td></tr><tr><td><blockquote>

+   <p>To simplify JMX usage with Ant 1.6.x, a set of tasks is provided that may

+   be used with antlib.</p>   

+   <p><b>antlib</b>: Copy your catalina-ant.jar from $CATALINA_HOME/lib to $ANT_HOME/lib.</p>

+   <p>The following example shows the JMX Accessor usage:<br>

+   <em>Note:</em> The <code>name</code> attribute value was wrapped here to be

+   more readable. It has to be all on the same line, without spaces.</p>

+   <table border="1">

+   <tr><td><pre>

+&lt;project name="Catalina Ant JMX"

+      xmlns:jmx="antlib:org.apache.catalina.ant.jmx"

+      default="state"

+      basedir="."&gt;

+  &lt;property name="jmx.server.name" value="localhost" /&gt;

+  &lt;property name="jmx.server.port" value="9012" /&gt;

+  &lt;property name="cluster.server.address" value="192.168.1.75" /&gt;

+  &lt;property name="cluster.server.port" value="9025" /&gt;

+

+  &lt;target name="state" description="Show JMX Cluster state"&gt;

+    &lt;jmx:open

+      host="${jmx.server.name}"

+      port="${jmx.server.port}"

+      username="controlRole"

+      password="tomcat"/&gt;

+    &lt;jmx:get

+      name=

+"Catalina:type=IDataSender,host=localhost,

+senderAddress=${cluster.server.address},senderPort=${cluster.server.port}"

+      attribute="connected"

+      resultproperty="IDataSender.backup.connected"

+      echo="false"

+    /&gt;

+    &lt;jmx:get

+      name="Catalina:type=ClusterSender,host=localhost"

+      attribute="senderObjectNames"

+      resultproperty="senderObjectNames"

+      echo="false"

+    /&gt;

+    &lt;!-- get current maxActiveSession from ClusterTest application

+       echo it to Ant output and store at

+       property &lt;em&gt;clustertest.maxActiveSessions.orginal&lt;/em&gt;

+    --&gt;

+    &lt;jmx:get

+      name="Catalina:type=Manager,path=/ClusterTest,host=localhost"

+      attribute="maxActiveSessions"

+      resultproperty="clustertest.maxActiveSessions.orginal"

+      echo="true"

+    /&gt;

+    &lt;!-- set maxActiveSession to 100

+    --&gt;

+    &lt;jmx:set

+      name="Catalina:type=Manager,path=/ClusterTest,host=localhost"

+      attribute="maxActiveSessions"

+      value="100"

+      type="int"

+    /&gt;

+    &lt;!-- get all sessions and split result as delimiter &lt;em&gt;SPACE&lt;/em&gt; for easy

+       access all session ids directly with Ant property sessions.[0..n].

+    --&gt;

+    &lt;jmx:invoke

+      name="Catalina:type=Manager,path=/ClusterTest,host=localhost"

+      operation="listSessionIds"

+      resultproperty="sessions"

+      echo="false"

+      delimiter=" "

+    /&gt;

+    &lt;!-- Access session attribute &lt;em&gt;Hello&lt;/em&gt; from first session.

+    --&gt;

+    &lt;jmx:invoke

+      name="Catalina:type=Manager,path=/ClusterTest,host=localhost"

+      operation="getSessionAttribute"

+      resultproperty="Hello"

+      echo="false"

+    &gt;

+      &lt;arg value="${sessions.0}"/&gt;

+      &lt;arg value="Hello"/&gt;

+    &lt;/jmx:invoke&gt;

+    &lt;!-- Query for all application manager.of the server from all hosts

+       and bind all attributes from all found manager MBeans.

+    --&gt;

+    &lt;jmx:query

+      name="Catalina:type=Manager,*"

+      resultproperty="manager"

+      echo="true"

+      attributebinding="true"

+    /&gt;

+    &lt;!-- echo the create properties --&gt;

+&lt;echo&gt;

+senderObjectNames: ${senderObjectNames.0}

+IDataSender.backup.connected: ${IDataSender.backup.connected}

+session: ${sessions.0}

+manager.length: ${manager.length}

+manager.0.name: ${manager.0.name}

+manager.1.name: ${manager.1.name}

+hello: ${Hello}

+manager.ClusterTest.0.name: ${manager.ClusterTest.0.name}

+manager.ClusterTest.0.activeSessions: ${manager.ClusterTest.0.activeSessions}

+manager.ClusterTest.0.counterSend_EVT_SESSION_EXPIRED:

+ ${manager.ClusterTest.0.counterSend_EVT_SESSION_EXPIRED}

+manager.ClusterTest.0.counterSend_EVT_GET_ALL_SESSIONS:

+ ${manager.ClusterTest.0.counterSend_EVT_GET_ALL_SESSIONS}

+&lt;/echo&gt;

+

+  &lt;/target&gt;

+

+&lt;/project&gt;

+</pre>

+   </td></tr>

+</table>

+   <p><b>import:</b> Import the JMX Accessor Project with 

+   <em>&lt;import file="${CATALINA.HOME}/bin/catalina-tasks.xml" /&gt;</em> and

+   reference the tasks with <em>jmxOpen</em>, <em>jmxSet</em>, <em>jmxGet</em>,

+   <em>jmxQuery</em>, <em>jmxInvoke</em>, <em>jmxEquals</em> and <em>jmxCondition</em>.</p>

+

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JMXAccessorOpenTask - JMX open connection task"><!--()--></a><a name="JMXAccessorOpenTask_-_JMX_open_connection_task"><strong>JMXAccessorOpenTask - JMX open connection task</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+List of Attributes<br>

+<table border="1" cellpadding="5">

+

+  <tr>

+    <th align="center" bgcolor="aqua">Attribute</th>

+    <th align="center" bgcolor="aqua">Description</th>

+    <th align="center" bgcolor="aqua">Default value</th>

+  </tr>

+

+  <tr>

+    <td>url</td>

+    <td>Set JMX connection URL - <em>service:jmx:rmi:///jndi/rmi://localhost:8050/jmxrmi</em>

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>host</td>

+    <td>Set the host, shortcut the very long URL syntax.

+    </td>

+    <td><code>localhost</code></td>

+  </tr>

+

+  <tr>

+    <td>port</td>

+    <td>Set the remote connection port 

+    </td>

+    <td><code>8050</code></td>

+  </tr>

+

+  <tr>

+    <td>username</td>

+    <td>remote JMX connection user name.

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>password</td>

+    <td>remote JMX connection password.

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>ref</td>

+    <td>Name of the internal connection reference. With this attribute you can

+        configure more the one connection inside the same Ant project.

+    </td>

+    <td><code>jmx.server</code></td>

+  </tr>

+

+  <tr>

+    <td>echo</td>

+    <td>Echo the command usage (for access analysis or debugging)

+    </td>

+    <td><code>false</code></td>

+  </tr>

+  

+  <tr>

+    <td>if</td>

+    <td>Only execute if a property of the given name <b>exists</b> in the current project.

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>unless</td>

+    <td>Only execute if a property of the given name <b>not exists</b> in the current project.

+    </td>

+    <td></td>

+  </tr>

+

+</table>

+</p>

+<p>

+Example to open a new JMX connection<br>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+  &lt;jmx:open

+    host="${jmx.server.name}"

+    port="${jmx.server.port}"

+  /&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>  

+<p>

+Example to open a JMX connection from URL, with authorization and 

+store at other reference <br>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+  &lt;jmx:open

+    url="service:jmx:rmi:///jndi/rmi://localhost:9024/jmxrmi"

+    ref="jmx.server.9024"

+    username="controlRole"

+    password="tomcat"

+  /&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>  

+

+<p>

+Example to open a JMX connection from URL, with authorization and 

+store at other reference, but only when property <em>jmx.if</em> exists and 

+<em>jmx.unless</em> not exists<br>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+  &lt;jmx:open

+    url="service:jmx:rmi:///jndi/rmi://localhost:9024/jmxrmi"

+    ref="jmx.server.9024"

+    username="controlRole"

+    password="tomcat"

+    if="jmx.if"

+    unless="jmx.unless"

+  /&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p> 

+<p><b>Note</b>: All properties from <em>jmxOpen</em> task also exists at all 

+other tasks and conditions. 

+</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JMXAccessorGetTask:  get attribute value Ant task"><!--()--></a><a name="JMXAccessorGetTask:__get_attribute_value_Ant_task"><strong>JMXAccessorGetTask:  get attribute value Ant task</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+List of Attributes<br>

+<table border="1" cellpadding="5">

+

+  <tr>

+    <th align="center" bgcolor="aqua">Attribute</th>

+    <th align="center" bgcolor="aqua">Description</th>

+    <th align="center" bgcolor="aqua">Default value</th>

+  </tr>

+

+  <tr>

+    <td>name</td>

+    <td>Full qualified JMX ObjectName -- <em>Catalina:type=Server</em>

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>attribute</td>

+    <td>Existing MBean attribute (see Tomcat MBean description above)

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>ref</td>

+    <td>JMX Connection reference

+    </td>

+    <td><code>jmx.server</code></td>

+  </tr>

+

+  <tr>

+    <td>echo</td>

+    <td>Echo command usage (access and result)

+    </td>

+    <td><code>false</code></td>

+  </tr>

+

+  <tr>

+    <td>resultproperty</td>

+    <td>Save result at this project property

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>delimiter</td>

+    <td>Split result with delimiter (java.util.StringTokenizier) 

+        and use resultproperty as prefix to store tokens.

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>separatearrayresults</td>

+    <td>When return value is an array, save result as property list 

+    (<em>$resultproperty.[0..N]</em> and <em>$resultproperty.length</em>) 

+    </td>

+    <td><code>true</code></td>

+  </tr>

+

+</table>

+</p>

+<p>

+Example to get remote MBean attribute from default JMX connection <br>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+  &lt;jmx:get

+    name="Catalina:type=Manager,path=/servlets-examples,host=localhost"

+    attribute="maxActiveSessions"

+    resultproperty="servlets-examples.maxActiveSessions"

+  /&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>  

+<p>

+Example to get and result array and split it at separate properties<br>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+  &lt;jmx:get

+    name="Catalina:type=ClusterSender,host=localhost"

+    attribute="senderObjectNames"

+    resultproperty="senderObjectNames"

+  /&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+Access the senderObjectNames properties with:

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+  ${senderObjectNames.length} give the number of returned sender list.

+  ${senderObjectNames.[0..N]} found all sender object names

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>  

+

+<p>

+Example to get IDataSender attribute connected only when cluster is configured.<br>

+<em>Note:</em> The <code>name</code> attribute value was wrapped here to be

+more readable. It has to be all on the same line, without spaces.

+</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+  &lt;jmx:query

+    failonerror="false"

+    name="Catalina:type=Cluster,host=${tomcat.application.host}"

+    resultproperty="cluster"

+  /&gt;

+  &lt;jmx:get

+    name=

+"Catalina:type=IDataSender,host=${tomcat.application.host},

+senderAddress=${cluster.backup.address},senderPort=${cluster.backup.port}"

+    attribute="connected"

+    resultproperty="datasender.connected"

+    if="cluster.0.name" /&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JMXAccessorSetTask:  set attribute value Ant task"><!--()--></a><a name="JMXAccessorSetTask:__set_attribute_value_Ant_task"><strong>JMXAccessorSetTask:  set attribute value Ant task</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+List of Attributes<br>

+<table border="1" cellpadding="5">

+

+  <tr>

+    <th align="center" bgcolor="aqua">Attribute</th>

+    <th align="center" bgcolor="aqua">Description</th>

+    <th align="center" bgcolor="aqua">Default value</th>

+  </tr>

+

+  <tr>

+    <td>name</td>

+    <td>Full qualified JMX ObjectName -- <em>Catalina:type=Server</em>

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>attribute</td>

+    <td>Existing MBean attribute (see Tomcat MBean description above)

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>value</td>

+    <td>value that set to attribute 

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>type</td>

+    <td>type of the attribute.

+    </td>

+    <td>java.lang.String</td>

+  </tr>

+

+  <tr>

+    <td>ref</td>

+    <td>JMX Connection reference

+    </td>

+    <td><code>jmx.server</code></td>

+  </tr>

+

+  <tr>

+    <td>echo</td>

+    <td>Echo command usage (access and result)

+    </td>

+    <td><code>false</code></td>

+  </tr>

+

+</table>

+</p>

+<p>

+Example to set remote MBean attribute value<br>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+  &lt;jmx:set

+    name="Catalina:type=Manager,path=/servlets-examples,host=localhost"

+    attribute="maxActiveSessions"

+    value="500"

+    type="int"

+  /&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>  

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JMXAccessorInvokeTask:  invoke MBean operation Ant task"><!--()--></a><a name="JMXAccessorInvokeTask:__invoke_MBean_operation_Ant_task"><strong>JMXAccessorInvokeTask:  invoke MBean operation Ant task</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+List of Attributes<br>

+<table border="1" cellpadding="5">

+

+  <tr>

+    <th align="center" bgcolor="aqua">Attribute</th>

+    <th align="center" bgcolor="aqua">Description</th>

+    <th align="center" bgcolor="aqua">Default value</th>

+  </tr>

+

+  <tr>

+    <td>name</td>

+    <td>Full qualified JMX ObjectName -- <em>Catalina:type=Server</em>

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>operation</td>

+    <td>Existing MBean operation (see Tomcat 

+        <a href="funcspecs/fs-admin-opers.html">funcspecs/fs-admin-opers.html</a>).

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>ref</td>

+    <td>JMX Connection reference

+    </td>

+    <td><code>jmx.server</code></td>

+  </tr>

+

+  <tr>

+    <td>echo</td>

+    <td>Echo command usage (access and result)

+    </td>

+    <td><code>false</code></td>

+  </tr>

+

+  <tr>

+    <td>resultproperty</td>

+    <td>Save result at this project property

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>delimiter</td>

+    <td>Split result with delimiter (java.util.StringTokenizier) 

+        and use resultproperty as prefix to store tokens.

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>separatearrayresults</td>

+    <td>When return value is an array, save result as property list 

+    (<em>$resultproperty.[0..N]</em> and <em>$resultproperty.length</em>) 

+    </td>

+    <td><code>true</code></td>

+  </tr>

+

+</table>

+</p>

+<p>

+stop an application <br>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+  &lt;jmx:invoke

+    name="Catalina:type=Manager,path=/servlets-examples,host=localhost"

+    operation="stop"/&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+Now you can find the sessionid at <em>${sessions.[0..N}</em> properties and access the count

+with ${sessions.length} property.

+</p>  

+<p>

+Example to get all sessionids <br>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+  &lt;jmx:invoke

+    name="Catalina:type=Manager,path=/servlets-examples,host=localhost"

+    operation="listSessionIds"

+    resultproperty="sessions"

+    delimiter=" "

+  /&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+Now you can find the sessionid at <em>${sessions.[0..N}</em> properties and access the count

+with ${sessions.length} property.

+</p>  

+<p>

+Example to get remote MBean session attribute from session ${sessionid.0}<br>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+  &lt;jmx:invoke

+    name="Catalina:type=Manager,path=/ClusterTest,host=localhost"

+    operation="getSessionAttribute"

+    resultproperty="hello"&gt;

+     &lt;arg value="${sessionid.0}"/&gt;

+     &lt;arg value="Hello" /&gt;

+  &lt;/jmx:invoke&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>

+<p>

+Example to create a new access logger valve at vhost <em>localhost</em>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+ &lt;jmx:invoke

+         name="Catalina:type=MBeanFactory"

+         operation="createAccessLoggerValve"

+         resultproperty="accessLoggerObjectName"

+ &gt;

+     &lt;arg value="Catalina:type=Host,host=localhost"/&gt;

+ &lt;/jmx:invoke&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+Now you can find new MBean with name stored at <em>${accessLoggerObjectName}</em>

+property.

+</p>  

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JMXAccessorQueryTask:  query MBean Ant task"><!--()--></a><a name="JMXAccessorQueryTask:__query_MBean_Ant_task"><strong>JMXAccessorQueryTask:  query MBean Ant task</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+List of Attributes<br>

+<table border="1" cellpadding="5">

+

+  <tr>

+    <th align="center" bgcolor="aqua">Attribute</th>

+    <th align="center" bgcolor="aqua">Description</th>

+    <th align="center" bgcolor="aqua">Default value</th>

+  </tr>

+

+  <tr>

+    <td>name</td>

+    <td>JMX  ObjectName query string -- <em>Catalina:type=Manager,*</em>

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>ref</td>

+    <td>JMX Connection reference

+    </td>

+    <td><code>jmx.server</code></td>

+  </tr>

+

+  <tr>

+    <td>echo</td>

+    <td>Echo command usage (access and result)

+    </td>

+    <td><code>false</code></td>

+  </tr>

+

+  <tr>

+    <td>resultproperty</td>

+    <td>Prefix project property name to all founded MBeans (<em>mbeans.[0..N].objectname</em>)

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>attributebinduing</td>

+    <td>bind ALL MBean attributes in addition to <em>name</em>

+    </td>

+    <td><code>false</code></td>

+  </tr>

+

+  <tr>

+    <td>delimiter</td>

+    <td>Split result with delimiter (java.util.StringTokenizier) 

+        and use resultproperty as prefix to store tokens.

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>separatearrayresults</td>

+    <td>When return value is an array, save result as property list 

+    (<em>$resultproperty.[0..N]</em> and <em>$resultproperty.length</em>) 

+    </td>

+    <td><code>true</code></td>

+  </tr>

+

+</table>

+</p>

+<p>

+Get all Manager ObjectNames from all services and Hosts <br>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+  &lt;jmx:query

+    name="Catalina:type=Manager,*

+    resultproperty="manager" /&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+Now you can find the Session Manager at <em>${manager.[0..N].name}</em> 

+properties and access the result object counter with ${manager.length} property.

+</p>  

+<p>

+Example to get the Manager from <em>servlet-examples</em> application an bind all MBean properties<br>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+  &lt;jmx:query

+    name="Catalina:type=Manager,path=/servlet-examples,host=localhost*"

+    attributebinding="true"

+    resultproperty="manager.servletExamples" /&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+Now you can find the manager at <em>${manager.servletExamples.0.name}</em> property

+and can access all properties from this manager with <em>${manager.servletExamples.0.[manager attribute names]</em>}.

+The result object counter from MBeans is stored ad ${manager.length} property.

+</p>  

+

+<p>

+Example to get all MBeans from a server and store inside an external XML property file<br>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;project name="jmx.query"

+            xmlns:jmx="antlib:org.apache.catalina.ant.jmx"

+            default="query-all" basedir="."&gt;

+&lt;property name="jmx.host" value="localhost"/&gt;

+&lt;property name="jmx.port" value="8050"/&gt;

+&lt;property name="jmx.username" value="controlRole"/&gt;

+&lt;property name="jmx.password" value="tomcat"/&gt;

+

+&lt;target name="query-all" description="Query all MBeans of a server"&gt;

+  &lt;!-- Configure connection --&gt;

+  &lt;jmx:open

+    host="${jmx.host}"

+    port="${jmx.port}"

+    ref="jmx.server"

+    username="${jmx.username}"

+    password="${jmx.password}"/&gt;

+  &lt;!-- Query MBean list --&gt;

+  &lt;jmx:query

+    name="*:*"

+    resultproperty="mbeans"

+    attributebinding="false"/&gt;

+

+  &lt;echoproperties

+    destfile="mbeans.properties"

+    prefix="mbeans."

+    format="xml"/&gt;

+

+  &lt;!-- Print results --&gt;

+  &lt;echo message=

+    "Number of MBeans in server ${jmx.host}:${jmx.port} is ${mbeans.length}"/&gt;

+&lt;/target&gt;

+&lt;/project&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+Now you can find all MBeans inside the file <em>mbeans.properties</em>.

+</p>  

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JMXAccessorCreateTask:  remote create MBean Ant task"><!--()--></a><a name="JMXAccessorCreateTask:__remote_create_MBean_Ant_task"><strong>JMXAccessorCreateTask:  remote create MBean Ant task</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+List of Attributes<br>

+<table border="1" cellpadding="5">

+

+  <tr>

+    <th align="center" bgcolor="aqua">Attribute</th>

+    <th align="center" bgcolor="aqua">Description</th>

+    <th align="center" bgcolor="aqua">Default value</th>

+  </tr>

+

+  <tr>

+    <td>name</td>

+    <td>Full qualified JMX ObjectName -- <em>Catalina:type=MBeanFactory</em>

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>className</td>

+    <td>Existing MBean full qualified class name (see Tomcat MBean description above)

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>classLoader</td>

+    <td>ObjectName of server or web application classloader <br>

+    ( <em>Catalina:type=ServerClassLoader,name=[server,common,shared]</em> or<br>

+     <em>Catalina:type=WebappClassLoader,path=/myapps,host=localhost</em>) 

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>ref</td>

+    <td>JMX Connection reference

+    </td>

+    <td><code>jmx.server</code></td>

+  </tr>

+

+  <tr>

+    <td>echo</td>

+    <td>Echo command usage (access and result)

+    </td>

+    <td><code>false</code></td>

+  </tr>

+

+</table>

+</p>

+<p>

+Example to create remote MBean<br>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+  &lt;jmx:create

+    ref="${jmx.reference}"

+    name="Catalina:type=MBeanFactory"

+    className="org.apache.commons.modeler.BaseModelMBean"

+    classLoader="Catalina:type=ServerClassLoader,name=server"&gt;

+    &lt;arg value="org.apache.catalina.mbeans.MBeanFactory" /&gt;

+  &lt;/jmx:create&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>  

+<p>

+    <b>Warning</b>: Many Tomcat MBeans can't be linked to their parent once<br>

+    created. The Valve, Cluster and Realm MBeans are not automatically<br>

+    connected with their parent. Use the <em>MBeanFacrory</em> create<br>

+    operation instead.

+</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JMXAccessorUnregisterTask:  remote unregister MBean Ant task"><!--()--></a><a name="JMXAccessorUnregisterTask:__remote_unregister_MBean_Ant_task"><strong>JMXAccessorUnregisterTask:  remote unregister MBean Ant task</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+List of Attributes<br>

+<table border="1" cellpadding="5">

+

+  <tr>

+    <th align="center" bgcolor="aqua">Attribute</th>

+    <th align="center" bgcolor="aqua">Description</th>

+    <th align="center" bgcolor="aqua">Default value</th>

+  </tr>

+

+  <tr>

+    <td>name</td>

+    <td>Full qualified JMX ObjectName -- <em>Catalina:type=MBeanFactory</em>

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>ref</td>

+    <td>JMX Connection reference

+    </td>

+    <td><code>jmx.server</code></td>

+  </tr>

+

+  <tr>

+    <td>echo</td>

+    <td>Echo command usage (access and result)

+    </td>

+    <td><code>false</code></td>

+  </tr>

+

+</table>

+</p>

+<p>

+Example to unregister remote MBean<br>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+  &lt;jmx:unregister

+    name="Catalina:type=MBeanFactory"

+  /&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>  

+<p>

+    <b>Warning</b>: A lot of Tomcat MBeans can't be unregister.<br>

+    The MBeans are not unlinked from their parent. Use <em>MBeanFacrory</em><br>

+    remove operation instead.

+</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JMXAccessorCondition:  express condition"><!--()--></a><a name="JMXAccessorCondition:__express_condition"><strong>JMXAccessorCondition:  express condition</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+List of Attributes<br>

+<table border="1" cellpadding="5">

+

+  <tr>

+    <th align="center" bgcolor="aqua">Attribute</th>

+    <th align="center" bgcolor="aqua">Description</th>

+    <th align="center" bgcolor="aqua">Default value</th>

+  </tr>

+

+ <tr>

+    <td>url</td>

+    <td>Set JMX connection URL - <em>service:jmx:rmi:///jndi/rmi://localhost:8050/jmxrmi</em>

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>host</td>

+    <td>Set the host, shortcut the very long URL syntax.

+    </td>

+    <td><code>localhost</code></td>

+  </tr>

+

+  <tr>

+    <td>port</td>

+    <td>Set the remote connection port 

+    </td>

+    <td><code>8050</code></td>

+  </tr>

+

+  <tr>

+    <td>username</td>

+    <td>remote JMX connection user name.

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>password</td>

+    <td>remote JMX connection password.

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>ref</td>

+    <td>Name of the internal connection reference. With this attribute you can

+        configure more the one connection inside the same Ant project.

+    </td>

+    <td><code>jmx.server</code></td>

+  </tr>

+

+  <tr>

+    <td>name</td>

+    <td>Full qualified JMX ObjectName -- <em>Catalina:type=Server</em>

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>echo</td>

+    <td>Echo condition usage (access and result)

+    </td>

+    <td><code>false</code></td>

+  </tr>

+

+  <tr>

+    <td>if</td>

+    <td>Only execute if a property of the given name <b>exists</b> in the current project.

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>unless</td>

+    <td>Only execute if a property of the given name <b>not exists</b> in the current project.

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>value (requiered)</td>

+    <td>Second arg for operation

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>type</td>

+    <td>Value type to express operation (support <em>long</em> and <em>double</em>)

+    </td>

+    <td><code>long</code></td>

+  </tr>

+

+  <tr>

+    <td>operation</td>

+    <td> express one 

+    <ul>

+    <li>==  equals</li>

+    <li>!=  not equals</li>

+    <li>&gt; greater than (&amp;gt;)</li>

+    <li>&gt;= greater than or equals (&amp;gt;=)</li>

+    <li>&lt; lesser than (&amp;lt;)</li>

+    <li>&lt;= lesser than or equals (&amp;lt;=)</li>

+    </ul>         

+    </td>

+    <td><code>==</code></td>

+  </tr>

+

+</table>

+</p>

+<p>

+Wait for server connection and that cluster backup node is accessable<br>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;target name="wait"&gt;

+   &lt;waitfor maxwait="${maxwait}" maxwaitunit="second" timeoutproperty="server.timeout" &gt;

+     &lt;and&gt;

+       &lt;socket server="${server.name}" port="${server.port}"/&gt;

+       &lt;http url="${url}"/&gt;

+       &lt;jmx:condition

+         operation="=="

+         host="localhost"

+         port="9014"

+         username="controlRole"

+         password="tomcat"

+         name=

+"Catalina:type=IDataSender,host=localhost,senderAddress=192.168.111.1,senderPort=9025"

+         attribute="connected"

+         value="true"

+       /&gt;

+    &lt;/and&gt;

+  &lt;/waitfor&gt;

+  &lt;fail if="server.timeout" message="Server ${url} don't answer inside ${maxwait} sec" /&gt;

+  &lt;echo message="Server ${url} alive" /&gt;

+&lt;/target&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>  

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JMXAccessorEqualsCondition:  equals MBean Ant condition"><!--()--></a><a name="JMXAccessorEqualsCondition:__equals_MBean_Ant_condition"><strong>JMXAccessorEqualsCondition:  equals MBean Ant condition</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+List of Attributes<br>

+<table border="1" cellpadding="5">

+

+  <tr>

+    <th align="center" bgcolor="aqua">Attribute</th>

+    <th align="center" bgcolor="aqua">Description</th>

+    <th align="center" bgcolor="aqua">Default value</th>

+  </tr>

+

+ <tr>

+    <td>url</td>

+    <td>Set JMX connection URL - <em>service:jmx:rmi:///jndi/rmi://localhost:8050/jmxrmi</em>

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>host</td>

+    <td>Set the host, shortcut the very long URL syntax.

+    </td>

+    <td><code>localhost</code></td>

+  </tr>

+

+  <tr>

+    <td>port</td>

+    <td>Set the remote connection port 

+    </td>

+    <td><code>8050</code></td>

+  </tr>

+

+  <tr>

+    <td>username</td>

+    <td>remote JMX connection user name.

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>password</td>

+    <td>remote JMX connection password.

+    </td>

+    <td></td>

+  </tr>

+

+  <tr>

+    <td>ref</td>

+    <td>Name of the internal connection reference. With this attribute you can

+        configure more the one connection inside the same Ant project.

+    </td>

+    <td><code>jmx.server</code></td>

+  </tr>

+

+  <tr>

+    <td>name</td>

+    <td>Full qualified JMX ObjectName -- <em>Catalina:type=Server</em>

+    </td>

+    <td></td>

+  </tr>

+

+

+  <tr>

+    <td>echo</td>

+    <td>Echo condition usage (access and result)

+    </td>

+    <td><code>false</code></td>

+  </tr>

+

+</table>

+</p>

+<p>

+Wait for server connection and that cluster backup node is accessible<br>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;target name="wait"&gt;

+  &lt;waitfor maxwait="${maxwait}" maxwaitunit="second" timeoutproperty="server.timeout" &gt;

+    &lt;and&gt;

+      &lt;socket server="${server.name}" port="${server.port}"/&gt;

+      &lt;http url="${url}"/&gt;

+      &lt;jmx:equals

+        host="localhost"

+        port="9014"

+        username="controlRole"

+        password="tomcat"

+        name=

+"Catalina:type=IDataSender,host=localhost,senderAddress=192.168.111.1,senderPort=9025"

+        attribute="connected"

+        value="true"

+      /&gt;

+    &lt;/and&gt;

+  &lt;/waitfor&gt;

+  &lt;fail if="server.timeout" message="Server ${url} don't answer inside ${maxwait} sec" /&gt;

+  &lt;echo message="Server ${url} alive" /&gt;

+&lt;/target&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>  

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/proxy-howto.html b/tomcat-uid/webapps/docs/proxy-howto.html
new file mode 100644
index 0000000..69fae9f
--- /dev/null
+++ b/tomcat-uid/webapps/docs/proxy-howto.html
@@ -0,0 +1,121 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Proxy Support HOW-TO</title><meta name="author" content="Craig R. McClanahan"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Proxy Support HOW-TO</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Apache_1.3_Proxy_Support">Apache 1.3 Proxy Support</a></li><li><a href="#Apache_2.0_Proxy_Support">Apache 2.0 Proxy Support</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Using standard configurations of Tomcat, web applications can ask for

+the server name and port number to which the request was directed for

+processing.  When Tomcat is running standalone with the

+<a href="config/http.html">HTTP/1.1 Connector</a>, it will generally

+report the server name specified in the request, and the port number on

+which the <strong>Connector</strong> is listening.  The servlet API

+calls of interest, for this purpose, are:</p>

+<ul>

+<li><code>ServletRequest.getServerName()</code>: Returns the host name of the server to which the request was sent.</li>

+<li><code>ServletRequest.getServerPort()</code>: Returns the host name of the server to which the request was sent.</li>

+<li><code>ServletRequest.getLocalName()</code>: Returns the host name of the Internet Protocol (IP) interface on which the request was received.</li>

+<li><code>ServletRequest.getLocalPort()</code>:  Returns the Internet Protocol (IP) port number of the interface on which the request was received.</li>

+</ul>

+

+<p>When you are running behind a proxy server (or a web server that is

+configured to behave like a proxy server), you will sometimes prefer to

+manage the values returned by these calls.  In particular, you will

+generally want the port number to reflect that specified in the original

+request, not the one on which the <strong>Connector</strong> itself is

+listening.  You can use the <code>proxyName</code> and <code>proxyPort</code>

+attributes on the <code>&lt;Connector&gt;</code> element to configure

+these values.</p>

+

+<p>Proxy support can take many forms.  The following sections describe

+proxy configurations for several common cases.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Apache 1.3 Proxy Support"><!--()--></a><a name="Apache_1.3_Proxy_Support"><strong>Apache 1.3 Proxy Support</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Apache 1.3 supports an optional module (<code>mod_proxy</code>) that

+configures the web server to act as a proxy server.  This can be used to

+forward requests for a particular web application to a Tomcat 6 instance,

+without having to configure a web connector such as <code>mod_jk</code>.

+To accomplish this, you need to perform the following tasks:</p>

+<ol>

+<li>Configure your copy of Apache so that it includes the

+    <code>mod_proxy</code> module.  If you are building from source,

+    the easiest way to do this is to include the

+    <code>--enable-module=proxy</code> directive on the

+    <code>./configure</code> command line.</li>

+<li>If not already added for you, make sure that you are loading the

+    <code>mod_proxy</code> module at Apache startup time, by using the

+    following directives in your <code>httpd.conf</code> file:

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+LoadModule proxy_module  {path-to-modules}/mod_proxy.so

+AddModule  mod_proxy.c

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div></li>

+<li>Include two directives in your <code>httpd.conf</code> file for

+    each web application that you wish to forward to Tomcat 6.  For

+    example, to forward an application at context path <code>/myapp</code>:

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+ProxyPass         /myapp  http://localhost:8081/myapp

+ProxyPassReverse  /myapp  http://localhost:8081/myapp

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    which tells Apache to forward URLs of the form

+    <code>http://localhost/myapp/*</code> to the Tomcat 6 connector

+    listening on port 8081.</li>

+<li>Configure your copy of Tomcat 6 to include a special

+    <code>&lt;Connector&gt;</code> element, with appropriate

+    proxy settings, for example:

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Connector port="8081" ...

+              proxyName="www.mycompany.com"

+              proxyPort="80"/&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    which will cause servlets inside this web application to think that

+    all proxied requests were directed to <code>www.mycompany.com</code>

+    on port 80.</li>

+<li>It is legal to omit the <code>proxyName</code> attribute from the

+    <code>&lt;Connector&gt;</code> element.  If you do so, the value

+    returned by <code>request.getServerName()</code> will by the host

+    name on which Tomcat is running.  In the example above, it would be

+    <code>localhost</code>.</li>

+<li>If you also have a <code>&lt;Connector&gt;</code> listening on port

+    8080 (nested within the same <a href="config/service.html">Service</a>

+    element), the requests to either port will share the same set of

+    virtual hosts and web applications.</li>

+<li>You might wish to use the IP filtering features of your operating

+    system to restrict connections to port 8081 (in this example) to

+    be allowed <strong>only</strong> from the server that is running

+    Apache.</li>

+<li>Alternatively, you can set up a series of web applications that are

+    only available via proxying, as follows:

+    <ul>

+    <li>Configure another <code>&lt;Service&gt;</code> that contains

+        only a <code>&lt;Connector&gt;</code> for the proxy port.</li>

+    <li>Configure appropriate <a href="config/engine.html">Engine</a>,

+        <a href="config/host.html">Host</a>, and

+        <a href="config/context.html">Context</a> elements for the virtual hosts

+        and web applications accessible via proxying.</li>

+    <li>Optionally, protect port 8081 with IP filters as described

+        earlier.</li>

+    </ul></li>

+<li>When requests are proxied by Apache, the web server will be recording

+    these requests in its access log.  Therefore, you will generally want to

+    disable any access logging performed by Tomcat itself.</li>

+</ol>

+

+<p>When requests are proxied in this manner, <strong>all</strong> requests

+for the configured web applications will be processed by Tomcat (including

+requests for static content).  You can improve performance by using the

+<code>mod_jk</code> web connector instead of <code>mod_proxy</code>. 

+<code>mod_jk</code> can be configured so that the web server serves static

+content that is not processed by filters or security constraints defined

+within the web application's deployment descriptor

+(<code>/WEB-INF/web.xml</code>).</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Apache 2.0 Proxy Support"><!--()--></a><a name="Apache_2.0_Proxy_Support"><strong>Apache 2.0 Proxy Support</strong></a></font></td></tr><tr><td><blockquote>

+The same instructions hold true as for 1.3. (Except in Apache 2.0,

+you may omit <code>AddModule  mod_proxy.c</code>)

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/realm-howto.html b/tomcat-uid/webapps/docs/realm-howto.html
new file mode 100644
index 0000000..a20edf3
--- /dev/null
+++ b/tomcat-uid/webapps/docs/realm-howto.html
@@ -0,0 +1,1184 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Realm Configuration HOW-TO</title><meta name="author" content="Craig R. McClanahan"><meta name="author" content="Yoav Shapira"><meta name="author" content="Andrew R. Jaquith"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Realm Configuration HOW-TO</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Quick_Start">Quick Start</a></li><li><a href="#Overview">Overview</a><ol><li><a href="#What_is_a_Realm?">What is a Realm?</a></li><li><a href="#Configuring_a_Realm">Configuring a Realm</a></li></ol></li><li><a href="#Common_Features">Common Features</a><ol><li><a href="#Digested_Passwords">Digested Passwords</a></li><li><a href="#Example_Application">Example Application</a></li><li><a href="#Manager_Application">Manager Application</a></li><li><a href="#Realm_Logging">Realm Logging</a></li></ol></li><li><a href="#Standard_Realm_Implementations">Standard Realm Implementations</a><ol><li><a href="#JDBCRealm">JDBCRealm</a></li><li><a href="#DataSourceRealm">DataSourceRealm</a></li><li><a href="#JNDIRealm">JNDIRealm</a></li><li><a href="#UserDatabaseRealm">UserDatabaseRealm</a></li><li><a href="#MemoryRealm">MemoryRealm</a></li><li><a href="#JAASRealm">JAASRealm</a></li><li><a href="#CombinedRealm">CombinedRealm</a></li><li><a href="#LockOutRealm">LockOutRealm</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Quick Start"><!--()--></a><a name="Quick_Start"><strong>Quick Start</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>This document describes how to configure Tomcat to support <em>container

+managed security</em>, by connecting to an existing "database" of usernames,

+passwords, and user roles.  You only need to care about this if you are using

+a web application that includes one or more

+<code>&lt;security-constraint&gt;</code> elements, and a

+<code>&lt;login-config&gt;</code> element defining how users are required

+to authenticate themselves.  If you are not utilizing these features, you can

+safely skip this document.</p>

+

+<p>For fundamental background information about container managed security,

+see the <a href="http://wiki.apache.org/tomcat/Specifications">Servlet

+Specification (Version 2.4)</a>, Section 12.</p>

+

+<p>For information about utilizing the <em>Single Sign On</em> feature of

+Tomcat 6 (allowing a user to authenticate themselves once across the entire

+set of web applications associated with a virtual host), see

+<a href="config/host.html#Single Sign On">here</a>.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Overview"><strong>Overview</strong></a></font></td></tr><tr><td><blockquote>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="What is a Realm?"><!--()--></a><a name="What_is_a_Realm?"><strong>What is a Realm?</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>A <strong>Realm</strong> is a "database" of usernames and passwords that

+identify valid users of a web application (or set of web applications), plus

+an enumeration of the list of <em>roles</em> associated with each valid user.

+You can think of roles as similar to <em>groups</em> in Unix-like operating

+systems, because access to specific web application resources is granted to

+all users possessing a particular role (rather than enumerating the list of

+associated usernames).  A particular user can have any number of roles

+associated with their username.</p>

+

+<p>Although the Servlet Specification describes a portable mechanism for

+applications to <em>declare</em> their security requirements (in the

+<code>web.xml</code> deployment descriptor), there is no portable API

+defining the interface between a servlet container and the associated user

+and role information.  In many cases, however, it is desirable to "connect"

+a servlet container to some existing authentication database or mechanism

+that already exists in the production environment.  Therefore, Tomcat 6

+defines a Java interface (<code>org.apache.catalina.Realm</code>) that

+can be implemented by "plug in" components to establish this connection.

+Five standard plug-ins are provided, supporting connections to various

+sources of authentication information:</p>

+<ul>

+<li><a href="#JDBCRealm">JDBCRealm</a> - Accesses authentication information

+    stored in a relational database, accessed via a JDBC driver.</li>

+<li><a href="#DataSourceRealm">DataSourceRealm</a> - Accesses authentication

+    information stored in a relational database, accessed via a named JNDI

+    JDBC DataSource.</li>

+<li><a href="#JNDIRealm">JNDIRealm</a> - Accesses authentication information

+    stored in an LDAP based directory server, accessed via a JNDI provider.

+    </li>

+<li><a href="#UserDatabaseRealm">UserDatabaseRealm</a> - Accesses authentication

+    information stored in an UserDatabase JNDI resource, which is typically

+    backed by an XML document (<code>conf/tomcat-users.xml</code>).</li>

+<li><a href="#MemoryRealm">MemoryRealm</a> - Accesses authentication

+    information stored in an in-memory object collection, which is initialized

+    from an XML document (<code>conf/tomcat-users.xml</code>).</li>

+<li><a href="#JAASRealm">JAASRealm</a> - Accesses authentication information

+    through the Java Authentication &amp; Authorization Service (JAAS)

+    framework.</li>

+</ul>

+

+<p>It is also possible to write your own <code>Realm</code> implementation,

+and integrate it with Tomcat 6.  To do so, you need to:

+<ul>

+  <li>Implement <code>org.apache.catalina.Realm</code>,</li>

+  <li>Place your compiled realm in $CATALINA_HOME/lib,</li>

+  <li>Declare your realm as described in the "Configuring a Realm" section below,</li>

+  <li>Declare your realm to the <a href="mbeans-descriptor-howto.html">MBeans Descriptor</a>.</li>

+</ul>

+</p>

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Configuring a Realm"><!--()--></a><a name="Configuring_a_Realm"><strong>Configuring a Realm</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Before getting into the details of the standard Realm implementations, it is

+important to understand, in general terms, how a Realm is configured.  In

+general, you will be adding an XML element to your <code>conf/server.xml</code>

+configuration file, that looks something like this:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Realm className="... class name for this implementation"

+       ... other attributes for this implementation .../&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>The <code>&lt;Realm&gt;</code> element can be nested inside any one of 

+of the following <code>Container</code> elements.  The location of the

+Realm element has a direct impact on the "scope" of that Realm

+(i.e. which web applications will share the same authentication information):

+</p>

+<ul>

+<li><em>Inside an &lt;Engine&gt; element</em> - This Realm will be shared

+    across ALL web applications on ALL virtual hosts, UNLESS it is overridden

+    by a Realm element nested inside a subordinate <code>&lt;Host&gt;</code>

+    or <code>&lt;Context&gt;</code> element.</li>

+<li><em>Inside a &lt;Host&gt; element</em> - This Realm will be shared across

+    ALL web applications for THIS virtual host, UNLESS it is overridden

+    by a Realm element nested inside a subordinate <code>&lt;Context&gt;</code>

+    element.</li>

+<li><em>Inside a &lt;Context&gt; element</em> - This Realm will be used ONLY

+    for THIS web application.</li>

+</ul>

+

+

+</blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Common Features"><!--()--></a><a name="Common_Features"><strong>Common Features</strong></a></font></td></tr><tr><td><blockquote>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Digested Passwords"><!--()--></a><a name="Digested_Passwords"><strong>Digested Passwords</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>For each of the standard <code>Realm</code> implementations, the

+user's password (by default) is stored in clear text.  In many

+environments, this is undesirable because casual observers of the

+authentication data can collect enough information to log on

+successfully, and impersonate other users.  To avoid this problem, the

+standard implementations support the concept of <em>digesting</em>

+user passwords.  This allows the stored version of the passwords to be

+encoded (in a form that is not easily reversible), but that the

+<code>Realm</code> implementation can still utilize for

+authentication.</p>

+

+<p>When a standard realm authenticates by retrieving the stored

+password and comparing it with the value presented by the user, you

+can select digested passwords by specifying the <code>digest</code>

+attribute on your <code>&lt;Realm&gt;</code> element.  The value for

+this attribute must be one of the digest algorithms supported by the

+<code>java.security.MessageDigest</code> class (SHA, MD2, or MD5).

+When you select this option, the contents of the password that is

+stored in the <code>Realm</code> must be the cleartext version of the

+password, as digested by the specified algorithm.</p>

+

+<p>When the <code>authenticate()</code> method of the Realm is called, the

+(cleartext) password specified by the user is itself digested by the same

+algorithm, and the result is compared with the value returned by the

+<code>Realm</code>.  An equal match implies that the cleartext version of the

+original password is the same as the one presented by the user, so that this

+user should be authorized.</p>

+

+<p>To calculate the digested value of a cleartext password, two convenience

+techniques are supported:</p>

+<ul>

+<li>If you are writing an application that needs to calculate digested

+    passwords dynamically, call the static <code>Digest()</code> method of the

+    <code>org.apache.catalina.realm.RealmBase</code> class, passing the

+    cleartext password and the digest algorithm name as arguments.  This

+    method will return the digested password.</li>

+<li>If you want to execute a command line utility to calculate the digested

+    password, simply execute

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+java org.apache.catalina.realm.RealmBase \

+    -a {algorithm} {cleartext-password}

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    and the digested version of this cleartext password will be returned to

+    standard output.</li>

+</ul>

+

+<p>If using digested passwords with DIGEST authentication, the cleartext used

+   to generate the digest is different and the digest must use the MD5

+   algorithm. In the examples above <code>{cleartext-password}</code> must be

+   replaced with <code>{username}:{realm}:{cleartext-password}</code>. For

+   example, in a development environment this might take the form

+   <code>testUser:Authentication required:testPassword</code>. The value for

+   <code>{realm}</code> is taken from the <code>&lt;realm-name&gt;</code>

+   element of the web application's <code>&lt;login-config&gt;</code>. If

+   not specified in web.xml, the default value of <code>Authentication

+   required</code> is used.</p>

+

+<p>To use either of the above techniques, the

+<code>$CATALINA_HOME/lib/catalina.jar</code> and 

+<code>$CATALINA_HOME/bin/tomcat-juli.jar</code> files will need to be

+on your class path to make the <code>RealmBase</code> class available.

+</p>

+

+<p>Non-ASCII usernames and/or passwords are supported using

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>java org.apache.catalina.realm.RealmBase \

+    -a {algorithm} -e {encoding} {input}

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+but care is required to ensure that the non-ASCII input is

+correctly passed to the digester.

+The digester returns <code>{input}:{digest}</code>. If the input appears

+corrupted in the return, the digest will be invalid.</p>

+

+</blockquote></td></tr></table>

+

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Example Application"><!--()--></a><a name="Example_Application"><strong>Example Application</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The example application shipped with Tomcat 6 includes an area that is

+protected by a security constraint, utilizing form-based login.  To access it,

+point your browser at

+<a href="http://localhost:8080/examples/jsp/security/protected/">http://localhost:8080/examples/jsp/security/protected/</a>

+and log on with one of the usernames and passwords described for the default

+<a href="#UserDatabaseRealm">UserDatabaseRealm</a>.</p>

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Manager Application"><!--()--></a><a name="Manager_Application"><strong>Manager Application</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>If you wish to use the <a href="manager-howto.html">Manager Application</a>

+to deploy and undeploy applications in a running Tomcat installation, you

+MUST add the "manager-gui" role to at least one username in your selected

+Realm implementation.  This is because the manager web application itself uses a

+security constraint that requires role "manager-gui" to access ANY request URI

+within the HTML interface of that application.</p>

+

+<p>For security reasons, no username in the default Realm (i.e. using

+<code>conf/tomcat-users.xml</code> is assigned the "manager-gui" role.

+Therefore, no one will be able to utilize the features of this application

+until the Tomcat administrator specifically assigns this role to one or more

+users.</p>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Realm Logging"><!--()--></a><a name="Realm_Logging"><strong>Realm Logging</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Debugging and exception messages logged by a <code>Realm</code> will

+   be recorded by the logging configuration associated with the container

+   for the realm: its surrounding <a href="config/context.html">Context</a>,

+   <a href="config/host.html">Host</a>, or

+   <a href="config/engine.html">Engine</a>.</p>

+

+</blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Standard Realm Implementations"><!--()--></a><a name="Standard_Realm_Implementations"><strong>Standard Realm Implementations</strong></a></font></td></tr><tr><td><blockquote>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JDBCRealm"><strong>JDBCRealm</strong></a></font></td></tr><tr><td><blockquote>

+

+<h3>Introduction</h3>

+

+<p><strong>JDBCRealm</strong> is an implementation of the Tomcat 6

+<code>Realm</code> interface that looks up users in a relational database

+accessed via a JDBC driver.  There is substantial configuration flexibility

+that lets you adapt to existing table and column names, as long as your

+database structure conforms to the following requirements:</p>

+<ul>

+<li>There must be a table, referenced below as the <em>users</em> table,

+    that contains one row for every valid user that this <code>Realm</code>

+    should recognize.</li>

+<li>The <em>users</em> table must contain at least two columns (it may

+    contain more if your existing applications required it):

+    <ul>

+    <li>Username to be recognized by Tomcat when the user logs in.</li>

+    <li>Password to be recognized by Tomcat when the user logs in.

+        This value may in cleartext or digested - see below for more

+        information.</li>

+    </ul></li>

+<li>There must be a table, referenced below as the <em>user roles</em> table,

+    that contains one row for every valid role that is assigned to a

+    particular user.  It is legal for a user to have zero, one, or more than

+    one valid role.</li>

+<li>The <em>user roles</em> table must contain at least two columns (it may

+    contain more if your existing applications required it):

+    <ul>

+    <li>Username to be recognized by Tomcat (same value as is specified

+        in the <em>users</em> table).</li>

+    <li>Role name of a valid role associated with this user.</li>

+    </ul></li>

+</ul>

+

+<h3>Quick Start</h3>

+

+<p>To set up Tomcat to use JDBCRealm, you will need to follow these steps:</p>

+<ol>

+<li>If you have not yet done so, create tables and columns in your database

+    that conform to the requirements described above.</li>

+<li>Configure a database username and password for use by Tomcat, that has

+    at least read only access to the tables described above.  (Tomcat will

+    never attempt to write to these tables.)</li>

+<li>Place a copy of the JDBC driver you will be using inside the

+    <code>$CATALINA_HOME/lib</code> directory.

+    Note that <strong>only</strong> JAR files are recognized!</li>

+<li>Set up a <code>&lt;Realm&gt;</code> element, as described below, in your

+    <code>$CATALINA_BASE/conf/server.xml</code> file.</li>

+<li>Restart Tomcat 6 if it is already running.</li>

+</ol>

+

+<h3>Realm Element Attributes</h3>

+

+<p>To configure JDBCRealm, you will create a <code>&lt;Realm&gt;</code>

+element and nest it in your <code>$CATALINA_BASE/conf/server.xml</code> file,

+as described <a href="#Configuring a Realm">above</a>. The attributes for the

+JDBCRealm are defined in the <a href="config/realm.html">Realm</a> configuration

+documentation.</p>

+

+<h3>Example</h3>

+

+<p>An example SQL script to create the needed tables might look something

+like this (adapt the syntax as required for your particular database):</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+create table users (

+  user_name         varchar(15) not null primary key,

+  user_pass         varchar(15) not null

+);

+

+create table user_roles (

+  user_name         varchar(15) not null,

+  role_name         varchar(15) not null,

+  primary key (user_name, role_name)

+);

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Example <code>Realm</code> elements are included (commented out) in the

+default <code>$CATALINA_BASE/conf/server.xml</code> file.  Here's an example

+for using a MySQL database called "authority", configured with the tables

+described above, and accessed with username "dbuser" and password "dbpass":</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Realm className="org.apache.catalina.realm.JDBCRealm"

+      driverName="org.gjt.mm.mysql.Driver"

+   connectionURL="jdbc:mysql://localhost/authority?user=dbuser&amp;amp;password=dbpass"

+       userTable="users" userNameCol="user_name" userCredCol="user_pass"

+   userRoleTable="user_roles" roleNameCol="role_name"/&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<h3>Additional Notes</h3>

+

+<p>JDBCRealm operates according to the following rules:</p>

+<ul>

+<li>When a user attempts to access a protected resource for the first time,

+    Tomcat 6 will call the <code>authenticate()</code> method of this

+    <code>Realm</code>.  Thus, any changes you have made to the database

+    directly (new users, changed passwords or roles, etc.) will be immediately

+    reflected.</li>

+<li>Once a user has been authenticated, the user (and his or her associated

+    roles) are cached within Tomcat for the duration of the user's login.

+    (For FORM-based authentication, that means until the session times out or

+    is invalidated; for BASIC authentication, that means until the user

+    closes their browser).  The cached user is <strong>not</strong> saved and

+    restored across sessions serialisations. Any changes to the database

+    information for an already authenticated user will <strong>not</strong> be

+    reflected until the next time that user logs on again.</li>

+<li>Administering the information in the <em>users</em> and <em>user roles</em>

+    table is the responsibility of your own applications.  Tomcat does not

+    provide any built-in capabilities to maintain users and roles.</li>

+</ul>

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="DataSourceRealm"><strong>DataSourceRealm</strong></a></font></td></tr><tr><td><blockquote>

+

+<h3>Introduction</h3>

+

+<p><strong>DataSourceRealm</strong> is an implementation of the Tomcat 6

+<code>Realm</code> interface that looks up users in a relational database

+accessed via a JNDI named JDBC DataSource.  There is substantial configuration

+flexibility that lets you adapt to existing table and column names, as long

+as your database structure conforms to the following requirements:</p>

+<ul>

+<li>There must be a table, referenced below as the <em>users</em> table,

+    that contains one row for every valid user that this <code>Realm</code>

+    should recognize.</li>

+<li>The <em>users</em> table must contain at least two columns (it may

+    contain more if your existing applications required it):

+    <ul>

+    <li>Username to be recognized by Tomcat when the user logs in.</li>

+    <li>Password to be recognized by Tomcat when the user logs in.

+        This value may in cleartext or digested - see below for more

+        information.</li>

+    </ul></li>    

+<li>There must be a table, referenced below as the <em>user roles</em> table,

+    that contains one row for every valid role that is assigned to a

+    particular user.  It is legal for a user to have zero, one, or more than

+    one valid role.</li>

+<li>The <em>user roles</em> table must contain at least two columns (it may

+    contain more if your existing applications required it):

+    <ul>

+    <li>Username to be recognized by Tomcat (same value as is specified

+        in the <em>users</em> table).</li>

+    <li>Role name of a valid role associated with this user.</li>

+    </ul></li>

+</ul>

+

+<h3>Quick Start</h3>

+                  

+<p>To set up Tomcat to use DataSourceRealm, you will need to follow these steps:</p>

+<ol>              

+<li>If you have not yet done so, create tables and columns in your database

+    that conform to the requirements described above.</li>

+<li>Configure a database username and password for use by Tomcat, that has

+    at least read only access to the tables described above.  (Tomcat will

+    never attempt to write to these tables.)</li>

+<li>Configure a JNDI named JDBC DataSource for your database.  Refer to the

+    <a href="jndi-datasource-examples-howto.html">JNDI DataSource Example HOW-TO</a>

+    for information on how to configure a JNDI named JDBC DataSource.</li>

+<li>Set up a <code>&lt;Realm&gt;</code> element, as described below, in your

+    <code>$CATALINA_BASE/conf/server.xml</code> file.</li>

+<li>Restart Tomcat 6 if it is already running.</li>

+</ol>

+

+<h3>Realm Element Attributes</h3>

+

+<p>To configure DataSourceRealm, you will create a <code>&lt;Realm&gt;</code>

+element and nest it in your <code>$CATALINA_BASE/conf/server.xml</code> file,

+as described <a href="#Configuring a Realm">above</a>. The attributes for the

+DataSourceRealm are defined in the <a href="config/realm.html">Realm</a>

+configuration documentation.</p>

+

+<h3>Example</h3>

+

+<p>An example SQL script to create the needed tables might look something

+like this (adapt the syntax as required for your particular database):</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+create table users (

+  user_name         varchar(15) not null primary key,

+  user_pass         varchar(15) not null

+);

+

+create table user_roles (

+  user_name         varchar(15) not null,

+  role_name         varchar(15) not null,

+  primary key (user_name, role_name)

+);

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Here is an example for using a MySQL database called "authority", configured

+with the tables described above, and accessed with the JNDI JDBC DataSource with

+name "java:/comp/env/jdbc/authority".</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Realm className="org.apache.catalina.realm.DataSourceRealm"

+   dataSourceName="jdbc/authority"

+   userTable="users" userNameCol="user_name" userCredCol="user_pass"

+   userRoleTable="user_roles" roleNameCol="role_name"/&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<h3>Additional Notes</h3>

+

+<p>DataSourceRealm operates according to the following rules:</p>

+<ul>

+<li>When a user attempts to access a protected resource for the first time,

+    Tomcat 6 will call the <code>authenticate()</code> method of this

+    <code>Realm</code>.  Thus, any changes you have made to the database

+    directly (new users, changed passwords or roles, etc.) will be immediately

+    reflected.</li>

+<li>Once a user has been authenticated, the user (and his or her associated

+    roles) are cached within Tomcat for the duration of the user's login.

+    (For FORM-based authentication, that means until the session times out or

+    is invalidated; for BASIC authentication, that means until the user

+    closes their browser).  The cached user is <strong>not</strong> saved and

+    restored across sessions serialisations. Any changes to the database

+    information for an already authenticated user will <strong>not</strong> be

+    reflected until the next time that user logs on again.</li>

+<li>Administering the information in the <em>users</em> and <em>user roles</em>

+    table is the responsibility of your own applications.  Tomcat does not

+    provide any built-in capabilities to maintain users and roles.</li>

+</ul>

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JNDIRealm"><strong>JNDIRealm</strong></a></font></td></tr><tr><td><blockquote>

+

+<h3>Introduction</h3>

+

+<p><strong>JNDIRealm</strong> is an implementation of the Tomcat 6

+<code>Realm</code> interface that looks up users in an LDAP directory

+server accessed by a JNDI provider (typically, the standard LDAP

+provider that is available with the JNDI API classes). The realm

+supports a variety of approaches to using a directory for

+authentication.</p>

+

+<h4>Connecting to the directory</h4>

+

+<p>The realm's connection to the directory is defined by the

+<strong>connectionURL</strong> configuration attribute. This is a URL

+whose format is defined by the JNDI provider. It is usually an LDAP

+URL that specifies the domain name of the directory server to connect

+to, and optionally the port number and distinguished name (DN) of the

+required root naming context.</p>

+

+<p>If you have more than one provider you can configure an

+<strong>alternateURL</strong>.  If a socket connection can not be

+made to the provider at the <strong>connectionURL</strong> an

+attempt will be made to use the <strong>alternateURL</strong>.</p>

+

+<p>When making a connection in order to search the directory and

+retrieve user and role information, the realm authenticates itself to

+the directory with the username and password specified by the

+<strong>connectionName</strong> and

+<strong>connectionPassword</strong> properties. If these properties

+are not specified the connection is anonymous. This is sufficient in

+many cases.

+</p>

+

+

+<h4>Selecting the user's directory entry</h4>

+

+<p>Each user that can be authenticated must be represented in the

+directory by an individual entry that corresponds to an element in the

+initial <code>DirContext</code> defined by the

+<strong>connectionURL</strong> attribute. This user entry must have an

+attribute containing the username that is presented for

+authentication.</p>

+

+<p>Often the distinguished name of the user's entry contains the

+username presented for authentication but is otherwise the same for

+all users. In this case the <strong>userPattern</strong> attribute may

+be used to specify the DN, with "{0}" marking where

+the username should be substituted.</p>

+

+<p>Otherwise the realm must search the directory to find a unique entry

+containing the username. The following attributes configure this

+search:

+

+     <ul>

+     <li><strong>userBase</strong> - the entry that is the base of

+         the subtree containing users.  If not specified, the search

+         base is the top-level context.</li>

+

+     <li><strong>userSubtree</strong> - the search scope. Set to

+         <code>true</code> if you wish to search the entire subtree

+         rooted at the <strong>userBase</strong> entry. The default value

+         of <code>false</code> requests a single-level search

+         including only the top level.</li>

+

+     <li><strong>userSearch</strong> - pattern specifying the LDAP

+         search filter to use after substitution of the username.</li>

+

+    </ul>

+</p>

+

+

+<h4>Authenticating the user</h4>

+

+<ul>

+<li>

+<p><b>Bind mode</b></p>

+

+<p>By default the realm authenticates a user by binding to

+the directory with the DN of the entry for that user and the password

+presented by the user. If this simple bind succeeds the user is considered to

+be authenticated.</p>

+

+<p>For security reasons a directory may store a digest of the user's

+password rather than the clear text version (see <a href="#Digested Passwords">Digested Passwords</a> for more information). In that case,

+as part of the simple bind operation the directory automatically

+computes the correct digest of the plaintext password presented by the

+user before validating it against the stored value. In bind mode,

+therefore, the realm is not involved in digest processing. The

+<strong>digest</strong> attribute is not used, and will be ignored if

+set.</p>

+</li>

+

+<li>

+<p><b>Comparison mode</b></p>

+<p>Alternatively, the realm may retrieve the stored

+password from the directory and compare it explicitly with the value

+presented by the user. This mode is configured by setting the

+<strong>userPassword</strong> attribute to the name of a directory

+attribute in the user's entry that contains the password.</p>

+

+<p>Comparison mode has some disadvantages. First, the

+<strong>connectionName</strong> and

+<strong>connectionPassword</strong> attributes must be configured to

+allow the realm to read users' passwords in the directory. For

+security reasons this is generally undesirable; indeed many directory

+implementations will not allow even the directory manager to read

+these passwords. In addition, the realm must handle password digests

+itself, including variations in the algorithms used and ways of

+representing password hashes in the directory. However, the realm may

+sometimes need access to the stored password, for example to support

+HTTP Digest Access Authentication (RFC 2069). (Note that HTTP digest

+authentication is different from the storage of password digests in

+the repository for user information as discussed above).

+</p>

+</li>

+</ul>

+

+<h4>Assigning roles to the user</h4>

+

+<p>The directory realm supports two approaches to the representation

+of roles in the directory:</p>

+

+<ul>

+<li>

+<p><b>Roles as explicit directory entries</b></p>

+

+<p>Roles may be represented by explicit directory entries. A role

+entry is usually an LDAP group entry with one attribute

+containing the name of the role and another whose values are the

+distinguished names or usernames of the users in that role.  The

+following attributes configure a directory search to

+find the names of roles associated with the authenticated user:</p>

+

+<ul>

+<li><strong>roleBase</strong> - the base entry for the role search.

+    If not specified, the search base is the top-level directory

+    context.</li>

+

+<li><strong>roleSubtree</strong> - the search

+    scope. Set to <code>true</code> if you wish to search the entire

+    subtree rooted at the <code>roleBase</code> entry. The default

+    value of <code>false</code> requests a single-level search

+    including the top level only.</li>

+

+<li><strong>roleSearch</strong> - the LDAP search filter for

+    selecting role entries. It optionally includes pattern

+    replacements "{0}" for the distinguished name and/or "{1}" for the

+    username of the authenticated user.</li>

+

+<li><strong>roleName</strong> - the attribute in a role entry

+     containing the name of that role.</li>

+

+<li><strong>roleNested</strong> - enable nested roles. Set to

+     <code>true</code> if you want to nest roles in roles. If configured

+     every newly found roleName and distinguished

+     Name will be recursively tried for a new role search.

+     The default value is <code>false</code>.</li>

+

+</ul>

+

+</li>

+</ul>

+

+<ul>

+<li>

+<p><b>Roles as an attribute of the user entry</b></p>

+

+<p>Role names may also be held as the values of an attribute in the

+user's directory entry. Use <strong>userRoleName</strong> to specify

+the name of this attribute.</p>

+

+</li>

+</ul>

+<p>A combination of both approaches to role representation may be used.</p>

+

+<h3>Quick Start</h3>

+

+<p>To set up Tomcat to use JNDIRealm, you will need to follow these steps:</p>

+<ol>

+<li>Make sure your directory server is configured with a schema that matches

+    the requirements listed above.</li>

+<li>If required, configure a username and password for use by Tomcat, that has

+    read only access to the information described above.  (Tomcat will

+    never attempt to modify this information.)</li>

+<li>Set up a <code>&lt;Realm&gt;</code> element, as described below, in your

+    <code>$CATALINA_BASE/conf/server.xml</code> file.</li>

+<li>Restart Tomcat 6 if it is already running.</li>

+</ol>

+

+<h3>Realm Element Attributes</h3>

+

+<p>To configure JNDIRealm, you will create a <code>&lt;Realm&gt;</code>

+element and nest it in your <code>$CATALINA_BASE/conf/server.xml</code> file,

+as described <a href="#Configuring a Realm">above</a>. The attributes for the

+JNDIRealm are defined in the <a href="config/realm.html">Realm</a> configuration

+documentation.</p>

+

+<h3>Example</h3>

+

+<p>Creation of the appropriate schema in your directory server is beyond the

+scope of this document, because it is unique to each directory server

+implementation.  In the examples below, we will assume that you are using a

+distribution of the OpenLDAP directory server (version 2.0.11 or later), which

+can be downloaded from

+<a href="http://www.openldap.org">http://www.openldap.org</a>.  Assume that

+your <code>slapd.conf</code> file contains the following settings

+(among others):</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+database ldbm

+suffix dc="mycompany",dc="com"

+rootdn "cn=Manager,dc=mycompany,dc=com"

+rootpw secret

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>We will assume for <code>connectionURL</code> that the directory

+server runs on the same machine as Tomcat.  See <a href="http://java.sun.com/products/jndi/docs.html">http://java.sun.com/products/jndi/docs.html</a>

+for more information about configuring and using the JNDI LDAP

+provider.</p>

+

+<p>Next, assume that this directory server has been populated with elements

+as shown below (in LDIF format):</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+

+# Define top-level entry

+dn: dc=mycompany,dc=com

+objectClass: dcObject

+dc:mycompany

+

+# Define an entry to contain people

+# searches for users are based on this entry

+dn: ou=people,dc=mycompany,dc=com

+objectClass: organizationalUnit

+ou: people

+

+# Define a user entry for Janet Jones

+dn: uid=jjones,ou=people,dc=mycompany,dc=com

+objectClass: inetOrgPerson

+uid: jjones

+sn: jones

+cn: janet jones

+mail: j.jones@mycompany.com

+userPassword: janet

+

+# Define a user entry for Fred Bloggs

+dn: uid=fbloggs,ou=people,dc=mycompany,dc=com

+objectClass: inetOrgPerson

+uid: fbloggs

+sn: bloggs

+cn: fred bloggs

+mail: f.bloggs@mycompany.com

+userPassword: fred

+

+# Define an entry to contain LDAP groups

+# searches for roles are based on this entry

+dn: ou=groups,dc=mycompany,dc=com

+objectClass: organizationalUnit

+ou: groups

+

+# Define an entry for the "tomcat" role

+dn: cn=tomcat,ou=groups,dc=mycompany,dc=com

+objectClass: groupOfUniqueNames

+cn: tomcat

+uniqueMember: uid=jjones,ou=people,dc=mycompany,dc=com

+uniqueMember: uid=fbloggs,ou=people,dc=mycompany,dc=com

+

+# Define an entry for the "role1" role

+dn: cn=role1,ou=groups,dc=mycompany,dc=com

+objectClass: groupOfUniqueNames

+cn: role1

+uniqueMember: uid=fbloggs,ou=people,dc=mycompany,dc=com

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>An example <code>Realm</code> element for the OpenLDAP directory

+server configured as described above might look like this, assuming

+that users use their uid (e.g. jjones) to login to the

+application and that an anonymous connection is sufficient to search

+the directory and retrieve role information:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Realm   className="org.apache.catalina.realm.JNDIRealm"

+     connectionURL="ldap://localhost:389"

+       userPattern="uid={0},ou=people,dc=mycompany,dc=com"

+          roleBase="ou=groups,dc=mycompany,dc=com"

+          roleName="cn"

+        roleSearch="(uniqueMember={0})"

+/&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>With this configuration, the realm will determine the user's

+distinguished name by substituting the username into the

+<code>userPattern</code>, authenticate by binding to the directory

+with this DN and the password received from the user, and search the

+directory to find the user's roles.</p>

+

+<p>Now suppose that users are expected to enter their email address

+rather than their userid when logging in. In this case the realm must

+search the directory for the user's entry. (A search is also necessary

+when user entries are held in multiple subtrees corresponding perhaps

+to different organizational units or company locations).</p>

+

+<p>Further, suppose that in addition to the group entries you want to

+use an attribute of the user's entry to hold roles. Now the entry for

+Janet Jones might read as follows:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+dn: uid=jjones,ou=people,dc=mycompany,dc=com

+objectClass: inetOrgPerson

+uid: jjones

+sn: jones

+cn: janet jones

+mail: j.jones@mycompany.com

+memberOf: role2

+memberOf: role3

+userPassword: janet

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p> This realm configuration would satisfy the new requirements:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Realm   className="org.apache.catalina.realm.JNDIRealm"

+     connectionURL="ldap://localhost:389"

+          userBase="ou=people,dc=mycompany,dc=com"

+        userSearch="(mail={0})"

+      userRoleName="memberOf"

+          roleBase="ou=groups,dc=mycompany,dc=com"

+          roleName="cn"

+        roleSearch="(uniqueMember={0})"

+/&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>Now when Janet Jones logs in as "j.jones@mycompany.com", the realm

+searches the directory for a unique entry with that value as its mail

+attribute and attempts to bind to the directory as

+<code>uid=jjones,ou=people,dc=mycompany,dc=com</code> with the given

+password. If authentication succeeds, she is assigned three roles:

+"role2" and "role3", the values of the "memberOf" attribute in her

+directory entry, and "tomcat", the value of the "cn" attribute in the

+only group entry of which she is a member.</p>

+

+<p>Finally, to authenticate the user by retrieving

+the password from the directory and making a local comparison in the

+realm, you might use a realm configuration like this:</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Realm   className="org.apache.catalina.realm.JNDIRealm"

+    connectionName="cn=Manager,dc=mycompany,dc=com"

+connectionPassword="secret"

+     connectionURL="ldap://localhost:389"

+      userPassword="userPassword"

+       userPattern="uid={0},ou=people,dc=mycompany,dc=com"

+          roleBase="ou=groups,dc=mycompany,dc=com"

+          roleName="cn"

+        roleSearch="(uniqueMember={0})"

+/&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>However, as discussed above, the default bind mode for

+authentication is usually to be preferred.</p>

+

+<h3>Additional Notes</h3>

+

+<p>JNDIRealm operates according to the following rules:</p>

+<ul>

+<li>When a user attempts to access a protected resource for the first time,

+    Tomcat 6 will call the <code>authenticate()</code> method of this

+    <code>Realm</code>.  Thus, any changes you have made to the directory

+    (new users, changed passwords or roles, etc.) will be immediately

+    reflected.</li>

+<li>Once a user has been authenticated, the user (and his or her associated

+    roles) are cached within Tomcat for the duration of the user's login.

+    (For FORM-based authentication, that means until the session times out or

+    is invalidated; for BASIC authentication, that means until the user

+    closes their browser).  The cached user is <strong>not</strong> saved and

+    restored across sessions serialisations. Any changes to the directory

+    information for an already authenticated user will <strong>not</strong> be

+    reflected until the next time that user logs on again.</li>

+<li>Administering the information in the directory server

+    is the responsibility of your own applications.  Tomcat does not

+    provide any built-in capabilities to maintain users and roles.</li>

+</ul>

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="UserDatabaseRealm"><strong>UserDatabaseRealm</strong></a></font></td></tr><tr><td><blockquote>

+

+<h3>Introduction</h3>

+

+<p><strong>UserDatabaseRealm</strong> is an implementation of the Tomcat 6

+<code>Realm</code> interface that uses a JNDI resource to store user

+information. By default, the JNDI resource is backed by an XML file. It is not

+designed for large-scale production use. At startup time, the UserDatabaseRealm

+loads information about all users, and their corresponding roles, from an XML

+document (by default, this document is loaded from

+<code>$CATALINA_BASE/conf/tomcat-users.xml</code>). The users, their passwords

+and their roles may all be editing dynamically, typically via JMX. Changes may

+be saved and will be reflected in the XML file.</p>

+

+<h3>Realm Element Attributes</h3>

+

+<p>To configure UserDatabaseRealm, you will create a <code>&lt;Realm&gt;</code>

+element and nest it in your <code>$CATALINA_BASE/conf/server.xml</code> file,

+as described <a href="#Configuring a Realm">above</a>. The attributes for the

+UserDatabaseRealm are defined in the <a href="config/realm.html">Realm</a>

+configuration documentation.</p>

+

+<h3>User File Format</h3>

+

+<p>The users file uses the same format as the

+<a href="#MemoryRealm">MemoryRealm</a>.</p>

+

+<h3>Example</h3>

+

+<p>The default installation of Tomcat 6 is configured with a UserDatabaseRealm

+nested inside the <code>&lt;Engine&gt;</code> element, so that it applies

+to all virtual hosts and web applications.  The default contents of the

+<code>conf/tomcat-users.xml</code> file is:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;tomcat-users&gt;

+  &lt;user name="tomcat" password="tomcat" roles="tomcat" /&gt;

+  &lt;user name="role1"  password="tomcat" roles="role1"  /&gt;

+  &lt;user name="both"   password="tomcat" roles="tomcat,role1" /&gt;

+&lt;/tomcat-users&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<h3>Additional Notes</h3>

+

+<p>UserDatabaseRealm operates according to the following rules:</p>

+<ul>

+<li>When Tomcat first starts up, it loads all defined users and their

+    associated information from the users file. Changes made to the data in

+    this file will <strong>not</strong> be recognized until Tomcat is

+    restarted. Changes may be made via the UserDatabase resource. Tomcat

+    provides MBeans that may be accessed via JMX for this purpose.</li>

+<li>When a user attempts to access a protected resource for the first time,

+    Tomcat 6 will call the <code>authenticate()</code> method of this

+    <code>Realm</code>.</li>

+<li>Once a user has been authenticated, the user (and his or her associated

+    roles) are cached within Tomcat for the duration of the user's login.

+    (For FORM-based authentication, that means until the session times out or

+    is invalidated; for BASIC authentication, that means until the user

+    closes their browser).  The cached user is <strong>not</strong> saved and

+    restored across sessions serialisations.</li>

+</ul>

+

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="MemoryRealm"><strong>MemoryRealm</strong></a></font></td></tr><tr><td><blockquote>

+

+<h3>Introduction</h3>

+

+<p><strong>MemoryRealm</strong> is a simple demonstration implementation of the

+Tomcat 6 <code>Realm</code> interface.  It is not designed for production use.

+At startup time, MemoryRealm loads information about all users, and their

+corresponding roles, from an XML document (by default, this document is loaded

+from <code>$CATALINA_BASE/conf/tomcat-users.xml</code>).  Changes to the data

+in this file are not recognized until Tomcat is restarted.</p>

+

+<h3>Realm Element Attributes</h3>

+

+<p>To configure MemoryRealm, you will create a <code>&lt;Realm&gt;</code>

+element and nest it in your <code>$CATALINA_BASE/conf/server.xml</code> file,

+as described <a href="#Configuring a Realm">above</a>. The attributes for the

+MemoryRealm are defined in the <a href="config/realm.html">Realm</a>

+configuration documentation.</p>

+

+<h3>User File Format</h3>

+

+<p>The users file (by default, <code>conf/tomcat-users.xml</code> must be an

+XML document, with a root element <code>&lt;tomcat-users&gt;</code>.  Nested

+inside the root element will be a <code>&lt;user&gt;</code> element for each

+valid user, consisting of the following attributes:</p>

+<ul>

+<li><strong>name</strong> - Username this user must log on with.</li>

+<li><strong>password</strong> - Password this user must log on with (in

+    clear text if the <code>digest</code> attribute was not set on the

+    <code>&lt;Realm&gt;</code> element, or digested appropriately as

+    described <a href="#Digested Passwords">here</a> otherwise).</li>

+<li><strong>roles</strong> - Comma-delimited list of the role names

+    associated with this user.</li>

+</ul>

+

+<h3>Additional Notes</h3>

+

+<p>MemoryRealm operates according to the following rules:</p>

+<ul>

+<li>When Tomcat first starts up, it loads all defined users and their

+    associated information from the users file.  Changes to the data in

+    this file will <strong>not</strong> be recognized until Tomcat is

+    restarted.</li>

+<li>When a user attempts to access a protected resource for the first time,

+    Tomcat 6 will call the <code>authenticate()</code> method of this

+    <code>Realm</code>.</li>

+<li>Once a user has been authenticated, the user (and his or her associated

+    roles) are cached within Tomcat for the duration of the user's login.

+    (For FORM-based authentication, that means until the session times out or

+    is invalidated; for BASIC authentication, that means until the user

+    closes their browser).  The cached user is <strong>not</strong> saved and

+    restored across sessions serialisations.</li>

+<li>Administering the information in the users file is the responsibility

+    of your application.  Tomcat does not

+    provide any built-in capabilities to maintain users and roles.</li>

+</ul>

+

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JAASRealm"><strong>JAASRealm</strong></a></font></td></tr><tr><td><blockquote>

+

+<h3>Introduction</h3>

+

+        <p><strong>JAASRealm</strong> is an implementation of the Tomcat

+6 <code>Realm</code> interface that authenticates users through the Java

+Authentication &amp; Authorization Service (JAAS) framework which is now

+provided as part of the standard J2SE API.</p>

+        <p>Using JAASRealm gives the developer the ability to combine

+practically any conceivable security realm with Tomcat's CMA. </p>

+        <p>JAASRealm is prototype for Tomcat of the JAAS-based

+J2EE authentication framework for J2EE v1.4, based on the <a href="http://www.jcp.org/en/jsr/detail?id=196">JCP Specification

+Request 196</a> to enhance container-managed security and promote

+'pluggable' authentication mechanisms whose implementations would be

+container-independent.

+        </p>

+        <p>Based on the JAAS login module and principal (see <code>javax.security.auth.spi.LoginModule</code>

+and <code>javax.security.Principal</code>), you can develop your own

+security mechanism or wrap another third-party mechanism for

+integration with the CMA as implemented by Tomcat.

+        </p>

+

+        <h3>Quick Start</h3>

+        <p>To set up Tomcat to use JAASRealm with your own JAAS login module,

+ you will need to follow these steps:</p>

+        <ol>

+          <li>Write your own LoginModule, User and Role classes based

+on JAAS (see 

+<a href="http://docs.oracle.com/javase/1.4.2/docs/guide/security/jaas/tutorials/GeneralAcnOnly.html">the

+JAAS Authentication Tutorial</a> and 

+<a href="http://docs.oracle.com/javase/1.4.2/docs/guide/security/jaas/JAASLMDevGuide.html">the JAAS Login Module 

+Developer's Guide</a>) to be managed by the JAAS Login

+Context (<code>javax.security.auth.login.LoginContext</code>)

+When developing your LoginModule, note that JAASRealm's built-in <code>CallbackHandler</code>

+only recognizes the <code>NameCallback</code> and <code>PasswordCallback</code> at present.

+          </li>

+          <li>Although not specified in JAAS, you should create

+seperate classes to distinguish between users and roles, extending <code>javax.security.Principal</code>,

+so that Tomcat can tell which Principals returned from your login

+module are users and which are roles (see <code>org.apache.catalina.realm.JAASRealm</code>).

+Regardless, the first Principal returned is <em>always</em> treated as the user Principal.

+          </li>

+          <li>Place the compiled classes on Tomcat's classpath

+          </li>

+          <li>Set up a login.config file for Java (see <a href="http://docs.oracle.com/javase/1.4.2/docs/guide/security/jaas/tutorials/LoginConfigFile.html">JAAS

+LoginConfig file</a>) and tell Tomcat where to find it by specifying

+its location to the JVM, for instance by setting the environment

+variable: <code>JAVA_OPTS=$JAVA_OPTS -Djava.security.auth.login.config==$CATALINA_BASE/conf/jaas.config</code></li>

+

+          <li>Configure your security-constraints in your web.xml for

+the resources you want to protect</li>

+          <li>Configure the JAASRealm module in your server.xml </li>

+          <li>Restart Tomcat 6 if it is already running.</li>

+        </ol>

+        <h3>Realm Element Attributes</h3>

+        <p>To configure JAASRealm as for step 6 above, you create

+a <code>&lt;Realm&gt;</code> element and nest it in your 

+<code>$CATALINA_BASE/conf/server.xml</code>

+file within your <code>&lt;Engine&gt;</code> node. The attributes for the

+JAASRealm are defined in the <a href="config/realm.html">Realm</a>

+configuration documentation.</p>

+

+<h3>Example</h3>

+

+<p>Here is an example of how your server.xml snippet should look.</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Realm className="org.apache.catalina.realm.JAASRealm"

+                appName="MyFooRealm"

+    userClassNames="org.foobar.realm.FooUser"

+    roleClassNames="org.foobar.realm.FooRole"/&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>It is the responsibility of your login module to create and save User and 

+Role objects representing Principals for the user 

+(<code>javax.security.auth.Subject</code>). If your login module doesn't 

+create a user object but also doesn't throw a login exception, then the 

+Tomcat CMA will break and you will be left at the 

+http://localhost:8080/myapp/j_security_check URI or at some other 

+unspecified location.</p>

+

+        <p>The flexibility of the JAAS approach is two-fold: </p>

+        <ul>

+          <li>you can carry out whatever processing you require behind

+the scenes in your own login module.</li>

+          <li>you can plug in a completely different LoginModule by changing the configuration 

+and restarting the server, without any code changes to your application.</li>

+        </ul>

+

+        <h3>Additional Notes</h3>

+        <ul>

+          <li>When a user attempts to access a protected resource for

+              the first time, Tomcat 6 will call the <code>authenticate()</code>

+              method of this <code>Realm</code>.  Thus, any changes you have made in

+              the security mechanism directly (new users, changed passwords or

+              roles, etc.) will be immediately reflected.</li>

+          <li>Once a user has been authenticated, the user (and his or

+              her associated roles) are cached within Tomcat for the duration of

+              the user's login.  For FORM-based authentication, that means until

+              the session times out or is invalidated; for BASIC authentication,

+              that means until the user closes their browser.  Any changes to the

+              security information for an already authenticated user will <strong>not</strong>

+              be reflected until the next time that user logs on again.</li>

+          <li>As with other <code>Realm</code> implementations, digested passwords

+              are supported if the <code>&lt;Realm&gt;</code> element in <code>server.xml</code>

+              contains a <code>digest</code> attribute; JAASRealm's <code>CallbackHandler</code>

+              will digest the password prior to passing it back to the <code>LoginModule</code></li>  

+        </ul>

+

+</blockquote></td></tr></table>

+

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="CombinedRealm"><strong>CombinedRealm</strong></a></font></td></tr><tr><td><blockquote>

+

+    <h3>Introduction</h3>

+

+    <p><strong>CombinedRealm</strong> is an implementation of the Tomcat 6

+    <code>Realm</code> interface that authenticates users through one or more

+    sub-Realms.</p>

+

+    <p>Using CombinedRealm gives the developer the ability to combine multiple

+    Realms of the same or different types. This can be used to authenticate

+    against different sources, provide fall back in case one Realm fails or for

+    any other purpose that requires multiple Realms.</p>

+

+    <p>Sub-realms are defined by nesting <code>Realm</code> elements inside the

+    <code>Realm</code> element that defines the CombinedRealm. Authentication

+    will be attempted against each <code>Realm</code> in the order they are

+    listed. Authentication against any Realm will be sufficient to authenticate

+    the user.</p>

+

+    <h3>Realm Element Attributes</h3>

+    <p>To configure a CombinedRealm, you create a <code>&lt;Realm&gt;</code>

+    element and nest it in your <code>$CATALINA_BASE/conf/server.xml</code>

+    file within your <code>&lt;Engine&gt;</code> or <code>&lt;Host&gt;</code>.

+    You can also nest inside a <code>&lt;Context&gt;</code> node in a

+    <code>context.xml</code> file.</p>

+    

+<h3>Example</h3>

+

+<p>Here is an example of how your server.xml snippet should look to use a

+UserDatabase Realm and a DataSource Realm.</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Realm className="org.apache.catalina.realm.CombinedRealm" &gt;

+   &lt;Realm className="org.apache.catalina.realm.UserDatabaseRealm"

+             resourceName="UserDatabase"/&gt;

+   &lt;Realm className="org.apache.catalina.realm.DataSourceRealm"

+             dataSourceName="jdbc/authority"

+             userTable="users" userNameCol="user_name" userCredCol="user_pass"

+             userRoleTable="user_roles" roleNameCol="role_name"/&gt;

+&lt;/Realm&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="LockOutRealm"><strong>LockOutRealm</strong></a></font></td></tr><tr><td><blockquote>

+

+    <h3>Introduction</h3>

+

+    <p><strong>LockOutRealm</strong> is an implementation of the Tomcat 6

+    <code>Realm</code> interface that extends the CombinedRealm to provide lock

+    out functionality to provide a user lock out mechanism if there are too many

+    failed authentication attempts in a given period of time.</p>

+    

+    <p>To ensure correct operation, there is a reasonable degree of

+    synchronisation in this Realm.</p>

+    

+    <p>This Realm does not require modification to the underlying Realms or the

+    associated user storage mechanisms. It achieves this by recording all failed

+    logins, including those for users that do not exist. To prevent a DOS by

+    deliberating making requests with invalid users (and hence causing this

+    cache to grow) the size of the list of users that have failed authentication

+    is limited.</p>

+

+    <p>Sub-realms are defined by nesting <code>Realm</code> elements inside the

+    <code>Realm</code> element that defines the LockOutRealm. Authentication

+    will be attempted against each <code>Realm</code> in the order they are

+    listed. Authentication against any Realm will be sufficient to authenticate

+    the user.</p>

+

+    <h3>Realm Element Attributes</h3>

+    <p>To configure a LockOutRealm, you create a <code>&lt;Realm&gt;</code>

+    element and nest it in your <code>$CATALINA_BASE/conf/server.xml</code>

+    file within your <code>&lt;Engine&gt;</code> or <code>&lt;Host&gt;</code>.

+    You can also nest inside a <code>&lt;Context&gt;</code> node in a

+    <code>context.xml</code> file. The attributes for the

+    LockOutRealm are defined in the <a href="config/realm.html">Realm</a>

+    configuration documentation.</p>

+    

+<h3>Example</h3>

+

+<p>Here is an example of how your server.xml snippet should look to add lock out

+functionality to a UserDatabase Realm.</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Realm className="org.apache.catalina.realm.LockOutRealm" &gt;

+   &lt;Realm className="org.apache.catalina.realm.UserDatabaseRealm"

+             resourceName="UserDatabase"/&gt;

+&lt;/Realm&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+</blockquote></td></tr></table>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/security-manager-howto.html b/tomcat-uid/webapps/docs/security-manager-howto.html
new file mode 100644
index 0000000..09f8c00
--- /dev/null
+++ b/tomcat-uid/webapps/docs/security-manager-howto.html
@@ -0,0 +1,446 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Security Manager HOW-TO</title><meta name="author" content="Glenn Nielsen"><meta name="author" content="Jean-Francois Arcand"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Security Manager HOW-TO</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Background">Background</a></li><li><a href="#Permissions">Permissions</a><ol><li><a href="#Standard_Permissions">Standard Permissions</a></li><li><a href="#Tomcat_Custom_Permissions">Tomcat Custom Permissions</a></li></ol></li><li><a href="#Configuring_Tomcat_With_A_SecurityManager">Configuring Tomcat With A SecurityManager</a></li><li><a href="#Configuring_Package_Protection_in_Tomcat">Configuring Package Protection in Tomcat</a></li><li><a href="#Troubleshooting">Troubleshooting</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Background"><strong>Background</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>The Java <strong>SecurityManager</strong> is what allows a web browser

+  to run an applet in its own sandbox to prevent untrusted code from

+  accessing files on the local file system, connecting to a host other

+  than the one the applet was loaded from, and so on.  In the same way

+  the SecurityManager protects you from an untrusted applet running in

+  your browser, use of a SecurityManager while running Tomcat can protect

+  your server from trojan servlets, JSPs, JSP beans, and tag libraries.

+  Or even inadvertent mistakes.</p>

+

+  <p>Imagine if someone who is authorized to publish JSPs on your site

+  inadvertently included the following in their JSP:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;% System.exit(1); %&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+  <p>Every time this JSP was executed by Tomcat, Tomcat would exit.

+  Using the Java SecurityManager is just one more line of defense a

+  system administrator can use to keep the server secure and reliable.</p>

+

+  <p><strong>WARNING</strong> - A security audit

+  have been conducted using the Tomcat 6 codebase. Most of the critical

+  package have been protected and a new security package protection mechanism 

+  has been implemented. Still, make sure that you are satisfied with your SecurityManager 

+  configuration before allowing untrusted users to publish web applications, 

+  JSPs, servlets, beans, or tag libraries.  <strong>However, running with a 

+  SecurityManager is definitely better than running without one.</strong></p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Permissions"><strong>Permissions</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>Permission classes are used to define what Permissions a class loaded

+  by Tomcat will have.  There are a number of Permission classes that are

+  a standard part of the JDK, and you can create your own Permission class

+  for use in your own web applications.  Both techniques are used in

+  Tomcat 6.</p>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Standard Permissions"><!--()--></a><a name="Standard_Permissions"><strong>Standard Permissions</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>This is just a short summary of the standard system SecurityManager

+    Permission classes applicable to Tomcat.  See

+    <a href="http://java.sun.com/security/">http://java.sun.com/security/</a>

+    for more information.</p>

+

+    <ul>

+    <li><strong>java.util.PropertyPermission</strong> - Controls read/write

+        access to JVM properties such as <code>java.home</code>.</li>

+    <li><strong>java.lang.RuntimePermission</strong> - Controls use of

+        some System/Runtime functions like <code>exit()</code> and

+        <code>exec()</code>. Also control the package access/definition.</li>

+    <li><strong>java.io.FilePermission</strong> - Controls read/write/execute

+        access to files and directories.</li>

+    <li><strong>java.net.SocketPermission</strong> - Controls use of

+        network sockets.</li>

+    <li><strong>java.net.NetPermission</strong> - Controls use of

+        multicast network connections.</li>

+    <li><strong>java.lang.reflect.ReflectPermission</strong> - Controls

+        use of reflection to do class introspection.</li>

+    <li><strong>java.security.SecurityPermission</strong> - Controls access

+        to Security methods.</li>

+    <li><strong>java.security.AllPermission</strong> - Allows access to all

+        permissions, just as if you were running Tomcat without a

+        SecurityManager.</li>

+    </ul>

+

+  </blockquote></td></tr></table>

+

+

+  <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat Custom Permissions"><!--()--></a><a name="Tomcat_Custom_Permissions"><strong>Tomcat Custom Permissions</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>Tomcat utilizes a custom permission class called

+    <strong>org.apache.naming.JndiPermission</strong>.  This permission

+    controls read access to JNDI named file based resources.  The permission

+    name is the JNDI name and there are no actions.  A trailing "*" can be

+    used to do wild card matching for a JNDI named file resource when

+    granting permission.  For example, you might include the following

+    in your policy file:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+permission  org.apache.naming.JndiPermission  "jndi://localhost/examples/*";

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>A Permission entry like this is generated dynamically for each web

+    application that is deployed, to allow it to read its own static resources

+    but disallow it from using file access to read any other files (unless

+    permissions for those files are explicitly granted).</p>

+

+    <p>Also, Tomcat always dynamically creates the following file permissions:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+permission java.io.FilePermission "** your application context**", "read";

+

+permission java.io.FilePermission

+  "** application working directory**", "read,write";

+permission java.io.FilePermission

+  "** application working directory**/-", "read,write,delete";

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <p>Where **your application context** equals the folder (or WAR file) under which 

+    your application has been deployed and **application working directory** is the

+    temporary directory provided to your application as required by the

+    Servlet Specification.</p>

+

+  </blockquote></td></tr></table>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Configuring Tomcat With A SecurityManager"><!--()--></a><a name="Configuring_Tomcat_With_A_SecurityManager"><strong>Configuring Tomcat With A SecurityManager</strong></a></font></td></tr><tr><td><blockquote>

+

+  <h3>Policy File Format</h3>

+

+  <p>The security policies implemented by the Java SecurityManager are

+  configured in the <code>$CATALINA_BASE/conf/catalina.policy</code> file.

+  This file completely replaces the <code>java.policy</code> file present

+  in your JDK system directories.  The <code>catalina.policy</code> file

+  can be edited by hand, or you can use the

+  <a href="http://docs.oracle.com/javase/6/docs/technotes/guides/security/PolicyGuide.html">policytool</a>

+  application that comes with Java 1.2 or later.</p>

+

+  <p>Entries in the <code>catalina.policy</code> file use the standard

+  <code>java.policy</code> file format, as follows:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+// Example policy file entry

+

+grant [signedBy &lt;signer&gt;,] [codeBase &lt;code source&gt;] {

+  permission  &lt;class&gt;  [&lt;name&gt; [, &lt;action list&gt;]];

+};

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+  <p>The <strong>signedBy</strong> and <strong>codeBase</strong> entries are

+  optional when granting permissions.  Comment lines begin with "//" and

+  end at the end of the current line.  The <code>codeBase</code> is in the

+  form of a URL, and for a file URL can use the <code>${java.home}</code>

+  and <code>${catalina.home}</code> properties (which are expanded out to

+  the directory paths defined for them by the <code>JAVA_HOME</code>,

+  <code>CATALINA_HOME</code> and <code>CATALINA_BASE</code> environment

+  variables).</p>

+

+  <h3>The Default Policy File</h3>

+

+  <p>The default <code>$CATALINA_BASE/conf/catalina.policy</code> file

+  looks like this:</p>

+

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>// Licensed to the Apache Software Foundation (ASF) under one or more

+// contributor license agreements.  See the NOTICE file distributed with

+// this work for additional information regarding copyright ownership.

+// The ASF licenses this file to You under the Apache License, Version 2.0

+// (the "License"); you may not use this file except in compliance with

+// the License.  You may obtain a copy of the License at

+//

+//     http://www.apache.org/licenses/LICENSE-2.0

+//

+// Unless required by applicable law or agreed to in writing, software

+// distributed under the License is distributed on an "AS IS" BASIS,

+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+// See the License for the specific language governing permissions and

+// limitations under the License.

+

+// ============================================================================

+// catalina.policy - Security Policy Permissions for Tomcat @VERSION_MAJOR@

+//

+// This file contains a default set of security policies to be enforced (by the

+// JVM) when Catalina is executed with the "-security" option.  In addition

+// to the permissions granted here, the following additional permissions are

+// granted to the codebase specific to each web application:

+//

+// * Read access to its document root directory

+// * Read, write and delete access to its working directory

+// ============================================================================

+

+

+// ========== SYSTEM CODE PERMISSIONS =========================================

+

+

+// These permissions apply to javac

+grant codeBase "file:${java.home}/lib/-" {

+        permission java.security.AllPermission;

+};

+

+// These permissions apply to all shared system extensions

+grant codeBase "file:${java.home}/jre/lib/ext/-" {

+        permission java.security.AllPermission;

+};

+

+// These permissions apply to javac when ${java.home] points at $JAVA_HOME/jre

+grant codeBase "file:${java.home}/../lib/-" {

+        permission java.security.AllPermission;

+};

+

+// These permissions apply to all shared system extensions when

+// ${java.home} points at $JAVA_HOME/jre

+grant codeBase "file:${java.home}/lib/ext/-" {

+        permission java.security.AllPermission;

+};

+

+

+// ========== CATALINA CODE PERMISSIONS =======================================

+

+

+// These permissions apply to the daemon code

+grant codeBase "file:${catalina.home}/bin/commons-daemon.jar" {

+        permission java.security.AllPermission;

+};

+

+// These permissions apply to the logging API

+// Note: If tomcat-juli.jar is in ${catalina.base} and not in ${catalina.home},

+// update this section accordingly.

+//  grant codeBase "file:${catalina.base}/bin/tomcat-juli.jar" {..}

+grant codeBase "file:${catalina.home}/bin/tomcat-juli.jar" {

+        permission java.io.FilePermission

+         "${java.home}${file.separator}lib${file.separator}logging.properties", "read"; 

+

+        permission java.io.FilePermission

+         "${catalina.base}${file.separator}conf${file.separator}logging.properties", "read";

+        permission java.io.FilePermission

+         "${catalina.base}${file.separator}logs", "read, write";

+        permission java.io.FilePermission

+         "${catalina.base}${file.separator}logs${file.separator}*", "read, write";

+

+        permission java.lang.RuntimePermission "shutdownHooks";

+        permission java.lang.RuntimePermission "getClassLoader";

+        permission java.lang.RuntimePermission "setContextClassLoader";

+

+        permission java.util.logging.LoggingPermission "control";

+

+        permission java.util.PropertyPermission "java.util.logging.config.class", "read";

+        permission java.util.PropertyPermission "java.util.logging.config.file", "read";

+        permission java.util.PropertyPermission "catalina.base", "read";

+

+        // Note: To enable per context logging configuration, permit read access to

+        // the appropriate file. Be sure that the logging configuration is

+        // secure before enabling such access.

+        // E.g. for the examples web application (uncomment and unwrap

+        // the following to be on a single line):

+        // permission java.io.FilePermission "${catalina.base}${file.separator}

+        //  webapps${file.separator}examples${file.separator}WEB-INF

+        //  ${file.separator}classes${file.separator}logging.properties", "read";

+};

+

+// These permissions apply to the server startup code

+grant codeBase "file:${catalina.home}/bin/bootstrap.jar" {

+        permission java.security.AllPermission;

+};

+

+// These permissions apply to the servlet API classes

+// and those that are shared across all class loaders

+// located in the "lib" directory

+grant codeBase "file:${catalina.home}/lib/-" {

+        permission java.security.AllPermission;

+};

+

+

+// If using a per instance lib directory, i.e. ${catalina.base}/lib,

+// then the following permission will need to be uncommented

+// grant codeBase "file:${catalina.base}/lib/-" {

+//         permission java.security.AllPermission;

+// };

+

+

+// ========== WEB APPLICATION PERMISSIONS =====================================

+

+

+// These permissions are granted by default to all web applications

+// In addition, a web application will be given a read FilePermission

+// and JndiPermission for all files and directories in its document root.

+grant { 

+    // Required for JNDI lookup of named JDBC DataSource's and

+    // javamail named MimePart DataSource used to send mail

+    permission java.util.PropertyPermission "java.home", "read";

+    permission java.util.PropertyPermission "java.naming.*", "read";

+    permission java.util.PropertyPermission "javax.sql.*", "read";

+

+    // OS Specific properties to allow read access

+    permission java.util.PropertyPermission "os.name", "read";

+    permission java.util.PropertyPermission "os.version", "read";

+    permission java.util.PropertyPermission "os.arch", "read";

+    permission java.util.PropertyPermission "file.separator", "read";

+    permission java.util.PropertyPermission "path.separator", "read";

+    permission java.util.PropertyPermission "line.separator", "read";

+

+    // JVM properties to allow read access

+    permission java.util.PropertyPermission "java.version", "read";

+    permission java.util.PropertyPermission "java.vendor", "read";

+    permission java.util.PropertyPermission "java.vendor.url", "read";

+    permission java.util.PropertyPermission "java.class.version", "read";

+    permission java.util.PropertyPermission "java.specification.version", "read";

+    permission java.util.PropertyPermission "java.specification.vendor", "read";

+    permission java.util.PropertyPermission "java.specification.name", "read";

+

+    permission java.util.PropertyPermission "java.vm.specification.version", "read";

+    permission java.util.PropertyPermission "java.vm.specification.vendor", "read";

+    permission java.util.PropertyPermission "java.vm.specification.name", "read";

+    permission java.util.PropertyPermission "java.vm.version", "read";

+    permission java.util.PropertyPermission "java.vm.vendor", "read";

+    permission java.util.PropertyPermission "java.vm.name", "read";

+

+    // Required for OpenJMX

+    permission java.lang.RuntimePermission "getAttribute";

+

+    // Allow read of JAXP compliant XML parser debug

+    permission java.util.PropertyPermission "jaxp.debug", "read";

+

+    // Precompiled JSPs need access to these packages.

+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.el";

+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime";

+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime.*";

+    

+    // Precompiled JSPs need access to these system properties.

+    permission java.util.PropertyPermission

+     "org.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER", "read";

+    permission java.util.PropertyPermission "org.apache.el.parser.COERCE_TO_ZERO", "read";

+};

+

+

+// The Manager application needs access to the following packages to support the

+// session display functionality. These settings support the following

+// configurations:

+// - default CATALINA_HOME == CATALINA_BASE

+// - CATALINA_HOME != CATALINA_BASE, per instance Manager in CATALINA_BASE

+// - CATALINA_HOME != CATALINA_BASE, shared Manager in CATALINA_HOME

+grant codeBase "file:${catalina.base}/webapps/manager/-" {

+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina";

+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager";

+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager.util";

+};

+grant codeBase "file:${catalina.home}/webapps/manager/-" {

+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina";

+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager";

+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager.util";

+};

+

+// You can assign additional permissions to particular web applications by

+// adding additional "grant" entries here, based on the code base for that

+// application, /WEB-INF/classes/, or /WEB-INF/lib/ jar files.

+//

+// Different permissions can be granted to JSP pages, classes loaded from

+// the /WEB-INF/classes/ directory, all jar files in the /WEB-INF/lib/

+// directory, or even to individual jar files in the /WEB-INF/lib/ directory.

+//

+// For instance, assume that the standard "examples" application

+// included a JDBC driver that needed to establish a network connection to the

+// corresponding database and used the scrape taglib to get the weather from

+// the NOAA web server.  You might create a "grant" entries like this:

+//

+// The permissions granted to the context root directory apply to JSP pages.

+// grant codeBase "file:${catalina.base}/webapps/examples/-" {

+//      permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";

+//      permission java.net.SocketPermission "*.noaa.gov:80", "connect";

+// };

+//

+// The permissions granted to the context WEB-INF/classes directory

+// grant codeBase "file:${catalina.base}/webapps/examples/WEB-INF/classes/-" {

+// };

+//

+// The permission granted to your JDBC driver

+// grant codeBase "jar:file:${catalina.base}/webapps/examples/WEB-INF/lib/driver.jar!/-" {

+//      permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";

+// };

+// The permission granted to the scrape taglib

+// grant codeBase "jar:file:${catalina.base}/webapps/examples/WEB-INF/lib/scrape.jar!/-" {

+//      permission java.net.SocketPermission "*.noaa.gov:80", "connect";

+// };

+

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+  <h3>Starting Tomcat With A SecurityManager</h3>

+

+  <p>Once you have configured the <code>catalina.policy</code> file for use

+  with a SecurityManager, Tomcat can be started with a SecurityManager in

+  place by using the "-security" option:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+$CATALINA_HOME/bin/catalina.sh start -security    (Unix)

+%CATALINA_HOME%\bin\catalina start -security      (Windows)

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Configuring Package Protection in Tomcat"><!--()--></a><a name="Configuring_Package_Protection_in_Tomcat"><strong>Configuring Package Protection in Tomcat</strong></a></font></td></tr><tr><td><blockquote>

+  <p>Starting with Tomcat 5, it is now possible to configure which Tomcat

+  internal package are protected againts package definition and access. See

+  <a href="http://java.sun.com/security/seccodeguide.html">

+    http://java.sun.com/security/seccodeguide.html</a>

+    for more information.</p>    

+

+  

+  <p><strong>WARNING</strong>: Be aware that removing the default package protection 

+  could possibly open a security hole</p>

+

+  <h3>The Default Properties File</h3>

+

+  <p>The default <code>$CATALINA_BASE/conf/catalina.properties</code> file

+  looks like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>  

+#

+# List of comma-separated packages that start with or equal this string

+# will cause a security exception to be thrown when

+# passed to checkPackageAccess unless the

+# corresponding RuntimePermission ("accessClassInPackage."+package) has

+# been granted.

+package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,

+org.apache.jasper.

+#

+# List of comma-separated packages that start with or equal this string

+# will cause a security exception to be thrown when

+# passed to checkPackageDefinition unless the

+# corresponding RuntimePermission ("defineClassInPackage."+package) has

+# been granted.

+#

+# by default, no packages are restricted for definition, and none of

+# the class loaders supplied with the JDK call checkPackageDefinition.

+#

+package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,

+org.apache.tomcat.,org.apache.jasper.

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+  <p>Once you have configured the <code>catalina.properties</code> file for use

+  with a SecurityManager, remember to re-start Tomcat.</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Troubleshooting"><strong>Troubleshooting</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>If your web application attempts to execute an operation that is

+  prohibited by lack of a required Permission, it will throw an

+  <code>AccessControLException</code> or a <code>SecurityException</code>

+  when the SecurityManager detects the violation.  Debugging the permission

+  that is missing can be challenging, and one option is to turn on debug

+  output of all security decisions that are made during execution.  This

+  is done by setting a system property before starting Tomcat.  The easiest

+  way to do this is via the <code>CATALINA_OPTS</code> environment variable.

+  Execute this command:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+export CATALINA_OPTS=-Djava.security.debug=all    (Unix)

+set CATALINA_OPTS=-Djava.security.debug=all       (Windows)

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+  <p>before starting Tomcat.</p>

+

+  <p><strong>WARNING</strong> - This will generate <em>many megabytes</em>

+  of output!  However, it can help you track down problems by searching

+  for the word "FAILED" and determining which permission was being checked

+  for.  See the Java security documentation for more options that you can

+  specify here as well.</p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/setup.html b/tomcat-uid/webapps/docs/setup.html
new file mode 100644
index 0000000..c89dfde
--- /dev/null
+++ b/tomcat-uid/webapps/docs/setup.html
@@ -0,0 +1,124 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Tomcat Setup</title><meta name="author" content="Remy Maucherat"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Tomcat Setup</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Windows">Windows</a></li><li><a href="#Unix_daemon">Unix daemon</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+    <p>

+      There are several ways to set up Tomcat for running on different

+      platforms. The main documentation for this is a file called

+      <a href="RUNNING.txt">RUNNING.txt</a>. We encourage you to refer to that

+      file if the information below does not answer some of your questions.

+    </p>

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Windows"><strong>Windows</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>

+      Installing Tomcat on Windows can be done easily using the Windows 

+      installer. Its interface and functionality is similar to other wizard

+      based installers, with only a few items of interest.

+    </p>

+

+    <p>

+      <ul>

+        <li><strong>Installation as a service</strong>: Tomcat will be 

+            installed as a Windows service no matter what setting is selected.

+            Using the checkbox on the component page sets the service as "auto"

+            startup, so that Tomcat is automatically started when Windows

+            starts. For optimal security, the service should be run as a

+            separate user, with reduced permissions (see the Windows Services

+            administration tool and its documentation).</li>

+        <li><strong>Java location</strong>: The installer will provide a default

+            JRE to use to run the service. The installer uses the registry to

+            determine the base path of a Java 5 or later JRE, including the JRE

+            installed as part of the full JDK. When running on a 64-bit

+            operating system, the installer will first look for a 64-bit JRE and

+            only look for a 32-bit JRE if a 64-bit JRE is not found. It is not

+            mandatory to use the default JRE detected by the installer. Any

+            installed Java 5 or later JRE (32-bit or 64-bit) may be used.</li>

+        <li><strong>Tray icon</strong>: When Tomcat is run as a service, there

+            will not be any tray icon present when Tomcat is running. Note that

+            when choosing to run Tomcat at the end of installation, the tray

+            icon will be used even if Tomcat was installed as a service.</li>

+        <li>Refer to the

+            <a href="windows-service-howto.html">Windows Service HOW-TO</a>

+            for information on how to manage Tomcat as a Windows service.

+            </li>            

+      </ul>

+    </p>

+

+    <p>The installer will create shortcuts allowing starting and configuring 

+       Tomcat. It is important to note that the Tomcat administration web 

+       application can only be used when Tomcat is running.</p>

+

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Unix daemon"><!--()--></a><a name="Unix_daemon"><strong>Unix daemon</strong></a></font></td></tr><tr><td><blockquote>

+

+    <p>Tomcat can be run as a daemon using the jsvc tool from the 

+       commons-daemon project. Source tarballs for jsvc are included with the

+       Tomcat binaries, and need to be compiled. Building jsvc requires

+       a C ANSI compiler (such as GCC), GNU Autoconf, and a JDK.</p>

+

+    <p>Before running the script, the <code>JAVA_HOME</code> environment

+       variable should be set to the base path of the JDK. Alternately, when

+       calling the <code>./configure</code> script, the path of the JDK may

+       be specified using the <code>--with-java</code> parameter, such as

+       <code>./configure --with-java=/usr/java</code>.</p>

+

+    <p>Using the following commands should result in a compiled jsvc binary,

+       located in the <code>$CATALINA_HOME/bin</code> folder. This assumes

+       that GNU TAR is used, and that <code>CATALINA_HOME</code> is an 

+       environment variable pointing to the base path of the Tomcat 

+       installation.</p>

+  

+    <p>Please note that you should use the GNU make (gmake) instead of

+       the native BSD make on FreeBSD systems.</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+    cd $CATALINA_HOME/bin

+    tar xvfz commons-daemon-native.tar.gz

+    cd commons-daemon-1.0.x-native-src/unix

+    ./configure

+    make

+    cp jsvc ../..

+    cd ../..

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>Tomcat can then be run as a daemon using the following commands.</p>

+

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+    CATALINA_BASE=$CATALINA_HOME

+    cd $CATALINA_HOME

+    ./bin/jsvc \

+        -classpath $CATALINA_HOME/bin/bootstrap.jar \

+        -outfile $CATALINA_BASE/logs/catalina.out \

+        -errfile $CATALINA_BASE/logs/catalina.err \

+        -Dcatalina.home=$CATALINA_HOME \

+        -Dcatalina.base=$CATALINA_BASE \

+        -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager \

+        -Djava.util.logging.config.file=$CATALINA_BASE/conf/logging.properties \

+        org.apache.catalina.startup.Bootstrap

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+    <p>jsvc has other useful parameters, such as <code>-user</code> which 

+       causes it to switch to another user after the daemon initialization is

+       complete. This allows, for example, running Tomcat as a non privileged

+       user while still being able to use privileged ports. 

+       <code>jsvc --help</code> will return the full jsvc usage 

+       information. In particular, the <code>-debug</code> option is useful

+       to debug issues running jsvc.</p>

+

+    <p>The file <code>$CATALINA_HOME/bin/daemon.sh</code> can be used as a

+       template for starting Tomcat automatically at boot time from

+       <code>/etc/init.d</code> with jsvc.</p>

+

+    <p>Note that the Commons-Daemon JAR file must be on your runtime classpath 

+       to run Tomcat in this manner.  The Commons-Daemon JAR file is in the

+       Class-Path entry of the bootstrap.jar manifest, but if you get a

+       ClassNotFoundException or a NoClassDefFoundError for a Commons-Daemon

+       class, add the Commons-Daemon JAR to the -cp argument when launching

+       jsvc.</p> 

+

+  </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/ssi-howto.html b/tomcat-uid/webapps/docs/ssi-howto.html
new file mode 100644
index 0000000..5ddb0a0
--- /dev/null
+++ b/tomcat-uid/webapps/docs/ssi-howto.html
@@ -0,0 +1,357 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - SSI How To</title><meta name="author" content="Glenn L. Nielsen"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>SSI How To</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Introduction">Introduction</a></li><li><a href="#Installation">Installation</a></li><li><a href="#Servlet_Configuration">Servlet Configuration</a></li><li><a href="#Filter_Configuration">Filter Configuration</a></li><li><a href="#Directives">Directives</a></li><li><a href="#Variables">Variables</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction"><strong>Introduction</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>SSI (Server Side Includes) are directives that are placed in HTML pages,

+and evaluated on the server while the pages are being served. They let you

+add dynamically generated content to an existing HTML page, without having

+to serve the entire page via a CGI program, or other dynamic technology.

+</p>

+

+<p>Within Tomcat SSI support can be added when using Tomcat as your

+HTTP server and you require SSI support.  Typically this is done

+during development when you don't want to run a web server like Apache.</p>

+

+<p>Tomcat SSI support implements the same SSI directives as Apache.  See the

+<a href="http://httpd.apache.org/docs/howto/ssi.html#basicssidirectives">

+Apache Introduction to SSI</a> for information on using SSI directives.</p>

+

+<p>SSI support is available as a servlet and as a filter. You should use one

+or the other to provide SSI support but not both.</p>

+

+<p>Servlet based SSI support is implemented using the class

+<code>org.apache.catalina.ssi.SSIServlet</code>.  Traditionally, this servlet

+is mapped to the URL pattern "*.shtml".</p>

+

+<p>Filter based SSI support is implemented using the class

+<code>org.apache.catalina.ssi.SSIFilter</code>.  Traditionally, this filter

+is mapped to the URL pattern "*.shtml", though it can be mapped to "*" as

+it will selectively enable/disable SSI processing based on mime types.  The

+contentType init param allows you to apply SSI processing to JSP pages,

+javascript, or any other content you wish.</p>

+<p>By default SSI support is disabled in Tomcat.</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Installation"><strong>Installation</strong></a></font></td></tr><tr><td><blockquote>

+

+<p><strong>CAUTION</strong> - SSI directives can be used to execute programs

+external to the Tomcat JVM. If you are using the Java SecurityManager this

+will bypass your security policy configuration in <code>catalina.policy.</code>

+</p>

+

+<p>To use the SSI servlet, remove the XML comments from around the SSI servlet

+and servlet-mapping configuration in

+<code>$CATALINA_BASE/conf/web.xml</code>.</p>

+

+<p>To use the SSI filter, remove the XML comments from around the SSI filter

+and filter-mapping configuration in

+<code>$CATALINA_BASE/conf/web.xml</code>.</p>

+

+<p>Only Contexts which are marked as privileged may use SSI features (see the

+privileged property of the Context element).</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Servlet Configuration"><!--()--></a><a name="Servlet_Configuration"><strong>Servlet Configuration</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>There are several servlet init parameters which can be used to

+configure the behaviour of the SSI servlet.

+<ul>

+<li><strong>buffered</strong> - Should output from this servlet be buffered?

+(0=false, 1=true) Default 0 (false).</li>

+<li><strong>debug</strong> - Debugging detail level for messages logged

+by this servlet. Default 0.</li>

+<li><strong>expires</strong> - The number of seconds before a page with SSI

+directives will expire. Default behaviour is for all SSI directives to be

+evaluated for every request.</li>

+<li><strong>isVirtualWebappRelative</strong> - Should "virtual" SSI directive

+paths be interpreted as relative to the context root, instead of the server

+root? Default false.</li>

+<li><strong>inputEncoding</strong> - The encoding to be assumed for SSI

+resources if one cannot be determined from the resource itself. Default is

+the default platform encoding.</li>

+<li><strong>outputEncoding</strong> - The encoding to be used for the result

+of the SSI processing. Default is UTF-8.</li>

+<li><strong>allowExec</strong> - Is the exec command enabled? Default is

+false.</li>

+</ul>

+</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Filter Configuration"><!--()--></a><a name="Filter_Configuration"><strong>Filter Configuration</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>There are several filter init parameters which can be used to

+configure the behaviour of the SSI filter.

+<ul>

+<li><strong>contentType</strong> - A regex pattern that must be matched before

+SSI processing is applied. When crafting your own pattern, don't forget that a

+mime content type may be followed by an optional character set in the form

+"mime/type; charset=set" that you must take into account.  Default is

+"text/x-server-parsed-html(;.*)?".</li>

+<li><strong>debug</strong> - Debugging detail level for messages logged

+by this servlet. Default 0.</li>

+<li><strong>expires</strong> - The number of seconds before a page with SSI

+directives will expire. Default behaviour is for all SSI directives to be

+evaluated for every request.</li>

+<li><strong>isVirtualWebappRelative</strong> - Should "virtual" SSI directive

+paths be interpreted as relative to the context root, instead of the server

+root? Default false.</li>

+<li><strong>allowExec</strong> - Is the exec command enabled? Default is

+false.</li>

+</ul>

+</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Directives"><strong>Directives</strong></a></font></td></tr><tr><td><blockquote>

+<p>Server Side Includes are invoked by embedding SSI directives in an HTML document

+ whose type will be processed by the SSI servlet. The directives take the form of an HTML

+ comment. The directive is replaced by the results of interpreting it before sending the

+ page to the client. The general form of a directive is: </p>

+<p> <code>&lt;!--#directive [parm=value] --&gt;</code></p>

+<p>The directives are:

+<ul>

+<li>

+<strong>config</strong> - <code>&lt;!--#config timefmt="%B %Y" --&gt;</code>

+Used to set the format of dates and other items processed by SSI

+</li>

+<li>

+<strong>echo</strong> -   <code>&lt;!--#echo var="VARIABLE_NAME" --&gt;</code>

+will be replaced by the value of the variable.

+</li>

+<li>

+<strong>exec</strong> -  Used to run commands on the host system.

+</li>

+<li>

+<strong>include</strong> -  <code>&lt;!--#include virtual="file-name" --&gt;</code>

+inserts the contents

+</li>

+<li>

+<strong>flastmod</strong> - <code>&lt;!--#flastmod file="filename.shtml" --&gt;</code>

+Returns the time that a file was lost modified.

+</li>

+<li>

+<strong>fsize</strong> - <code>&lt;!--#fsize file="filename.shtml" --&gt;</code>

+Returns the size of a file.

+</li>

+<li>

+<strong>printenv</strong> - <code>&lt;!--#printenv --&gt;</code>

+Returns the list of all the defined variables.

+</li>

+<li>

+<strong>set</strong> - <code>&lt;!--#set var="foo" value="Bar" --&gt;</code>

+is used to assign a value to a user-defind variable.

+</li>

+<li>

+<strong>if elif endif else</strong> - Used to create conditional sections. For example:</li>

+<code>&lt;!--#config timefmt="%A" --&gt;<br>

+  &lt;!--#if expr="$DATE_LOCAL = /Monday/" --&gt;<br>

+  &lt;p&gt;Meeting at 10:00 on Mondays&lt;/p&gt;<br>

+  &lt;!--#elif expr="$DATE_LOCAL = /Friday/" --&gt;<br>

+  &lt;p&gt;Turn in your time card&lt;/p&gt;<br>

+  &lt;!--#else --&gt;<br>

+  &lt;p&gt;Yoga class at noon.&lt;/p&gt;<br>

+  &lt;!--#endif --&gt;</code>

+ </ul>

+</p>

+See the

+<p> <a href="http://httpd.apache.org/docs/howto/ssi.html#basicssidirectives">

+Apache Introduction to SSI</a> for more information on using SSI directives.</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Variables"><strong>Variables</strong></a></font></td></tr><tr><td><blockquote>

+<p>The SSI servlet currently implements the following variables:

+</p>

+<table border="1">

+<tr>

+<th>Variable Name</th>

+<th>Description</th>

+</tr>

+

+<tr>

+<td>AUTH_TYPE</td>

+<td>

+  The type of authentication used for this user: BASIC, FORM, etc.</td>

+</tr>

+

+<tr>

+<td>CONTENT_LENGTH</td>

+<td>

+  The length of the data (in bytes or the number of 

+  characters) passed from a form.</td>

+</tr>

+

+<tr>

+<td>CONTENT_TYPE</td>

+<td>

+  The MIME type of the query data, such as "text/html".</td>

+</tr>

+

+<tr>

+<td>DATE_GMT</td>

+<td>

+Current date and time in GMT</td>

+</tr>

+

+<tr>

+<td>DATE_LOCAL</td>

+<td>

+Current date and time in the local time zone</td>

+</tr>

+<tr>

+<td>DOCUMENT_NAME</td>

+<td>

+The current file</td>

+</tr>

+<tr>

+<td>DOCUMENT_URI</td>

+<td>

+Virtual path to the file</td>

+</tr>

+

+<tr>

+<td>GATEWAY_INTERFACE</td>

+<td>

+  The revision of the Common Gateway Interface that the 

+  server uses if enabled: "CGI/1.1".</td>

+</tr>

+

+<tr>

+<td>HTTP_ACCEPT</td>

+<td>

+  A list of the MIME types that the client can accept.</td>

+</tr>

+

+<tr>

+<td>HTTP_ACCEPT_ENCODING</td>

+<td>

+  A list of the compression types that the client can accept.</td>

+</tr>

+

+<tr>

+<td>HTTP_ACCEPT_LANGUAGE</td>

+<td>

+  A list of the languages that the client can accept.</td>

+</tr>

+<tr>

+<td>HTTP_CONNECTION</td>

+<td>

+  The way that the connection from the client is being managed:

+  "Close" or "Keep-Alive".</td>

+</tr>

+<tr>

+<td>HTTP_HOST</td>

+<td>

+  The web site that the client requested.</td>

+</tr>

+<tr>

+<td>HTTP_REFERER</td>

+<td>

+  The URL of the document that the client linked from.</td>

+</tr>

+<tr>

+<td>HTTP_USER_AGENT</td>

+<td>

+  The browser the client is using to issue the request.</td>

+</tr>

+<tr>

+<td>LAST_MODIFIED</td>

+<td>

+Last modification date and time for current file</td>

+</tr>

+<tr>

+<td>PATH_INFO</td>

+<td>

+  Extra path information passed to a servlet.</td>

+</tr>

+<tr>

+<td>PATH_TRANSLATED</td>

+<td>

+  The translated version of the path given by the

+  variable PATH_INFO.</td>

+</tr>

+<tr>

+<td>QUERY_STRING</td>

+<td>

+The query string that follows the "?" in the URL.

+</td>

+</tr>

+<tr>

+<td>QUERY_STRING_UNESCAPED</td>

+<td>

+Undecoded query string with all shell metacharacters escaped 

+with "\"</td>

+</tr>

+<tr>

+<td>REMOTE_ADDR</td>

+<td>

+  The remote IP address of the user making the request.</td>

+</tr>

+<tr>

+<td>REMOTE_HOST</td>

+<td>

+  The remote hostname of the user making the request.</td>

+</tr>

+<tr>

+<td>REMOTE_PORT</td>

+<td>

+  The port number at remote IP address of the user making the request.</td>

+</tr>

+<tr>

+<td>REMOTE_USER</td>

+<td>

+  The authenticated name of the user.</td>

+</tr>

+<tr>

+<td>REQUEST_METHOD</td>

+<td>

+  The method with which the information request was

+  issued: "GET", "POST" etc.</td>

+</tr>

+<tr>

+<td>REQUEST_URI</td>

+<td>

+  The web page originally requested by the client.</td>

+</tr>

+<tr>

+<td>SCRIPT_FILENAME</td>

+<td>

+  The location of the current web page on the server.</td>

+</tr>

+<tr>

+<td>SCRIPT_NAME</td>

+<td>

+  The name of the web page.</td>

+</tr>

+<tr>

+<td>SERVER_ADDR</td>

+<td>

+  The server's IP address.</td>

+</tr>

+<tr>

+<td>SERVER_NAME</td>

+<td>

+  The server's hostname or IP address.</td>

+</tr>

+<tr>

+<td>SERVER_PORT</td>

+<td>

+  The port on which the server received the request.</td>

+</tr>

+<tr>

+<td>SERVER_PROTOCOL</td>

+<td>

+  The protocol used by the server. E.g. "HTTP/1.1".</td>

+</tr>

+<tr>

+<td>SERVER_SOFTWARE</td>

+<td>

+  The name and version of the server software that is 

+  answering the client request.</td>

+</tr>

+<tr>

+<td>UNIQUE_ID</td>

+<td>

+  A token used to identify the current session if one

+  has been established.</td>

+</tr>

+</table>

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/ssl-howto.html b/tomcat-uid/webapps/docs/ssl-howto.html
new file mode 100644
index 0000000..0d85d99
--- /dev/null
+++ b/tomcat-uid/webapps/docs/ssl-howto.html
@@ -0,0 +1,500 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - SSL Configuration HOW-TO</title><meta name="author" content="Christopher Cain"><meta name="author" content="Yoav Shapira"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>SSL Configuration HOW-TO</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Quick_Start">Quick Start</a></li><li><a href="#Introduction_to_SSL">Introduction to SSL</a></li><li><a href="#SSL_and_Tomcat">SSL and Tomcat</a></li><li><a href="#Certificates">Certificates</a></li><li><a href="#General_Tips_on_Running_SSL">General Tips on Running SSL</a></li><li><a href="#Configuration">Configuration</a><ol><li><a href="#Prepare_the_Certificate_Keystore">Prepare the Certificate Keystore</a></li><li><a href="#Edit_the_Tomcat_Configuration_File">Edit the Tomcat Configuration File</a></li></ol></li><li><a href="#Installing_a_Certificate_from_a_Certificate_Authority">Installing a Certificate from a Certificate Authority</a><ol><li><a href="#Create_a_local_Certificate_Signing_Request_(CSR)">Create a local Certificate Signing Request (CSR)</a></li><li><a href="#Importing_the_Certificate">Importing the Certificate</a></li></ol></li><li><a href="#Troubleshooting">Troubleshooting</a></li><li><a href="#Miscellaneous_Tips_and_Bits">Miscellaneous Tips and Bits</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Quick Start"><!--()--></a><a name="Quick_Start"><strong>Quick Start</strong></a></font></td></tr><tr><td><blockquote>

+

+    <blockquote><em>

+    <p>The description below uses the variable name $CATALINA_BASE to refer the

+    base directory against which most relative paths are resolved. If you have

+    not configured Tomcat 6 for multiple instances by setting a CATALINA_BASE

+    directory, then $CATALINA_BASE will be set to the value of $CATALINA_HOME,

+    the directory into which you have installed Tomcat 6.</p>

+    </em></blockquote>

+

+<p>To install and configure SSL support on Tomcat 6, you need to follow

+these simple steps.  For more information, read the rest of this HOW-TO.</p>

+<ol>

+<li>Create a keystore file to store the server's private key and

+self-signed certificate by executing the following command:

+<p>Windows:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+<p>Unix:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+<p></p>

+    and specify a password value of "changeit".</li><br><br>

+<li>Uncomment the "SSL HTTP/1.1 Connector" entry in

+    <code>$CATALINA_BASE/conf/server.xml</code> and modify as described in 

+    the <a href="#Configuration">Configuration section</a> below.</li>

+    <br><br>

+</ol>

+

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Introduction to SSL"><!--()--></a><a name="Introduction_to_SSL"><strong>Introduction to SSL</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>SSL, or Secure Socket Layer, is a technology which allows web browsers and

+web servers to communicate over a secured connection.  This means that the data

+being sent is encrypted by one side, transmitted, then decrypted by the other

+side before processing.  This is a two-way process, meaning that both the

+server AND the browser encrypt all traffic before sending out data.</p>

+

+<p>Another important aspect of the SSL protocol is Authentication.  This means

+that during your initial attempt to communicate with a web server over a secure

+connection, that server will present your web browser with a set of

+credentials, in the form of a "Certificate", as proof the site is who and what

+it claims to be.  In certain cases, the server may also request a Certificate

+from your web browser, asking for proof that <em>you</em> are who you claim

+to be.  This is known as "Client Authentication," although in practice this is

+used more for business-to-business (B2B) transactions than with individual

+users.  Most SSL-enabled web servers do not request Client Authentication.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="SSL and Tomcat"><!--()--></a><a name="SSL_and_Tomcat"><strong>SSL and Tomcat</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>It is important to note that configuring Tomcat to take advantage of

+secure sockets is usually only necessary when running it as a stand-alone

+web server.  When running Tomcat primarily as a Servlet/JSP container behind

+another web server, such as Apache or Microsoft IIS, it is usually necessary

+to configure the primary web server to handle the SSL connections from users.

+Typically, this server will negotiate all SSL-related functionality, then

+pass on any requests destined for the Tomcat container only after decrypting

+those requests.  Likewise, Tomcat will return cleartext responses, that will

+be encrypted before being returned to the user's browser.  In this environment,

+Tomcat knows that communications between the primary web server and the

+client are taking place over a secure connection (because your application

+needs to be able to ask about this), but it does not participate in the

+encryption or decryption itself.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Certificates"><strong>Certificates</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>In order to implement SSL, a web server must have an associated Certificate

+for each external interface (IP address) that accepts secure connections.

+The theory behind this design is that a server should provide some kind of

+reasonable assurance that its owner is who you think it is, particularly

+before receiving any sensitive information.  While a broader explanation of

+Certificates is beyond the scope of this document, think of a Certificate

+as a "digital driver's license" for an Internet address.  It states what

+company the site is associated with, along with some basic contact

+information about the site owner or administrator.</p>

+

+<p>This "driver's license" is cryptographically signed by its owner, and is

+therefore extremely difficult for anyone else to forge.  For sites involved

+in e-commerce, or any other business transaction in which authentication of

+identity is important, a Certificate is typically purchased from a well-known

+<em>Certificate Authority</em> (CA) such as VeriSign or Thawte.  Such

+certificates can be electronically verified -- in effect, the Certificate

+Authority will vouch for the authenticity of the certificates that it grants,

+so you can believe that that Certificate is valid if you trust the Certificate

+Authority that granted it.</p>

+

+<p>In many cases, however, authentication is not really a concern.  An

+administrator may simply want to ensure that the data being transmitted and

+received by the server is private and cannot be snooped by anyone who may be

+eavesdropping on the connection.  Fortunately, Java provides a relatively

+simple command-line tool, called <code>keytool</code>, which can easily create

+a "self-signed" Certificate.  Self-signed Certificates are simply user

+generated Certificates which have not been officially registered with any

+well-known CA, and are therefore not really guaranteed to be authentic at all.

+Again, this may or may not even be important, depending on your needs.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="General Tips on Running SSL"><!--()--></a><a name="General_Tips_on_Running_SSL"><strong>General Tips on Running SSL</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>The first time a user attempts to access a secured page on your site,

+he or she is typically presented with a dialog containing the details of

+the certificate (such as the company and contact name), and asked if he or she

+wishes to accept the Certificate as valid and continue with the transaction.

+Some browsers will provide an option for permanently accepting a given

+Certificate as valid, in which case the user will not be bothered with a

+prompt each time they visit your site.  Other browsers do not provide this

+option.  Once approved by the user, a Certificate will be considered valid

+for at least the entire browser session.</p>

+

+<p>Also, while the SSL protocol was designed to be as efficient as securely

+possible, encryption/decryption is a computationally expensive process from

+a performance standpoint.  It is not strictly necessary to run an entire

+web application over SSL, and indeed a developer can pick and choose which

+pages require a secure connection and which do not.  For a reasonably busy

+site, it is customary to only run certain pages under SSL, namely those

+pages where sensitive information could possibly be exchanged.  This would

+include things like login pages, personal information pages, and shopping

+cart checkouts, where credit card information could possibly be transmitted.

+Any page within an application can be requested over a secure socket by

+simply prefixing the address with <code>https:</code> instead of

+<code>http:</code>.  Any pages which absolutely <strong>require</strong>

+a secure connection should check the protocol type associated with the

+page request and take the appropriate action if <code>https</code> is not

+specified.</p>

+

+<p>Finally, using name-based virtual hosts on a secured connection can be

+problematic.  This is a design limitation of the SSL protocol itself.  The SSL

+handshake, where the client browser accepts the server certificate, must occur

+before the HTTP request is accessed.  As a result, the request information

+containing the virtual host name cannot be determined prior to authentication,

+and it is therefore not possible to assign multiple certificates to a single

+IP address.  If all virtual hosts on a single IP address need to authenticate

+against the same certificate, the addition of multiple virtual hosts should not

+interfere with normal SSL operations on the server.  Be aware, however, that

+most client browsers will compare the server's domain name against the domain

+name listed in the certificate, if any (applicable primarily to official,

+CA-signed certificates).  If the domain names do not match, these browsers will

+display a warning to the client user.  In general, only address-based virtual

+hosts are commonly used with SSL in a production environment.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Configuration"><strong>Configuration</strong></a></font></td></tr><tr><td><blockquote>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Prepare the Certificate Keystore"><!--()--></a><a name="Prepare_the_Certificate_Keystore"><strong>Prepare the Certificate Keystore</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Tomcat currently operates only on <code>JKS</code>, <code>PKCS11</code> or

+<code>PKCS12</code> format keystores.  The <code>JKS</code> format

+is Java's standard "Java KeyStore" format, and is the format created by the

+<code>keytool</code> command-line utility.  This tool is included in the JDK.

+The <code>PKCS12</code> format is an internet standard, and can be manipulated

+via (among other things) OpenSSL and Microsoft's Key-Manager.

+</p>

+

+<p>Each entry in a keystore is identified by an alias string. Whilst many

+keystore implementations treat aliases in a case insensitive manner, case

+sensitive implementations are available. The <code>PKCS11</code> specification,

+for example, requires that aliases are case sensitive. To avoid issues related

+to the case sensitivity of aliases, it is not recommended to use aliases that

+differ only in case.

+</p>

+

+<p>To import an existing certificate into a JKS keystore, please read the

+documentation (in your JDK documentation package) about <code>keytool</code>.

+Note that OpenSSL often adds readable comments before the key,

+<code>keytool</code>does not support that, so remove the OpenSSL comments if

+they exist before importing the key using <code>keytool</code>.

+</p>

+<p>To import an existing certificate signed by your own CA into a PKCS12 

+keystore using OpenSSL you would execute a command like:

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>openssl pkcs12 -export -in mycert.crt -inkey mykey.key \

+                        -out mycert.p12 -name tomcat -CAfile myCA.crt \

+                        -caname root -chain

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+For more advanced cases, consult the <a href="http://www.openssl.org/">OpenSSL

+documentation</a>.

+</p>

+<p>To create a new keystore from scratch, containing a single self-signed

+Certificate, execute the following from a terminal command line:</p>

+<p>Windows:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+<p>Unix:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>(The RSA algorithm should be preferred as a secure algorithm, and this

+also ensures general compatibility with other servers and components.)</p>

+

+<p>This command will create a new file, in the home directory of the user

+under which you run it, named "<code>.keystore</code>".  To specify a

+different location or filename, add the <code>-keystore</code> parameter,

+followed by the complete pathname to your keystore file,

+to the <code>keytool</code> command shown above.  You will also need to

+reflect this new location in the <code>server.xml</code> configuration file,

+as described later.  For example:</p>

+<p>Windows:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA \

+  -keystore \path\to\my\keystore

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+<p>Unix:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA \

+  -keystore /path/to/my/keystore

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>After executing this command, you will first be prompted for the keystore

+password.  The default password used by Tomcat is "<code>changeit</code>"

+(all lower case), although you can specify a custom password if you like.

+You will also need to specify the custom password in the

+<code>server.xml</code> configuration file, as described later.</p>

+

+<p>Next, you will be prompted for general information about this Certificate,

+such as company, contact name, and so on.  This information will be displayed

+to users who attempt to access a secure page in your application, so make

+sure that the information provided here matches what they will expect.</p>

+

+<p>Finally, you will be prompted for the <em>key password</em>, which is the

+password specifically for this Certificate (as opposed to any other

+Certificates stored in the same keystore file).  You <strong>MUST</strong>

+use the same password here as was used for the keystore password itself.

+This is a restriction of the Tomcat implementation.

+(Currently, the <code>keytool</code> prompt will tell you that pressing the

+ENTER key does this for you automatically.)</p>

+

+<p>If everything was successful, you now have a keystore file with a

+Certificate that can be used by your server.</p>

+

+<p><strong>Note:</strong> your private key password and keystore password

+should be the same.  If they differ, you will get an error along the lines

+of <code>java.io.IOException: Cannot recover key</code>, as documented in 

+<a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=38217">Bugzilla issue 38217</a>, 

+which contains further references for this issue.</p>

+

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Edit the Tomcat Configuration File"><!--()--></a><a name="Edit_the_Tomcat_Configuration_File"><strong>Edit the Tomcat Configuration File</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+Tomcat can use two different implementations of SSL:

+<ul>

+<li>the JSSE implementation provided as part of the Java runtime (since 1.4)</li>

+<li>the APR implementation, which uses the OpenSSL engine by default.</li>

+</ul>

+The exact configuration details depend on which implementation is being used.

+The implementation used by Tomcat is chosen automatically unless it is overriden as described below.

+If the installation uses <a href="apr.html">APR</a> 

+- i.e. you have installed the Tomcat native library -

+then it will use the APR SSL implementation, otherwise it will use the Java JSSE implementation.  

+</p>

+

+<p>

+  To avoid auto configuration you can define which implementation to use by specifying a classname 

+  in the <b>protocol</b> attribute of the Connector.<br>

+  To define a Java (JSSE) connector, regardless of whether the APR library is loaded or not do:

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;-- Define a blocking Java SSL Coyote HTTP/1.1 Connector on port 8443 --&gt;

+&lt;Connector protocol="org.apache.coyote.http11.Http11Protocol"

+           port="8443" .../&gt;

+

+&lt;-- Define a non-blocking Java SSL Coyote HTTP/1.1 Connector on port 8443 --&gt;

+&lt;Connector protocol="org.apache.coyote.http11.Http11NioProtocol"

+           port="8443" .../&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+Alternatively, to specify an APR connector (the APR library must be available) use:

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;-- Define a APR SSL Coyote HTTP/1.1 Connector on port 8443 --&gt;

+&lt;Connector protocol="org.apache.coyote.http11.Http11AprProtocol"

+           port="8443" .../&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+</p>

+

+<p>If you are using APR, you have the option of configuring an alternative engine to OpenSSL.

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Listener className="org.apache.catalina.core.AprLifecycleListener"

+          SSLEngine="someengine" SSLRandomSeed="somedevice" /&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+The default value is

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Listener className="org.apache.catalina.core.AprLifecycleListener"

+          SSLEngine="on" SSLRandomSeed="builtin" /&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+So to use SSL under APR, make sure the SSLEngine attribute is set to something other than <code>off</code>.

+The default value is <code>on</code> and if you specify another value, it has to be a valid engine name.

+<br>

+If you haven't compiled in SSL support into your Tomcat Native library, then you can turn this initialization off

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Listener className="org.apache.catalina.core.AprLifecycleListener"

+          SSLEngine="off" /&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+SSLRandomSeed allows to specify a source of entropy. Productive system needs a reliable source of entropy

+but entropy may need a lot of time to be collected therefore test systems could use no blocking entropy

+sources like "/dev/urandom" that will allow quicker starts of Tomcat.

+

+</p>

+

+<p>The final step is to configure the Connector in the

+<code>$CATALINA_BASE/conf/server.xml</code> file, where

+<code>$CATALINA_BASE</code> represents the base directory for the

+Tomcat 6 instance.  An example <code>&lt;Connector&gt;</code> element

+for an SSL connector is included in the default <code>server.xml</code>

+file installed with Tomcat.  For JSSE, it should look something like this:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 --&gt;

+&lt;!--

+&lt;Connector 

+           port="8443" maxThreads="200"

+           scheme="https" secure="true" SSLEnabled="true"

+           keystoreFile="${user.home}/.keystore" keystorePass="changeit"

+           clientAuth="false" sslProtocol="TLS"/&gt;

+--&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+<p>

+  The example above will throw an error if you have the APR and the Tomcat Native libraries in your path,

+  as Tomcat will try to use the APR connector. The APR connector uses different attributes for 

+  SSL keys and certificates. An example of an APR configuration is:

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 --&gt;

+&lt;!--

+&lt;Connector 

+           port="8443" maxThreads="200"

+           scheme="https" secure="true" SSLEnabled="true"

+           SSLCertificateFile="/usr/local/ssl/server.crt" 

+           SSLCertificateKeyFile="/usr/local/ssl/server.pem"

+           clientAuth="optional" SSLProtocol="TLSv1"/&gt;

+--&gt;

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>

+

+<p>You will note that the example SSL connector elements are commented out by

+default. You can either remove the comment tags from around the the example SSL

+connector you wish to use or add a new Connector element of your own. In either

+case, you will need to configure the SSL Connector for your requirements

+and environment. The configuration options and information on which attributes

+are mandatory for the JSSE based connectors (BIO and NIO) are documented in the

+SSL Support section of the <a href="config/http.html#SSL Support">HTTP

+connector</a> configuration reference. The configuration options and information

+on which attributes are mandatory for the APR connector are documented in the

+HTTPS section of the <a href="apr.html#HTTPS">APR How-To</a>.</p>

+

+<p>The <code>port</code> attribute (default value is 8443) is the TCP/IP

+port number on which Tomcat will listen for secure connections.  You can

+change this to any port number you wish (such as to the default port for

+<code>https</code> communications, which is 443).  However, special setup

+(outside the scope of this document) is necessary to run Tomcat on port

+numbers lower than 1024 on many operating systems.</p>

+

+  <blockquote><em>

+  <p>If you change the port number here, you should also change the

+  value specified for the <code>redirectPort</code> attribute on the

+  non-SSL connector.  This allows Tomcat to automatically redirect

+  users who attempt to access a page with a security constraint specifying

+  that SSL is required, as required by the Servlet Specification.</p>

+  </em></blockquote>

+

+<p>After completing these configuration changes, you must restart Tomcat as

+you normally do, and you should be in business.  You should be able to access

+any web application supported by Tomcat via SSL.  For example, try:</p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+https://localhost:8443

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+

+<p>and you should see the usual Tomcat splash page (unless you have modified

+the ROOT web application).  If this does not work, the following section

+contains some troubleshooting tips.</p>

+

+</blockquote></td></tr></table>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Installing a Certificate from a Certificate Authority"><!--()--></a><a name="Installing_a_Certificate_from_a_Certificate_Authority"><strong>Installing a Certificate from a Certificate Authority</strong></a></font></td></tr><tr><td><blockquote>

+<p>To obtain and install a Certificate from a Certificate Authority (like verisign.com, thawte.com 

+or trustcenter.de), read the previous section and then follow these instructions:</p>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Create a local Certificate Signing Request (CSR)"><!--()--></a><a name="Create_a_local_Certificate_Signing_Request_(CSR)"><strong>Create a local Certificate Signing Request (CSR)</strong></a></font></td></tr><tr><td><blockquote>

+<p>In order to obtain a Certificate from the Certificate Authority of your choice 

+you have to create a so called Certificate Signing Request (CSR). That CSR will be used 

+by the Certificate Authority to create a Certificate that will identify your website 

+as "secure". To create a CSR follow these steps:</p>

+<ul>

+<li>Create a local Certificate (as described in the previous section):

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>keytool -genkey -alias tomcat -keyalg RSA \

+    -keystore &lt;your_keystore_filename&gt;</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    Note: In some cases you will have to enter the domain of your website (i.e. <code>www.myside.org</code>)

+    in the field "first- and lastname" in order to create a working Certificate. 

+</li>

+<li>The CSR is then created with:

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>keytool -certreq -keyalg RSA -alias tomcat -file certreq.csr \

+    -keystore &lt;your_keystore_filename&gt;</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</li>

+</ul>

+<p>Now you have a file called <code>certreq.csr</code> that you can submit to the Certificate Authority (look at the

+documentation of the Certificate Authority website on how to do this). In return you get a Certificate.</p>

+</blockquote></td></tr></table>

+

+<table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Importing the Certificate"><!--()--></a><a name="Importing_the_Certificate"><strong>Importing the Certificate</strong></a></font></td></tr><tr><td><blockquote>

+<p>Now that you have your Certificate you can import it into you local keystore. 

+First of all you have to import a so called Chain Certificate or Root Certificate into your keystore. 

+After that you can proceed with importing your Certificate.</p>

+

+<ul>

+<li>Download a Chain Certificate from the Certificate Authority you obtained the Certificate from.<br>

+    For Verisign.com commercial certificates go to:

+            http://www.verisign.com/support/install/intermediate.html<br>

+        For Verisign.com trial certificates go to:

+            http://www.verisign.com/support/verisign-intermediate-ca/Trial_Secure_Server_Root/index.html<br>

+    For Trustcenter.de go to:

+            http://www.trustcenter.de/certservices/cacerts/en/en.htm#server<br>

+    For Thawte.com go to:

+            http://www.thawte.com/certs/trustmap.html<br>

+</li>

+<li>Import the Chain Certificate into your keystore

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>keytool -import -alias root -keystore &lt;your_keystore_filename&gt; \

+    -trustcacerts -file &lt;filename_of_the_chain_certificate&gt;</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</li>

+<li>And finally import your new Certificate

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>keytool -import -alias tomcat -keystore &lt;your_keystore_filename&gt; \

+    -file &lt;your_certificate_filename&gt;</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</li>

+</ul>

+</blockquote></td></tr></table>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Troubleshooting"><strong>Troubleshooting</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>Here is a list of common problems that you may encounter when setting up

+SSL communications, and what to do about them.</p>

+

+<ul>

+

+<li>When Tomcat starts up, I get an exception like

+    "java.io.FileNotFoundException: {some-directory}/{some-file} not found".

+    <blockquote>

+    <p>A likely explanation is that Tomcat cannot find the keystore file

+    where it is looking.  By default, Tomcat expects the keystore file to

+    be named <code>.keystore</code> in the user home directory under which

+    Tomcat is running (which may or may not be the same as yours :-).  If

+    the keystore file is anywhere else, you will need to add a

+    <code>keystoreFile</code> attribute to the <code>&lt;Factory&gt;</code>

+    element in the <a href="#Edit the Tomcat Configuration File">Tomcat

+    configuration file</a>.</p>

+    </blockquote></li>

+

+<li>When Tomcat starts up, I get an exception like

+    "java.io.FileNotFoundException:  Keystore was tampered with, or

+    password was incorrect".

+    <blockquote>

+    <p>Assuming that someone has not <em>actually</em> tampered with

+    your keystore file, the most likely cause is that Tomcat is using

+    a different password than the one you used when you created the

+    keystore file.  To fix this, you can either go back and

+    <a href="#Prepare the Certificate Keystore">recreate the keystore

+    file</a>, or you can add or update the <code>keystorePass</code>

+    attribute on the <code>&lt;Connector&gt;</code> element in the

+    <a href="#Edit the Tomcat Configuration File">Tomcat configuration

+    file</a>.  <strong>REMINDER</strong> - Passwords are case sensitive!</p>

+    </blockquote></li>

+

+<li>When Tomcat starts up, I get an exception like

+    "java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException: No

+    available certificate or key corresponds to the SSL cipher suites which are

+    enabled."

+    <blockquote>

+    <p>A likely explanation is that Tomcat cannot find the alias for the server

+    key within the specified keystore. Check that the correct

+    <code>keystoreFile</code> and <code>keyAlias</code> are specified in the

+    <code>&lt;Connector&gt;</code> element in the

+    <a href="#Edit the Tomcat Configuration File">Tomcat configuration file</a>.

+    <strong>REMINDER</strong> - <code>keyAlias</code> values may be case

+    sensitive!</p>

+    </blockquote></li>

+

+</ul>

+

+<p>If you are still having problems, a good source of information is the

+<strong>TOMCAT-USER</strong> mailing list.  You can find pointers to archives

+of previous messages on this list, as well as subscription and unsubscription

+information, at

+<a href="http://tomcat.apache.org/lists.html">http://tomcat.apache.org/lists.html</a>.</p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Miscellaneous Tips and Bits"><!--()--></a><a name="Miscellaneous_Tips_and_Bits"><strong>Miscellaneous Tips and Bits</strong></a></font></td></tr><tr><td><blockquote>

+

+<p>To access the SSL session ID from the request, use:<br>

+

+  <code>

+    String sslID = (String)request.getAttribute("javax.servlet.request.ssl_session");

+  </code>

+<br>

+For additional discussion on this area, please see

+<a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=22679">Bugzilla</a>.

+</p>

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/tribes/developers.html b/tomcat-uid/webapps/docs/tribes/developers.html
new file mode 100644
index 0000000..55d8c5c
--- /dev/null
+++ b/tomcat-uid/webapps/docs/tribes/developers.html
@@ -0,0 +1,8 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tribes - The Tomcat Cluster Communication Module (6.0.39) - Apache Tribes - Developers</title><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="Apache Tomcat" border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="faq.html">3) FAQ</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="../api/org/apache/catalina/tribes/package-summary.html">JavaDoc</a></li></ul><p><strong>Apache Tribes Development</strong></p><ul><li><a href="membership.html">Membership</a></li><li><a href="transport.html">Transport</a></li><li><a href="interceptors.html">Interceptors</a></li><li><a href="status.html">Status</a></li><li><a href="developers.html">Developers</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tribes - The Tomcat Cluster Communication Module</h1><h2>Apache Tribes - Developers</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Developers"><strong>Developers</strong></a></font></td></tr><tr><td><blockquote>

+    <p>TODO</p>

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/tribes/faq.html b/tomcat-uid/webapps/docs/tribes/faq.html
new file mode 100644
index 0000000..7c0e0e9
--- /dev/null
+++ b/tomcat-uid/webapps/docs/tribes/faq.html
@@ -0,0 +1,8 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tribes - The Tomcat Cluster Communication Module (6.0.39) - Apache Tribes - Frequently Asked Questions</title><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="Apache Tomcat" border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="faq.html">3) FAQ</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="../api/org/apache/catalina/tribes/package-summary.html">JavaDoc</a></li></ul><p><strong>Apache Tribes Development</strong></p><ul><li><a href="membership.html">Membership</a></li><li><a href="transport.html">Transport</a></li><li><a href="interceptors.html">Interceptors</a></li><li><a href="status.html">Status</a></li><li><a href="developers.html">Developers</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tribes - The Tomcat Cluster Communication Module</h1><h2>Apache Tribes - Frequently Asked Questions</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Frequently Asked Questions"><!--()--></a><a name="Frequently_Asked_Questions"><strong>Frequently Asked Questions</strong></a></font></td></tr><tr><td><blockquote>

+    <p>TODO</p>

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/tribes/interceptors.html b/tomcat-uid/webapps/docs/tribes/interceptors.html
new file mode 100644
index 0000000..379de09
--- /dev/null
+++ b/tomcat-uid/webapps/docs/tribes/interceptors.html
@@ -0,0 +1,8 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tribes - The Tomcat Cluster Communication Module (6.0.39) - Apache Tribes - Interceptors</title><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="Apache Tomcat" border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="faq.html">3) FAQ</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="../api/org/apache/catalina/tribes/package-summary.html">JavaDoc</a></li></ul><p><strong>Apache Tribes Development</strong></p><ul><li><a href="membership.html">Membership</a></li><li><a href="transport.html">Transport</a></li><li><a href="interceptors.html">Interceptors</a></li><li><a href="status.html">Status</a></li><li><a href="developers.html">Developers</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tribes - The Tomcat Cluster Communication Module</h1><h2>Apache Tribes - Interceptors</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Interceptors"><strong>Interceptors</strong></a></font></td></tr><tr><td><blockquote>

+    <p>TODO</p>

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/tribes/introduction.html b/tomcat-uid/webapps/docs/tribes/introduction.html
new file mode 100644
index 0000000..e9ac81f
--- /dev/null
+++ b/tomcat-uid/webapps/docs/tribes/introduction.html
@@ -0,0 +1,233 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tribes - The Tomcat Cluster Communication Module (6.0.39) - Apache Tribes - Introduction</title><meta name="author" content="Filip Hanik"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="Apache Tomcat" border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="faq.html">3) FAQ</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="../api/org/apache/catalina/tribes/package-summary.html">JavaDoc</a></li></ul><p><strong>Apache Tribes Development</strong></p><ul><li><a href="membership.html">Membership</a></li><li><a href="transport.html">Transport</a></li><li><a href="interceptors.html">Interceptors</a></li><li><a href="status.html">Status</a></li><li><a href="developers.html">Developers</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tribes - The Tomcat Cluster Communication Module</h1><h2>Apache Tribes - Introduction</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Quick_Start">Quick Start</a></li><li><a href="#What_is_Tribes">What is Tribes</a></li><li><a href="#Why_another_messaging_framework">Why another messaging framework</a></li><li><a href="#Feature_Overview">Feature Overview</a></li><li><a href="#Where_can_I_get_Tribes">Where can I get Tribes</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Quick Start"><!--()--></a><a name="Quick_Start"><strong>Quick Start</strong></a></font></td></tr><tr><td><blockquote>

+

+  <p>Apache Tribes is a group or peer-to-peer communication framework that enables you to easily connect

+     your remote objects to communicate with each other.

+  </p>

+  <ul>

+    <li>Import: <code>org.apache.catalina.tribes.Channel</code></li>

+    <li>Import: <code>org.apache.catalina.tribes.Member</code></li>

+    <li>Import: <code>org.apache.catalina.tribes.MembershipListener</code></li>

+    <li>Import: <code>org.apache.catalina.tribes.ChannelListener</code></li>

+    <li>Import: <code>org.apache.catalina.tribes.group.GroupChannel</code></li>

+    <li>Create a class that implements: <code>org.apache.catalina.tribes.ChannelListener</code></li>

+    <li>Create a class that implements: <code>org.apache.catalina.tribes.MembershipListener</code></li>

+    <li>Simple class to demonstrate how to send a message:

+      <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+        //create a channel

+        Channel myChannel = new GroupChannel();

+

+        //create my listeners

+        ChannelListener msgListener = new MyMessageListener();

+        MembershipListener mbrListener = new MyMemberListener();

+

+        //attach the listeners to the channel

+        myChannel.addMembershipListener(mbrListener);

+        myChannel.addChannelListener(msgListener);

+

+        //start the channel

+        myChannel.start(Channel.DEFAULT);

+

+        //create a message to be sent, message must implement java.io.Serializable

+        //for performance reasons you probably want them to implement java.io.Externalizable

+        Serializable myMsg = new MyMessage();

+

+        //retrieve my current members

+        Member[] group = myChannel.getMembers();

+

+        //send the message

+        channel.send(group,myMsg,Channel.SEND_OPTIONS_DEFAULT);

+      </pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    </li>

+  </ul>

+  <p>

+      Simple yeah? There is a lot more to Tribes than we have shown, hopefully the docs will be able

+      to explain more to you. Remember, that we are always interested in suggestions, improvements, bug fixes

+      and anything that you think would help this project.

+  </p>

+  <p>

+      Note: Tribes is currently built for JDK1.5, you can run on JDK1.4 by a small modifications to locks used from the <code>java.util.concurrent</code> package.

+  </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="What is Tribes"><!--()--></a><a name="What_is_Tribes"><strong>What is Tribes</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+    Tribes is a messaging framework with group communication abilities. Tribes allows you to send and receive

+    messages over a network, it also allows for dynamic discovery of other nodes in the network.<br>

+    And that is the short story, it really is as simple as that. What makes Tribes useful and unique will be

+    described in the section below.<br>

+  </p>

+  <p>

+    The Tribes module was started early 2006 and a small part of the code base comes from the clustering module

+    that has been existing since 2003 or 2004.

+    The current cluster implementation has several short comings and many workarounds were created due

+    to the complexity in group communication. Long story short, what should have been two modules a long time

+    ago, will be now. Tribes takes out the complexity of messaging from the replication module and becomes

+    a fully independent and highly flexible group communication module.<br>

+  </p>

+  <p>

+    In Tomcat the old <code>modules/cluster</code> has now become <code>modules/groupcom</code>(Tribes) and

+    <code>modules/ha</code> (replication). This will allow development to proceed and let the developers

+    focus on the issues they are actually working on rather than getting boggled down in details of a module

+    they are not interested in. The understanding is that both communication and replication are complex enough,

+    and when trying to develop them in the same module, well you know, it becomes a cluster :)<br>

+  </p>

+  <p>

+    Tribes allows for guaranteed messaging, and can be customized in many ways. Why is this important?<br>

+    Well, you as a developer want to know that the messages you are sending are reaching their destination.

+    More than that, if a message doesn't reach its destination, the application on top of Tribes will be notified

+    that the message was never sent, and what node it failed.

+  </p>

+

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Why another messaging framework"><!--()--></a><a name="Why_another_messaging_framework"><strong>Why another messaging framework</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+    I am a big fan of reusing code and would never dream of developing something if someone else has already

+    done it and it was available to me and the community I try to serve.<br>

+    When I did my research to improve the clustering module I was constantly faced with a few obstacles:<br>

+    1. The framework wasn't flexible enough<br>

+    2. The framework was licensed in a way that neither I nor the community could use it<br>

+    3. Several features that I needed were missing<br>

+    4. Messaging was guaranteed, but no feedback was reported to me<br>

+    5. The semantics of my message delivery had to be configured before runtime<br>

+    And the list continues...

+  </p>

+  <p>

+    So I came up with Tribes, to address these issues and other issues that came along.

+    When designing Tribes I wanted to make sure I didn't lose any of the flexibility and

+    delivery semantics that the existing frameworks already delivered. The goal was to create a framework

+    that could do everything that the others already did, but to provide more flexibility for the application

+    developer. In the next section will give you the high level overview of what features tribes offers or will offer.

+  </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Feature Overview"><!--()--></a><a name="Feature_Overview"><strong>Feature Overview</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+    To give you an idea of the feature set I will list it out here.

+    Some of the features are not yet completed, if that is the case they are marked accordingly.

+  </p>

+  <p>

+    <b>Pluggable modules</b><br>

+    Tribes is built using interfaces. Any of the modules or components that are part of Tribes can be swapped out

+    to customize your own Tribes implementation.

+  </p>

+  <p>

+    <b>Guaranteed Messaging</b><br>

+    In the default implementation of Tribes uses TCP for messaging. TCP already has guaranteed message delivery

+    and flow control built in. I believe that the performance of Java TCP, will outperform an implementation of

+    Java/UDP/flow-control/message guarantee since the logic happens further down the stack.<br>

+    Tribes supports both non-blocking and blocking IO operations. The recommended setting is to use non blocking

+    as it promotes better parallelism when sending and receiving messages. The blocking implementation is available

+    for those platforms where NIO is still a trouble child.

+  </p>

+  <p>

+    <b>Different Guarantee Levels</b><br>

+    There are three different levels of delivery guarantee when a message is sent.<br>

+    <ol>

+      <li>IO Based send guarantee. - fastest, least reliable<br>

+          This means that Tribes considers the message transfer to be successful

+          if the message was sent to the socket send buffer and accepted.<br>

+          On blocking IO, this would be <code>socket.getOutputStream().write(msg)</code><br>

+          On non blocking IO, this would be <code>socketChannel.write()</code>, and the buffer byte buffer gets emptied

+          followed by a <code>socketChannel.read()</code> to ensure the channel still open.

+          The <code>read()</code> has been added since <code>write()</code> will succeed if the connection has been "closed"

+          when using NIO.

+      </li>

+      <li>ACK based. - recommended, guaranteed delivery<br>

+          When the message has been received on a remote node, an ACK is sent back to the sender,

+          indicating that the message was received successfully.

+      </li>

+      <li>SYNC_ACK based. - guaranteed delivery, guaranteed processed, slowest<br>

+          When the message has been received on a remote node, the node will process

+          the message and if the message was processed successfully, an ACK is sent back to the sender

+          indicating that the message was received and processed successfully.

+          If the message was received, but processing it failed, an ACK_FAIL will be sent back

+          to the sender. This is a unique feature that adds an incredible amount value to the application

+          developer. Most frameworks here will tell you that the message was delivered, and the application

+          developer has to build in logic on whether the message was actually processed properly by the application

+          on the remote node. If configured, Tribes will throw an exception when it receives an ACK_FAIL

+          and associate that exception with the member that didn't process the message.

+      </li>

+    </ol>

+    You can of course write even more sophisticated guarantee levels, and some of them will be mentioned later on

+    in the documentation. One mentionable level would be a 2-Phase-Commit, where the remote applications don't receive

+    the message until all nodes have received the message. Sort of like a all-or-nothing protocol.

+  </p>

+  <p>

+    <b>Per Message Delivery Attributes</b><br>

+    Perhaps the feature that makes Tribes stand out from the crowd of group communication frameworks.

+    Tribes enables you to send to decide what delivery semantics a message transfer should have on a per

+    message basis. Meaning, that your messages are not delivered based on some static configuration

+    that remains fixed after the message framework has been started.<br>

+    To give you an example of how powerful this feature is, I'll try to illustrate it with a simple example.

+    Imagine you need to send 10 different messages, you could send the the following way:

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+      Message_1 - asynchronous and fast, no guarantee required, fire and forget

+      Message_2 - all-or-nothing, either all receivers get it, or none.

+      Message_3 - encrypted and SYNC_ACK based

+      Message_4 - asynchronous, SYNC_ACK and call back when the message is processed on the remote nodes

+      Message_5 - totally ordered, this message should be received in the same order on all nodes that have been

+                  send totally ordered

+      Message_6 - asynchronous and totally ordered

+      Message_7 - RPC message, send a message, wait for all remote nodes to reply before returning

+      Message_8 - RPC message, wait for the first reply

+      Message_9 - RPC message, asynchronous, don't wait for a reply, collect them via a callback

+      Message_10- sent to a member that is not part of this group

+    </pre></td><td bgcolor="#023264" width="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="../images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    As you can imagine by now, these are just examples. The number of different semantics you can apply on a

+    per-message-basis is almost limitless. Tribes allows you to set up to 28 different on a message

+    and then configure Tribes to what flag results in what action on the message.<br>

+    Imagine a shared transactional cache, probably &gt;90% are reads, and the dirty reads should be completely

+    unordered and delivered as fast as possible. But transactional writes on the other hand, have to

+    be ordered so that no cache gets corrupted. With tribes you would send the write messages totally ordered,

+    while the read messages you simple fire to achieve highest throughput.<br>

+    There are probably better examples on how this powerful feature can be used, so use your imagination and

+    your experience to think of how this could benefit you in your application.

+  </p>

+  <p>

+    <b>Interceptor based message processing</b><br>

+    Tribes uses a customizable interceptor stack to process messages that are sent and received.<br>

+    <i>So what, all frameworks have this!</i><br>

+    Yes, but in Tribes interceptors can react to a message based on the per-message-attributes

+    that are sent runtime. Meaning, that if you add a encryption interceptor that encrypts message

+    you can decide if this interceptor will encrypt all messages, or only certain messages that are decided

+    by the applications running on top of Tribes.<br>

+    This is how Tribes is able to send some messages totally ordered and others fire and forget style

+    like the example above.<br>

+    The number of interceptors that are available will keep growing, and we would appreciate any contributions

+    that you might have.

+  </p>

+  <p>

+    <b>Threadless Interceptor stack</b>

+    The interceptor don't require any separate threads to perform their message manipulation.<br>

+    Messages that are sent will piggy back on the thread that is sending them all the way through transmission.

+    The exception is the <code>MessageDispatchInterceptor</code> that will queue up the message

+    and send it on a separate thread for asynchronous message delivery.

+    Messages received are controlled by a thread pool in the <code>receiver</code> component.<br>

+    The channel object can send a <code>heartbeat()</code> through the interceptor stack to allow

+    for timeouts, cleanup and other events.<br>

+    The <code>MessageDispatchInterceptor</code> is the only interceptor that is configured by default.

+  </p>

+  <p>

+    <b>Parallel Delivery</b><br>

+    Tribes support parallel delivery of messages. Meaning that node_A could send three messages to node_B in

+    parallel. This feature becomes useful when sending messages with different delivery semantics.

+    Otherwise if Message_1 was sent totally ordered, Message_2 would have to wait for that message to complete.<br>

+    Through NIO, Tribes is also able to send a message to several receivers at the same time on the same thread.

+  </p>

+  <p>

+    <b>Silent Member Messaging</b><br>

+    With Tribes you are able to send messages to members that are not in your group.

+    So by default, you can already send messages over a wide area network, even though the dynamic discover

+    module today is limited to local area networks by using multicast for dynamic node discovery.

+    Of course, the membership component will be expanded to support WAN memberships in the future.

+    But this is very useful, when you want to hide members from the rest of the group and only communicate with them

+  </p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Where can I get Tribes"><!--()--></a><a name="Where_can_I_get_Tribes"><strong>Where can I get Tribes</strong></a></font></td></tr><tr><td><blockquote>

+  <p>

+    Tribes ships as a module with Tomcat, and is released as part of the Apache Tomcat release.  

+  </p>

+

+

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/tribes/membership.html b/tomcat-uid/webapps/docs/tribes/membership.html
new file mode 100644
index 0000000..bff0682
--- /dev/null
+++ b/tomcat-uid/webapps/docs/tribes/membership.html
@@ -0,0 +1,8 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tribes - The Tomcat Cluster Communication Module (6.0.39) - Apache Tribes - Membership</title><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="Apache Tomcat" border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="faq.html">3) FAQ</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="../api/org/apache/catalina/tribes/package-summary.html">JavaDoc</a></li></ul><p><strong>Apache Tribes Development</strong></p><ul><li><a href="membership.html">Membership</a></li><li><a href="transport.html">Transport</a></li><li><a href="interceptors.html">Interceptors</a></li><li><a href="status.html">Status</a></li><li><a href="developers.html">Developers</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tribes - The Tomcat Cluster Communication Module</h1><h2>Apache Tribes - Membership</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Membership"><strong>Membership</strong></a></font></td></tr><tr><td><blockquote>

+    <p>TODO</p>

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/tribes/setup.html b/tomcat-uid/webapps/docs/tribes/setup.html
new file mode 100644
index 0000000..7ca8892
--- /dev/null
+++ b/tomcat-uid/webapps/docs/tribes/setup.html
@@ -0,0 +1,8 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tribes - The Tomcat Cluster Communication Module (6.0.39) - Apache Tribes - Configuration</title><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="Apache Tomcat" border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="faq.html">3) FAQ</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="../api/org/apache/catalina/tribes/package-summary.html">JavaDoc</a></li></ul><p><strong>Apache Tribes Development</strong></p><ul><li><a href="membership.html">Membership</a></li><li><a href="transport.html">Transport</a></li><li><a href="interceptors.html">Interceptors</a></li><li><a href="status.html">Status</a></li><li><a href="developers.html">Developers</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tribes - The Tomcat Cluster Communication Module</h1><h2>Apache Tribes - Configuration</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Configuration Overview"><!--()--></a><a name="Configuration_Overview"><strong>Configuration Overview</strong></a></font></td></tr><tr><td><blockquote>

+    <p>TODO</p>

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/tribes/status.html b/tomcat-uid/webapps/docs/tribes/status.html
new file mode 100644
index 0000000..aecc970
--- /dev/null
+++ b/tomcat-uid/webapps/docs/tribes/status.html
@@ -0,0 +1,8 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tribes - The Tomcat Cluster Communication Module (6.0.39) - Apache Tribes - Status</title><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="Apache Tomcat" border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="faq.html">3) FAQ</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="../api/org/apache/catalina/tribes/package-summary.html">JavaDoc</a></li></ul><p><strong>Apache Tribes Development</strong></p><ul><li><a href="membership.html">Membership</a></li><li><a href="transport.html">Transport</a></li><li><a href="interceptors.html">Interceptors</a></li><li><a href="status.html">Status</a></li><li><a href="developers.html">Developers</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tribes - The Tomcat Cluster Communication Module</h1><h2>Apache Tribes - Status</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Status"><strong>Status</strong></a></font></td></tr><tr><td><blockquote>

+    <p>TODO</p>

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/tribes/transport.html b/tomcat-uid/webapps/docs/tribes/transport.html
new file mode 100644
index 0000000..a419ae3
--- /dev/null
+++ b/tomcat-uid/webapps/docs/tribes/transport.html
@@ -0,0 +1,8 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tribes - The Tomcat Cluster Communication Module (6.0.39) - Apache Tribes - Transport</title><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="Apache Tomcat" border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="faq.html">3) FAQ</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="../api/org/apache/catalina/tribes/package-summary.html">JavaDoc</a></li></ul><p><strong>Apache Tribes Development</strong></p><ul><li><a href="membership.html">Membership</a></li><li><a href="transport.html">Transport</a></li><li><a href="interceptors.html">Interceptors</a></li><li><a href="status.html">Status</a></li><li><a href="developers.html">Developers</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tribes - The Tomcat Cluster Communication Module</h1><h2>Apache Tribes - Transport</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Transport"><strong>Transport</strong></a></font></td></tr><tr><td><blockquote>

+    <p>TODO</p>

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/virtual-hosting-howto.html b/tomcat-uid/webapps/docs/virtual-hosting-howto.html
new file mode 100644
index 0000000..bfbf6e4
--- /dev/null
+++ b/tomcat-uid/webapps/docs/virtual-hosting-howto.html
@@ -0,0 +1,110 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Virtual Hosting and Tomcat</title><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Virtual Hosting and Tomcat</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Assumptions">Assumptions</a></li><li><a href="#server.xml">server.xml</a></li><li><a href="#Webapps_Directory">Webapps Directory</a></li><li><a href="#Configuring_Your_Contexts">Configuring Your Contexts</a><ol><li><a href="#General">General</a></li><li><a href="#context.xml_-_approach__1">context.xml - approach #1</a></li><li><a href="#context.xml_-_approach__2">context.xml - approach #2</a></li><li><a href="#Further_Information">Further Information</a></li></ol></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Assumptions"><strong>Assumptions</strong></a></font></td></tr><tr><td><blockquote>

+    <p>

+      For the sake of this how-to, assume you have a development host with two

+      host names, <code>ren</code> and <code>stimpy</code>. Let's also assume

+      one instance of Tomcat running, so <code>$CATALINA_HOME</code> refers to

+      wherever it's installed, perhaps <code>/usr/local/tomcat</code>.

+    </p>

+    <p>

+      Also, this how-to uses Unix-style path separators and commands; if you're

+      on Windows modify accordingly. 

+    </p>

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="server.xml"><strong>server.xml</strong></a></font></td></tr><tr><td><blockquote>

+    <p>

+      At the simplest, edit the <a href="config/engine.html">Engine</a> portion

+      of your <code>server.xml</code> file to look like this:

+    </p>

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+&lt;Engine name="Catalina" defaultHost="ren"&gt;

+    &lt;Host name="ren"    appBase="renapps"/&gt;

+    &lt;Host name="stimpy" appBase="stimpyapps"/&gt;

+&lt;/Engine&gt;

+    </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    <p>

+      Note that the directory structures under the appBase for each host should

+      not overlap each other.

+    </p>

+    <p>

+      Consult the configuration documentation for other attributes of the

+      <a href="config/engine.html">Engine</a> and <a href="config/host.html">

+      Host</a> elements.

+    </p>

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Webapps Directory"><!--()--></a><a name="Webapps_Directory"><strong>Webapps Directory</strong></a></font></td></tr><tr><td><blockquote>

+    <p>

+      Create directories for each of the virtual hosts:

+    </p>

+    <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+mkdir $CATALINA_HOME/renapps

+mkdir $CATALINA_HOME/stimpyapps

+    </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+  </blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Configuring Your Contexts"><!--()--></a><a name="Configuring_Your_Contexts"><strong>Configuring Your Contexts</strong></a></font></td></tr><tr><td><blockquote>

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="General"><strong>General</strong></a></font></td></tr><tr><td><blockquote>

+      <p>Contexts are normally located underneath the appBase directory. For

+       example, to deploy the <code>foobar</code> context as a war file in

+       the <code>ren</code> host, use

+       <code>$CATALINA_HOME/renapps/foobar.war</code>. Note that the

+       default or ROOT context for <code>ren</code> would be deployed as

+       <code>$CATALINA_HOME/renapps/ROOT.war</code> (WAR) or

+       <code>$CATALINA_HOME/renapps/ROOT</code> (directory).

+      </p>

+      <p><strong>NOTE: The <code>docBase</code> for a context should never be

+        the same as the <code>appBase</code> for a host.</strong>

+      </p>

+    </blockquote></td></tr></table>

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="context.xml - approach #1"><!--()--></a><a name="context.xml_-_approach__1"><strong>context.xml - approach #1</strong></a></font></td></tr><tr><td><blockquote>

+      <p>

+        Within your Context, create a <code>META-INF</code> directory and then

+        place your Context definition in it in a file named

+        <code>context.xml</code>. i.e.

+        <code>$CATALINA_HOME/renapps/ROOT/META-INF/context.xml</code>

+        This makes deployment easier, particularly if you're distributing a WAR

+        file.

+      </p>

+    </blockquote></td></tr></table>

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="context.xml - approach #2"><!--()--></a><a name="context.xml_-_approach__2"><strong>context.xml - approach #2</strong></a></font></td></tr><tr><td><blockquote>

+      <p>

+        Create a structure under <code>$CATALINA_HOME/conf/Catalina</code>

+        corresponding to your virtual hosts, e.g.:

+      </p>

+      <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+mkdir $CATALINA_HOME/conf/Catalina/ren

+mkdir $CATALINA_HOME/conf/Catalina/stimpy

+      </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+      <p>

+        Note that the ending directory name "Catalina" represents the

+        <code>name</code> attribute of the

+        <a href="config/engine.html">Engine</a> element as shown above.

+      </p>

+      <p>

+        Now, for your default webapps, add:

+      </p>

+      <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+$CATALINA_HOME/conf/Catalina/ren/ROOT.xml

+$CATALINA_HOME/conf/Catalina/stimpy/ROOT.xml

+      </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+      <p>

+        If you want to use the Tomcat manager webapp for each host, you'll also

+        need to add it here:

+      </p>

+      <div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+cd $CATALINA_HOME/conf/Catalina

+cp localhost/manager.xml ren/

+cp localhost/manager.xml stimpy/

+      </pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+    </blockquote></td></tr></table>

+    <table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Further Information"><!--()--></a><a name="Further_Information"><strong>Further Information</strong></a></font></td></tr><tr><td><blockquote>

+      <p>

+        Consult the configuration documentation for other attributes of the

+        <a href="config/context.html">Context</a> element.

+      </p>

+    </blockquote></td></tr></table>

+  </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/docs/windows-service-howto.html b/tomcat-uid/webapps/docs/windows-service-howto.html
new file mode 100644
index 0000000..c0fd5e4
--- /dev/null
+++ b/tomcat-uid/webapps/docs/windows-service-howto.html
@@ -0,0 +1,342 @@
+<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat 6.0 (6.0.39) - Windows service HOW-TO</title><meta name="author" content="Mladen Turk"><style type="text/css" media="print">

+			.noPrint {display: none;}

+			td#mainBody {width: 100%;}

+		</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="./images/tomcat.gif" align="right" alt="

+      The Apache Tomcat Servlet/JSP Container

+    " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 6.0</font></h1><font face="arial,helvetica,sanserif">Version 6.0.39, Jan 27 2014</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="./images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap="nowrap" class="noPrint"><p><strong>Links</strong></p><ul><li><a href="index.html">Docs Home</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li></ul><p><strong>User Guide</strong></p><ul><li><a href="introduction.html">1) Introduction</a></li><li><a href="setup.html">2) Setup</a></li><li><a href="appdev/index.html">3) First webapp</a></li><li><a href="deployer-howto.html">4) Deployer</a></li><li><a href="manager-howto.html">5) Manager</a></li><li><a href="realm-howto.html">6) Realms and AAA</a></li><li><a href="security-manager-howto.html">7) Security Manager</a></li><li><a href="jndi-resources-howto.html">8) JNDI Resources</a></li><li><a href="jndi-datasource-examples-howto.html">9) JDBC DataSources</a></li><li><a href="class-loader-howto.html">10) Classloading</a></li><li><a href="jasper-howto.html">11) JSPs</a></li><li><a href="ssl-howto.html">12) SSL</a></li><li><a href="ssi-howto.html">13) SSI</a></li><li><a href="cgi-howto.html">14) CGI</a></li><li><a href="proxy-howto.html">15) Proxy Support</a></li><li><a href="mbeans-descriptor-howto.html">16) MBean Descriptor</a></li><li><a href="default-servlet.html">17) Default Servlet</a></li><li><a href="cluster-howto.html">18) Clustering</a></li><li><a href="balancer-howto.html">19) Load Balancer</a></li><li><a href="connectors.html">20) Connectors</a></li><li><a href="monitoring.html">21) Monitoring and Management</a></li><li><a href="logging.html">22) Logging</a></li><li><a href="apr.html">23) APR/Native</a></li><li><a href="virtual-hosting-howto.html">24) Virtual Hosting</a></li><li><a href="aio.html">25) Advanced IO</a></li><li><a href="extras.html">26) Additional Components</a></li><li><a href="maven-jars.html">27) Mavenized</a></li></ul><p><strong>Reference</strong></p><ul><li><a href="RELEASE-NOTES.txt">Release Notes</a></li><li><a href="config/index.html">Configuration</a></li><li><a href="api/index.html">Javadocs</a></li><li><a href="http://tomcat.apache.org/connectors-doc/">JK 1.2 Documentation</a></li></ul><p><strong>Apache Tomcat Development</strong></p><ul><li><a href="building.html">Building</a></li><li><a href="changelog.html">Changelog</a></li><li><a href="http://wiki.apache.org/tomcat/TomcatVersions">Status</a></li><li><a href="developers.html">Developers</a></li><li><a href="architecture/index.html">Architecture</a></li><li><a href="funcspecs/index.html">Functional Specs.</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Apache Tomcat 6.0</h1><h2>Windows service HOW-TO</h2><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>

+<ul><li><a href="#Tomcat6_service_application">Tomcat6 service application</a></li><li><a href="#Tomcat6w_monitor_application">Tomcat6w monitor application</a></li><li><a href="#Command_line_arguments">Command line arguments</a></li><li><a href="#Command_line_parameters">Command line parameters</a></li><li><a href="#Installing_services">Installing services</a></li><li><a href="#Updating_services">Updating services</a></li><li><a href="#Removing_services">Removing services</a></li><li><a href="#Debugging_services">Debugging services</a></li></ul>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat6 service application"><!--()--></a><a name="Tomcat6_service_application"><strong>Tomcat6 service application</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+    <b>Tomcat6</b> is a service application for running Tomcat6 as NT service.

+</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Tomcat6w monitor application"><!--()--></a><a name="Tomcat6w_monitor_application"><strong>Tomcat6w monitor application</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+    <b>Tomcat6w</b> is a GUI application for monitoring and configuring Tomcat

+    services.

+</p>    

+    <p>The available command line options are:</p>

+<p> 

+    <table>

+    <tr><th>//ES//</th>

+        <td>Edit service configuration</td>

+        <td>This is the default operation. It is called if the no option is

+            provided but the executable is renamed to <b>servicenameW.exe</b></td>

+    </tr>

+    <tr><th>//MS//</th>

+        <td>Monitor service</td>

+        <td>Put the icon in the system tray</td>

+    </tr>

+    </table>

+</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Command line arguments"><!--()--></a><a name="Command_line_arguments"><strong>Command line arguments</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+    Each command line directive is in the form of <b>//XX//ServiceName</b>

+</p>

+    <p>The available command line options are:</p>

+<p> 

+    <table>

+    <tr><th>//TS//</th>

+        <td>Run the service as console application</td>

+        <td>This is the default operation. It is called if the no option is

+            provided. The ServiceName is the name of the executable without

+            exe suffix, meaning Tomcat6</td>

+    </tr>

+    <tr><th>//RS//</th>

+        <td>Run the service</td>

+        <td>Called only from ServiceManager</td>

+    </tr>

+    <tr><th>//SS//</th>

+        <td>Stop the service</td>

+        <td></td>

+    </tr>

+    <tr><th>//US//</th>

+        <td>Update service parameters</td>

+        <td></td>

+    </tr>

+    <tr><th>//IS//</th>

+        <td>Install service</td>

+        <td></td>

+    </tr>

+    <tr><th>//DS//</th>

+        <td>Delete service</td>

+        <td>Stops the service if running</td>

+    </tr>        

+    </table>

+</p> 

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Command line parameters"><!--()--></a><a name="Command_line_parameters"><strong>Command line parameters</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+    Each command parameter is prefixed with <b>--</b>.

+    If the command line is prefixed with <b>++</b> then it's value will

+    be appended to the existing option.

+    If the environment variable with the same name as command line parameter but

+    prefixed with <code>PR_</code> exists it will take precedence.

+    For example:

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>set PR_CLASSPATH=xx.jar</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>    

+<p>is equivalent to providing

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>--Classpath=xx.jar</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>

+<p> as command line parameter.</p>

+<p> 

+    <table>

+    <tr>

+    <th>ParameterName</th>

+	<th>Default</th>

+	<th>Description</th>

+	</tr> 

+    <tr>

+    <td>--Description</td>

+    <td></td>

+    <td>Service name description (maximum 1024 characters)</td>

+    </tr>

+    <tr>

+    <td>--DisplayName</td>

+    <td>ServiceName</td>

+    <td>Service display name</td>

+    </tr>

+    <tr>

+    <td>--Install</td>

+    <td>procrun.exe //RS//ServiceName</td>

+    <td>Install image</td>

+    </tr>

+    <tr>

+    <td>--Startup</td>

+    <td>manual</td>

+    <td>Service startup mode can be either <b>auto</b> or <b>manual</b></td>

+    </tr>

+    <tr>

+    <td>--DependsOn</td>

+    <td></td>

+    <td>List of services that this service depend on. Dependent services

+        are separated using either <b>#</b> or <b>;</b> characters</td>

+    </tr>

+    <tr>

+    <td>--Environment</td>

+    <td></td>

+    <td>List of environment variables that will be provided to the service

+        in the form <b>key=value</b>. They are separated using either

+        <b>#</b> or <b>;</b> characters. If you need to use either the <b>#</b>

+        or <b>;</b> character within a value then the entire value must be

+        enclosed inside single quotes.</td>

+    </tr>

+    <tr>

+    <td>--User</td>

+    <td></td>

+    <td>User account used for running executable. It is used only for

+    	StartMode <b>java</b> or <b>exe</b> and enables running applications

+    	as service under account without LogonAsService privilege.</td>

+    </tr>

+    <tr>

+    <td>--Password</td>

+    <td></td>

+    <td>Password for user account set by --User parameter</td>

+    </tr>

+    <tr>

+    <td>--JavaHome</td>

+    <td>JAVA_HOME</td>

+    <td>Set a different JAVA_HOME than defined by JAVA_HOME environment

+        variable</td>

+    </tr>

+    <tr>

+    <td>--Jvm</td>

+    <td>auto</td>

+    <td>Use either <b>auto</b> or specify the full path to the <b>jvm.dll</b>.

+        You can use the environment variable expansion here.</td>

+    </tr>

+    <tr>

+    <td>--JvmOptions</td>

+    <td>-Xrs</td>

+    <td>List of options in the form of <b>-D</b> or <b>-X</b> that will be

+        passed to the JVM. The options are separated using either

+        <b>#</b> or <b>;</b> characters.</td>

+    </tr>

+    <tr>

+    <td>--Classpath</td>

+    <td></td>

+    <td>Set the Java classpath</td>

+    </tr>

+    <tr>

+    <td>--JvmMs</td>

+    <td></td>

+    <td>Initial memory pool size in MB</td>

+    </tr>

+    <tr>

+    <td>--JvmMx</td>

+    <td></td>

+    <td>Maximum memory pool size in MB</td>

+    </tr>

+    <tr>

+    <td>--JvmSs</td>

+    <td></td>

+    <td>Thread stack size in KB</td>

+    </tr>

+    <tr>

+    <tr>

+    <td>--StartImage</td>

+    <td></td>

+    <td>Executable that will be run.</td>

+    </tr>

+    <tr>

+    <td>--StartPath</td>

+    <td></td>

+    <td>Working path for the start image executable.</td>

+    </tr>

+    <tr>

+    <td>--StartClass</td>

+    <td></td>

+    <td>Class that will be used for startup.</td>

+    </tr>

+    <tr>

+    <td>--StartParams</td>

+    <td></td>

+    <td>List of parameters that will be passed to either StartImage or

+        StartClass. Parameters are separated using either <b>#</b> or

+        <b>;</b> character.</td>

+    </tr>

+    <tr>

+    <td>--StartMethod</td>

+    <td>Main</td>

+    <td>Method name if differs then main</td>

+    </tr>

+    <tr>

+    <td>--StartMode</td>

+    <td>executable</td>

+    <td>Can one of <b>jvm</b> <b>java</b> or <b>exe</b></td>

+    </tr>

+    <td>--StopImage</td>

+    <td></td>

+    <td>Executable that will be run on Stop service signal.</td>

+    </tr>

+    <tr>

+    <td>--StopPath</td>

+    <td></td>

+    <td>Working path for the stop image executable.</td>

+    </tr>

+    <tr>

+    <td>--StopClass</td>

+    <td></td>

+    <td>Class that will be used on Stop service signal.</td>

+    </tr>

+    <tr>

+    <td>--StopParams</td>

+    <td></td>

+    <td>List of parameters that will be passed to either StopImage or

+        StopClass. Parameters are separated using either <b>#</b> or

+        <b>;</b> character.</td>

+    </tr>

+    <tr>

+    <td>--StopMethod</td>

+    <td>Main</td>

+    <td>Method name if differs then main</td>

+    </tr>

+    <tr>

+    <td>--StopMode</td>

+    <td>executable</td>

+    <td>Can one of <b>jvm</b> <b>java</b> or <b>exe</b></td>

+    </tr>

+    <tr>

+    <td>--StopTimeout</td>

+    <td>No Timeout</td>

+    <td>Defines the timeout in seconds that procrun waits for service to

+        exit gracefully.</td>

+    </tr>

+    <tr>

+    <td>--LogPath</td>

+    <td>working path</td>

+    <td>Defines the path for logging</td>

+    </tr>

+    <tr>

+    <td>--LogPrefix</td>

+    <td>jakarta_service</td>

+    <td>Defines the service log filename</td>

+    </tr>

+    <tr>

+    <td>--LogLevel</td>

+    <td>INFO</td>

+    <td>Defines the logging level and can be either <b>error</b>,

+        <b>info</b>, <b>warn</b> or <b>debug</b></td>

+    </tr>

+    <tr>

+    <td>--StdOutput</td>

+    <td></td>

+    <td>Redirected stdout filename</td>

+    </tr>

+    <tr>

+    <td>--StdError</td>

+    <td></td>

+    <td>Redirected stderr filename</td>

+    </tr>    

+    </table>

+</p> 

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Installing services"><!--()--></a><a name="Installing_services"><strong>Installing services</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+The safest way to manually install the service is to use the provided

+<b>service.bat</b> script. Administrator privileges are required to run this

+script.

+</p>

+<p>

+<strong>NOTE:</strong> On Windows Vista or any other operating system with User

+Account Control (UAC) you must either disable UAC or right-click on cmd.exe and

+select "Run as administrator" in order to run this script. If UAC is enabled

+being logged on with an Administrator account is not sufficient.  

+</p>

+<p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+Install the service named 'Tomcat6'

+C:\&gt; service.bat install

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>

+<p>

+If using tomcat6.exe, you need to use the <b>//IS//</b> parameter.

+</p>

+<p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+Install the service named 'Tomcat6'

+C:\&gt; tomcat6 //IS//Tomcat6 --DisplayName="Apache Tomcat 6" \

+C:\&gt; --Install="C:\Program Files\Tomcat\bin\tomcat6.exe" --Jvm=auto \

+C:\&gt; --StartMode=jvm --StopMode=jvm \

+C:\&gt; --StartClass=org.apache.catalina.startup.Bootstrap --StartParams=start \

+C:\&gt; --StopClass=org.apache.catalina.startup.Bootstrap --StopParams=stop

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Updating services"><!--()--></a><a name="Updating_services"><strong>Updating services</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+To update the service parameters, you need to use the <b>//US//</b> parameter.

+</p>

+<p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+Update the service named 'Tomcat6

+C:\&gt; tomcat6 //US//Tomcat6 --Description="Apache Tomcat Server - http://tomcat.apache.org/ " \

+C:\&gt; --Startup=auto --Classpath=%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Removing services"><!--()--></a><a name="Removing_services"><strong>Removing services</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+To remove the service, you need to use the <b>//DS//</b> parameter.<br>

+If the service is running it will be stopped and then deleted.

+</p>

+<p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+Remove the service named 'Tomcat6'

+C:\&gt; tomcat6 //DS//Tomcat6

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>

+</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Debugging services"><!--()--></a><a name="Debugging_services"><strong>Debugging services</strong></a></font></td></tr><tr><td><blockquote>

+<p>

+To run the service in console mode, you need to use the <b>//TS//</b> parameter.

+The service shutdown can be initiated by pressing <b>CTRL+C</b> or

+<b>CTRL+BREAK</b>.

+If you rename the tomcat6.exe to testservice.exe then you can just execute the

+testservice.exe and this command mode will be executed by default.

+</p>

+<p>

+<div align="left"><table cellspacing="4" cellpadding="0" border="0"><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#ffffff" height="1"><pre>

+Run the service named 'Tomcat6' in console mode

+C:\&gt; tomcat6 //TS//Tomcat6 [additional arguments]

+Or simply execute:

+C:\&gt; tomcat6

+</pre></td><td bgcolor="#023264" width="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr><tr><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td><td bgcolor="#023264" width="1" height="1"><img src="./images/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table></div>

+</p>

+</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade="noshade" size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>

+        Copyright &copy; 1999-2014, Apache Software Foundation

+        </em></font></div></td></tr></table></body></html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/CookieExample.class b/tomcat-uid/webapps/examples/WEB-INF/classes/CookieExample.class
new file mode 100644
index 0000000..bc8e321
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/CookieExample.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/CookieExample.java b/tomcat-uid/webapps/examples/WEB-INF/classes/CookieExample.java
new file mode 100644
index 0000000..5d7d5ce
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/CookieExample.java
@@ -0,0 +1,117 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+import java.io.*;

+import java.util.*;

+import javax.servlet.*;

+import javax.servlet.http.*;

+

+import util.HTMLFilter;

+

+/**

+ * Example servlet showing request headers

+ *

+ * @author James Duncan Davidson <duncan@eng.sun.com>

+ */

+

+public class CookieExample extends HttpServlet {

+

+    ResourceBundle rb = ResourceBundle.getBundle("LocalStrings");

+    

+    public void doGet(HttpServletRequest request,

+                      HttpServletResponse response)

+        throws IOException, ServletException

+    {

+        response.setContentType("text/html");

+

+        PrintWriter out = response.getWriter();

+        out.println("<html>");

+        out.println("<head>");

+

+        String title = rb.getString("cookies.title");

+        out.println("<title>" + title + "</title>");

+        out.println("</head>");

+        out.println("<body bgcolor=\"white\">");

+

+	// relative links

+

+        // XXX

+        // making these absolute till we work out the

+        // addition of a PathInfo issue 

+	

+        out.println("<a href=\"../cookies.html\">");

+        out.println("<img src=\"../images/code.gif\" height=24 " +

+                    "width=24 align=right border=0 alt=\"view code\"></a>");

+        out.println("<a href=\"../index.html\">");

+        out.println("<img src=\"../images/return.gif\" height=24 " +

+                    "width=24 align=right border=0 alt=\"return\"></a>");

+

+        out.println("<h3>" + title + "</h3>");

+

+        Cookie[] cookies = request.getCookies();

+        if ((cookies != null) && (cookies.length > 0)) {

+            out.println(rb.getString("cookies.cookies") + "<br>");

+            for (int i = 0; i < cookies.length; i++) {

+                Cookie cookie = cookies[i];

+                out.print("Cookie Name: " + HTMLFilter.filter(cookie.getName())

+                          + "<br>");

+                out.println("  Cookie Value: " 

+                            + HTMLFilter.filter(cookie.getValue())

+                            + "<br><br>");

+            }

+        } else {

+            out.println(rb.getString("cookies.no-cookies"));

+        }

+

+        String cookieName = request.getParameter("cookiename");

+        String cookieValue = request.getParameter("cookievalue");

+        if (cookieName != null && cookieValue != null) {

+            Cookie cookie = new Cookie(cookieName, cookieValue);

+            response.addCookie(cookie);

+            out.println("<P>");

+            out.println(rb.getString("cookies.set") + "<br>");

+            out.print(rb.getString("cookies.name") + "  " 

+                      + HTMLFilter.filter(cookieName) + "<br>");

+            out.print(rb.getString("cookies.value") + "  " 

+                      + HTMLFilter.filter(cookieValue));

+        }

+        

+        out.println("<P>");

+        out.println(rb.getString("cookies.make-cookie") + "<br>");

+        out.print("<form action=\"");

+        out.println("CookieExample\" method=POST>");

+        out.print(rb.getString("cookies.name") + "  ");

+        out.println("<input type=text length=20 name=cookiename><br>");

+        out.print(rb.getString("cookies.value") + "  ");

+        out.println("<input type=text length=20 name=cookievalue><br>");

+        out.println("<input type=submit></form>");

+            

+            

+        out.println("</body>");

+        out.println("</html>");

+    }

+

+    public void doPost(HttpServletRequest request,

+                      HttpServletResponse response)

+        throws IOException, ServletException

+    {

+        doGet(request, response);

+    }

+

+}

+

+

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/HelloWorldExample.class b/tomcat-uid/webapps/examples/WEB-INF/classes/HelloWorldExample.class
new file mode 100644
index 0000000..0d3c85e
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/HelloWorldExample.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/HelloWorldExample.java b/tomcat-uid/webapps/examples/WEB-INF/classes/HelloWorldExample.java
new file mode 100644
index 0000000..3702542
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/HelloWorldExample.java
@@ -0,0 +1,72 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+import java.io.*;

+import java.util.*;

+import javax.servlet.*;

+import javax.servlet.http.*;

+

+/**

+ * The simplest possible servlet.

+ *

+ * @author James Duncan Davidson

+ */

+

+public class HelloWorldExample extends HttpServlet {

+

+

+    public void doGet(HttpServletRequest request,

+                      HttpServletResponse response)

+        throws IOException, ServletException

+    {

+        ResourceBundle rb =

+            ResourceBundle.getBundle("LocalStrings",request.getLocale());

+        response.setContentType("text/html");

+        PrintWriter out = response.getWriter();

+

+        out.println("<html>");

+        out.println("<head>");

+

+	    String title = rb.getString("helloworld.title");

+

+	    out.println("<title>" + title + "</title>");

+        out.println("</head>");

+        out.println("<body bgcolor=\"white\">");

+

+	// note that all links are created to be relative. this

+	// ensures that we can move the web application that this

+	// servlet belongs to to a different place in the url

+	// tree and not have any harmful side effects.

+

+        // XXX

+        // making these absolute till we work out the

+        // addition of a PathInfo issue

+

+	    out.println("<a href=\"../helloworld.html\">");

+        out.println("<img src=\"../images/code.gif\" height=24 " +

+                    "width=24 align=right border=0 alt=\"view code\"></a>");

+        out.println("<a href=\"../index.html\">");

+        out.println("<img src=\"../images/return.gif\" height=24 " +

+                    "width=24 align=right border=0 alt=\"return\"></a>");

+        out.println("<h1>" + title + "</h1>");

+        out.println("</body>");

+        out.println("</html>");

+    }

+}

+

+

+

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/LocalStrings.properties b/tomcat-uid/webapps/examples/WEB-INF/classes/LocalStrings.properties
new file mode 100644
index 0000000..457b03e
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/LocalStrings.properties
@@ -0,0 +1,51 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more

+# contributor license agreements.  See the NOTICE file distributed with

+# this work for additional information regarding copyright ownership.

+# The ASF licenses this file to You under the Apache License, Version 2.0

+# (the "License"); you may not use this file except in compliance with

+# the License.  You may obtain a copy of the License at

+#

+#     http://www.apache.org/licenses/LICENSE-2.0

+#

+# Unless required by applicable law or agreed to in writing, software

+# distributed under the License is distributed on an "AS IS" BASIS,

+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+# See the License for the specific language governing permissions and

+# limitations under the License.

+

+# Default localized resources for example servlets

+# This locale is en_US

+

+helloworld.title=Hello World!

+

+requestinfo.title=Request Information Example

+requestinfo.label.method=Method:

+requestinfo.label.requesturi=Request URI:

+requestinfo.label.protocol=Protocol:

+requestinfo.label.pathinfo=Path Info:

+requestinfo.label.remoteaddr=Remote Address:

+

+requestheader.title=Request Header Example

+

+requestparams.title=Request Parameters Example

+requestparams.params-in-req=Parameters in this request:

+requestparams.no-params=No Parameters, Please enter some

+requestparams.firstname=First Name:

+requestparams.lastname=Last Name:

+

+cookies.title=Cookies Example

+cookies.cookies=Your browser is sending the following cookies:

+cookies.no-cookies=Your browser isn't sending any cookies

+cookies.make-cookie=Create a cookie to send to your browser

+cookies.name=Name:

+cookies.value=Value:

+cookies.set=You just sent the following cookie to your browser:

+

+sessions.title=Sessions Example

+sessions.id=Session ID:

+sessions.created=Created:

+sessions.lastaccessed=Last Accessed:

+sessions.data=The following data is in your session:

+sessions.adddata=Add data to your session

+sessions.dataname=Name of Session Attribute:

+sessions.datavalue=Value of Session Attribute:

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/LocalStrings_en.properties b/tomcat-uid/webapps/examples/WEB-INF/classes/LocalStrings_en.properties
new file mode 100644
index 0000000..457b03e
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/LocalStrings_en.properties
@@ -0,0 +1,51 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more

+# contributor license agreements.  See the NOTICE file distributed with

+# this work for additional information regarding copyright ownership.

+# The ASF licenses this file to You under the Apache License, Version 2.0

+# (the "License"); you may not use this file except in compliance with

+# the License.  You may obtain a copy of the License at

+#

+#     http://www.apache.org/licenses/LICENSE-2.0

+#

+# Unless required by applicable law or agreed to in writing, software

+# distributed under the License is distributed on an "AS IS" BASIS,

+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+# See the License for the specific language governing permissions and

+# limitations under the License.

+

+# Default localized resources for example servlets

+# This locale is en_US

+

+helloworld.title=Hello World!

+

+requestinfo.title=Request Information Example

+requestinfo.label.method=Method:

+requestinfo.label.requesturi=Request URI:

+requestinfo.label.protocol=Protocol:

+requestinfo.label.pathinfo=Path Info:

+requestinfo.label.remoteaddr=Remote Address:

+

+requestheader.title=Request Header Example

+

+requestparams.title=Request Parameters Example

+requestparams.params-in-req=Parameters in this request:

+requestparams.no-params=No Parameters, Please enter some

+requestparams.firstname=First Name:

+requestparams.lastname=Last Name:

+

+cookies.title=Cookies Example

+cookies.cookies=Your browser is sending the following cookies:

+cookies.no-cookies=Your browser isn't sending any cookies

+cookies.make-cookie=Create a cookie to send to your browser

+cookies.name=Name:

+cookies.value=Value:

+cookies.set=You just sent the following cookie to your browser:

+

+sessions.title=Sessions Example

+sessions.id=Session ID:

+sessions.created=Created:

+sessions.lastaccessed=Last Accessed:

+sessions.data=The following data is in your session:

+sessions.adddata=Add data to your session

+sessions.dataname=Name of Session Attribute:

+sessions.datavalue=Value of Session Attribute:

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/LocalStrings_es.properties b/tomcat-uid/webapps/examples/WEB-INF/classes/LocalStrings_es.properties
new file mode 100644
index 0000000..f5a1261
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/LocalStrings_es.properties
@@ -0,0 +1,51 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more

+# contributor license agreements.  See the NOTICE file distributed with

+# this work for additional information regarding copyright ownership.

+# The ASF licenses this file to You under the Apache License, Version 2.0

+# (the "License"); you may not use this file except in compliance with

+# the License.  You may obtain a copy of the License at

+#

+#     http://www.apache.org/licenses/LICENSE-2.0

+#

+# Unless required by applicable law or agreed to in writing, software

+# distributed under the License is distributed on an "AS IS" BASIS,

+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+# See the License for the specific language governing permissions and

+# limitations under the License.

+

+# Default localized string information

+# Localized para Locale es_ES

+

+helloworld.title=Hola Mundo!

+

+requestinfo.title=Ejemplo de Informacion de Request

+requestinfo.label.method=Metodo:

+requestinfo.label.requesturi=Request URI:

+requestinfo.label.protocol=Protocolo:

+requestinfo.label.pathinfo=Path Info:

+requestinfo.label.remoteaddr=Direccion Remota:

+

+requestheader.title=Ejemplo de Cabecera de Request

+

+requestparams.title=Ejemplo de parametros de Request

+requestparams.params-in-req=Parametros en este Request:

+requestparams.no-params=No hay parametro. por favor usa alguno

+requestparams.firstname=Nombre:

+requestparams.lastname=Apellidos:

+

+cookies.title=Ejemplo de Cookies

+cookies.cookies=Tu navegador esta enviando los siguientes cookies:

+cookies.no-cookies=Tu navegador no esta enviando cookies

+cookies.make-cookie=Crea un cookie para enviarlo a tu navegador

+cookies.name=Nombre:

+cookies.value=Valor:

+cookies.set=Acabas de enviar a tu navegador estos cookies:

+

+sessions.title=ejemplo de Sesiones

+sessions.id=ID de Sesion:

+sessions.created=Creado:

+sessions.lastaccessed=Ultimo Acceso:

+sessions.data=Lo siguientes datos estan en tu sesion:

+sessions.adddata=A\u00f1ade datos a tu sesion:

+sessions.dataname=Nombre del atributo de sesion:

+sessions.datavalue=Valor del atributo de sesion:

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/LocalStrings_fr.properties b/tomcat-uid/webapps/examples/WEB-INF/classes/LocalStrings_fr.properties
new file mode 100644
index 0000000..a66211e
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/LocalStrings_fr.properties
@@ -0,0 +1,51 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more

+# contributor license agreements.  See the NOTICE file distributed with

+# this work for additional information regarding copyright ownership.

+# The ASF licenses this file to You under the Apache License, Version 2.0

+# (the "License"); you may not use this file except in compliance with

+# the License.  You may obtain a copy of the License at

+#

+#     http://www.apache.org/licenses/LICENSE-2.0

+#

+# Unless required by applicable law or agreed to in writing, software

+# distributed under the License is distributed on an "AS IS" BASIS,

+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+# See the License for the specific language governing permissions and

+# limitations under the License.

+

+# Default localized resources for example servlets

+# This locale is fr_FR

+

+helloworld.title=Salut le Monde!

+

+requestinfo.title=Exemple d''information sur la requ\u00eate

+requestinfo.label.method=M\u00e9thode:

+requestinfo.label.requesturi=URI de requ\u00eate:

+requestinfo.label.protocol=Protocole:

+requestinfo.label.pathinfo=Info de chemin:

+requestinfo.label.remoteaddr=Adresse distante:

+

+requestheader.title=Exemple d''information sur les ent\u00eate de requ\u00eate

+

+requestparams.title=Exemple de requ\u00eate avec param\u00eatres

+requestparams.params-in-req=Param\u00eatres dans la requ\u00eate:

+requestparams.no-params=Pas de param\u00eatre, merci dans saisir quelqu'uns

+requestparams.firstname=Pr\u00e9nom:

+requestparams.lastname=Nom:

+

+cookies.title=Exemple d''utilisation de Cookies

+cookies.cookies=Votre navigateur retourne les cookies suivant:

+cookies.no-cookies=Votre navigateur ne retourne aucun cookie

+cookies.make-cookie=Cr\u00e9ation d''un cookie \u00e0 retourner \u00e0 votre navigateur

+cookies.name=Nom:

+cookies.value=Valeur:

+cookies.set=Vous venez d''envoyer le cookie suivant \u00e0 votre navigateur:

+

+sessions.title=Exemple de Sessions

+sessions.id=ID de Session:

+sessions.created=Cr\u00e9e le:

+sessions.lastaccessed=Dernier acc\u00e8s:

+sessions.data=Les donn\u00e9es existantes dans votre session:

+sessions.adddata=Ajouter des donn\u00e9es \u00e0 votre session

+sessions.dataname=Nom de l''Attribut de Session:

+sessions.datavalue=Valeur de l''Attribut de Session:

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/LocalStrings_pt.properties b/tomcat-uid/webapps/examples/WEB-INF/classes/LocalStrings_pt.properties
new file mode 100644
index 0000000..b74813a
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/LocalStrings_pt.properties
@@ -0,0 +1,51 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more

+# contributor license agreements.  See the NOTICE file distributed with

+# this work for additional information regarding copyright ownership.

+# The ASF licenses this file to You under the Apache License, Version 2.0

+# (the "License"); you may not use this file except in compliance with

+# the License.  You may obtain a copy of the License at

+#

+#     http://www.apache.org/licenses/LICENSE-2.0

+#

+# Unless required by applicable law or agreed to in writing, software

+# distributed under the License is distributed on an "AS IS" BASIS,

+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+# See the License for the specific language governing permissions and

+# limitations under the License.

+

+# Default localized resources for example servlets

+# This locale is pt_PT

+

+helloworld.title=Ola Mundo!

+

+requestinfo.title=Exemplo da Informacao do Pedido

+requestinfo.label.method=Metodo:

+requestinfo.label.requesturi=URI do Pedido:

+requestinfo.label.protocol=Protocolo:

+requestinfo.label.pathinfo=Informacao do Caminho:

+requestinfo.label.remoteaddr=Endereco Remoto:

+

+requestheader.title=Exemplo da Cebeceira do Pedido

+

+requestparams.title=Examplo de Parametros do Pedido

+requestparams.params-in-req=Parametros neste pedido:

+requestparams.no-params=Sem Parametros, Por favor entre alguns

+requestparams.firstname=Primeiro Nome:

+requestparams.lastname=Apelido:

+

+cookies.title=CExamplo de Cookies

+cookies.cookies=O se browser esta a enviar os seguintes cookies:

+cookies.no-cookies=O seu browser nao esta a enviar nenhuns cookies

+cookies.make-cookie=Crie um cookie para enviar para o seu browser

+cookies.name=Nome:

+cookies.value=Valor:

+cookies.set=Acabou de enviar o seguinte cookie para o seu browser:

+

+sessions.title=Examplo de sessoes

+sessions.id=Identificador da Sessao:

+sessions.created=Criada:

+sessions.lastaccessed=Ultima vez acedida:

+sessions.data=Os seguintes dados fazem parte da sua sessao:

+sessions.adddata=Adicione data a sua sessao

+sessions.dataname=Nome do atributo da sessao:

+sessions.datavalue=Valor do atributo da Sessao:

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/RequestHeaderExample.class b/tomcat-uid/webapps/examples/WEB-INF/classes/RequestHeaderExample.class
new file mode 100644
index 0000000..8270f63
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/RequestHeaderExample.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/RequestHeaderExample.java b/tomcat-uid/webapps/examples/WEB-INF/classes/RequestHeaderExample.java
new file mode 100644
index 0000000..2a550f2
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/RequestHeaderExample.java
@@ -0,0 +1,86 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+import java.io.*;

+import java.util.*;

+import javax.servlet.*;

+import javax.servlet.http.*;

+

+import util.HTMLFilter;

+

+/**

+ * Example servlet showing request headers

+ *

+ * @author James Duncan Davidson <duncan@eng.sun.com>

+ */

+

+public class RequestHeaderExample extends HttpServlet {

+

+    ResourceBundle rb = ResourceBundle.getBundle("LocalStrings");

+    

+    public void doGet(HttpServletRequest request,

+                      HttpServletResponse response)

+        throws IOException, ServletException

+    {

+        response.setContentType("text/html");

+

+        PrintWriter out = response.getWriter();

+        out.println("<html>");

+        out.println("<head>");

+

+        String title = rb.getString("requestheader.title");

+        out.println("<title>" + title + "</title>");

+        out.println("</head>");

+        out.println("<body bgcolor=\"white\">");

+

+	// all links relative

+

+        // XXX

+        // making these absolute till we work out the

+        // addition of a PathInfo issue 

+	

+        out.println("<a href=\"../reqheaders.html\">");

+        out.println("<img src=\"../images/code.gif\" height=24 " +

+                    "width=24 align=right border=0 alt=\"view code\"></a>");

+        out.println("<a href=\"../index.html\">");

+        out.println("<img src=\"../images/return.gif\" height=24 " +

+                    "width=24 align=right border=0 alt=\"return\"></a>");

+

+        out.println("<h3>" + title + "</h3>");

+        out.println("<table border=0>");

+        Enumeration e = request.getHeaderNames();

+        while (e.hasMoreElements()) {

+            String headerName = (String)e.nextElement();

+            String headerValue = request.getHeader(headerName);

+            out.println("<tr><td bgcolor=\"#CCCCCC\">");

+            out.println(HTMLFilter.filter(headerName));

+            out.println("</td><td>");

+            out.println(HTMLFilter.filter(headerValue));

+            out.println("</td></tr>");

+        }

+        out.println("</table>");

+    }

+

+    public void doPost(HttpServletRequest request,

+                      HttpServletResponse response)

+        throws IOException, ServletException

+    {

+        doGet(request, response);

+    }

+

+}

+

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/RequestInfoExample.class b/tomcat-uid/webapps/examples/WEB-INF/classes/RequestInfoExample.class
new file mode 100644
index 0000000..e93ed68
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/RequestInfoExample.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/RequestInfoExample.java b/tomcat-uid/webapps/examples/WEB-INF/classes/RequestInfoExample.java
new file mode 100644
index 0000000..86313e5
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/RequestInfoExample.java
@@ -0,0 +1,109 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+import java.io.*;

+import java.util.*;

+import javax.servlet.*;

+import javax.servlet.http.*;

+

+import util.HTMLFilter;

+

+/**

+ * Example servlet showing request information.

+ *

+ * @author James Duncan Davidson <duncan@eng.sun.com>

+ */

+

+public class RequestInfoExample extends HttpServlet {

+

+

+    ResourceBundle rb = ResourceBundle.getBundle("LocalStrings");

+

+    public void doGet(HttpServletRequest request,

+                      HttpServletResponse response)

+        throws IOException, ServletException

+    {

+        response.setContentType("text/html");

+

+        PrintWriter out = response.getWriter();

+        out.println("<html>");

+        out.println("<head>");

+

+        String title = rb.getString("requestinfo.title");

+        out.println("<title>" + title + "</title>");

+        out.println("</head>");

+        out.println("<body bgcolor=\"white\">");

+

+        // img stuff not req'd for source code html showing

+        // all links relative!

+

+        // XXX

+        // making these absolute till we work out the

+        // addition of a PathInfo issue

+

+        out.println("<a href=\"../reqinfo.html\">");

+        out.println("<img src=\"../images/code.gif\" height=24 " +

+                    "width=24 align=right border=0 alt=\"view code\"></a>");

+        out.println("<a href=\"../index.html\">");

+        out.println("<img src=\"../images/return.gif\" height=24 " +

+                    "width=24 align=right border=0 alt=\"return\"></a>");

+

+        out.println("<h3>" + title + "</h3>");

+        out.println("<table border=0><tr><td>");

+        out.println(rb.getString("requestinfo.label.method"));

+        out.println("</td><td>");

+        out.println(HTMLFilter.filter(request.getMethod()));

+        out.println("</td></tr><tr><td>");

+        out.println(rb.getString("requestinfo.label.requesturi"));

+        out.println("</td><td>");

+        out.println(HTMLFilter.filter(request.getRequestURI()));

+        out.println("</td></tr><tr><td>");

+        out.println(rb.getString("requestinfo.label.protocol"));

+        out.println("</td><td>");

+        out.println(HTMLFilter.filter(request.getProtocol()));

+        out.println("</td></tr><tr><td>");

+        out.println(rb.getString("requestinfo.label.pathinfo"));

+        out.println("</td><td>");

+        out.println(HTMLFilter.filter(request.getPathInfo()));

+        out.println("</td></tr><tr><td>");

+        out.println(rb.getString("requestinfo.label.remoteaddr"));

+        out.println("</td><td>");

+        out.println(HTMLFilter.filter(request.getRemoteAddr()));

+        out.println("</td></tr>");

+

+        String cipherSuite=

+                (String)request.getAttribute("javax.servlet.request.cipher_suite");

+        if(cipherSuite!=null){

+            out.println("<tr><td>");

+            out.println("SSLCipherSuite:");

+            out.println("</td><td>");

+            out.println(HTMLFilter.filter(cipherSuite));

+            out.println("</td></tr>");

+        }

+

+        out.println("</table>");

+    }

+

+    public void doPost(HttpServletRequest request,

+                      HttpServletResponse response)

+        throws IOException, ServletException

+    {

+        doGet(request, response);

+    }

+

+}

+

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/RequestParamExample.class b/tomcat-uid/webapps/examples/WEB-INF/classes/RequestParamExample.class
new file mode 100644
index 0000000..dccd0ba
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/RequestParamExample.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/RequestParamExample.java b/tomcat-uid/webapps/examples/WEB-INF/classes/RequestParamExample.java
new file mode 100644
index 0000000..2b8b77c
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/RequestParamExample.java
@@ -0,0 +1,102 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+import java.io.*;

+import java.util.*;

+import javax.servlet.*;

+import javax.servlet.http.*;

+

+import util.HTMLFilter;

+

+/**

+ * Example servlet showing request headers

+ *

+ * @author James Duncan Davidson <duncan@eng.sun.com>

+ */

+

+public class RequestParamExample extends HttpServlet {

+

+

+    ResourceBundle rb = ResourceBundle.getBundle("LocalStrings");

+    

+    public void doGet(HttpServletRequest request,

+                      HttpServletResponse response)

+        throws IOException, ServletException

+    {

+        response.setContentType("text/html");

+

+        PrintWriter out = response.getWriter();

+        out.println("<html>");

+        out.println("<head>");

+

+        String title = rb.getString("requestparams.title");

+        out.println("<title>" + title + "</title>");

+        out.println("</head>");

+        out.println("<body bgcolor=\"white\">");

+

+        // img stuff not req'd for source code html showing

+

+	// all links relative

+

+        // XXX

+        // making these absolute till we work out the

+        // addition of a PathInfo issue 

+	

+        out.println("<a href=\"../reqparams.html\">");

+        out.println("<img src=\"../images/code.gif\" height=24 " +

+                    "width=24 align=right border=0 alt=\"view code\"></a>");

+        out.println("<a href=\"../index.html\">");

+        out.println("<img src=\"../images/return.gif\" height=24 " +

+                    "width=24 align=right border=0 alt=\"return\"></a>");

+

+        out.println("<h3>" + title + "</h3>");

+        String firstName = request.getParameter("firstname");

+        String lastName = request.getParameter("lastname");

+        out.println(rb.getString("requestparams.params-in-req") + "<br>");

+        if (firstName != null || lastName != null) {

+            out.println(rb.getString("requestparams.firstname"));

+            out.println(" = " + HTMLFilter.filter(firstName) + "<br>");

+            out.println(rb.getString("requestparams.lastname"));

+            out.println(" = " + HTMLFilter.filter(lastName));

+        } else {

+            out.println(rb.getString("requestparams.no-params"));

+        }

+        out.println("<P>");

+        out.print("<form action=\"");

+        out.print("RequestParamExample\" ");

+        out.println("method=POST>");

+        out.println(rb.getString("requestparams.firstname"));

+        out.println("<input type=text size=20 name=firstname>");

+        out.println("<br>");

+        out.println(rb.getString("requestparams.lastname"));

+        out.println("<input type=text size=20 name=lastname>");

+        out.println("<br>");

+        out.println("<input type=submit>");

+        out.println("</form>");

+

+        out.println("</body>");

+        out.println("</html>");

+    }

+

+    public void doPost(HttpServletRequest request,

+                      HttpServletResponse response)

+        throws IOException, ServletException

+    {

+        doGet(request, response);

+    }

+

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/SessionExample.class b/tomcat-uid/webapps/examples/WEB-INF/classes/SessionExample.class
new file mode 100644
index 0000000..372e463
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/SessionExample.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/SessionExample.java b/tomcat-uid/webapps/examples/WEB-INF/classes/SessionExample.java
new file mode 100644
index 0000000..33f4f8f
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/SessionExample.java
@@ -0,0 +1,133 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+import java.io.*;

+import java.util.*;

+import javax.servlet.*;

+import javax.servlet.http.*;

+

+import util.HTMLFilter;

+

+/**

+ * Example servlet showing request headers

+ *

+ * @author James Duncan Davidson <duncan@eng.sun.com>

+ */

+

+public class SessionExample extends HttpServlet {

+

+    ResourceBundle rb = ResourceBundle.getBundle("LocalStrings");

+    

+    public void doGet(HttpServletRequest request,

+                      HttpServletResponse response)

+        throws IOException, ServletException

+    {

+        response.setContentType("text/html");

+

+        PrintWriter out = response.getWriter();

+        out.println("<html>");

+        out.println("<head>");

+

+        String title = rb.getString("sessions.title");

+        out.println("<title>" + title + "</title>");

+        out.println("</head>");

+        out.println("<body bgcolor=\"white\">");

+

+        // img stuff not req'd for source code html showing

+	// relative links everywhere!

+

+        // XXX

+        // making these absolute till we work out the

+        // addition of a PathInfo issue 

+	

+        out.println("<a href=\"../sessions.html\">");

+        out.println("<img src=\"../images/code.gif\" height=24 " +

+                    "width=24 align=right border=0 alt=\"view code\"></a>");

+        out.println("<a href=\"../index.html\">");

+        out.println("<img src=\"../images/return.gif\" height=24 " +

+                    "width=24 align=right border=0 alt=\"return\"></a>");

+

+        out.println("<h3>" + title + "</h3>");

+

+        HttpSession session = request.getSession(true);

+        out.println(rb.getString("sessions.id") + " " + session.getId());

+        out.println("<br>");

+        out.println(rb.getString("sessions.created") + " ");

+        out.println(new Date(session.getCreationTime()) + "<br>");

+        out.println(rb.getString("sessions.lastaccessed") + " ");

+        out.println(new Date(session.getLastAccessedTime()));

+

+        String dataName = request.getParameter("dataname");

+        String dataValue = request.getParameter("datavalue");

+        if (dataName != null && dataValue != null) {

+            session.setAttribute(dataName, dataValue);

+        }

+

+        out.println("<P>");

+        out.println(rb.getString("sessions.data") + "<br>");

+        Enumeration names = session.getAttributeNames();

+        while (names.hasMoreElements()) {

+            String name = (String) names.nextElement(); 

+            String value = session.getAttribute(name).toString();

+            out.println(HTMLFilter.filter(name) + " = " 

+                        + HTMLFilter.filter(value) + "<br>");

+        }

+

+        out.println("<P>");

+        out.print("<form action=\"");

+	out.print(response.encodeURL("SessionExample"));

+        out.print("\" ");

+        out.println("method=POST>");

+        out.println(rb.getString("sessions.dataname"));

+        out.println("<input type=text size=20 name=dataname>");

+        out.println("<br>");

+        out.println(rb.getString("sessions.datavalue"));

+        out.println("<input type=text size=20 name=datavalue>");

+        out.println("<br>");

+        out.println("<input type=submit>");

+        out.println("</form>");

+

+        out.println("<P>GET based form:<br>");

+        out.print("<form action=\"");

+	out.print(response.encodeURL("SessionExample"));

+        out.print("\" ");

+        out.println("method=GET>");

+        out.println(rb.getString("sessions.dataname"));

+        out.println("<input type=text size=20 name=dataname>");

+        out.println("<br>");

+        out.println(rb.getString("sessions.datavalue"));

+        out.println("<input type=text size=20 name=datavalue>");

+        out.println("<br>");

+        out.println("<input type=submit>");

+        out.println("</form>");

+

+        out.print("<p><a href=\"");

+        out.print(HTMLFilter.filter(response.encodeURL("SessionExample?dataname=foo&datavalue=bar")));

+        out.println("\" >URL encoded </a>");

+	

+        out.println("</body>");

+        out.println("</html>");

+    }

+

+    public void doPost(HttpServletRequest request,

+                      HttpServletResponse response)

+        throws IOException, ServletException

+    {

+        doGet(request, response);

+    }

+

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/cal/Entries.class b/tomcat-uid/webapps/examples/WEB-INF/classes/cal/Entries.class
new file mode 100644
index 0000000..ab44434
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/cal/Entries.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/cal/Entries.java b/tomcat-uid/webapps/examples/WEB-INF/classes/cal/Entries.java
new file mode 100644
index 0000000..ea0867b
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/cal/Entries.java
@@ -0,0 +1,72 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+package cal;

+

+import java.util.Hashtable;

+import javax.servlet.http.*;

+

+public class Entries {

+

+  private Hashtable entries;

+  private static final String[] time = {"8am", "9am", "10am", "11am", "12pm", 

+					"1pm", "2pm", "3pm", "4pm", "5pm", "6pm",

+					"7pm", "8pm" };

+  public static final int rows = 12;

+

+  public Entries () {   

+   entries = new Hashtable (rows);

+   for (int i=0; i < rows; i++) {

+     entries.put (time[i], new Entry(time[i]));

+   }

+  }

+

+  public int getRows () {

+    return rows;

+  }

+

+  public Entry getEntry (int index) {

+    return (Entry)this.entries.get(time[index]);

+  }

+

+  public int getIndex (String tm) {

+    for (int i=0; i<rows; i++)

+      if(tm.equals(time[i])) return i;

+    return -1;

+  }

+

+  public void processRequest (HttpServletRequest request, String tm) {

+    int index = getIndex (tm);

+    if (index >= 0) {

+      String descr = request.getParameter ("description");

+      ((Entry)entries.get(time[index])).setDescription (descr);

+    }

+  }

+

+}

+

+

+

+

+

+

+

+

+

+

+

+

+

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/cal/Entry.class b/tomcat-uid/webapps/examples/WEB-INF/classes/cal/Entry.class
new file mode 100644
index 0000000..b4619a6
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/cal/Entry.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/cal/Entry.java b/tomcat-uid/webapps/examples/WEB-INF/classes/cal/Entry.java
new file mode 100644
index 0000000..d4596d9
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/cal/Entry.java
@@ -0,0 +1,55 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+package cal;

+

+public class Entry {

+

+  String hour;

+  String description;

+  String color;

+

+  public Entry (String hour) {

+    this.hour = hour;

+    this.description = "";

+

+  }

+

+  public String getHour () {

+    return this.hour;

+  }

+

+  public String getColor () {

+    if (description.equals("")) return "lightblue";

+    else return "red";

+  }

+

+  public String getDescription () {

+    if (description.equals("")) return "None";

+    else return this.description;

+  }

+

+  public void setDescription (String descr) {

+    description = descr;

+  }

+ 

+}

+

+

+

+

+

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/cal/JspCalendar.class b/tomcat-uid/webapps/examples/WEB-INF/classes/cal/JspCalendar.class
new file mode 100644
index 0000000..dfd95e1
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/cal/JspCalendar.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/cal/JspCalendar.java b/tomcat-uid/webapps/examples/WEB-INF/classes/cal/JspCalendar.java
new file mode 100644
index 0000000..b2db6c0
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/cal/JspCalendar.java
@@ -0,0 +1,154 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+package cal;

+

+import java.util.*;

+

+public class JspCalendar {

+    Calendar  calendar = null;

+    Date currentDate;

+

+    public JspCalendar() {

+	calendar = Calendar.getInstance();

+	Date trialTime = new Date();

+	calendar.setTime(trialTime);

+    }

+

+

+    public int getYear() {

+	return calendar.get(Calendar.YEAR);

+    }

+    

+    public String getMonth() {

+	int m = getMonthInt();

+	String[] months = new String [] { "January", "February", "March",

+					"April", "May", "June",

+					"July", "August", "September",

+					"October", "November", "December" };

+	if (m > 12)

+	    return "Unknown to Man";

+	

+	return months[m - 1];

+

+    }

+

+    public String getDay() {

+	int x = getDayOfWeek();

+	String[] days = new String[] {"Sunday", "Monday", "Tuesday", "Wednesday", 

+				      "Thursday", "Friday", "Saturday"};

+

+	if (x > 7)

+	    return "Unknown to Man";

+

+	return days[x - 1];

+

+    }

+    

+    public int getMonthInt() {

+	return 1 + calendar.get(Calendar.MONTH);

+    }

+

+    public String getDate() {

+	return getMonthInt() + "/" + getDayOfMonth() + "/" +  getYear();	

+    }

+

+    public String getCurrentDate() {

+        Date dt = new Date ();

+	calendar.setTime (dt);

+	return getMonthInt() + "/" + getDayOfMonth() + "/" +  getYear();

+

+    }

+

+    public String getNextDate() {

+        calendar.set (Calendar.DAY_OF_MONTH, getDayOfMonth() + 1);

+	return getDate ();

+    }

+

+    public String getPrevDate() {

+        calendar.set (Calendar.DAY_OF_MONTH, getDayOfMonth() - 1);

+	return getDate ();

+    }

+

+    public String getTime() {

+	return getHour() + ":" + getMinute() + ":" + getSecond();

+    }

+

+    public int getDayOfMonth() {

+	return calendar.get(Calendar.DAY_OF_MONTH);

+    }

+

+    public int getDayOfYear() {

+	return calendar.get(Calendar.DAY_OF_YEAR);

+    }

+

+    public int getWeekOfYear() {

+	return calendar.get(Calendar.WEEK_OF_YEAR);

+    }

+

+    public int getWeekOfMonth() {

+	return calendar.get(Calendar.WEEK_OF_MONTH);

+    }

+

+    public int getDayOfWeek() {

+	return calendar.get(Calendar.DAY_OF_WEEK);

+    }

+     

+    public int getHour() {

+	return calendar.get(Calendar.HOUR_OF_DAY);

+    }

+    

+    public int getMinute() {

+	return calendar.get(Calendar.MINUTE);

+    }

+

+

+    public int getSecond() {

+	return calendar.get(Calendar.SECOND);

+    }

+

+  

+    public int getEra() {

+	return calendar.get(Calendar.ERA);

+    }

+

+    public String getUSTimeZone() {

+	String[] zones = new String[] {"Hawaii", "Alaskan", "Pacific",

+				       "Mountain", "Central", "Eastern"};

+	

+	return zones[10 + getZoneOffset()];

+    }

+

+    public int getZoneOffset() {

+	return calendar.get(Calendar.ZONE_OFFSET)/(60*60*1000);

+    }

+

+

+    public int getDSTOffset() {

+	return calendar.get(Calendar.DST_OFFSET)/(60*60*1000);

+    }

+

+    

+    public int getAMPM() {

+	return calendar.get(Calendar.AM_PM);

+    }

+}

+

+

+

+

+

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/cal/TableBean.class b/tomcat-uid/webapps/examples/WEB-INF/classes/cal/TableBean.class
new file mode 100644
index 0000000..8afd547
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/cal/TableBean.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/cal/TableBean.java b/tomcat-uid/webapps/examples/WEB-INF/classes/cal/TableBean.java
new file mode 100644
index 0000000..f55327c
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/cal/TableBean.java
@@ -0,0 +1,100 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+package cal;

+

+import javax.servlet.http.*;

+import java.util.Hashtable;

+

+public class TableBean {

+

+  Hashtable table;

+  JspCalendar JspCal;

+  Entries entries;

+  String date;

+  String name = null;

+  String email = null;

+  boolean processError = false;

+

+  public TableBean () {

+    this.table = new Hashtable (10);

+    this.JspCal = new JspCalendar ();

+    this.date = JspCal.getCurrentDate ();

+  }

+

+  public void setName (String nm) {

+    this.name = nm;

+  }

+

+  public String getName () {

+    return this.name;

+  }

+  

+  public void setEmail (String mail) {

+    this.email = mail;

+  }

+

+  public String getEmail () {

+    return this.email;

+  }

+

+  public String getDate () {

+    return this.date;

+  }

+

+  public Entries getEntries () {

+    return this.entries;

+  }

+

+  public void processRequest (HttpServletRequest request) {

+

+    // Get the name and e-mail.

+    this.processError = false;

+    if (name == null || name.equals("")) setName(request.getParameter ("name"));  

+    if (email == null || email.equals("")) setEmail(request.getParameter ("email"));

+    if (name == null || email == null ||

+		name.equals("") || email.equals("")) {

+      this.processError = true;

+      return;

+    }

+

+    // Get the date.

+    String dateR = request.getParameter ("date");

+    if (dateR == null) date = JspCal.getCurrentDate ();

+    else if (dateR.equalsIgnoreCase("next")) date = JspCal.getNextDate ();

+    else if (dateR.equalsIgnoreCase("prev")) date = JspCal.getPrevDate ();

+

+    entries = (Entries) table.get (date);

+    if (entries == null) {

+      entries = new Entries ();

+      table.put (date, entries);

+    }

+

+    // If time is provided add the event.

+	String time = request.getParameter("time");

+    if (time != null) entries.processRequest (request, time);

+  }

+

+  public boolean getProcessError () {

+    return this.processError;

+  }

+}

+

+

+

+

+

+

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/chat/ChatServlet$MessageSender.class b/tomcat-uid/webapps/examples/WEB-INF/classes/chat/ChatServlet$MessageSender.class
new file mode 100644
index 0000000..6712d68
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/chat/ChatServlet$MessageSender.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/chat/ChatServlet.class b/tomcat-uid/webapps/examples/WEB-INF/classes/chat/ChatServlet.class
new file mode 100644
index 0000000..752adba
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/chat/ChatServlet.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/chat/ChatServlet.java b/tomcat-uid/webapps/examples/WEB-INF/classes/chat/ChatServlet.java
new file mode 100644
index 0000000..11d3757
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/chat/ChatServlet.java
@@ -0,0 +1,293 @@
+/*

+ * Licensed to the Apache Software Foundation (ASF) under one or more

+ * contributor license agreements.  See the NOTICE file distributed with

+ * this work for additional information regarding copyright ownership.

+ * The ASF licenses this file to You under the Apache License, Version 2.0

+ * (the "License"); you may not use this file except in compliance with

+ * the License.  You may obtain a copy of the License at

+ * 

+ *      http://www.apache.org/licenses/LICENSE-2.0

+ * 

+ * Unless required by applicable law or agreed to in writing, software

+ * distributed under the License is distributed on an "AS IS" BASIS,

+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+ * See the License for the specific language governing permissions and

+ * limitations under the License.

+ */

+

+

+package chat;

+

+

+import java.io.IOException;

+import java.io.InputStream;

+import java.io.PrintWriter;

+import java.util.ArrayList;

+

+import org.apache.catalina.CometEvent;

+import org.apache.catalina.CometProcessor;

+

+import javax.servlet.ServletException;

+import javax.servlet.http.HttpServlet;

+import javax.servlet.http.HttpServletRequest;

+import javax.servlet.http.HttpServletResponse;

+

+

+/**

+ * Helper class to implement Comet functionality.

+ */

+public class ChatServlet

+    extends HttpServlet implements CometProcessor {

+

+    private static final String CHARSET = "UTF-8";

+

+    protected ArrayList<HttpServletResponse> connections = 

+        new ArrayList<HttpServletResponse>();

+    protected MessageSender messageSender = null;

+    

+    public void init() throws ServletException {

+        messageSender = new MessageSender();

+        Thread messageSenderThread = 

+            new Thread(messageSender, "MessageSender[" + getServletContext().getContextPath() + "]");

+        messageSenderThread.setDaemon(true);

+        messageSenderThread.start();

+    }

+

+    public void destroy() {

+        connections.clear();

+        messageSender.stop();

+        messageSender = null;

+    }

+

+    /**

+     * Process the given Comet event.

+     * 

+     * @param event The Comet event that will be processed

+     * @throws IOException

+     * @throws ServletException

+     */

+    public void event(CometEvent event)

+        throws IOException, ServletException {

+

+        // Note: There should really be two servlets in this example, to avoid

+        // mixing Comet stuff with regular connection processing

+        HttpServletRequest request = event.getHttpServletRequest();

+        HttpServletResponse response = event.getHttpServletResponse();

+        

+        if (event.getEventType() == CometEvent.EventType.BEGIN) {

+            String action = request.getParameter("action");

+            if (action != null) {

+                if ("login".equals(action)) {

+                    String nickname = request.getParameter("nickname");

+                    request.getSession(true).setAttribute("nickname", nickname);

+                    response.sendRedirect("index.jsp");

+                    event.close();

+                    return;

+                } else {

+                    String nickname = (String) request.getSession(true).getAttribute("nickname");

+                    String message = request.getParameter("message");

+                    messageSender.send(nickname, message);

+                    response.sendRedirect("post.jsp");

+                    event.close();

+                    return;

+                }

+            } else {

+                if (request.getSession(true).getAttribute("nickname") == null) {

+                    // Redirect to "login"

+                    log("Redirect to login for session: " + request.getSession(true).getId());

+                    response.sendRedirect("login.jsp");

+                    event.close();

+                    return;

+                }

+            }

+            begin(event, request, response);

+        } else if (event.getEventType() == CometEvent.EventType.ERROR) {

+            error(event, request, response);

+        } else if (event.getEventType() == CometEvent.EventType.END) {

+            end(event, request, response);

+        } else if (event.getEventType() == CometEvent.EventType.READ) {

+            read(event, request, response);

+        }

+    }

+

+    protected void begin(CometEvent event, HttpServletRequest request, HttpServletResponse response)

+        throws IOException, ServletException {

+        log("Begin for session: " + request.getSession(true).getId());

+

+        response.setContentType("text/html; charset=" + CHARSET);

+

+        PrintWriter writer = response.getWriter();

+        writer.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">");

+        writer.println("<html><head><title>JSP Chat</title></head><body bgcolor=\"#FFFFFF\">");

+        writer.println("<div>Welcome to the chat. <a href='chat'>Click here to reload this window</a></div>");

+        writer.flush();

+

+        synchronized(connections) {

+            connections.add(response);

+        }

+

+        messageSender.send("Tomcat", request.getSession(true).getAttribute("nickname") + " joined the chat.");

+    }

+    

+    protected void end(CometEvent event, HttpServletRequest request, HttpServletResponse response)

+        throws IOException, ServletException {

+        log("End for session: " + request.getSession(true).getId());

+        synchronized(connections) {

+            connections.remove(response);

+        }

+        

+        PrintWriter writer = response.getWriter();

+        writer.println("</body></html>");

+        

+        event.close();

+    }

+    

+    protected void error(CometEvent event, HttpServletRequest request, HttpServletResponse response)

+        throws IOException, ServletException {

+        log("Error for session: " + request.getSession(true).getId());

+        synchronized(connections) {

+            connections.remove(response);

+        }

+        event.close();

+    }

+    

+    protected void read(CometEvent event, HttpServletRequest request, HttpServletResponse response)

+        throws IOException, ServletException {

+        InputStream is = request.getInputStream();

+        byte[] buf = new byte[512];

+        while (is.available() > 0) {

+            log("Available: " + is.available());

+            int n = is.read(buf);

+            if (n > 0) {

+                log("Read " + n + " bytes: " + new String(buf, 0, n) 

+                        + " for session: " + request.getSession(true).getId());

+            } else if (n < 0) {

+                log("End of file: " + n);

+                end(event, request, response);

+                return;

+            }

+        }

+    }

+

+    protected void service(HttpServletRequest request, HttpServletResponse response)

+        throws IOException, ServletException {

+        // Compatibility method: equivalent method using the regular connection model

+        response.setContentType("text/html; charset=" + CHARSET);

+        PrintWriter writer = response.getWriter();

+        writer.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">");

+        writer.println("<html><head><title>JSP Chat</title></head><body bgcolor=\"#FFFFFF\">");

+        writer.println("Chat example only supports Comet processing. ");

+        writer.println("Configure a connector that supports Comet and try again.");

+        writer.println("</body></html>");

+    }

+    

+

+    /**

+     * Poller class.

+     */

+    public class MessageSender implements Runnable {

+

+        protected boolean running = true;

+        protected ArrayList<String> messages = new ArrayList<String>();

+        

+        public MessageSender() {

+        }

+        

+        public void stop() {

+            running = false;

+            synchronized (messages) {

+                messages.notify();

+            }

+        }

+

+        /**

+         * Add specified socket and associated pool to the poller. The socket will

+         * be added to a temporary array, and polled first after a maximum amount

+         * of time equal to pollTime (in most cases, latency will be much lower,

+         * however).

+         *

+         * @param socket to add to the poller

+         */

+        public void send(String user, String message) {

+            synchronized (messages) {

+                messages.add("[" + user + "]: " + message);

+                messages.notify();

+            }

+        }

+

+        /**

+         * The background thread that listens for incoming TCP/IP connections and

+         * hands them off to an appropriate processor.

+         */

+        public void run() {

+

+            // Loop until we receive a shutdown command

+            while (running) {

+                String[] pendingMessages;

+                synchronized (messages) {

+                    try {

+                        if (messages.size() == 0) {

+                            messages.wait();

+                        }

+                    } catch (InterruptedException e) {

+                        // Ignore

+                    }

+                    pendingMessages = messages.toArray(new String[0]);

+                    messages.clear();

+                }

+

+                synchronized (connections) {

+                    for (int i = 0; i < connections.size(); i++) {

+                        try {

+                            PrintWriter writer = connections.get(i).getWriter();

+                            for (int j = 0; j < pendingMessages.length; j++) {

+                                writer.println("<div>"+filter(pendingMessages[j]) + "</div>");

+                            }

+                            writer.flush();

+                        } catch (IOException e) {

+                            log("IOException sending message", e);

+                        }

+                    }

+                }

+

+            }

+

+        }

+

+    }

+

+    /**

+     * Filter the specified message string for characters that are sensitive

+     * in HTML.

+     *

+     * @param message The message string to be filtered

+     * @author Copied from org.apache.catalina.util.RequestUtil#filter(String) 

+     */

+    protected static String filter(String message) {

+        if (message == null)

+            return (null);

+

+        char content[] = new char[message.length()];

+        message.getChars(0, message.length(), content, 0);

+        StringBuilder result = new StringBuilder(content.length + 50);

+        for (int i = 0; i < content.length; i++) {

+            switch (content[i]) {

+            case '<':

+                result.append("&lt;");

+                break;

+            case '>':

+                result.append("&gt;");

+                break;

+            case '&':

+                result.append("&amp;");

+                break;

+            case '"':

+                result.append("&quot;");

+                break;

+            default:

+                result.append(content[i]);

+            }

+        }

+        return (result.toString());

+    }

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/checkbox/CheckTest.class b/tomcat-uid/webapps/examples/WEB-INF/classes/checkbox/CheckTest.class
new file mode 100644
index 0000000..87011a7
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/checkbox/CheckTest.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/checkbox/CheckTest.java b/tomcat-uid/webapps/examples/WEB-INF/classes/checkbox/CheckTest.java
new file mode 100644
index 0000000..70623e2
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/checkbox/CheckTest.java
@@ -0,0 +1,31 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+package checkbox;

+

+public class CheckTest {

+

+    String b[] = new String[] { "1", "2", "3", "4" };

+

+    public String[] getFruit() {

+	return b;

+    }

+

+    public void setFruit(String [] b) {

+	this.b = b;

+    }

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/colors/ColorGameBean.class b/tomcat-uid/webapps/examples/WEB-INF/classes/colors/ColorGameBean.class
new file mode 100644
index 0000000..408dc45
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/colors/ColorGameBean.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/colors/ColorGameBean.java b/tomcat-uid/webapps/examples/WEB-INF/classes/colors/ColorGameBean.java
new file mode 100644
index 0000000..5748217
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/colors/ColorGameBean.java
@@ -0,0 +1,115 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+package colors;

+

+import javax.servlet.http.*;

+

+public class ColorGameBean {

+

+    private String background = "yellow";

+    private String foreground = "red";

+    private String color1 = foreground;

+    private String color2 = background;

+    private String hint = "no";

+    private int attempts = 0;

+	private int intval = 0;

+    private boolean tookHints = false;

+

+    public void processRequest(HttpServletRequest request) {

+

+	// background = "yellow";

+	// foreground = "red";

+

+	if (! color1.equals(foreground)) {

+	    if (color1.equalsIgnoreCase("black") ||

+			color1.equalsIgnoreCase("cyan")) {

+			background = color1;

+		}

+	}

+

+	if (! color2.equals(background)) {

+	    if (color2.equalsIgnoreCase("black") ||

+			color2.equalsIgnoreCase("cyan")) {

+			foreground = color2;

+	    }

+	}

+

+	attempts++;

+    }

+

+    public void setColor2(String x) {

+	color2 = x;

+    }

+

+    public void setColor1(String x) {

+	color1 = x;

+    }

+

+    public void setAction(String x) {

+	if (!tookHints)

+	    tookHints = x.equalsIgnoreCase("Hint");

+	hint = x;

+    }

+

+    public String getColor2() {

+	 return background;

+    }

+

+    public String getColor1() {

+	 return foreground;

+    }

+

+    public int getAttempts() {

+	return attempts;

+    }

+

+    public boolean getHint() {

+	return hint.equalsIgnoreCase("Hint");

+    }

+

+    public boolean getSuccess() {

+	if (background.equalsIgnoreCase("black") ||

+	    background.equalsIgnoreCase("cyan")) {

+	

+	    if (foreground.equalsIgnoreCase("black") ||

+		foreground.equalsIgnoreCase("cyan"))

+		return true;

+	    else

+		return false;

+	}

+

+	return false;

+    }

+

+    public boolean getHintTaken() {

+	return tookHints;

+    }

+

+    public void reset() {

+	foreground = "red";

+	background = "yellow";

+    }

+

+    public void setIntval(int value) {

+	intval = value;

+	}

+

+    public int getIntval() {

+	return intval;

+	}

+}

+

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.class b/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.class
new file mode 100644
index 0000000..619a1a2
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.java b/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.java
new file mode 100644
index 0000000..fc298e2
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.java
@@ -0,0 +1,217 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+package compressionFilters;

+

+import java.io.IOException;

+import java.util.Enumeration;

+import javax.servlet.Filter;

+import javax.servlet.FilterChain;

+import javax.servlet.FilterConfig;

+import javax.servlet.ServletException;

+import javax.servlet.ServletRequest;

+import javax.servlet.ServletResponse;

+import javax.servlet.http.HttpServletRequest;

+import javax.servlet.http.HttpServletResponse;

+

+

+/**

+ * Implementation of <code>javax.servlet.Filter</code> used to compress

+ * the ServletResponse if it is bigger than a threshold.

+ *

+ * @author Amy Roh

+ * @author Dmitri Valdin

+ */

+public class CompressionFilter implements Filter{

+

+    /**

+     * The filter configuration object we are associated with.  If this value

+     * is null, this filter instance is not currently configured.

+     */

+    private FilterConfig config = null;

+

+    /**

+     * Minimal reasonable threshold

+     */

+    private int minThreshold = 128;

+

+

+    /**

+     * The threshold number to compress

+     */

+    protected int compressionThreshold;

+

+    /**

+     * Debug level for this filter

+     */

+    private int debug = 0;

+

+    /**

+     * Place this filter into service.

+     *

+     * @param filterConfig The filter configuration object

+     */

+

+    public void init(FilterConfig filterConfig) {

+

+        config = filterConfig;

+        if (filterConfig != null) {

+            String value = filterConfig.getInitParameter("debug");

+            if (value!=null) {

+                debug = Integer.parseInt(value);

+            } else {

+                debug = 0;

+            }

+            String str = filterConfig.getInitParameter("compressionThreshold");

+            if (str!=null) {

+                compressionThreshold = Integer.parseInt(str);

+                if (compressionThreshold != 0 && compressionThreshold < minThreshold) {

+                    if (debug > 0) {

+                        System.out.println("compressionThreshold should be either 0 - no compression or >= " + minThreshold);

+                        System.out.println("compressionThreshold set to " + minThreshold);

+                    }

+                    compressionThreshold = minThreshold;

+                }

+            } else {

+                compressionThreshold = 0;

+            }

+

+        } else {

+            compressionThreshold = 0;

+        }

+

+    }

+

+    /**

+    * Take this filter out of service.

+    */

+    public void destroy() {

+

+        this.config = null;

+

+    }

+

+    /**

+     * The <code>doFilter</code> method of the Filter is called by the container

+     * each time a request/response pair is passed through the chain due

+     * to a client request for a resource at the end of the chain.

+     * The FilterChain passed into this method allows the Filter to pass on the

+     * request and response to the next entity in the chain.<p>

+     * This method first examines the request to check whether the client support

+     * compression. <br>

+     * It simply just pass the request and response if there is no support for

+     * compression.<br>

+     * If the compression support is available, it creates a

+     * CompressionServletResponseWrapper object which compresses the content and

+     * modifies the header if the content length is big enough.

+     * It then invokes the next entity in the chain using the FilterChain object

+     * (<code>chain.doFilter()</code>), <br>

+     **/

+

+    public void doFilter ( ServletRequest request, ServletResponse response,

+                        FilterChain chain ) throws IOException, ServletException {

+

+        if (debug > 0) {

+            System.out.println("@doFilter");

+        }

+

+        if (compressionThreshold == 0) {

+            if (debug > 0) {

+                System.out.println("doFilter gets called, but compressionTreshold is set to 0 - no compression");

+            }

+            chain.doFilter(request, response);

+            return;

+        }

+

+        boolean supportCompression = false;

+        if (request instanceof HttpServletRequest) {

+            if (debug > 1) {

+                System.out.println("requestURI = " + ((HttpServletRequest)request).getRequestURI());

+            }

+

+            // Are we allowed to compress ?

+            String s = (String) ((HttpServletRequest)request).getParameter("gzip");

+            if ("false".equals(s)) {

+                if (debug > 0) {

+                    System.out.println("got parameter gzip=false --> don't compress, just chain filter");

+                }

+                chain.doFilter(request, response);

+                return;

+            }

+

+            Enumeration e =

+                ((HttpServletRequest)request).getHeaders("Accept-Encoding");

+            while (e.hasMoreElements()) {

+                String name = (String)e.nextElement();

+                if (name.indexOf("gzip") != -1) {

+                    if (debug > 0) {

+                        System.out.println("supports compression");

+                    }

+                    supportCompression = true;

+                } else {

+                    if (debug > 0) {

+                        System.out.println("no support for compresion");

+                    }

+                }

+            }

+        }

+

+        if (!supportCompression) {

+            if (debug > 0) {

+                System.out.println("doFilter gets called wo compression");

+            }

+            chain.doFilter(request, response);

+            return;

+        } else {

+            if (response instanceof HttpServletResponse) {

+                CompressionServletResponseWrapper wrappedResponse =

+                    new CompressionServletResponseWrapper((HttpServletResponse)response);

+                wrappedResponse.setDebugLevel(debug);

+                wrappedResponse.setCompressionThreshold(compressionThreshold);

+                if (debug > 0) {

+                    System.out.println("doFilter gets called with compression");

+                }

+                try {

+                    chain.doFilter(request, wrappedResponse);

+                } finally {

+                    wrappedResponse.finishResponse();

+                }

+                return;

+            }

+        }

+    }

+

+    /**

+     * Set filter config

+     * This function is equivalent to init. Required by Weblogic 6.1

+     *

+     * @param filterConfig The filter configuration object

+     */

+    public void setFilterConfig(FilterConfig filterConfig) {

+        init(filterConfig);

+    }

+

+    /**

+     * Return filter config

+     * Required by Weblogic 6.1

+     */

+    public FilterConfig getFilterConfig() {

+        return config;

+    }

+

+}

+

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.class b/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.class
new file mode 100644
index 0000000..a48332d
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.java b/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.java
new file mode 100644
index 0000000..9f6090a
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.java
@@ -0,0 +1,55 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+package compressionFilters;

+

+import java.io.IOException;

+import java.util.Enumeration;

+import javax.servlet.*;

+import javax.servlet.http.*;

+

+/**

+ * Very Simple test servlet to test compression filter

+ * @author Amy Roh

+ */

+public class CompressionFilterTestServlet extends HttpServlet {

+

+    public void doGet(HttpServletRequest request, HttpServletResponse response)

+        throws ServletException, IOException {

+

+        ServletOutputStream out = response.getOutputStream();

+        response.setContentType("text/plain");

+

+        Enumeration e = ((HttpServletRequest)request).getHeaders("Accept-Encoding");

+        while (e.hasMoreElements()) {

+            String name = (String)e.nextElement();

+            out.println(name);

+            if (name.indexOf("gzip") != -1) {

+                out.println("gzip supported -- able to compress");

+            }

+            else {

+                out.println("gzip not supported");

+            }

+        }

+

+

+        out.println("Compression Filter Test Servlet");

+        out.close();

+    }

+

+}

+

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.class b/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.class
new file mode 100644
index 0000000..a52f332
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.java b/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.java
new file mode 100644
index 0000000..120b82a
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.java
@@ -0,0 +1,322 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+package compressionFilters;

+

+import java.io.IOException;

+import java.io.OutputStream;

+import java.util.zip.GZIPOutputStream;

+import javax.servlet.ServletOutputStream;

+import javax.servlet.http.HttpServletResponse;

+

+

+/**

+ * Implementation of <b>ServletOutputStream</b> that works with

+ * the CompressionServletResponseWrapper implementation.

+ *

+ * @author Amy Roh

+ * @author Dmitri Valdin

+ */

+public class CompressionResponseStream

+    extends ServletOutputStream {

+

+

+    // ----------------------------------------------------------- Constructors

+

+

+    /**

+     * Construct a servlet output stream associated with the specified Response.

+     *

+     * @param response The associated response

+     */

+    public CompressionResponseStream(HttpServletResponse response) throws IOException{

+

+        super();

+        closed = false;

+        this.response = response;

+        this.output = response.getOutputStream();

+

+    }

+

+

+    // ----------------------------------------------------- Instance Variables

+

+

+    /**

+     * The threshold number which decides to compress or not.

+     * Users can configure in web.xml to set it to fit their needs.

+     */

+    protected int compressionThreshold = 0;

+

+    /**

+     * Debug level

+     */

+    private int debug = 0;

+

+    /**

+     * The buffer through which all of our output bytes are passed.

+     */

+    protected byte[] buffer = null;

+

+    /**

+     * The number of data bytes currently in the buffer.

+     */

+    protected int bufferCount = 0;

+

+    /**

+     * The underlying gzip output stream to which we should write data.

+     */

+    protected OutputStream gzipstream = null;

+

+    /**

+     * Has this stream been closed?

+     */

+    protected boolean closed = false;

+

+    /**

+     * The content length past which we will not write, or -1 if there is

+     * no defined content length.

+     */

+    protected int length = -1;

+

+    /**

+     * The response with which this servlet output stream is associated.

+     */

+    protected HttpServletResponse response = null;

+

+    /**

+     * The underlying servket output stream to which we should write data.

+     */

+    protected ServletOutputStream output = null;

+

+

+    // --------------------------------------------------------- Public Methods

+

+    /**

+     * Set debug level

+     */

+    public void setDebugLevel(int debug) {

+        this.debug = debug;

+    }

+

+

+    /**

+     * Set the compressionThreshold number and create buffer for this size

+     */

+    protected void setBuffer(int threshold) {

+        compressionThreshold = threshold;

+        buffer = new byte[compressionThreshold];

+        if (debug > 1) {

+            System.out.println("buffer is set to "+compressionThreshold);

+        }

+    }

+

+    /**

+     * Close this output stream, causing any buffered data to be flushed and

+     * any further output data to throw an IOException.

+     */

+    public void close() throws IOException {

+

+        if (debug > 1) {

+            System.out.println("close() @ CompressionResponseStream");

+        }

+        if (closed)

+            throw new IOException("This output stream has already been closed");

+

+        if (gzipstream != null) {

+            flushToGZip();

+            gzipstream.close();

+            gzipstream = null;

+        } else {

+            if (bufferCount > 0) {

+                if (debug > 2) {

+                    System.out.print("output.write(");

+                    System.out.write(buffer, 0, bufferCount);

+                    System.out.println(")");

+                }

+                output.write(buffer, 0, bufferCount);

+                bufferCount = 0;

+            }

+        }

+

+        output.close();

+        closed = true;

+

+    }

+

+

+    /**

+     * Flush any buffered data for this output stream, which also causes the

+     * response to be committed.

+     */

+    public void flush() throws IOException {

+

+        if (debug > 1) {

+            System.out.println("flush() @ CompressionResponseStream");

+        }

+        if (closed) {

+            throw new IOException("Cannot flush a closed output stream");

+        }

+

+        if (gzipstream != null) {

+            gzipstream.flush();

+        }

+

+    }

+

+    public void flushToGZip() throws IOException {

+

+        if (debug > 1) {

+            System.out.println("flushToGZip() @ CompressionResponseStream");

+        }

+        if (bufferCount > 0) {

+            if (debug > 1) {

+                System.out.println("flushing out to GZipStream, bufferCount = " + bufferCount);

+            }

+            writeToGZip(buffer, 0, bufferCount);

+            bufferCount = 0;

+        }

+

+    }

+

+    /**

+     * Write the specified byte to our output stream.

+     *

+     * @param b The byte to be written

+     *

+     * @exception IOException if an input/output error occurs

+     */

+    public void write(int b) throws IOException {

+

+        if (debug > 1) {

+            System.out.println("write "+b+" in CompressionResponseStream ");

+        }

+        if (closed)

+            throw new IOException("Cannot write to a closed output stream");

+

+        if (bufferCount >= buffer.length) {

+            flushToGZip();

+        }

+

+        buffer[bufferCount++] = (byte) b;

+

+    }

+

+

+    /**

+     * Write <code>b.length</code> bytes from the specified byte array

+     * to our output stream.

+     *

+     * @param b The byte array to be written

+     *

+     * @exception IOException if an input/output error occurs

+     */

+    public void write(byte b[]) throws IOException {

+

+        write(b, 0, b.length);

+

+    }

+

+

+    /**

+     * Write <code>len</code> bytes from the specified byte array, starting

+     * at the specified offset, to our output stream.

+     *

+     * @param b The byte array containing the bytes to be written

+     * @param off Zero-relative starting offset of the bytes to be written

+     * @param len The number of bytes to be written

+     *

+     * @exception IOException if an input/output error occurs

+     */

+    public void write(byte b[], int off, int len) throws IOException {

+

+        if (debug > 1) {

+            System.out.println("write, bufferCount = " + bufferCount + " len = " + len + " off = " + off);

+        }

+        if (debug > 2) {

+            System.out.print("write(");

+            System.out.write(b, off, len);

+            System.out.println(")");

+        }

+

+        if (closed)

+            throw new IOException("Cannot write to a closed output stream");

+

+        if (len == 0)

+            return;

+

+        // Can we write into buffer ?

+        if (len <= (buffer.length - bufferCount)) {

+            System.arraycopy(b, off, buffer, bufferCount, len);

+            bufferCount += len;

+            return;

+        }

+

+        // There is not enough space in buffer. Flush it ...

+        flushToGZip();

+

+        // ... and try again. Note, that bufferCount = 0 here !

+        if (len <= (buffer.length - bufferCount)) {

+            System.arraycopy(b, off, buffer, bufferCount, len);

+            bufferCount += len;

+            return;

+        }

+

+        // write direct to gzip

+        writeToGZip(b, off, len);

+    }

+

+    public void writeToGZip(byte b[], int off, int len) throws IOException {

+

+        if (debug > 1) {

+            System.out.println("writeToGZip, len = " + len);

+        }

+        if (debug > 2) {

+            System.out.print("writeToGZip(");

+            System.out.write(b, off, len);

+            System.out.println(")");

+        }

+        if (gzipstream == null) {

+            if (debug > 1) {

+                System.out.println("new GZIPOutputStream");

+            }

+            if (response.isCommitted()) {

+                if (debug > 1)

+                    System.out.print("Response already committed. Using original output stream");

+                gzipstream = output;

+            } else {

+                response.addHeader("Content-Encoding", "gzip");

+                gzipstream = new GZIPOutputStream(output);

+            }

+        }

+        gzipstream.write(b, off, len);

+

+    }

+

+

+    // -------------------------------------------------------- Package Methods

+

+

+    /**

+     * Has this response stream been closed?

+     */

+    public boolean closed() {

+

+        return (this.closed);

+

+    }

+

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.class b/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.class
new file mode 100644
index 0000000..838e08c
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.java b/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.java
new file mode 100644
index 0000000..e2cd66b
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.java
@@ -0,0 +1,243 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+package compressionFilters;

+

+import java.io.IOException;

+import java.io.OutputStreamWriter;

+import java.io.PrintWriter;

+import javax.servlet.ServletOutputStream;

+import javax.servlet.http.HttpServletResponse;

+import javax.servlet.http.HttpServletResponseWrapper;

+

+/**

+ * Implementation of <b>HttpServletResponseWrapper</b> that works with

+ * the CompressionServletResponseStream implementation..

+ *

+ * @author Amy Roh

+ * @author Dmitri Valdin

+ */

+public class CompressionServletResponseWrapper extends HttpServletResponseWrapper {

+

+    // ----------------------------------------------------- Constructor

+

+    /**

+     * Calls the parent constructor which creates a ServletResponse adaptor

+     * wrapping the given response object.

+     */

+

+    public CompressionServletResponseWrapper(HttpServletResponse response) {

+        super(response);

+        origResponse = response;

+        if (debug > 1) {

+            System.out.println("CompressionServletResponseWrapper constructor gets called");

+        }

+    }

+

+

+    // ----------------------------------------------------- Instance Variables

+

+    /**

+     * Original response

+     */

+

+    protected HttpServletResponse origResponse = null;

+

+    /**

+     * Descriptive information about this Response implementation.

+     */

+

+    protected static final String info = "CompressionServletResponseWrapper";

+

+    /**

+     * The ServletOutputStream that has been returned by

+     * <code>getOutputStream()</code>, if any.

+     */

+

+    protected ServletOutputStream stream = null;

+

+

+    /**

+     * The PrintWriter that has been returned by

+     * <code>getWriter()</code>, if any.

+     */

+

+    protected PrintWriter writer = null;

+

+    /**

+     * The threshold number to compress

+     */

+    protected int threshold = 0;

+

+    /**

+     * Debug level

+     */

+    private int debug = 0;

+

+    /**

+     * Content type

+     */

+    protected String contentType = null;

+

+    // --------------------------------------------------------- Public Methods

+

+

+    /**

+     * Set content type

+     */

+    public void setContentType(String contentType) {

+        if (debug > 1) {

+            System.out.println("setContentType to "+contentType);

+        }

+        this.contentType = contentType;

+        origResponse.setContentType(contentType);

+    }

+

+

+    /**

+     * Set threshold number

+     */

+    public void setCompressionThreshold(int threshold) {

+        if (debug > 1) {

+            System.out.println("setCompressionThreshold to " + threshold);

+        }

+        this.threshold = threshold;

+    }

+

+

+    /**

+     * Set debug level

+     */

+    public void setDebugLevel(int debug) {

+        this.debug = debug;

+    }

+

+

+    /**

+     * Create and return a ServletOutputStream to write the content

+     * associated with this Response.

+     *

+     * @exception IOException if an input/output error occurs

+     */

+    public ServletOutputStream createOutputStream() throws IOException {

+        if (debug > 1) {

+            System.out.println("createOutputStream gets called");

+        }

+

+        CompressionResponseStream stream = new CompressionResponseStream(origResponse);

+        stream.setDebugLevel(debug);

+        stream.setBuffer(threshold);

+

+        return stream;

+

+    }

+

+

+    /**

+     * Finish a response.

+     */

+    public void finishResponse() {

+        try {

+            if (writer != null) {

+                writer.close();

+            } else {

+                if (stream != null)

+                    stream.close();

+            }

+        } catch (IOException e) {

+        }

+    }

+

+

+    // ------------------------------------------------ ServletResponse Methods

+

+

+    /**

+     * Flush the buffer and commit this response.

+     *

+     * @exception IOException if an input/output error occurs

+     */

+    public void flushBuffer() throws IOException {

+        if (debug > 1) {

+            System.out.println("flush buffer @ CompressionServletResponseWrapper");

+        }

+        ((CompressionResponseStream)stream).flush();

+

+    }

+

+    /**

+     * Return the servlet output stream associated with this Response.

+     *

+     * @exception IllegalStateException if <code>getWriter</code> has

+     *  already been called for this response

+     * @exception IOException if an input/output error occurs

+     */

+    public ServletOutputStream getOutputStream() throws IOException {

+

+        if (writer != null)

+            throw new IllegalStateException("getWriter() has already been called for this response");

+

+        if (stream == null)

+            stream = createOutputStream();

+        if (debug > 1) {

+            System.out.println("stream is set to "+stream+" in getOutputStream");

+        }

+

+        return (stream);

+

+    }

+

+    /**

+     * Return the writer associated with this Response.

+     *

+     * @exception IllegalStateException if <code>getOutputStream</code> has

+     *  already been called for this response

+     * @exception IOException if an input/output error occurs

+     */

+    public PrintWriter getWriter() throws IOException {

+

+        if (writer != null)

+            return (writer);

+

+        if (stream != null)

+            throw new IllegalStateException("getOutputStream() has already been called for this response");

+

+        stream = createOutputStream();

+        if (debug > 1) {

+            System.out.println("stream is set to "+stream+" in getWriter");

+        }

+        //String charset = getCharsetFromContentType(contentType);

+        String charEnc = origResponse.getCharacterEncoding();

+        if (debug > 1) {

+            System.out.println("character encoding is " + charEnc);

+        }

+        // HttpServletResponse.getCharacterEncoding() shouldn't return null

+        // according the spec, so feel free to remove that "if"

+        if (charEnc != null) {

+            writer = new PrintWriter(new OutputStreamWriter(stream, charEnc));

+        } else {

+            writer = new PrintWriter(stream);

+        }

+        

+        return (writer);

+

+    }

+

+

+    public void setContentLength(int length) {

+    }

+

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/dates/JspCalendar.class b/tomcat-uid/webapps/examples/WEB-INF/classes/dates/JspCalendar.class
new file mode 100644
index 0000000..7ae66d3
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/dates/JspCalendar.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/dates/JspCalendar.java b/tomcat-uid/webapps/examples/WEB-INF/classes/dates/JspCalendar.java
new file mode 100644
index 0000000..22e1f86
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/dates/JspCalendar.java
@@ -0,0 +1,152 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+package dates;

+

+import java.util.*;

+

+public class JspCalendar {

+    Calendar  calendar = null;

+

+    public JspCalendar() {

+	calendar = Calendar.getInstance();

+	Date trialTime = new Date();

+	calendar.setTime(trialTime);

+    }

+

+    public int getYear() {

+	return calendar.get(Calendar.YEAR);

+    }

+    

+    public String getMonth() {

+	int m = getMonthInt();

+	String[] months = new String [] { "January", "February", "March",

+					"April", "May", "June",

+					"July", "August", "September",

+					"October", "November", "December" };

+	if (m > 12)

+	    return "Unknown to Man";

+	

+	return months[m - 1];

+

+    }

+

+    public String getDay() {

+	int x = getDayOfWeek();

+	String[] days = new String[] {"Sunday", "Monday", "Tuesday", "Wednesday", 

+				      "Thursday", "Friday", "Saturday"};

+

+	if (x > 7)

+	    return "Unknown to Man";

+

+	return days[x - 1];

+

+    }

+    

+    public int getMonthInt() {

+	return 1 + calendar.get(Calendar.MONTH);

+    }

+

+    public String getDate() {

+	return getMonthInt() + "/" + getDayOfMonth() + "/" +  getYear();

+

+    }

+

+    public String getTime() {

+	return getHour() + ":" + getMinute() + ":" + getSecond();

+    }

+

+    public int getDayOfMonth() {

+	return calendar.get(Calendar.DAY_OF_MONTH);

+    }

+

+    public int getDayOfYear() {

+	return calendar.get(Calendar.DAY_OF_YEAR);

+    }

+

+    public int getWeekOfYear() {

+	return calendar.get(Calendar.WEEK_OF_YEAR);

+    }

+

+    public int getWeekOfMonth() {

+	return calendar.get(Calendar.WEEK_OF_MONTH);

+    }

+

+    public int getDayOfWeek() {

+	return calendar.get(Calendar.DAY_OF_WEEK);

+    }

+     

+    public int getHour() {

+	return calendar.get(Calendar.HOUR_OF_DAY);

+    }

+    

+    public int getMinute() {

+	return calendar.get(Calendar.MINUTE);

+    }

+

+

+    public int getSecond() {

+	return calendar.get(Calendar.SECOND);

+    }

+

+    public static void main(String args[]) {

+	JspCalendar db = new JspCalendar();

+	p("date: " + db.getDayOfMonth());

+	p("year: " + db.getYear());

+	p("month: " + db.getMonth());

+	p("time: " + db.getTime());

+	p("date: " + db.getDate());

+	p("Day: " + db.getDay());

+	p("DayOfYear: " + db.getDayOfYear());

+	p("WeekOfYear: " + db.getWeekOfYear());

+	p("era: " + db.getEra());

+	p("ampm: " + db.getAMPM());

+	p("DST: " + db.getDSTOffset());

+	p("ZONE Offset: " + db.getZoneOffset());

+	p("TIMEZONE: " + db.getUSTimeZone());

+    }

+

+    private static void p(String x) {

+	System.out.println(x);

+    }

+

+

+    public int getEra() {

+	return calendar.get(Calendar.ERA);

+    }

+

+    public String getUSTimeZone() {

+	String[] zones = new String[] {"Hawaii", "Alaskan", "Pacific",

+				       "Mountain", "Central", "Eastern"};

+	

+	return zones[10 + getZoneOffset()];

+    }

+

+    public int getZoneOffset() {

+	return calendar.get(Calendar.ZONE_OFFSET)/(60*60*1000);

+    }

+

+

+    public int getDSTOffset() {

+	return calendar.get(Calendar.DST_OFFSET)/(60*60*1000);

+    }

+

+    

+    public int getAMPM() {

+	return calendar.get(Calendar.AM_PM);

+    }

+}

+

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/error/Smart.class b/tomcat-uid/webapps/examples/WEB-INF/classes/error/Smart.class
new file mode 100644
index 0000000..5445742
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/error/Smart.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/error/Smart.java b/tomcat-uid/webapps/examples/WEB-INF/classes/error/Smart.java
new file mode 100644
index 0000000..3af3a38
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/error/Smart.java
@@ -0,0 +1,32 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package error;

+

+public class Smart {

+

+  String name = "JSP";

+

+  public String getName () {

+	return name;

+  }	

+

+  public void setName (String name) {

+	this.name = name;

+  }	

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.class b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.class
new file mode 100644
index 0000000..35edd28
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.java b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.java
new file mode 100644
index 0000000..13bcd16
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.java
@@ -0,0 +1,67 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+package examples;

+

+import javax.servlet.jsp.*;

+import javax.servlet.jsp.tagext.*;

+

+public abstract class ExampleTagBase extends BodyTagSupport {

+

+    public void setParent(Tag parent) {

+        this.parent = parent;

+    }

+

+    public void setBodyContent(BodyContent bodyOut) {

+        this.bodyOut = bodyOut;

+    }

+

+    public void setPageContext(PageContext pageContext) {

+        this.pageContext = pageContext;

+    }

+

+    public Tag getParent() {

+        return this.parent;

+    }

+    

+    public int doStartTag() throws JspException {

+        return SKIP_BODY;

+    }

+

+    public int doEndTag() throws JspException {

+        return EVAL_PAGE;

+    }

+    

+

+    // Default implementations for BodyTag methods as well

+    // just in case a tag decides to implement BodyTag.

+    public void doInitBody() throws JspException {

+    }

+

+    public int doAfterBody() throws JspException {

+        return SKIP_BODY;

+    }

+

+    public void release() {

+        bodyOut = null;

+        pageContext = null;

+        parent = null;

+    }

+    

+    protected BodyContent bodyOut;

+    protected PageContext pageContext;

+    protected Tag parent;

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/examples/FooTag.class b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/FooTag.class
new file mode 100644
index 0000000..d60a6bd
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/FooTag.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/examples/FooTag.java b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/FooTag.java
new file mode 100644
index 0000000..4e11f30
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/FooTag.java
@@ -0,0 +1,80 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+package examples;

+

+import javax.servlet.jsp.*;

+import java.io.IOException;

+

+/**

+ * Example1: the simplest tag

+ * Collect attributes and call into some actions

+ *

+ * <foo att1="..." att2="...." att3="...." />

+ */

+

+public class FooTag 

+    extends ExampleTagBase 

+{

+    private String atts[] = new String[3];

+    int i = 0;

+    

+    private final void setAtt(int index, String value) {

+        atts[index] = value;

+    }

+    

+    public void setAtt1(String value) {

+        setAtt(0, value);

+    }

+    

+    public void setAtt2(String value) {

+        setAtt(1, value);

+    }

+

+    public void setAtt3(String value) {

+        setAtt(2, value);

+    }

+    

+    /**

+     * Process start tag

+     *

+     * @return EVAL_BODY_INCLUDE

+     */

+    public int doStartTag() throws JspException {

+        i = 0;

+	return EVAL_BODY_BUFFERED;

+    }

+

+    public void doInitBody() throws JspException {

+        pageContext.setAttribute("member", atts[i]);

+        i++;

+    }

+    

+    public int doAfterBody() throws JspException {

+        try {

+            if (i == 3) {

+                bodyOut.writeOut(bodyOut.getEnclosingWriter());

+                return SKIP_BODY;

+            } else

+                pageContext.setAttribute("member", atts[i]);

+            i++;

+            return EVAL_BODY_BUFFERED;

+        } catch (IOException ex) {

+            throw new JspTagException(ex.toString());

+        }

+    }

+}

+

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.class b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.class
new file mode 100644
index 0000000..5ca9cfb
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.java b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.java
new file mode 100644
index 0000000..99e5dfb
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.java
@@ -0,0 +1,33 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+package examples;

+

+import javax.servlet.jsp.tagext.*;

+

+public class FooTagExtraInfo extends TagExtraInfo {

+    public VariableInfo[] getVariableInfo(TagData data) {

+        return new VariableInfo[] 

+            {

+                new VariableInfo("member",

+                                 "String",

+                                 true,

+                                 VariableInfo.NESTED)

+            };

+    }

+}

+

+        

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/examples/LogTag.class b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/LogTag.class
new file mode 100644
index 0000000..92abeab
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/LogTag.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/examples/LogTag.java b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/LogTag.java
new file mode 100644
index 0000000..961cfc8
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/LogTag.java
@@ -0,0 +1,60 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+package examples;

+

+

+import javax.servlet.jsp.*;

+

+import java.io.IOException;

+

+/**

+ * Log the contents of the body. Could be used to handle errors etc. 

+ */

+public class LogTag 

+    extends ExampleTagBase

+{

+    boolean toBrowser = false;

+    

+    public void setToBrowser(String value) {

+        if (value == null)

+            toBrowser = false;

+        else if (value.equalsIgnoreCase("true"))

+            toBrowser = true;

+        else

+            toBrowser = false;

+    }

+

+    public int doStartTag() throws JspException {

+        return EVAL_BODY_BUFFERED;

+    }

+    

+    public int doAfterBody() throws JspException {

+        try {

+            String s = bodyOut.getString();

+            System.err.println(s);

+            if (toBrowser)

+                bodyOut.writeOut(bodyOut.getEnclosingWriter());

+            return SKIP_BODY;

+        } catch (IOException ex) {

+            throw new JspTagException(ex.toString());

+        }

+    }

+}

+

+    

+        

+    

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/examples/ShowSource.class b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/ShowSource.class
new file mode 100644
index 0000000..c02b3ff
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/ShowSource.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/examples/ShowSource.java b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/ShowSource.java
new file mode 100644
index 0000000..8afbf09
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/examples/ShowSource.java
@@ -0,0 +1,71 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+package examples;

+

+

+import javax.servlet.jsp.*;

+import javax.servlet.jsp.tagext.*;

+

+import java.io.*;

+

+/**

+ * Display the sources of the JSP file.

+ */

+public class ShowSource

+    extends TagSupport

+{

+    String jspFile;

+    

+    public void setJspFile(String jspFile) {

+        this.jspFile = jspFile;

+    }

+

+    public int doEndTag() throws JspException {

+	if ((jspFile.indexOf( ".." ) >= 0) ||

+            (jspFile.toUpperCase().indexOf("/WEB-INF/") != 0) ||

+            (jspFile.toUpperCase().indexOf("/META-INF/") != 0))

+	    throw new JspTagException("Invalid JSP file " + jspFile);

+

+        InputStream in

+            = pageContext.getServletContext().getResourceAsStream(jspFile);

+

+        if (in == null)

+            throw new JspTagException("Unable to find JSP file: "+jspFile);

+

+        JspWriter out = pageContext.getOut();

+

+

+        try {

+            out.println("<body>");

+            out.println("<pre>");

+            for(int ch = in.read(); ch != -1; ch = in.read())

+                if (ch == '<')

+                    out.print("&lt;");

+                else

+                    out.print((char) ch);

+            out.println("</pre>");

+            out.println("</body>");

+        } catch (IOException ex) {

+            throw new JspTagException("IOException: "+ex.toString());

+        }

+        return super.doEndTag();

+    }

+}

+

+    

+        

+    

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/filters/ExampleFilter.class b/tomcat-uid/webapps/examples/WEB-INF/classes/filters/ExampleFilter.class
new file mode 100644
index 0000000..10a6710
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/filters/ExampleFilter.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/filters/ExampleFilter.java b/tomcat-uid/webapps/examples/WEB-INF/classes/filters/ExampleFilter.java
new file mode 100644
index 0000000..0601b87
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/filters/ExampleFilter.java
@@ -0,0 +1,137 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+package filters;

+

+

+import java.io.IOException;

+import javax.servlet.Filter;

+import javax.servlet.FilterChain;

+import javax.servlet.FilterConfig;

+import javax.servlet.ServletException;

+import javax.servlet.ServletRequest;

+import javax.servlet.ServletResponse;

+

+

+/**

+ * Example filter that can be attached to either an individual servlet

+ * or to a URL pattern.  This filter performs the following functions:

+ * <ul>

+ * <li>Attaches itself as a request attribute, under the attribute name

+ *     defined by the value of the <code>attribute</code> initialization

+ *     parameter.</li>

+ * <li>Calculates the number of milliseconds required to perform the

+ *     servlet processing required by this request, including any

+ *     subsequently defined filters, and logs the result to the servlet

+ *     context log for this application.

+ * </ul>

+ *

+ * @author Craig McClanahan

+ */

+public final class ExampleFilter implements Filter {

+

+

+    // ----------------------------------------------------- Instance Variables

+

+

+    /**

+     * The request attribute name under which we store a reference to ourself.

+     */

+    private String attribute = null;

+

+

+    /**

+     * The filter configuration object we are associated with.  If this value

+     * is null, this filter instance is not currently configured.

+     */

+    private FilterConfig filterConfig = null;

+

+

+    // --------------------------------------------------------- Public Methods

+

+

+    /**

+     * Take this filter out of service.

+     */

+    public void destroy() {

+

+        this.attribute = null;

+        this.filterConfig = null;

+

+    }

+

+

+    /**

+     * Time the processing that is performed by all subsequent filters in the

+     * current filter stack, including the ultimately invoked servlet.

+     *

+     * @param request The servlet request we are processing

+     * @param result The servlet response we are creating

+     * @param chain The filter chain we are processing

+     *

+     * @exception IOException if an input/output error occurs

+     * @exception ServletException if a servlet error occurs

+     */

+    public void doFilter(ServletRequest request, ServletResponse response,

+                         FilterChain chain)

+	throws IOException, ServletException {

+

+	// Store ourselves as a request attribute (if requested)

+	if (attribute != null)

+	    request.setAttribute(attribute, this);

+

+	// Time and log the subsequent processing

+	long startTime = System.currentTimeMillis();

+        chain.doFilter(request, response);

+	long stopTime = System.currentTimeMillis();

+	filterConfig.getServletContext().log

+	    (this.toString() + ": " + (stopTime - startTime) +

+	     " milliseconds");

+

+    }

+

+

+    /**

+     * Place this filter into service.

+     *

+     * @param filterConfig The filter configuration object

+     */

+    public void init(FilterConfig filterConfig) throws ServletException {

+

+	this.filterConfig = filterConfig;

+        this.attribute = filterConfig.getInitParameter("attribute");

+

+    }

+

+

+    /**

+     * Return a String representation of this object.

+     */

+    public String toString() {

+

+	if (filterConfig == null)

+	    return ("InvokerFilter()");

+	StringBuffer sb = new StringBuffer("InvokerFilter(");

+	sb.append(filterConfig);

+	sb.append(")");

+	return (sb.toString());

+

+    }

+

+

+}

+

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/filters/RequestDumperFilter.class b/tomcat-uid/webapps/examples/WEB-INF/classes/filters/RequestDumperFilter.class
new file mode 100644
index 0000000..5b244bf
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/filters/RequestDumperFilter.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/filters/RequestDumperFilter.java b/tomcat-uid/webapps/examples/WEB-INF/classes/filters/RequestDumperFilter.java
new file mode 100644
index 0000000..7c45a40
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/filters/RequestDumperFilter.java
@@ -0,0 +1,198 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package filters;

+

+

+import java.io.IOException;

+import java.io.PrintWriter;

+import java.io.StringWriter;

+import java.sql.Timestamp;

+import java.util.Enumeration;

+import java.util.Locale;

+import javax.servlet.Filter;

+import javax.servlet.FilterChain;

+import javax.servlet.FilterConfig;

+import javax.servlet.ServletException;

+import javax.servlet.ServletRequest;

+import javax.servlet.ServletResponse;

+import javax.servlet.http.Cookie;

+import javax.servlet.http.HttpServletRequest;

+

+

+/**

+ * Example filter that dumps interesting state information about a request

+ * to the associated servlet context log file, before allowing the servlet

+ * to process the request in the usual way.  This can be installed as needed

+ * to assist in debugging problems.

+ *

+ * @author Craig McClanahan

+ */

+public final class RequestDumperFilter implements Filter {

+

+

+    // ----------------------------------------------------- Instance Variables

+

+

+    /**

+     * The filter configuration object we are associated with.  If this value

+     * is null, this filter instance is not currently configured.

+     */

+    private FilterConfig filterConfig = null;

+

+

+    // --------------------------------------------------------- Public Methods

+

+

+    /**

+     * Take this filter out of service.

+     */

+    public void destroy() {

+

+        this.filterConfig = null;

+

+    }

+

+

+    /**

+     * Time the processing that is performed by all subsequent filters in the

+     * current filter stack, including the ultimately invoked servlet.

+     *

+     * @param request The servlet request we are processing

+     * @param result The servlet response we are creating

+     * @param chain The filter chain we are processing

+     *

+     * @exception IOException if an input/output error occurs

+     * @exception ServletException if a servlet error occurs

+     */

+    public void doFilter(ServletRequest request, ServletResponse response,

+                         FilterChain chain)

+	throws IOException, ServletException {

+

+        if (filterConfig == null)

+	    return;

+

+	// Render the generic servlet request properties

+	StringWriter sw = new StringWriter();

+	PrintWriter writer = new PrintWriter(sw);

+	writer.println("Request Received at " +

+		       (new Timestamp(System.currentTimeMillis())));

+	writer.println(" characterEncoding=" + request.getCharacterEncoding());

+	writer.println("     contentLength=" + request.getContentLength());

+	writer.println("       contentType=" + request.getContentType());

+	writer.println("            locale=" + request.getLocale());

+	writer.print("           locales=");

+	Enumeration locales = request.getLocales();

+	boolean first = true;

+	while (locales.hasMoreElements()) {

+	    Locale locale = (Locale) locales.nextElement();

+	    if (first)

+	        first = false;

+	    else

+	        writer.print(", ");

+	    writer.print(locale.toString());

+	}

+	writer.println();

+	Enumeration names = request.getParameterNames();

+	while (names.hasMoreElements()) {

+	    String name = (String) names.nextElement();

+	    writer.print("         parameter=" + name + "=");

+	    String values[] = request.getParameterValues(name);

+	    for (int i = 0; i < values.length; i++) {

+	        if (i > 0)

+		    writer.print(", ");

+		writer.print(values[i]);

+	    }

+	    writer.println();

+	}

+	writer.println("          protocol=" + request.getProtocol());

+	writer.println("        remoteAddr=" + request.getRemoteAddr());

+	writer.println("        remoteHost=" + request.getRemoteHost());

+	writer.println("            scheme=" + request.getScheme());

+	writer.println("        serverName=" + request.getServerName());

+	writer.println("        serverPort=" + request.getServerPort());

+	writer.println("          isSecure=" + request.isSecure());

+

+	// Render the HTTP servlet request properties

+	if (request instanceof HttpServletRequest) {

+	    writer.println("---------------------------------------------");

+	    HttpServletRequest hrequest = (HttpServletRequest) request;

+	    writer.println("       contextPath=" + hrequest.getContextPath());

+	    Cookie cookies[] = hrequest.getCookies();

+            if (cookies == null)

+                cookies = new Cookie[0];

+	    for (int i = 0; i < cookies.length; i++) {

+	        writer.println("            cookie=" + cookies[i].getName() +

+			       "=" + cookies[i].getValue());

+	    }

+	    names = hrequest.getHeaderNames();

+	    while (names.hasMoreElements()) {

+	        String name = (String) names.nextElement();

+		String value = hrequest.getHeader(name);

+	        writer.println("            header=" + name + "=" + value);

+	    }

+	    writer.println("            method=" + hrequest.getMethod());

+	    writer.println("          pathInfo=" + hrequest.getPathInfo());

+	    writer.println("       queryString=" + hrequest.getQueryString());

+	    writer.println("        remoteUser=" + hrequest.getRemoteUser());

+	    writer.println("requestedSessionId=" +

+			   hrequest.getRequestedSessionId());

+	    writer.println("        requestURI=" + hrequest.getRequestURI());

+	    writer.println("       servletPath=" + hrequest.getServletPath());

+	}

+	writer.println("=============================================");

+

+	// Log the resulting string

+	writer.flush();

+	filterConfig.getServletContext().log(sw.getBuffer().toString());

+

+	// Pass control on to the next filter

+        chain.doFilter(request, response);

+

+    }

+

+

+    /**

+     * Place this filter into service.

+     *

+     * @param filterConfig The filter configuration object

+     */

+    public void init(FilterConfig filterConfig) throws ServletException {

+

+	this.filterConfig = filterConfig;

+

+    }

+

+

+    /**

+     * Return a String representation of this object.

+     */

+    public String toString() {

+

+	if (filterConfig == null)

+	    return ("RequestDumperFilter()");

+	StringBuffer sb = new StringBuffer("RequestDumperFilter(");

+	sb.append(filterConfig);

+	sb.append(")");

+	return (sb.toString());

+

+    }

+

+

+}

+

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.class b/tomcat-uid/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.class
new file mode 100644
index 0000000..94be00b
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.java b/tomcat-uid/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.java
new file mode 100644
index 0000000..9373222
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.java
@@ -0,0 +1,169 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+package filters;

+

+

+import java.io.IOException;

+import javax.servlet.Filter;

+import javax.servlet.FilterChain;

+import javax.servlet.FilterConfig;

+import javax.servlet.ServletException;

+import javax.servlet.ServletRequest;

+import javax.servlet.ServletResponse;

+

+

+/**

+ * <p>Example filter that sets the character encoding to be used in parsing the

+ * incoming request, either unconditionally or only if the client did not

+ * specify a character encoding.  Configuration of this filter is based on

+ * the following initialization parameters:</p>

+ * <ul>

+ * <li><strong>encoding</strong> - The character encoding to be configured

+ *     for this request, either conditionally or unconditionally based on

+ *     the <code>ignore</code> initialization parameter.  This parameter

+ *     is required, so there is no default.</li>

+ * <li><strong>ignore</strong> - If set to "true", any character encoding

+ *     specified by the client is ignored, and the value returned by the

+ *     <code>selectEncoding()</code> method is set.  If set to "false,

+ *     <code>selectEncoding()</code> is called <strong>only</strong> if the

+ *     client has not already specified an encoding.  By default, this

+ *     parameter is set to "true".</li>

+ * </ul>

+ *

+ * <p>Although this filter can be used unchanged, it is also easy to

+ * subclass it and make the <code>selectEncoding()</code> method more

+ * intelligent about what encoding to choose, based on characteristics of

+ * the incoming request (such as the values of the <code>Accept-Language</code>

+ * and <code>User-Agent</code> headers, or a value stashed in the current

+ * user's session.</p>

+ *

+ * @author Craig McClanahan

+ */

+public class SetCharacterEncodingFilter implements Filter {

+

+

+    // ----------------------------------------------------- Instance Variables

+

+

+    /**

+     * The default character encoding to set for requests that pass through

+     * this filter.

+     */

+    protected String encoding = null;

+

+

+    /**

+     * The filter configuration object we are associated with.  If this value

+     * is null, this filter instance is not currently configured.

+     */

+    protected FilterConfig filterConfig = null;

+

+

+    /**

+     * Should a character encoding specified by the client be ignored?

+     */

+    protected boolean ignore = true;

+

+

+    // --------------------------------------------------------- Public Methods

+

+

+    /**

+     * Take this filter out of service.

+     */

+    public void destroy() {

+

+        this.encoding = null;

+        this.filterConfig = null;

+

+    }

+

+

+    /**

+     * Select and set (if specified) the character encoding to be used to

+     * interpret request parameters for this request.

+     *

+     * @param request The servlet request we are processing

+     * @param result The servlet response we are creating

+     * @param chain The filter chain we are processing

+     *

+     * @exception IOException if an input/output error occurs

+     * @exception ServletException if a servlet error occurs

+     */

+    public void doFilter(ServletRequest request, ServletResponse response,

+                         FilterChain chain)

+	throws IOException, ServletException {

+

+        // Conditionally select and set the character encoding to be used

+        if (ignore || (request.getCharacterEncoding() == null)) {

+            String encoding = selectEncoding(request);

+            if (encoding != null)

+                request.setCharacterEncoding(encoding);

+        }

+

+	// Pass control on to the next filter

+        chain.doFilter(request, response);

+

+    }

+

+

+    /**

+     * Place this filter into service.

+     *

+     * @param filterConfig The filter configuration object

+     */

+    public void init(FilterConfig filterConfig) throws ServletException {

+

+	this.filterConfig = filterConfig;

+        this.encoding = filterConfig.getInitParameter("encoding");

+        String value = filterConfig.getInitParameter("ignore");

+        if (value == null)

+            this.ignore = true;

+        else if (value.equalsIgnoreCase("true"))

+            this.ignore = true;

+        else if (value.equalsIgnoreCase("yes"))

+            this.ignore = true;

+        else

+            this.ignore = false;

+

+    }

+

+

+    // ------------------------------------------------------ Protected Methods

+

+

+    /**

+     * Select an appropriate character encoding to be used, based on the

+     * characteristics of the current request and/or filter initialization

+     * parameters.  If no character encoding should be set, return

+     * <code>null</code>.

+     * <p>

+     * The default implementation unconditionally returns the value configured

+     * by the <strong>encoding</strong> initialization parameter for this

+     * filter.

+     *

+     * @param request The servlet request we are processing

+     */

+    protected String selectEncoding(ServletRequest request) {

+

+        return (this.encoding);

+

+    }

+

+

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/BookBean.class b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/BookBean.class
new file mode 100644
index 0000000..98b8c31
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/BookBean.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/BookBean.java b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/BookBean.java
new file mode 100644
index 0000000..5e5dec4
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/BookBean.java
@@ -0,0 +1,44 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package jsp2.examples;

+

+public class BookBean {

+    private String title;

+    private String author;

+    private String isbn;

+    

+    public BookBean( String title, String author, String isbn ) {

+        this.title = title;

+        this.author = author;

+        this.isbn = isbn;

+    }

+

+    public String getTitle() {

+        return this.title;

+    }

+    

+    public String getAuthor() {

+        return this.author;

+    }

+    

+    public String getIsbn() {

+        return this.isbn;

+    }

+    

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/FooBean.class b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/FooBean.class
new file mode 100644
index 0000000..6605d19
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/FooBean.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/FooBean.java b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/FooBean.java
new file mode 100644
index 0000000..c7f4d39
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/FooBean.java
@@ -0,0 +1,36 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package jsp2.examples;

+

+public class FooBean {

+    private String bar;

+    

+    public FooBean() {

+        bar = "Initial value";

+    }

+    

+    public String getBar() {

+        return this.bar;

+    }

+    

+    public void setBar(String bar) {

+        this.bar = bar;

+    }

+    

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/el/Functions.class b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/el/Functions.class
new file mode 100644
index 0000000..e0a869c
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/el/Functions.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/el/Functions.java b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/el/Functions.java
new file mode 100644
index 0000000..c42c0f7
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/el/Functions.java
@@ -0,0 +1,43 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+package jsp2.examples.el;

+

+/**

+ * Defines the functions for the jsp2 example tag library.

+ * 

+ * <p>Each function is defined as a static method.</p>

+ */

+public class Functions {

+    public static String reverse( String text ) {

+        return new StringBuffer( text ).reverse().toString();

+    }

+

+    public static int numVowels( String text ) {

+        String vowels = "aeiouAEIOU";

+	int result = 0;

+        for( int i = 0; i < text.length(); i++ ) {

+	    if( vowels.indexOf( text.charAt( i ) ) != -1 ) {

+	        result++;

+	    }

+	}

+	return result;

+    }

+

+    public static String caps( String text ) {

+        return text.toUpperCase();

+    }

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.class b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.class
new file mode 100644
index 0000000..5cf67e4
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.java b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.java
new file mode 100644
index 0000000..c1a5f92
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.java
@@ -0,0 +1,54 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package jsp2.examples.simpletag;

+

+import javax.servlet.jsp.JspException;

+import javax.servlet.jsp.JspWriter;

+import javax.servlet.jsp.tagext.SimpleTagSupport;

+import javax.servlet.jsp.tagext.DynamicAttributes;

+import java.util.ArrayList;

+import java.io.IOException;

+

+/**

+ * SimpleTag handler that echoes all its attributes 

+ */

+public class EchoAttributesTag 

+    extends SimpleTagSupport

+    implements DynamicAttributes

+{

+    private ArrayList keys = new ArrayList();

+    private ArrayList values = new ArrayList();

+

+    public void doTag() throws JspException, IOException {

+	JspWriter out = getJspContext().getOut();

+	for( int i = 0; i < keys.size(); i++ ) {

+	    String key = (String)keys.get( i );

+	    Object value = values.get( i );

+	    out.println( "<li>" + key + " = " + value + "</li>" );

+        }

+    }

+

+    public void setDynamicAttribute( String uri, String localName, 

+	Object value ) 

+	throws JspException

+    {

+	keys.add( localName );

+	values.add( value );

+    }

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.class b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.class
new file mode 100644
index 0000000..dd95ddb
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.java b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.java
new file mode 100644
index 0000000..3d4357d
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.java
@@ -0,0 +1,44 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package jsp2.examples.simpletag;

+

+import javax.servlet.jsp.JspException;

+import javax.servlet.jsp.tagext.SimpleTagSupport;

+import jsp2.examples.BookBean;

+

+/**

+ * SimpleTag handler that pretends to search for a book, and stores

+ * the result in a scoped variable.

+ */

+public class FindBookSimpleTag extends SimpleTagSupport {

+    private String var;

+    

+    private static final String BOOK_TITLE = "The Lord of the Rings";

+    private static final String BOOK_AUTHOR = "J. R. R. Tolkein";

+    private static final String BOOK_ISBN = "0618002251";

+

+    public void doTag() throws JspException {

+        BookBean book = new BookBean( BOOK_TITLE, BOOK_AUTHOR, BOOK_ISBN );

+        getJspContext().setAttribute( this.var, book );

+    }

+

+    public void setVar( String var ) {

+	this.var = var;

+    }

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.class b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.class
new file mode 100644
index 0000000..ff44a1d
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.java b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.java
new file mode 100644
index 0000000..3085739
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.java
@@ -0,0 +1,32 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package jsp2.examples.simpletag;

+

+import javax.servlet.jsp.JspException;

+import javax.servlet.jsp.tagext.SimpleTagSupport;

+import java.io.IOException;

+

+/**

+ * SimpleTag handler that prints "Hello, world!"

+ */

+public class HelloWorldSimpleTag extends SimpleTagSupport {

+    public void doTag() throws JspException, IOException {

+	getJspContext().getOut().write( "Hello, world!" );

+    }

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.class b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.class
new file mode 100644
index 0000000..55e4835
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.java b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.java
new file mode 100644
index 0000000..9903a21
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.java
@@ -0,0 +1,42 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package jsp2.examples.simpletag;

+

+import javax.servlet.jsp.JspException;

+import javax.servlet.jsp.tagext.SimpleTagSupport;

+import java.io.IOException;

+

+/**

+ * SimpleTag handler that accepts a num attribute and 

+ * invokes its body 'num' times.

+ */

+public class RepeatSimpleTag extends SimpleTagSupport {

+    private int num;

+

+    public void doTag() throws JspException, IOException {

+        for (int i=0; i<num; i++) {

+            getJspContext().setAttribute("count", String.valueOf( i + 1 ) );

+	    getJspBody().invoke(null);

+        }

+    }

+

+    public void setNum(int num) {

+	this.num = num;

+    }

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.class b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.class
new file mode 100644
index 0000000..759c5ac
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.java b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.java
new file mode 100644
index 0000000..64c5b72
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.java
@@ -0,0 +1,81 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package jsp2.examples.simpletag;

+

+import javax.servlet.jsp.JspException;

+import javax.servlet.jsp.tagext.JspFragment;

+import javax.servlet.jsp.tagext.SimpleTagSupport;

+import java.io.IOException;

+

+/**

+ * SimpleTag handler that accepts takes three attributes of type

+ * JspFragment and invokes then in a random order.

+ */

+public class ShuffleSimpleTag extends SimpleTagSupport {

+    private JspFragment fragment1;

+    private JspFragment fragment2;

+    private JspFragment fragment3;

+

+    public void doTag() throws JspException, IOException {

+        switch( (int)(Math.random() * 6) ) {

+            case 0:

+                fragment1.invoke( null );

+                fragment2.invoke( null );

+                fragment3.invoke( null );

+                break;

+            case 1:

+                fragment1.invoke( null );

+                fragment3.invoke( null );

+                fragment2.invoke( null );

+                break;

+            case 2:

+                fragment2.invoke( null );

+                fragment1.invoke( null );

+                fragment3.invoke( null );

+                break;

+            case 3:

+                fragment2.invoke( null );

+                fragment3.invoke( null );

+                fragment1.invoke( null );

+                break;

+            case 4:

+                fragment3.invoke( null );

+                fragment1.invoke( null );

+                fragment2.invoke( null );

+                break;

+            case 5:

+                fragment3.invoke( null );

+                fragment2.invoke( null );

+                fragment1.invoke( null );

+                break;

+        }

+    }

+

+    public void setFragment1( JspFragment fragment1 ) {

+        this.fragment1 = fragment1;

+    }

+    

+    public void setFragment2( JspFragment fragment2 ) {

+        this.fragment2 = fragment2;

+    }

+    

+    public void setFragment3( JspFragment fragment3 ) {

+        this.fragment3 = fragment3;

+    }

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.class b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.class
new file mode 100644
index 0000000..c33cccc
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.java b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.java
new file mode 100644
index 0000000..4f37e48
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.java
@@ -0,0 +1,46 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package jsp2.examples.simpletag;

+

+import javax.servlet.jsp.JspException;

+import javax.servlet.jsp.tagext.SimpleTagSupport;

+import java.io.IOException;

+

+/**

+ * Displays a tile as a single cell in a table.

+ */

+public class TileSimpleTag extends SimpleTagSupport {

+    private String color;

+    private String label;

+

+    public void doTag() throws JspException, IOException {

+	getJspContext().getOut().write( 

+	    "<td width=\"32\" height=\"32\" bgcolor=\"" + this.color + 

+	    "\"><font color=\"#ffffff\"><center>" + this.label + 

+                "</center></font></td>" );

+    }

+

+    public void setColor( String color ) {

+        this.color = color;

+    }

+    

+    public void setLabel( String label ) {

+        this.label = label;

+    }

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/listeners/ContextListener.class b/tomcat-uid/webapps/examples/WEB-INF/classes/listeners/ContextListener.class
new file mode 100644
index 0000000..43f66ff
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/listeners/ContextListener.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/listeners/ContextListener.java b/tomcat-uid/webapps/examples/WEB-INF/classes/listeners/ContextListener.java
new file mode 100644
index 0000000..4702546
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/listeners/ContextListener.java
@@ -0,0 +1,134 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+package listeners;

+

+

+import javax.servlet.ServletContext;

+import javax.servlet.ServletContextAttributeEvent;

+import javax.servlet.ServletContextAttributeListener;

+import javax.servlet.ServletContextEvent;

+import javax.servlet.ServletContextListener;

+

+

+/**

+ * Example listener for context-related application events, which were

+ * introduced in the 2.3 version of the Servlet API.  This listener

+ * merely documents the occurrence of such events in the application log

+ * associated with our servlet context.

+ *

+ * @author Craig R. McClanahan

+ */

+public final class ContextListener

+    implements ServletContextAttributeListener, ServletContextListener {

+

+

+    // ----------------------------------------------------- Instance Variables

+

+

+    /**

+     * The servlet context with which we are associated.

+     */

+    private ServletContext context = null;

+

+

+    // --------------------------------------------------------- Public Methods

+

+

+    /**

+     * Record the fact that a servlet context attribute was added.

+     *

+     * @param event The servlet context attribute event

+     */

+    public void attributeAdded(ServletContextAttributeEvent event) {

+

+	log("attributeAdded('" + event.getName() + "', '" +

+	    event.getValue() + "')");

+

+    }

+

+

+    /**

+     * Record the fact that a servlet context attribute was removed.

+     *

+     * @param event The servlet context attribute event

+     */

+    public void attributeRemoved(ServletContextAttributeEvent event) {

+

+	log("attributeRemoved('" + event.getName() + "', '" +

+	    event.getValue() + "')");

+

+    }

+

+

+    /**

+     * Record the fact that a servlet context attribute was replaced.

+     *

+     * @param event The servlet context attribute event

+     */

+    public void attributeReplaced(ServletContextAttributeEvent event) {

+

+	log("attributeReplaced('" + event.getName() + "', '" +

+	    event.getValue() + "')");

+

+    }

+

+

+    /**

+     * Record the fact that this web application has been destroyed.

+     *

+     * @param event The servlet context event

+     */

+    public void contextDestroyed(ServletContextEvent event) {

+

+	log("contextDestroyed()");

+	this.context = null;

+

+    }

+

+

+    /**

+     * Record the fact that this web application has been initialized.

+     *

+     * @param event The servlet context event

+     */

+    public void contextInitialized(ServletContextEvent event) {

+

+	this.context = event.getServletContext();

+	log("contextInitialized()");

+

+    }

+

+

+    // -------------------------------------------------------- Private Methods

+

+

+    /**

+     * Log a message to the servlet context application log.

+     *

+     * @param message Message to be logged

+     */

+    private void log(String message) {

+

+	if (context != null)

+	    context.log("ContextListener: " + message);

+	else

+	    System.out.println("ContextListener: " + message);

+

+    }

+

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/listeners/SessionListener.class b/tomcat-uid/webapps/examples/WEB-INF/classes/listeners/SessionListener.class
new file mode 100644
index 0000000..8afca5e
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/listeners/SessionListener.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/listeners/SessionListener.java b/tomcat-uid/webapps/examples/WEB-INF/classes/listeners/SessionListener.java
new file mode 100644
index 0000000..efac784
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/listeners/SessionListener.java
@@ -0,0 +1,161 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+package listeners;

+

+

+import javax.servlet.ServletContext;

+import javax.servlet.ServletContextEvent;

+import javax.servlet.ServletContextListener;

+import javax.servlet.http.HttpSessionAttributeListener;

+import javax.servlet.http.HttpSessionBindingEvent;

+import javax.servlet.http.HttpSessionEvent;

+import javax.servlet.http.HttpSessionListener;

+

+

+/**

+ * Example listener for context-related application events, which were

+ * introduced in the 2.3 version of the Servlet API.  This listener

+ * merely documents the occurrence of such events in the application log

+ * associated with our servlet context.

+ *

+ * @author Craig R. McClanahan

+ */

+public final class SessionListener

+    implements ServletContextListener,

+	       HttpSessionAttributeListener, HttpSessionListener {

+

+

+    // ----------------------------------------------------- Instance Variables

+

+

+    /**

+     * The servlet context with which we are associated.

+     */

+    private ServletContext context = null;

+

+

+    // --------------------------------------------------------- Public Methods

+

+

+    /**

+     * Record the fact that a servlet context attribute was added.

+     *

+     * @param event The session attribute event

+     */

+    public void attributeAdded(HttpSessionBindingEvent event) {

+

+	log("attributeAdded('" + event.getSession().getId() + "', '" +

+	    event.getName() + "', '" + event.getValue() + "')");

+

+    }

+

+

+    /**

+     * Record the fact that a servlet context attribute was removed.

+     *

+     * @param event The session attribute event

+     */

+    public void attributeRemoved(HttpSessionBindingEvent event) {

+

+	log("attributeRemoved('" + event.getSession().getId() + "', '" +

+	    event.getName() + "', '" + event.getValue() + "')");

+

+    }

+

+

+    /**

+     * Record the fact that a servlet context attribute was replaced.

+     *

+     * @param event The session attribute event

+     */

+    public void attributeReplaced(HttpSessionBindingEvent event) {

+

+	log("attributeReplaced('" + event.getSession().getId() + "', '" +

+	    event.getName() + "', '" + event.getValue() + "')");

+

+    }

+

+

+    /**

+     * Record the fact that this web application has been destroyed.

+     *

+     * @param event The servlet context event

+     */

+    public void contextDestroyed(ServletContextEvent event) {

+

+	log("contextDestroyed()");

+	this.context = null;

+

+    }

+

+

+    /**

+     * Record the fact that this web application has been initialized.

+     *

+     * @param event The servlet context event

+     */

+    public void contextInitialized(ServletContextEvent event) {

+

+	this.context = event.getServletContext();

+	log("contextInitialized()");

+

+    }

+

+

+    /**

+     * Record the fact that a session has been created.

+     *

+     * @param event The session event

+     */

+    public void sessionCreated(HttpSessionEvent event) {

+

+	log("sessionCreated('" + event.getSession().getId() + "')");

+

+    }

+

+

+    /**

+     * Record the fact that a session has been destroyed.

+     *

+     * @param event The session event

+     */

+    public void sessionDestroyed(HttpSessionEvent event) {

+

+	log("sessionDestroyed('" + event.getSession().getId() + "')");

+

+    }

+

+

+    // -------------------------------------------------------- Private Methods

+

+

+    /**

+     * Log a message to the servlet context application log.

+     *

+     * @param message Message to be logged

+     */

+    private void log(String message) {

+

+	if (context != null)

+	    context.log("SessionListener: " + message);

+	else

+	    System.out.println("SessionListener: " + message);

+

+    }

+

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/num/NumberGuessBean.class b/tomcat-uid/webapps/examples/WEB-INF/classes/num/NumberGuessBean.class
new file mode 100644
index 0000000..51e5b62
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/num/NumberGuessBean.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/num/NumberGuessBean.java b/tomcat-uid/webapps/examples/WEB-INF/classes/num/NumberGuessBean.java
new file mode 100644
index 0000000..7eed08e
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/num/NumberGuessBean.java
@@ -0,0 +1,79 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+/*

+ * Originally written by Jason Hunter, http://www.servlets.com.

+ */

+

+package num;

+

+import java.util.*;

+

+public class NumberGuessBean {

+

+  int answer;

+  boolean success;

+  String hint;

+  int numGuesses;

+

+  public NumberGuessBean() {

+    reset();

+  }

+

+  public void setGuess(String guess) {

+    numGuesses++;

+

+    int g;

+    try {

+      g = Integer.parseInt(guess);

+    }

+    catch (NumberFormatException e) {

+      g = -1;

+    }

+

+    if (g == answer) {

+      success = true;

+    }

+    else if (g == -1) {

+      hint = "a number next time";

+    }

+    else if (g < answer) {

+      hint = "higher";

+    }

+    else if (g > answer) {

+      hint = "lower";

+    }

+  }

+

+  public boolean getSuccess() {

+    return success;

+  }

+

+  public String getHint() {

+    return "" + hint;

+  }

+

+  public int getNumGuesses() {

+    return numGuesses;

+  }

+

+  public void reset() {

+    answer = Math.abs(new Random().nextInt() % 100) + 1;

+    success = false;

+    numGuesses = 0;

+  }

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/servletToJsp.class b/tomcat-uid/webapps/examples/WEB-INF/classes/servletToJsp.class
new file mode 100644
index 0000000..c95143b
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/servletToJsp.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/servletToJsp.java b/tomcat-uid/webapps/examples/WEB-INF/classes/servletToJsp.java
new file mode 100644
index 0000000..cfd198e
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/servletToJsp.java
@@ -0,0 +1,32 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+import javax.servlet.http.*;

+

+public class servletToJsp extends HttpServlet {

+

+    public void doGet (HttpServletRequest request,

+		       HttpServletResponse response) {

+

+	try {

+	    // Set the attribute and Forward to hello.jsp

+	    request.setAttribute ("servletName", "servletToJsp");

+	    getServletConfig().getServletContext().getRequestDispatcher("/jsp/jsptoserv/hello.jsp").forward(request, response);

+	} catch (Exception ex) {

+	    ex.printStackTrace ();

+	}

+    }

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/sessions/DummyCart.class b/tomcat-uid/webapps/examples/WEB-INF/classes/sessions/DummyCart.class
new file mode 100644
index 0000000..5518952
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/sessions/DummyCart.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/sessions/DummyCart.java b/tomcat-uid/webapps/examples/WEB-INF/classes/sessions/DummyCart.java
new file mode 100644
index 0000000..f0597e7
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/sessions/DummyCart.java
@@ -0,0 +1,65 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+package sessions;

+

+import java.util.Vector;

+

+public class DummyCart {

+    Vector<String> v = new Vector<String>();

+    String submit = null;

+    String item = null;

+    

+    private void addItem(String name) {

+        v.addElement(name);

+    }

+

+    private void removeItem(String name) {

+        v.removeElement(name);

+    }

+

+    public void setItem(String name) {

+        item = name;

+    }

+    

+    public void setSubmit(String s) {

+        submit = s;

+    }

+

+    public String[] getItems() {

+        String[] s = new String[v.size()];

+        v.copyInto(s);

+        return s;

+    }

+    

+    public void processRequest() {

+        // null value for submit - user hit enter instead of clicking on 

+        // "add" or "remove"

+        if (submit == null || submit.equals("add"))

+            addItem(item);

+        else if (submit.equals("remove")) 

+            removeItem(item);

+        

+        // reset at the end of the request

+        reset();

+    }

+

+    // reset

+    private void reset() {

+        submit = null;

+        item = null;

+    }

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/util/HTMLFilter.class b/tomcat-uid/webapps/examples/WEB-INF/classes/util/HTMLFilter.class
new file mode 100644
index 0000000..7555aa0
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/util/HTMLFilter.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/util/HTMLFilter.java b/tomcat-uid/webapps/examples/WEB-INF/classes/util/HTMLFilter.java
new file mode 100644
index 0000000..3d85e81
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/util/HTMLFilter.java
@@ -0,0 +1,67 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+package util;

+

+/**

+ * HTML filter utility.

+ *

+ * @author Craig R. McClanahan

+ * @author Tim Tye

+ */

+public final class HTMLFilter {

+

+

+    /**

+     * Filter the specified message string for characters that are sensitive

+     * in HTML.  This avoids potential attacks caused by including JavaScript

+     * codes in the request URL that is often reported in error messages.

+     *

+     * @param message The message string to be filtered

+     */

+    public static String filter(String message) {

+

+        if (message == null)

+            return (null);

+

+        char content[] = new char[message.length()];

+        message.getChars(0, message.length(), content, 0);

+        StringBuffer result = new StringBuffer(content.length + 50);

+        for (int i = 0; i < content.length; i++) {

+            switch (content[i]) {

+            case '<':

+                result.append("&lt;");

+                break;

+            case '>':

+                result.append("&gt;");

+                break;

+            case '&':

+                result.append("&amp;");

+                break;

+            case '"':

+                result.append("&quot;");

+                break;

+            default:

+                result.append(content[i]);

+            }

+        }

+        return (result.toString());

+

+    }

+

+

+}

+

diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/validators/DebugValidator.class b/tomcat-uid/webapps/examples/WEB-INF/classes/validators/DebugValidator.class
new file mode 100644
index 0000000..90b65ce
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/validators/DebugValidator.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/classes/validators/DebugValidator.java b/tomcat-uid/webapps/examples/WEB-INF/classes/validators/DebugValidator.java
new file mode 100644
index 0000000..1ddffc4
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/classes/validators/DebugValidator.java
@@ -0,0 +1,82 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package validators;

+

+

+import java.io.InputStream;

+import java.io.IOException;

+import javax.servlet.jsp.tagext.PageData;

+import javax.servlet.jsp.tagext.TagLibraryValidator;

+import javax.servlet.jsp.tagext.ValidationMessage;

+

+

+/**

+ * Example tag library validator that simply dumps the XML version of each

+ * page to standard output (which will typically be sent to the file

+ * <code>$CATALINA_HOME/logs/catalina.out</code>).  To utilize it, simply

+ * include a <code>taglib</code> directive for this tag library at the top

+ * of your JSP page.

+ *

+ * @author Craig McClanahan

+ */

+public class DebugValidator extends TagLibraryValidator {

+

+

+    // ----------------------------------------------------- Instance Variables

+

+

+    // --------------------------------------------------------- Public Methods

+

+

+    /**

+     * Validate a JSP page.  This will get invoked once per directive in the

+     * JSP page.  This method will return <code>null</code> if the page is

+     * valid; otherwise the method should return an array of

+     * <code>ValidationMessage</code> objects.  An array of length zero is

+     * also interpreted as no errors.

+     *

+     * @param prefix The value of the prefix argument in this directive

+     * @param uri The value of the URI argument in this directive

+     * @param page The page data for this page

+     */

+    public ValidationMessage[] validate(String prefix, String uri,

+                                        PageData page) {

+

+        System.out.println("---------- Prefix=" + prefix + " URI=" + uri +

+                           "----------");

+

+        InputStream is = page.getInputStream();

+        while (true) {

+            try {

+                int ch = is.read();

+                if (ch < 0)

+                    break;

+                System.out.print((char) ch);

+            } catch (IOException e) {

+                break;

+            }

+        }

+        System.out.println();

+        System.out.println("-----------------------------------------------");

+        return (null);

+

+    }

+

+

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/jsp/applet/Clock2.java b/tomcat-uid/webapps/examples/WEB-INF/jsp/applet/Clock2.java
new file mode 100644
index 0000000..16a8790
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/jsp/applet/Clock2.java
@@ -0,0 +1,212 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+import java.util.*;

+import java.awt.*;

+import java.applet.*;

+import java.text.*;

+

+/**

+ * Time!

+ *

+ * @author Rachel Gollub

+ */

+

+public class Clock2 extends Applet implements Runnable {

+    Thread timer;                // The thread that displays clock

+    int lastxs, lastys, lastxm,

+        lastym, lastxh, lastyh;  // Dimensions used to draw hands 

+    SimpleDateFormat formatter;  // Formats the date displayed

+    String lastdate;             // String to hold date displayed

+    Font clockFaceFont;          // Font for number display on clock

+    Date currentDate;            // Used to get date to display

+    Color handColor;             // Color of main hands and dial

+    Color numberColor;           // Color of second hand and numbers

+

+    public void init() {

+        int x,y;

+        lastxs = lastys = lastxm = lastym = lastxh = lastyh = 0;

+        formatter = new SimpleDateFormat ("EEE MMM dd hh:mm:ss yyyy", Locale.getDefault());

+        currentDate = new Date();

+        lastdate = formatter.format(currentDate);

+        clockFaceFont = new Font("Serif", Font.PLAIN, 14);

+        handColor = Color.blue;

+        numberColor = Color.darkGray;

+

+        try {

+            setBackground(new Color(Integer.parseInt(getParameter("bgcolor"),16)));

+        } catch (Exception E) { }

+        try {

+            handColor = new Color(Integer.parseInt(getParameter("fgcolor1"),16));

+        } catch (Exception E) { }

+        try {

+            numberColor = new Color(Integer.parseInt(getParameter("fgcolor2"),16));

+        } catch (Exception E) { }

+        resize(300,300);              // Set clock window size

+    }

+

+    // Plotpoints allows calculation to only cover 45 degrees of the circle,

+    // and then mirror

+    public void plotpoints(int x0, int y0, int x, int y, Graphics g) {

+        g.drawLine(x0+x,y0+y,x0+x,y0+y);

+        g.drawLine(x0+y,y0+x,x0+y,y0+x);

+        g.drawLine(x0+y,y0-x,x0+y,y0-x);

+        g.drawLine(x0+x,y0-y,x0+x,y0-y);

+        g.drawLine(x0-x,y0-y,x0-x,y0-y);

+        g.drawLine(x0-y,y0-x,x0-y,y0-x);

+        g.drawLine(x0-y,y0+x,x0-y,y0+x);

+        g.drawLine(x0-x,y0+y,x0-x,y0+y);

+    }

+

+    // Circle is just Bresenham's algorithm for a scan converted circle

+    public void circle(int x0, int y0, int r, Graphics g) {

+        int x,y;

+        float d;

+        x=0;

+        y=r;

+        d=5/4-r;

+        plotpoints(x0,y0,x,y,g);

+

+        while (y>x){

+            if (d<0) {

+                d=d+2*x+3;

+                x++;

+            }

+            else {

+                d=d+2*(x-y)+5;

+                x++;

+                y--;

+            }

+            plotpoints(x0,y0,x,y,g);

+        }

+    }

+

+    // Paint is the main part of the program

+    public void paint(Graphics g) {

+        int xh, yh, xm, ym, xs, ys, s = 0, m = 10, h = 10, xcenter, ycenter;

+        String today;

+

+        currentDate = new Date();

+        SimpleDateFormat formatter = new SimpleDateFormat("s",Locale.getDefault());

+        try {

+            s = Integer.parseInt(formatter.format(currentDate));

+        } catch (NumberFormatException n) {

+            s = 0;

+        }

+        formatter.applyPattern("m");

+        try {

+            m = Integer.parseInt(formatter.format(currentDate));

+        } catch (NumberFormatException n) {

+            m = 10;

+        }    

+        formatter.applyPattern("h");

+        try {

+            h = Integer.parseInt(formatter.format(currentDate));

+        } catch (NumberFormatException n) {

+            h = 10;

+        }

+        formatter.applyPattern("EEE MMM dd HH:mm:ss yyyy");

+        today = formatter.format(currentDate);

+        xcenter=80;

+        ycenter=55;

+    

+    // a= s* pi/2 - pi/2 (to switch 0,0 from 3:00 to 12:00)

+    // x = r(cos a) + xcenter, y = r(sin a) + ycenter

+    

+        xs = (int)(Math.cos(s * 3.14f/30 - 3.14f/2) * 45 + xcenter);

+        ys = (int)(Math.sin(s * 3.14f/30 - 3.14f/2) * 45 + ycenter);

+        xm = (int)(Math.cos(m * 3.14f/30 - 3.14f/2) * 40 + xcenter);

+        ym = (int)(Math.sin(m * 3.14f/30 - 3.14f/2) * 40 + ycenter);

+        xh = (int)(Math.cos((h*30 + m/2) * 3.14f/180 - 3.14f/2) * 30 + xcenter);

+        yh = (int)(Math.sin((h*30 + m/2) * 3.14f/180 - 3.14f/2) * 30 + ycenter);

+    

+    // Draw the circle and numbers

+    

+        g.setFont(clockFaceFont);

+        g.setColor(handColor);

+        circle(xcenter,ycenter,50,g);

+        g.setColor(numberColor);

+        g.drawString("9",xcenter-45,ycenter+3); 

+        g.drawString("3",xcenter+40,ycenter+3);

+        g.drawString("12",xcenter-5,ycenter-37);

+        g.drawString("6",xcenter-3,ycenter+45);

+

+    // Erase if necessary, and redraw

+    

+        g.setColor(getBackground());

+        if (xs != lastxs || ys != lastys) {

+            g.drawLine(xcenter, ycenter, lastxs, lastys);

+            g.drawString(lastdate, 5, 125);

+        }

+        if (xm != lastxm || ym != lastym) {

+            g.drawLine(xcenter, ycenter-1, lastxm, lastym);

+            g.drawLine(xcenter-1, ycenter, lastxm, lastym); }

+        if (xh != lastxh || yh != lastyh) {

+            g.drawLine(xcenter, ycenter-1, lastxh, lastyh);

+            g.drawLine(xcenter-1, ycenter, lastxh, lastyh); }

+        g.setColor(numberColor);

+        g.drawString("", 5, 125);

+        g.drawString(today, 5, 125);    

+        g.drawLine(xcenter, ycenter, xs, ys);

+        g.setColor(handColor);

+        g.drawLine(xcenter, ycenter-1, xm, ym);

+        g.drawLine(xcenter-1, ycenter, xm, ym);

+        g.drawLine(xcenter, ycenter-1, xh, yh);

+        g.drawLine(xcenter-1, ycenter, xh, yh);

+        lastxs=xs; lastys=ys;

+        lastxm=xm; lastym=ym;

+        lastxh=xh; lastyh=yh;

+        lastdate = today;

+        currentDate=null;

+    }

+

+    public void start() {

+        timer = new Thread(this);

+        timer.start();

+    }

+

+    public void stop() {

+        timer = null;

+    }

+

+    public void run() {

+        Thread me = Thread.currentThread();

+        while (timer == me) {

+            try {

+                Thread.currentThread().sleep(100);

+            } catch (InterruptedException e) {

+            }

+            repaint();

+        }

+    }

+

+    public void update(Graphics g) {

+        paint(g);

+    }

+

+    public String getAppletInfo() {

+        return "Title: A Clock \nAuthor: Rachel Gollub, 1995 \nAn analog clock.";

+    }

+  

+    public String[][] getParameterInfo() {

+        String[][] info = {

+            {"bgcolor", "hexadecimal RGB number", "The background color. Default is the color of your browser."},

+            {"fgcolor1", "hexadecimal RGB number", "The color of the hands and dial. Default is blue."},

+            {"fgcolor2", "hexadecimal RGB number", "The color of the seconds hand and numbers. Default is dark gray."}

+        };

+        return info;

+    }

+}

diff --git a/tomcat-uid/webapps/examples/WEB-INF/jsp/debug-taglib.tld b/tomcat-uid/webapps/examples/WEB-INF/jsp/debug-taglib.tld
new file mode 100644
index 0000000..8deea3e
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/jsp/debug-taglib.tld
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<!DOCTYPE taglib

+        PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"

+	"http://java.sun.com/j2ee/dtd/web-jsptaglibrary_1_2.dtd">

+

+<!-- a tag library descriptor -->

+

+<taglib>

+  <tlib-version>1.0</tlib-version>

+  <jsp-version>1.2</jsp-version>

+  <short-name>debug</short-name>

+  <uri>http://tomcat.apache.org/debug-taglib</uri>

+  <description>

+    This tag library defines no tags.  Instead, its purpose is encapsulated

+    in the TagLibraryValidator implementation that simply outputs the XML

+    version of a JSP page to standard output, whenever this tag library is

+    referenced in a "taglib" directive in a JSP page.

+  </description>

+  <validator>

+    <validator-class>validators.DebugValidator</validator-class>

+  </validator>

+

+  <!-- This is a dummy tag solely to satisfy DTD requirements -->  

+  <tag>

+    <name>log</name>

+    <tag-class>examples.LogTag</tag-class>

+    <body-content>TAGDEPENDENT</body-content>

+    <description>

+	Perform a server side action; Log the message.

+    </description>

+    <attribute>

+	<name>toBrowser</name>

+	<required>false</required>

+    </attribute>

+  </tag>

+  

+

+</taglib>

diff --git a/tomcat-uid/webapps/examples/WEB-INF/jsp/example-taglib.tld b/tomcat-uid/webapps/examples/WEB-INF/jsp/example-taglib.tld
new file mode 100644
index 0000000..0739c5c
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/jsp/example-taglib.tld
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<!DOCTYPE taglib

+        PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"

+	"http://java.sun.com/j2ee/dtd/web-jsptaglibrary_1_2.dtd">

+

+<taglib>

+

+  <tlib-version>1.0</tlib-version>

+  <jsp-version>1.2</jsp-version>

+  <short-name>simple</short-name>

+  <uri>http://tomcat.apache.org/example-taglib</uri>

+  <description>

+	A simple tab library for the examples

+  </description>

+

+  <tag>

+    <name>ShowSource</name>

+    <tag-class>examples.ShowSource</tag-class>

+    <description> Display JSP sources </description>

+    <attribute>

+       <name>jspFile</name>

+       <required>true</required>

+       <rtexprvalue>true</rtexprvalue>

+    </attribute>

+  </tag>       

+

+  <!-- A simple Tag -->

+  <!-- foo tag -->

+  <tag>

+    <name>foo</name>

+    <tag-class>examples.FooTag</tag-class>

+    <tei-class>examples.FooTagExtraInfo</tei-class>

+    <body-content>JSP</body-content>

+    <description>

+	Perform a server side action; uses 3 mandatory attributes

+    </description>

+

+    <attribute>

+      <name>att1</name>

+      <required>true</required>

+    </attribute>

+    <attribute>

+      <name>att2</name>

+      <required>true</required>

+    </attribute>

+    <attribute>

+      <name>att3</name>

+      <required>true</required>

+    </attribute>

+  </tag>

+

+  <!-- Another simple tag -->

+  <!-- log tag -->

+  <tag>

+    <name>log</name>

+    <tag-class>examples.LogTag</tag-class>

+    <body-content>TAGDEPENDENT</body-content>

+    <description>

+	Perform a server side action; Log the message.

+    </description>

+    <attribute>

+	<name>toBrowser</name>

+	<required>false</required>

+    </attribute>

+  </tag>

+  

+</taglib>

diff --git a/tomcat-uid/webapps/examples/WEB-INF/jsp2/jsp2-example-taglib.tld b/tomcat-uid/webapps/examples/WEB-INF/jsp2/jsp2-example-taglib.tld
new file mode 100644
index 0000000..39f56f5
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/jsp2/jsp2-example-taglib.tld
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="UTF-8" ?>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<taglib xmlns="http://java.sun.com/xml/ns/j2ee"

+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"

+    version="2.0">

+    <description>A tag library exercising SimpleTag handlers.</description>

+    <tlib-version>1.0</tlib-version>

+    <short-name>SimpleTagLibrary</short-name>

+    <uri>/SimpleTagLibrary</uri>

+    <tag>

+	<description>Outputs Hello, World</description>

+        <name>helloWorld</name>

+	<tag-class>jsp2.examples.simpletag.HelloWorldSimpleTag</tag-class>

+	<body-content>empty</body-content>

+    </tag>

+    <tag>

+        <description>Repeats the body of the tag 'num' times</description>

+        <name>repeat</name>

+        <tag-class>jsp2.examples.simpletag.RepeatSimpleTag</tag-class>

+        <body-content>scriptless</body-content>

+        <variable>

+            <description>Current invocation count (1 to num)</description>

+            <name-given>count</name-given>

+        </variable>

+        <attribute>

+            <name>num</name>

+            <required>true</required>

+            <rtexprvalue>true</rtexprvalue>

+        </attribute>

+    </tag>

+    <tag>

+	<description>Populates the page context with a BookBean</description>

+        <name>findBook</name>

+	<tag-class>jsp2.examples.simpletag.FindBookSimpleTag</tag-class>

+	<body-content>empty</body-content>

+	<attribute>

+	    <name>var</name>

+	    <required>true</required>

+	    <rtexprvalue>true</rtexprvalue>

+	</attribute>

+    </tag>

+    <tag>

+        <description>

+            Takes 3 fragments and invokes them in a random order

+        </description>

+        <name>shuffle</name>

+        <tag-class>jsp2.examples.simpletag.ShuffleSimpleTag</tag-class>

+        <body-content>empty</body-content>

+        <attribute>

+            <name>fragment1</name>

+            <required>true</required>

+	    <fragment>true</fragment>

+        </attribute>

+        <attribute>

+            <name>fragment2</name>

+            <required>true</required>

+	    <fragment>true</fragment>

+        </attribute>

+        <attribute>

+            <name>fragment3</name>

+            <required>true</required>

+	    <fragment>true</fragment>

+        </attribute>

+    </tag>

+    <tag>

+        <description>Outputs a colored tile</description>

+        <name>tile</name>

+        <tag-class>jsp2.examples.simpletag.TileSimpleTag</tag-class>

+        <body-content>empty</body-content>

+        <attribute>

+            <name>color</name>

+            <required>true</required>

+        </attribute>

+        <attribute>

+            <name>label</name>

+            <required>true</required>

+        </attribute>

+    </tag>

+    <tag>

+	<description>

+	  Tag that echoes all its attributes and body content

+	</description>

+	<name>echoAttributes</name>

+	<tag-class>jsp2.examples.simpletag.EchoAttributesTag</tag-class>

+	<body-content>empty</body-content>

+	<dynamic-attributes>true</dynamic-attributes>

+    </tag>

+    <function>

+        <description>Reverses the characters in the given String</description>

+        <name>reverse</name>

+	<function-class>jsp2.examples.el.Functions</function-class>

+	<function-signature>java.lang.String reverse( java.lang.String )</function-signature>

+    </function>

+    <function>

+        <description>Counts the number of vowels (a,e,i,o,u) in the given String</description>

+        <name>countVowels</name>

+	<function-class>jsp2.examples.el.Functions</function-class>

+	<function-signature>java.lang.String numVowels( java.lang.String )</function-signature>

+    </function>

+    <function>

+	<description>Converts the string to all caps</description>

+        <name>caps</name>

+	<function-class>jsp2.examples.el.Functions</function-class>

+	<function-signature>java.lang.String caps( java.lang.String )</function-signature>

+    </function>

+</taglib>

+

diff --git a/tomcat-uid/webapps/examples/WEB-INF/lib/jstl.jar b/tomcat-uid/webapps/examples/WEB-INF/lib/jstl.jar
new file mode 100644
index 0000000..a02abec
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/lib/jstl.jar
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/lib/standard.jar b/tomcat-uid/webapps/examples/WEB-INF/lib/standard.jar
new file mode 100644
index 0000000..bc528ac
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/lib/standard.jar
Binary files differ
diff --git a/tomcat-uid/webapps/examples/WEB-INF/tags/displayProducts.tag b/tomcat-uid/webapps/examples/WEB-INF/tags/displayProducts.tag
new file mode 100644
index 0000000..508852e
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/tags/displayProducts.tag
@@ -0,0 +1,55 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

+<%@ attribute name="normalPrice" fragment="true" %>

+<%@ attribute name="onSale" fragment="true" %>

+<%@ variable name-given="name" %>

+<%@ variable name-given="price" %>

+<%@ variable name-given="origPrice" %>

+<%@ variable name-given="salePrice" %>

+

+<table border="1">

+  <tr>

+    <td> 

+      <c:set var="name" value="Hand-held Color PDA"/>

+      <c:set var="price" value="$298.86"/>

+      <jsp:invoke fragment="normalPrice"/>

+    </td>

+    <td> 

+      <c:set var="name" value="4-Pack 150 Watt Light Bulbs"/>

+      <c:set var="origPrice" value="$2.98"/>

+      <c:set var="salePrice" value="$2.32"/>

+      <jsp:invoke fragment="onSale"/>

+    </td>

+    <td> 

+      <c:set var="name" value="Digital Cellular Phone"/>

+      <c:set var="price" value="$68.74"/>

+      <jsp:invoke fragment="normalPrice"/>

+    </td>

+    <td> 

+      <c:set var="name" value="Baby Grand Piano"/>

+      <c:set var="price" value="$10,800.00"/>

+      <jsp:invoke fragment="normalPrice"/>

+    </td>

+    <td> 

+      <c:set var="name" value="Luxury Car w/ Leather Seats"/>

+      <c:set var="origPrice" value="$23,980.00"/>

+      <c:set var="salePrice" value="$21,070.00"/>

+      <jsp:invoke fragment="onSale"/>

+    </td>

+  </tr>

+</table>

diff --git a/tomcat-uid/webapps/examples/WEB-INF/tags/helloWorld.tag b/tomcat-uid/webapps/examples/WEB-INF/tags/helloWorld.tag
new file mode 100644
index 0000000..f52e823
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/tags/helloWorld.tag
@@ -0,0 +1,17 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+Hello, world!

diff --git a/tomcat-uid/webapps/examples/WEB-INF/tags/panel.tag b/tomcat-uid/webapps/examples/WEB-INF/tags/panel.tag
new file mode 100644
index 0000000..90aaf91
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/tags/panel.tag
@@ -0,0 +1,29 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<%@ attribute name="color" %>

+<%@ attribute name="bgcolor" %>

+<%@ attribute name="title" %>

+<table border="1" bgcolor="${color}">

+  <tr>

+    <td><b>${title}</b></td>

+  </tr>

+  <tr>

+    <td bgcolor="${bgcolor}">

+      <jsp:doBody/>

+    </td>

+  </tr>

+</table>

diff --git a/tomcat-uid/webapps/examples/WEB-INF/tags/xhtmlbasic.tag b/tomcat-uid/webapps/examples/WEB-INF/tags/xhtmlbasic.tag
new file mode 100644
index 0000000..d8af5e5
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/tags/xhtmlbasic.tag
@@ -0,0 +1,21 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"

+"http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">

+<html xmlns="http://www.w3.org/1999/xhtml">

+<jsp:doBody/>

+</html>

diff --git a/tomcat-uid/webapps/examples/WEB-INF/web.xml b/tomcat-uid/webapps/examples/WEB-INF/web.xml
new file mode 100644
index 0000000..955179e
--- /dev/null
+++ b/tomcat-uid/webapps/examples/WEB-INF/web.xml
@@ -0,0 +1,307 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<web-app xmlns="http://java.sun.com/xml/ns/javaee"

+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

+   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"

+   version="2.5"> 

+

+    <description>

+      Servlet and JSP Examples.

+    </description>

+    <display-name>Servlet and JSP Examples</display-name>

+

+

+    <!-- Define servlet-mapped and path-mapped example filters -->

+    <filter>

+        <filter-name>Servlet Mapped Filter</filter-name>

+        <filter-class>filters.ExampleFilter</filter-class>

+	<init-param>

+	    <param-name>attribute</param-name>

+	    <param-value>filters.ExampleFilter.SERVLET_MAPPED</param-value>

+	</init-param>

+    </filter>

+    <filter>

+        <filter-name>Path Mapped Filter</filter-name>

+        <filter-class>filters.ExampleFilter</filter-class>

+	<init-param>

+	    <param-name>attribute</param-name>

+	    <param-value>filters.ExampleFilter.PATH_MAPPED</param-value>

+	</init-param>

+    </filter>

+    <filter>

+        <filter-name>Request Dumper Filter</filter-name>

+        <filter-class>filters.RequestDumperFilter</filter-class>

+    </filter>

+

+    <!-- Example filter to set character encoding on each request -->

+    <filter>

+        <filter-name>Set Character Encoding</filter-name>

+        <filter-class>filters.SetCharacterEncodingFilter</filter-class>

+        <init-param>

+            <param-name>encoding</param-name>

+            <param-value>EUC_JP</param-value>

+        </init-param>

+    </filter>

+

+    <filter>

+        <filter-name>Compression Filter</filter-name>

+        <filter-class>compressionFilters.CompressionFilter</filter-class>

+

+        <init-param>

+          <param-name>compressionThreshold</param-name>

+          <param-value>10</param-value>

+        </init-param>

+        <init-param>

+          <param-name>debug</param-name>

+          <param-value>0</param-value>

+        </init-param>

+    </filter>

+

+    <!-- Define filter mappings for the defined filters -->

+    <filter-mapping>

+        <filter-name>Servlet Mapped Filter</filter-name>

+	<servlet-name>invoker</servlet-name>

+    </filter-mapping>

+    <filter-mapping>

+        <filter-name>Path Mapped Filter</filter-name>

+	<url-pattern>/servlet/*</url-pattern>

+    </filter-mapping>

+

+<!-- Example filter mapping to apply the "Set Character Encoding" filter

+     to *all* requests processed by this web application -->

+<!--

+    <filter-mapping>

+        <filter-name>Set Character Encoding</filter-name>

+        <url-pattern>/*</url-pattern>

+    </filter-mapping>

+-->

+

+<!--

+    <filter-mapping>

+      <filter-name>Compression Filter</filter-name>

+      <url-pattern>/CompressionTest</url-pattern>

+    </filter-mapping>

+-->

+

+<!--

+    <filter-mapping>

+        <filter-name>Request Dumper Filter</filter-name>

+        <url-pattern>/*</url-pattern>

+    </filter-mapping>

+-->

+

+    <!-- Define example application events listeners -->

+    <listener>

+        <listener-class>listeners.ContextListener</listener-class>

+    </listener>

+    <listener>

+        <listener-class>listeners.SessionListener</listener-class>

+    </listener>

+

+    <!-- Define servlets that are included in the example application -->

+

+    <servlet>

+      <servlet-name>servletToJsp</servlet-name>

+      <servlet-class>servletToJsp</servlet-class>

+    </servlet>

+    <servlet>

+        <servlet-name>ChatServlet</servlet-name>

+        <servlet-class>chat.ChatServlet</servlet-class>

+    </servlet>

+    <servlet>

+        <servlet-name>CompressionFilterTestServlet</servlet-name>

+        <servlet-class>compressionFilters.CompressionFilterTestServlet</servlet-class>

+    </servlet>

+    <servlet>

+        <servlet-name>HelloWorldExample</servlet-name>

+        <servlet-class>HelloWorldExample</servlet-class>

+    </servlet>

+    <servlet>

+        <servlet-name>RequestInfoExample</servlet-name>

+        <servlet-class>RequestInfoExample</servlet-class>

+    </servlet>

+    <servlet>

+        <servlet-name>RequestHeaderExample</servlet-name>

+        <servlet-class>RequestHeaderExample</servlet-class>

+    </servlet>

+    <servlet>

+        <servlet-name>RequestParamExample</servlet-name>

+        <servlet-class>RequestParamExample</servlet-class>

+    </servlet>

+    <servlet>

+        <servlet-name>CookieExample</servlet-name>

+        <servlet-class>CookieExample</servlet-class>

+    </servlet>

+    <servlet>

+        <servlet-name>SessionExample</servlet-name>

+        <servlet-class>SessionExample</servlet-class>

+    </servlet>

+

+    <servlet-mapping>

+        <servlet-name>ChatServlet</servlet-name>

+        <url-pattern>/jsp/chat/chat</url-pattern>

+    </servlet-mapping>

+    <servlet-mapping>

+        <servlet-name>CompressionFilterTestServlet</servlet-name>

+        <url-pattern>/CompressionTest</url-pattern>

+    </servlet-mapping>

+    <servlet-mapping>

+        <servlet-name>HelloWorldExample</servlet-name>

+        <url-pattern>/servlets/servlet/HelloWorldExample</url-pattern>

+    </servlet-mapping>

+    <servlet-mapping>

+        <servlet-name>RequestInfoExample</servlet-name>

+        <url-pattern>/servlets/servlet/RequestInfoExample/*</url-pattern>

+    </servlet-mapping>

+    <servlet-mapping>

+        <servlet-name>RequestHeaderExample</servlet-name>

+        <url-pattern>/servlets/servlet/RequestHeaderExample</url-pattern>

+    </servlet-mapping>

+    <servlet-mapping>

+        <servlet-name>RequestParamExample</servlet-name>

+        <url-pattern>/servlets/servlet/RequestParamExample</url-pattern>

+    </servlet-mapping>

+    <servlet-mapping>

+        <servlet-name>CookieExample</servlet-name>

+        <url-pattern>/servlets/servlet/CookieExample</url-pattern>

+    </servlet-mapping>

+    <servlet-mapping>

+        <servlet-name>SessionExample</servlet-name>

+        <url-pattern>/servlets/servlet/SessionExample</url-pattern>

+    </servlet-mapping>

+    <servlet-mapping>

+        <servlet-name>servletToJsp</servlet-name>

+        <url-pattern>/servletToJsp</url-pattern>

+    </servlet-mapping>

+

+    <jsp-config>

+        <taglib>

+	    <taglib-uri>

+	       http://tomcat.apache.org/debug-taglib

+	    </taglib-uri>

+	    <taglib-location>

+	       /WEB-INF/jsp/debug-taglib.tld

+	    </taglib-location>

+	</taglib>

+

+	<taglib>

+	    <taglib-uri>

+	       http://tomcat.apache.org/examples-taglib

+	    </taglib-uri>

+	    <taglib-location>

+	       /WEB-INF/jsp/example-taglib.tld

+	    </taglib-location>

+	</taglib>

+

+	<taglib>

+	    <taglib-uri>

+	       http://tomcat.apache.org/jsp2-example-taglib

+	    </taglib-uri>

+	    <taglib-location>

+	       /WEB-INF/jsp2/jsp2-example-taglib.tld

+	    </taglib-location>

+	</taglib>

+

+	<jsp-property-group>

+	    <description>

+		Special property group for JSP Configuration JSP example.

+	    </description>

+	    <display-name>JSPConfiguration</display-name>

+	    <url-pattern>/jsp/jsp2/misc/config.jsp</url-pattern>

+	    <el-ignored>true</el-ignored>

+	    <page-encoding>ISO-8859-1</page-encoding>

+	    <scripting-invalid>true</scripting-invalid>

+	    <include-prelude>/jsp/jsp2/misc/prelude.jspf</include-prelude>

+	    <include-coda>/jsp/jsp2/misc/coda.jspf</include-coda>

+	</jsp-property-group>

+    </jsp-config>

+    

+   <security-constraint>

+      <display-name>Example Security Constraint</display-name>

+      <web-resource-collection>

+         <web-resource-name>Protected Area</web-resource-name>

+	 <!-- Define the context-relative URL(s) to be protected -->

+         <url-pattern>/jsp/security/protected/*</url-pattern>

+	 <!-- If you list http methods, only those methods are protected -->

+	 <http-method>DELETE</http-method>

+         <http-method>GET</http-method>

+         <http-method>POST</http-method>

+	 <http-method>PUT</http-method>

+      </web-resource-collection>

+      <auth-constraint>

+         <!-- Anyone with one of the listed roles may access this area -->

+         <role-name>tomcat</role-name>

+	 <role-name>role1</role-name>

+      </auth-constraint>

+    </security-constraint>

+

+    <!-- Default login configuration uses form-based authentication -->

+    <login-config>

+      <auth-method>FORM</auth-method>

+      <realm-name>Example Form-Based Authentication Area</realm-name>

+      <form-login-config>

+        <form-login-page>/jsp/security/protected/login.jsp</form-login-page>

+        <form-error-page>/jsp/security/protected/error.jsp</form-error-page>

+      </form-login-config>

+    </login-config>

+        

+    <!-- Security roles referenced by this web application -->

+    <security-role>

+      <role-name>role1</role-name>

+    </security-role>

+    <security-role>

+      <role-name>tomcat</role-name>

+    </security-role>    

+

+    <!-- Environment entry examples -->

+    <!--env-entry>

+      <env-entry-description>

+         The maximum number of tax exemptions allowed to be set.

+      </env-entry-description>

+      <env-entry-name>maxExemptions</env-entry-name>

+      <env-entry-type>java.lang.Integer</env-entry-type>

+      <env-entry-value>15</env-entry-value>

+    </env-entry-->

+    <env-entry>

+      <env-entry-name>minExemptions</env-entry-name>

+      <env-entry-type>java.lang.Integer</env-entry-type>

+      <env-entry-value>1</env-entry-value>

+    </env-entry>

+    <env-entry>

+      <env-entry-name>foo/name1</env-entry-name>

+      <env-entry-type>java.lang.String</env-entry-type>

+      <env-entry-value>value1</env-entry-value>

+    </env-entry>

+    <env-entry>

+      <env-entry-name>foo/bar/name2</env-entry-name>

+      <env-entry-type>java.lang.Boolean</env-entry-type>

+      <env-entry-value>true</env-entry-value>

+    </env-entry>

+    <env-entry>

+      <env-entry-name>name3</env-entry-name>

+      <env-entry-type>java.lang.Integer</env-entry-type>

+      <env-entry-value>1</env-entry-value>

+    </env-entry>

+    <env-entry>

+      <env-entry-name>foo/name4</env-entry-name>

+      <env-entry-type>java.lang.Integer</env-entry-type>

+      <env-entry-value>10</env-entry-value>

+    </env-entry>

+

+</web-app>

diff --git a/tomcat-uid/webapps/examples/index.html b/tomcat-uid/webapps/examples/index.html
new file mode 100644
index 0000000..8dfea59
--- /dev/null
+++ b/tomcat-uid/webapps/examples/index.html
@@ -0,0 +1,29 @@
+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

+<HTML><HEAD><TITLE>Apache Tomcat Examples</TITLE>

+<META http-equiv=Content-Type content="text/html">

+</HEAD>

+<BODY>

+<P>

+<H3>Apache Tomcat Examples</H3>

+<P></P>

+<ul>

+<li><a href="servlets">Servlets examples</a></li>

+<li><a href="jsp">JSP Examples</a></li>

+</ul>

+</BODY></HTML>

diff --git a/tomcat-uid/webapps/examples/jsp/cal/Entries.java.html b/tomcat-uid/webapps/examples/jsp/cal/Entries.java.html
new file mode 100644
index 0000000..6093d31
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/cal/Entries.java.html
@@ -0,0 +1,74 @@
+<html><body><pre>

+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+package cal;

+

+import java.util.Hashtable;

+import javax.servlet.http.*;

+

+public class Entries {

+

+  private Hashtable entries;

+  private static final String[] time = {"8am", "9am", "10am", "11am", "12pm", 

+					"1pm", "2pm", "3pm", "4pm", "5pm", "6pm",

+					"7pm", "8pm" };

+  public static final int rows = 12;

+

+  public Entries () {   

+   entries = new Hashtable (rows);

+   for (int i=0; i &lt; rows; i++) {

+     entries.put (time[i], new Entry(time[i]));

+   }

+  }

+

+  public int getRows () {

+    return rows;

+  }

+

+  public Entry getEntry (int index) {

+    return (Entry)this.entries.get(time[index]);

+  }

+

+  public int getIndex (String tm) {

+    for (int i=0; i&lt;rows; i++)

+      if(tm.equals(time[i])) return i;

+    return -1;

+  }

+

+  public void processRequest (HttpServletRequest request, String tm) {

+    int index = getIndex (tm);

+    if (index >= 0) {

+      String descr = request.getParameter ("description");

+      ((Entry)entries.get(time[index])).setDescription (descr);

+    }

+  }

+

+}

+

+

+

+

+

+

+

+

+

+

+

+

+

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/cal/Entry.java.html b/tomcat-uid/webapps/examples/jsp/cal/Entry.java.html
new file mode 100644
index 0000000..f982750
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/cal/Entry.java.html
@@ -0,0 +1,57 @@
+<html><body><pre>

+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+package cal;

+

+public class Entry {

+

+  String hour;

+  String description;

+  String color;

+

+  public Entry (String hour) {

+    this.hour = hour;

+    this.description = "";

+

+  }

+

+  public String getHour () {

+    return this.hour;

+  }

+

+  public String getColor () {

+    if (description.equals("")) return "lightblue";

+    else return "red";

+  }

+

+  public String getDescription () {

+    if (description.equals("")) return "None";

+    else return this.description;

+  }

+

+  public void setDescription (String descr) {

+    description = descr;

+  }

+ 

+}

+

+

+

+

+

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/cal/JspCalendar.java.html b/tomcat-uid/webapps/examples/jsp/cal/JspCalendar.java.html
new file mode 100644
index 0000000..e1b4b83
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/cal/JspCalendar.java.html
@@ -0,0 +1,156 @@
+<html><body><pre>

+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+package cal;

+

+import java.util.*;

+

+public class JspCalendar {

+    Calendar  calendar = null;

+    Date currentDate;

+

+    public JspCalendar() {

+	calendar = Calendar.getInstance();

+	Date trialTime = new Date();

+	calendar.setTime(trialTime);

+    }

+

+

+    public int getYear() {

+	return calendar.get(Calendar.YEAR);

+    }

+    

+    public String getMonth() {

+	int m = getMonthInt();

+	String[] months = new String [] { "January", "February", "March",

+					"April", "May", "June",

+					"July", "August", "September",

+					"October", "November", "December" };

+	if (m > 12)

+	    return "Unknown to Man";

+	

+	return months[m - 1];

+

+    }

+

+    public String getDay() {

+	int x = getDayOfWeek();

+	String[] days = new String[] {"Sunday", "Monday", "Tuesday", "Wednesday", 

+				      "Thursday", "Friday", "Saturday"};

+

+	if (x > 7)

+	    return "Unknown to Man";

+

+	return days[x - 1];

+

+    }

+    

+    public int getMonthInt() {

+	return 1 + calendar.get(Calendar.MONTH);

+    }

+

+    public String getDate() {

+	return getMonthInt() + "/" + getDayOfMonth() + "/" +  getYear();	

+    }

+

+    public String getCurrentDate() {

+        Date dt = new Date ();

+	calendar.setTime (dt);

+	return getMonthInt() + "/" + getDayOfMonth() + "/" +  getYear();

+

+    }

+

+    public String getNextDate() {

+        calendar.set (Calendar.DAY_OF_MONTH, getDayOfMonth() + 1);

+	return getDate ();

+    }

+

+    public String getPrevDate() {

+        calendar.set (Calendar.DAY_OF_MONTH, getDayOfMonth() - 1);

+	return getDate ();

+    }

+

+    public String getTime() {

+	return getHour() + ":" + getMinute() + ":" + getSecond();

+    }

+

+    public int getDayOfMonth() {

+	return calendar.get(Calendar.DAY_OF_MONTH);

+    }

+

+    public int getDayOfYear() {

+	return calendar.get(Calendar.DAY_OF_YEAR);

+    }

+

+    public int getWeekOfYear() {

+	return calendar.get(Calendar.WEEK_OF_YEAR);

+    }

+

+    public int getWeekOfMonth() {

+	return calendar.get(Calendar.WEEK_OF_MONTH);

+    }

+

+    public int getDayOfWeek() {

+	return calendar.get(Calendar.DAY_OF_WEEK);

+    }

+     

+    public int getHour() {

+	return calendar.get(Calendar.HOUR_OF_DAY);

+    }

+    

+    public int getMinute() {

+	return calendar.get(Calendar.MINUTE);

+    }

+

+

+    public int getSecond() {

+	return calendar.get(Calendar.SECOND);

+    }

+

+  

+    public int getEra() {

+	return calendar.get(Calendar.ERA);

+    }

+

+    public String getUSTimeZone() {

+	String[] zones = new String[] {"Hawaii", "Alaskan", "Pacific",

+				       "Mountain", "Central", "Eastern"};

+	

+	return zones[10 + getZoneOffset()];

+    }

+

+    public int getZoneOffset() {

+	return calendar.get(Calendar.ZONE_OFFSET)/(60*60*1000);

+    }

+

+

+    public int getDSTOffset() {

+	return calendar.get(Calendar.DST_OFFSET)/(60*60*1000);

+    }

+

+    

+    public int getAMPM() {

+	return calendar.get(Calendar.AM_PM);

+    }

+}

+

+

+

+

+

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/cal/TableBean.java.html b/tomcat-uid/webapps/examples/jsp/cal/TableBean.java.html
new file mode 100644
index 0000000..a81a66b
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/cal/TableBean.java.html
@@ -0,0 +1,102 @@
+<html><body><pre>

+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+package cal;

+

+import javax.servlet.http.*;

+import java.util.Hashtable;

+

+public class TableBean {

+

+  Hashtable table;

+  JspCalendar JspCal;

+  Entries entries;

+  String date;

+  String name = null;

+  String email = null;

+  boolean processError = false;

+

+  public TableBean () {

+    this.table = new Hashtable (10);

+    this.JspCal = new JspCalendar ();

+    this.date = JspCal.getCurrentDate ();

+  }

+

+  public void setName (String nm) {

+    this.name = nm;

+  }

+

+  public String getName () {

+    return this.name;

+  }

+  

+  public void setEmail (String mail) {

+    this.email = mail;

+  }

+

+  public String getEmail () {

+    return this.email;

+  }

+

+  public String getDate () {

+    return this.date;

+  }

+

+  public Entries getEntries () {

+    return this.entries;

+  }

+

+  public void processRequest (HttpServletRequest request) {

+

+    // Get the name and e-mail.

+    this.processError = false;

+    if (name == null || name.equals("")) setName(request.getParameter ("name"));  

+    if (email == null || email.equals("")) setEmail(request.getParameter ("email"));

+    if (name == null || email == null ||

+		name.equals("") || email.equals("")) {

+      this.processError = true;

+      return;

+    }

+

+    // Get the date.

+    String dateR = request.getParameter ("date");

+    if (dateR == null) date = JspCal.getCurrentDate ();

+    else if (dateR.equalsIgnoreCase("next")) date = JspCal.getNextDate ();

+    else if (dateR.equalsIgnoreCase("prev")) date = JspCal.getPrevDate ();

+

+    entries = (Entries) table.get (date);

+    if (entries == null) {

+      entries = new Entries ();

+      table.put (date, entries);

+    }

+

+    // If time is provided add the event.

+	String time = request.getParameter("time");

+    if (time != null) entries.processRequest (request, time);

+  }

+

+  public boolean getProcessError () {

+    return this.processError;

+  }

+}

+

+

+

+

+

+

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/cal/cal1.jsp b/tomcat-uid/webapps/examples/jsp/cal/cal1.jsp
new file mode 100644
index 0000000..a691df4
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/cal/cal1.jsp
@@ -0,0 +1,95 @@
+<HTML>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<HEAD><TITLE> 

+	Calendar: A JSP APPLICATION

+</TITLE></HEAD>

+

+

+<BODY BGCOLOR="white">

+

+<%@ page language="java" import="cal.*" %>

+<jsp:useBean id="table" scope="session" class="cal.TableBean" />

+

+<%

+	table.processRequest(request);

+	if (table.getProcessError() == false) {

+%>

+

+<!-- html table goes here -->

+<CENTER>

+<TABLE WIDTH=60% BGCOLOR=yellow CELLPADDING=15>

+<TR>

+<TD ALIGN=CENTER> <A HREF=cal1.jsp?date=prev> prev </A>

+<TD ALIGN=CENTER> Calendar:<%= table.getDate() %></TD>

+<TD ALIGN=CENTER> <A HREF=cal1.jsp?date=next> next </A>

+</TR>

+</TABLE>

+

+<!-- the main table -->

+<TABLE WIDTH=60% BGCOLOR=lightblue BORDER=1 CELLPADDING=10>

+<TR>

+<TH> Time </TH>

+<TH> Appointment </TH>

+</TR>

+<FORM METHOD=POST ACTION=cal1.jsp>

+<%

+	for(int i=0; i<table.getEntries().getRows(); i++) {

+	   cal.Entry entr = table.getEntries().getEntry(i);	

+%>

+	<TR>

+	<TD> 

+	<A HREF=cal2.jsp?time=<%= entr.getHour() %>>

+		<%= entr.getHour() %> </A>

+	</TD>

+	<TD BGCOLOR=<%= entr.getColor() %>>

+	<% out.print(util.HTMLFilter.filter(entr.getDescription())); %>

+	</TD> 

+	</TR>

+<%

+	}

+%>

+</FORM>

+</TABLE>

+<BR>

+

+<!-- footer -->

+<TABLE WIDTH=60% BGCOLOR=yellow CELLPADDING=15>

+<TR>

+<TD ALIGN=CENTER>  <% out.print(util.HTMLFilter.filter(table.getName())); %> : 

+		     <% out.print(util.HTMLFilter.filter(table.getEmail())); %> </TD>

+</TR>

+</TABLE>

+</CENTER>

+

+<%

+	} else {

+%>

+<font size=5>

+	You must enter your name and email address correctly.

+</font>

+<%

+	}

+%>

+

+

+</BODY>

+</HTML>

+

+

+

+

diff --git a/tomcat-uid/webapps/examples/jsp/cal/cal1.jsp.html b/tomcat-uid/webapps/examples/jsp/cal/cal1.jsp.html
new file mode 100644
index 0000000..f9c3689
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/cal/cal1.jsp.html
@@ -0,0 +1,97 @@
+<html><body><pre>

+&lt;HTML>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;HEAD>&lt;TITLE> 

+	Calendar: A JSP APPLICATION

+&lt;/TITLE>&lt;/HEAD>

+

+

+&lt;BODY BGCOLOR="white">

+

+&lt;%@ page language="java" import="cal.*" %>

+&lt;jsp:useBean id="table" scope="session" class="cal.TableBean" />

+

+&lt;%

+	table.processRequest(request);

+	if (table.getProcessError() == false) {

+%>

+

+&lt;!-- html table goes here -->

+&lt;CENTER>

+&lt;TABLE WIDTH=60% BGCOLOR=yellow CELLPADDING=15>

+&lt;TR>

+&lt;TD ALIGN=CENTER> &lt;A HREF=cal1.jsp?date=prev> prev &lt;/A>

+&lt;TD ALIGN=CENTER> Calendar:&lt;%= table.getDate() %>&lt;/TD>

+&lt;TD ALIGN=CENTER> &lt;A HREF=cal1.jsp?date=next> next &lt;/A>

+&lt;/TR>

+&lt;/TABLE>

+

+&lt;!-- the main table -->

+&lt;TABLE WIDTH=60% BGCOLOR=lightblue BORDER=1 CELLPADDING=10>

+&lt;TR>

+&lt;TH> Time &lt;/TH>

+&lt;TH> Appointment &lt;/TH>

+&lt;/TR>

+&lt;FORM METHOD=POST ACTION=cal1.jsp>

+&lt;%

+	for(int i=0; i&lt;table.getEntries().getRows(); i++) {

+	   cal.Entry entr = table.getEntries().getEntry(i);	

+%>

+	&lt;TR>

+	&lt;TD> 

+	&lt;A HREF=cal2.jsp?time=&lt;%= entr.getHour() %>>

+		&lt;%= entr.getHour() %> &lt;/A>

+	&lt;/TD>

+	&lt;TD BGCOLOR=&lt;%= entr.getColor() %>>

+	&lt;% out.print(util.HTMLFilter.filter(entr.getDescription())); %>

+	&lt;/TD> 

+	&lt;/TR>

+&lt;%

+	}

+%>

+&lt;/FORM>

+&lt;/TABLE>

+&lt;BR>

+

+&lt;!-- footer -->

+&lt;TABLE WIDTH=60% BGCOLOR=yellow CELLPADDING=15>

+&lt;TR>

+&lt;TD ALIGN=CENTER>  &lt;% out.print(util.HTMLFilter.filter(table.getName())); %> : 

+		     &lt;% out.print(util.HTMLFilter.filter(table.getEmail())); %> &lt;/TD>

+&lt;/TR>

+&lt;/TABLE>

+&lt;/CENTER>

+

+&lt;%

+	} else {

+%>

+&lt;font size=5>

+	You must enter your name and email address correctly.

+&lt;/font>

+&lt;%

+	}

+%>

+

+

+&lt;/BODY>

+&lt;/HTML>

+

+

+

+

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/cal/cal2.jsp b/tomcat-uid/webapps/examples/jsp/cal/cal2.jsp
new file mode 100644
index 0000000..b6d435b
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/cal/cal2.jsp
@@ -0,0 +1,45 @@
+<HTML>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<HEAD><TITLE> 

+	Calendar: A JSP APPLICATION

+</TITLE></HEAD>

+

+

+<BODY BGCOLOR="white">

+<jsp:useBean id="table" scope="session" class="cal.TableBean" />

+

+<% 

+	String time = request.getParameter ("time");

+%>

+

+<FONT SIZE=5> Please add the following event:

+<BR> <h3> Date <%= table.getDate() %>

+<BR> Time <%= util.HTMLFilter.filter(time) %> </h3>

+</FONT>

+<FORM METHOD=POST ACTION=cal1.jsp>

+<BR> 

+<BR> <INPUT NAME="date" TYPE=HIDDEN VALUE="current">

+<BR> <INPUT NAME="time" TYPE=HIDDEN VALUE="<%= util.HTMLFilter.filter(time) %>">

+<BR> <h2> Description of the event <INPUT NAME="description" TYPE=TEXT SIZE=20> </h2>

+<BR> <INPUT TYPE=SUBMIT VALUE="submit">

+</FORM>

+

+</BODY>

+</HTML>

+

diff --git a/tomcat-uid/webapps/examples/jsp/cal/cal2.jsp.html b/tomcat-uid/webapps/examples/jsp/cal/cal2.jsp.html
new file mode 100644
index 0000000..2548ce7
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/cal/cal2.jsp.html
@@ -0,0 +1,47 @@
+<html><body><pre>

+&lt;HTML>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+&lt;HEAD>&lt;TITLE> 

+	Calendar: A JSP APPLICATION

+&lt;/TITLE>&lt;/HEAD>

+

+

+&lt;BODY BGCOLOR="white">

+&lt;jsp:useBean id="table" scope="session" class="cal.TableBean" />

+

+&lt;% 

+	String time = request.getParameter ("time");

+%>

+

+&lt;FONT SIZE=5> Please add the following event:

+&lt;BR> &lt;h3> Date &lt;%= table.getDate() %>

+&lt;BR> Time &lt;%= util.HTMLFilter.filter(time) %> &lt;/h3>

+&lt;/FONT>

+&lt;FORM METHOD=POST ACTION=cal1.jsp>

+&lt;BR> 

+&lt;BR> &lt;INPUT NAME="date" TYPE=HIDDEN VALUE="current">

+&lt;BR> &lt;INPUT NAME="time" TYPE=HIDDEN VALUE="&lt;%= util.HTMLFilter.filter(time) %>">

+&lt;BR> &lt;h2> Description of the event &lt;INPUT NAME="description" TYPE=TEXT SIZE=20> &lt;/h2>

+&lt;BR> &lt;INPUT TYPE=SUBMIT VALUE="submit">

+&lt;/FORM>

+

+&lt;/BODY>

+&lt;/HTML>

+

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/cal/calendar.html b/tomcat-uid/webapps/examples/jsp/cal/calendar.html
new file mode 100644
index 0000000..d77cea5
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/cal/calendar.html
@@ -0,0 +1,43 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="login.html"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h2> Source Code for Calendar Example. <br>

+<h3><a href="cal1.jsp.html">cal1.jsp<font color="#0000FF"></a>

+  </font> </h3>

+<h3><a href="cal2.jsp.html">cal2.jsp<font color="#0000FF"></a>

+  </font> </h3>

+

+<br>

+<h2> Beans.

+<h3><a href="TableBean.java.html">TableBean<font color="#0000FF"></a>

+  </font> </h3>

+<h3><a href="Entries.java.html">Entries<font color="#0000FF"></a>

+  </font> </h3>

+<h3><a href="Entry.java.html">Entry<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/cal/login.html b/tomcat-uid/webapps/examples/jsp/cal/login.html
new file mode 100644
index 0000000..398b39b
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/cal/login.html
@@ -0,0 +1,47 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<head>

+	<title> Login page for the calendar. </title>

+</head>

+

+<body bgcolor="white">

+<center>

+

+	<font size=7 color="red"> Please Enter the following information: </font>

+

+<br>

+	<form method=GET action=cal1.jsp>

+

+		<font size=5> Name <input type=text name="name" size=20>

+		</font>

+		<br>

+		<font size=5> Email <input type=text name="email" size=20>

+		</font>

+		<br>

+		<input type=submit name=action value="Submit">

+

+	</form>

+<hr>

+<font size=3 color="red"> Note: This application does not implement the complete 

+functionality of a typical calendar application. It demonstrates a way JSP can be 

+used with html tables and forms.</font>

+

+</center>

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/chat/index.jsp b/tomcat-uid/webapps/examples/jsp/chat/index.jsp
new file mode 100644
index 0000000..b7bc0d0
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/chat/index.jsp
@@ -0,0 +1,32 @@
+<%@page contentType="text/html; charset=UTF-8" %>

+<% if (session.getAttribute("nickname") == null) {

+    response.sendRedirect("login.jsp");

+    return;

+}

+%>

+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+   <title>JSP Chat</title>

+</head>

+<frameset rows="1*,4*">

+  <frame name="post" src="post.jsp" scrolling="no" title="Post message">

+  <frame name="chat" src="chat" scrolling="yes" title="Chat">

+</frameset>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/chat/index.jsp.html b/tomcat-uid/webapps/examples/jsp/chat/index.jsp.html
new file mode 100644
index 0000000..0b98ebf
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/chat/index.jsp.html
@@ -0,0 +1,34 @@
+<html><body><pre>

+&lt;%@page contentType="text/html; charset=UTF-8" %>

+&lt;% if (session.getAttribute("nickname") == null) {

+    response.sendRedirect("login.jsp");

+    return;

+}

+%>

+&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

+&lt;html>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;head>

+   &lt;title>JSP Chat&lt;/title>

+&lt;/head>

+&lt;frameset rows="1*,4*">

+  &lt;frame name="post" src="post.jsp" scrolling="no" title="Post message">

+  &lt;frame name="chat" src="chat" scrolling="yes" title="Chat">

+&lt;/frameset>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/chat/login.jsp b/tomcat-uid/webapps/examples/jsp/chat/login.jsp
new file mode 100644
index 0000000..e1c6496
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/chat/login.jsp
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

+<%@page contentType="text/html; charset=UTF-8" %>

+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+   <title>JSP Chat</title>

+</head>

+

+<body bgcolor="#FFFFFF">

+

+<form method="POST" action='chat' target="_top" name="loginForm">

+<input type="hidden" name="action" value="login">

+Nickname: <input type="text" name="nickname">

+<input type="submit">

+</form>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/chat/login.jsp.html b/tomcat-uid/webapps/examples/jsp/chat/login.jsp.html
new file mode 100644
index 0000000..d0fbe40
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/chat/login.jsp.html
@@ -0,0 +1,35 @@
+<html><body><pre>

+&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

+&lt;%@page contentType="text/html; charset=UTF-8" %>

+&lt;html>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;head>

+   &lt;title>JSP Chat&lt;/title>

+&lt;/head>

+

+&lt;body bgcolor="#FFFFFF">

+

+&lt;form method="POST" action='chat' target="_top" name="loginForm">

+&lt;input type="hidden" name="action" value="login">

+Nickname: &lt;input type="text" name="nickname">

+&lt;input type="submit">

+&lt;/form>

+

+&lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/chat/post.jsp b/tomcat-uid/webapps/examples/jsp/chat/post.jsp
new file mode 100644
index 0000000..cc8134d
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/chat/post.jsp
@@ -0,0 +1,55 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

+<%@page contentType="text/html; charset=UTF-8" %>

+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+   <title>JSP Chat</title>

+</head>

+

+<body bgcolor="#FFFFFF">

+

+<form method="POST" action='chat' name="postForm">

+<input type="hidden" name="action" value="post">

+Message: <input type="text" name="message">

+<input type="submit">

+</form>

+

+<br>

+<%

+  String serverName = request.getServerName();

+  if ("localhost".equals(serverName)) {

+      serverName = "127.0.0.1";

+  } else if ("127.0.0.1".equals(serverName)) {

+      serverName = "localhost";

+  }

+

+  String chatUrl = request.getScheme() + "://" + serverName + ":"

+    + request.getServerPort() + request.getContextPath()

+    + request.getServletPath();

+

+  // strip "post.jsp" from the address

+  chatUrl = chatUrl.substring(0, chatUrl.lastIndexOf("/") + 1);

+%>

+<a target="_blank" href="<%=chatUrl %>">Click to open a new chat window</a>

+<em>Note</em>: To avoid hitting the limit on the count of simultaneous

+connections to the same host, imposed by the

+<a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.1.4">HTTP specification</a>,

+the second chat window should be opened using a different URL, e.g. with

+an IP address instead of the host name.

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/chat/post.jsp.html b/tomcat-uid/webapps/examples/jsp/chat/post.jsp.html
new file mode 100644
index 0000000..90fa323
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/chat/post.jsp.html
@@ -0,0 +1,57 @@
+<html><body><pre>

+&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

+&lt;%@page contentType="text/html; charset=UTF-8" %>

+&lt;html>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;head>

+   &lt;title>JSP Chat&lt;/title>

+&lt;/head>

+

+&lt;body bgcolor="#FFFFFF">

+

+&lt;form method="POST" action='chat' name="postForm">

+&lt;input type="hidden" name="action" value="post">

+Message: &lt;input type="text" name="message">

+&lt;input type="submit">

+&lt;/form>

+

+&lt;br>

+&lt;%

+  String serverName = request.getServerName();

+  if ("localhost".equals(serverName)) {

+      serverName = "127.0.0.1";

+  } else if ("127.0.0.1".equals(serverName)) {

+      serverName = "localhost";

+  }

+

+  String chatUrl = request.getScheme() + "://" + serverName + ":"

+    + request.getServerPort() + request.getContextPath()

+    + request.getServletPath();

+

+  // strip "post.jsp" from the address

+  chatUrl = chatUrl.substring(0, chatUrl.lastIndexOf("/") + 1);

+%>

+&lt;a target="_blank" href="&lt;%=chatUrl %>">Click to open a new chat window&lt;/a>

+&lt;em>Note&lt;/em>: To avoid hitting the limit on the count of simultaneous

+connections to the same host, imposed by the

+&lt;a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.1.4">HTTP specification&lt;/a>,

+the second chat window should be opened using a different URL, e.g. with

+an IP address instead of the host name.

+&lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/checkbox/CheckTest.html b/tomcat-uid/webapps/examples/jsp/checkbox/CheckTest.html
new file mode 100644
index 0000000..e950ff4
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/checkbox/CheckTest.html
@@ -0,0 +1,56 @@
+<HTML>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<HEAD>

+<title>

+checkbox.CheckTest Bean Properties

+</title>

+<BODY BGCOLOR="white">

+<H2>

+checkbox.CheckTest Bean Properties

+</H2>

+<HR>

+<DL>

+<DT>public class <B>CheckTest</B><DT>extends Object</DL>

+

+<P>

+<HR>

+

+<P>

+

+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0">

+<TR BGCOLOR="#EEEEFF">

+<TD COLSPAN=3><FONT SIZE="+2">

+<B>Properties Summary</B></FONT></TD>

+</TR>

+<TR BGCOLOR="white">

+<td align="right" valign="top" width="1%">

+<FONT SIZE="-1">

+String

+</FONT></TD>

+<TD><B>CheckTest:fruit</B>

+<BR>

+       </TD>

+<td width="1%">

+<FONT SIZE="-1">

+Multi

+</FONT></TD>

+</TABLE>

+<HR>

+</BODY>

+</HTML>

diff --git a/tomcat-uid/webapps/examples/jsp/checkbox/check.html b/tomcat-uid/webapps/examples/jsp/checkbox/check.html
new file mode 100644
index 0000000..148fe40
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/checkbox/check.html
@@ -0,0 +1,38 @@
+<HTML>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<BODY bgcolor="white">

+

+

+<FORM TYPE=POST ACTION=checkresult.jsp>

+<BR>

+<font size=5 color="red">

+Check all Favorite fruits: <br>

+

+<input TYPE=checkbox name=fruit VALUE=apples> Apples <BR>

+<input TYPE=checkbox name=fruit VALUE=grapes> Grapes <BR>

+<input TYPE=checkbox name=fruit VALUE=oranges> Oranges <BR>

+<input TYPE=checkbox name=fruit VALUE=melons> Melons <BR>

+

+

+<br> <INPUT TYPE=submit name=submit Value="Submit">

+

+</font>

+</FORM>

+</BODY>

+</HTML>

diff --git a/tomcat-uid/webapps/examples/jsp/checkbox/checkresult.jsp b/tomcat-uid/webapps/examples/jsp/checkbox/checkresult.jsp
new file mode 100644
index 0000000..db87ca1
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/checkbox/checkresult.jsp
@@ -0,0 +1,64 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<body bgcolor="white">

+<font size=5 color="red">

+<%! String[] fruits; %>

+<jsp:useBean id="foo" scope="page" class="checkbox.CheckTest" />

+

+<jsp:setProperty name="foo" property="fruit" param="fruit" />

+<hr>

+The checked fruits (got using request) are: <br>

+<% 

+	fruits = request.getParameterValues("fruit");

+%>

+<ul>

+<%

+    if (fruits != null) {

+	  for (int i = 0; i < fruits.length; i++) {

+%>

+<li>

+<%

+	      out.println (util.HTMLFilter.filter(fruits[i]));

+	  }

+	} else out.println ("none selected");

+%>

+</ul>

+<br>

+<hr>

+

+The checked fruits (got using beans) are <br>

+

+<% 

+		fruits = foo.getFruit();

+%>

+<ul>

+<%

+    if (!fruits[0].equals("1")) {

+	  for (int i = 0; i < fruits.length; i++) {

+%>

+<li>

+<%

+		  out.println (util.HTMLFilter.filter(fruits[i]));

+	  }

+	} else out.println ("none selected");

+%>

+</ul>

+</font>

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/checkbox/checkresult.jsp.html b/tomcat-uid/webapps/examples/jsp/checkbox/checkresult.jsp.html
new file mode 100644
index 0000000..d5442d1
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/checkbox/checkresult.jsp.html
@@ -0,0 +1,66 @@
+<html><body><pre>

+&lt;html>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+&lt;body bgcolor="white">

+&lt;font size=5 color="red">

+&lt;%! String[] fruits; %>

+&lt;jsp:useBean id="foo" scope="page" class="checkbox.CheckTest" />

+

+&lt;jsp:setProperty name="foo" property="fruit" param="fruit" />

+&lt;hr>

+The checked fruits (got using request) are: &lt;br>

+&lt;% 

+	fruits = request.getParameterValues("fruit");

+%>

+&lt;ul>

+&lt;%

+    if (fruits != null) {

+	  for (int i = 0; i &lt; fruits.length; i++) {

+%>

+&lt;li>

+&lt;%

+	      out.println (util.HTMLFilter.filter(fruits[i]));

+	  }

+	} else out.println ("none selected");

+%>

+&lt;/ul>

+&lt;br>

+&lt;hr>

+

+The checked fruits (got using beans) are &lt;br>

+

+&lt;% 

+		fruits = foo.getFruit();

+%>

+&lt;ul>

+&lt;%

+    if (!fruits[0].equals("1")) {

+	  for (int i = 0; i &lt; fruits.length; i++) {

+%>

+&lt;li>

+&lt;%

+		  out.println (util.HTMLFilter.filter(fruits[i]));

+	  }

+	} else out.println ("none selected");

+%>

+&lt;/ul>

+&lt;/font>

+&lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/checkbox/cresult.html b/tomcat-uid/webapps/examples/jsp/checkbox/cresult.html
new file mode 100644
index 0000000..c7eabce
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/checkbox/cresult.html
@@ -0,0 +1,34 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="check.html"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="checkresult.jsp.html">Source Code for Checkbox Example<font color="#0000FF"></a>

+  </font> </h3>

+

+<h3><a href="CheckTest.html">Property Sheet for CheckTest

+<font color="#0000FF"></a> </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/colors/ColorGameBean.html b/tomcat-uid/webapps/examples/jsp/colors/ColorGameBean.html
new file mode 100644
index 0000000..dcfc5c8
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/colors/ColorGameBean.html
@@ -0,0 +1,116 @@
+<HTML>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<HEAD>

+<title>

+colors.ColorGameBean Bean Properties

+</title>

+<BODY BGCOLOR="white">

+<H2>

+colors.ColorGameBean Bean Properties

+</H2>

+<HR>

+<DL>

+<DT>public class <B>ColorGameBean</B><DT>extends Object</DL>

+

+<P>

+<HR>

+

+<P>

+

+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0">

+<TR BGCOLOR="#EEEEFF">

+<TD COLSPAN=3><FONT SIZE="+2">

+<B>Properties Summary</B></FONT></TD>

+</TR>

+<TR BGCOLOR="white">

+<td align="right" valign="top" width="1%">

+<FONT SIZE="-1">

+String

+</FONT></TD>

+<TD><B>ColorGameBean:color2</B>

+<BR>

+       </TD>

+<td width="1%">

+<FONT SIZE="-1">

+Single

+</FONT></TD>

+<TR BGCOLOR="white">

+<td align="right" valign="top" width="1%">

+<FONT SIZE="-1">

+String

+</FONT></TD>

+<TD><B>ColorGameBean:color1</B>

+<BR>

+       </TD>

+<td width="1%">

+<FONT SIZE="-1">

+Single

+</FONT></TD>

+<TR BGCOLOR="white">

+<td align="right" valign="top" width="1%">

+<FONT SIZE="-1">

+int

+</FONT></TD>

+<TD><B>ColorGameBean:attempts</B>

+<BR>

+       </TD>

+<td width="1%">

+<FONT SIZE="-1">

+Single

+</FONT></TD>

+<TR BGCOLOR="white">

+<td align="right" valign="top" width="1%">

+<FONT SIZE="-1">

+boolean

+</FONT></TD>

+<TD><B>ColorGameBean:hint</B>

+<BR>

+       </TD>

+<td width="1%">

+<FONT SIZE="-1">

+Single

+</FONT></TD>

+<TR BGCOLOR="white">

+<td align="right" valign="top" width="1%">

+<FONT SIZE="-1">

+boolean

+</FONT></TD>

+<TD><B>ColorGameBean:success</B>

+<BR>

+       </TD>

+<td width="1%">

+<FONT SIZE="-1">

+Single

+</FONT></TD>

+<TR BGCOLOR="white">

+<td align="right" valign="top" width="1%">

+<FONT SIZE="-1">

+boolean

+</FONT></TD>

+<TD><B>ColorGameBean:hintTaken</B>

+<BR>

+       </TD>

+<td width="1%">

+<FONT SIZE="-1">

+Single

+</FONT></TD>

+</TABLE>

+<HR>

+</BODY>

+</HTML>

diff --git a/tomcat-uid/webapps/examples/jsp/colors/clr.html b/tomcat-uid/webapps/examples/jsp/colors/clr.html
new file mode 100644
index 0000000..58107bc
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/colors/clr.html
@@ -0,0 +1,34 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="colors.html"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="colrs.jsp.html">Source Code for Color Example<font color="#0000FF"></a>

+  </font> </h3>

+

+<h3><a href="ColorGameBean.html">Property Sheet for ColorGameBean

+<font color="#0000FF"></a> </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/colors/colors.html b/tomcat-uid/webapps/examples/jsp/colors/colors.html
new file mode 100644
index 0000000..086738d
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/colors/colors.html
@@ -0,0 +1,47 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<body bgcolor= white>

+<font size=6 color=red>

+

+<hr>

+This web page is an example using JSP and BEANs. 

+<p>

+Guess my favorite two colors 

+

+<p> If you fail to guess both of them - you get yellow on red.

+

+<p> If you guess one of them right, either your foreground or 

+    your background will change to the color that was guessed right.

+

+<p> Guess them both right and your browser foreground/background 

+    will change to my two favorite colors to display this page.

+

+<hr>

+<form method=GET action=colrs.jsp>

+Color #1: <input type=text name= color1 size=16>

+<br>

+Color #2: <input type=text name= color2 size=16>

+<p>

+<input type=submit name=action value="Submit">

+<input type=submit name=action value="Hint">

+</form>

+

+</font>

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/colors/colrs.jsp b/tomcat-uid/webapps/examples/jsp/colors/colrs.jsp
new file mode 100644
index 0000000..e433bbd
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/colors/colrs.jsp
@@ -0,0 +1,70 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<jsp:useBean id="cb" scope="session" class="colors.ColorGameBean" />

+<jsp:setProperty name="cb" property="*" />

+

+<%

+	cb.processRequest(request);

+%>

+

+<body bgcolor=<%= cb.getColor1() %>>

+<font size=6 color=<%= cb.getColor2() %>>

+<p>

+

+<% if (cb.getHint()==true) { %>

+	

+	<p> Hint #1: Vampires prey at night!

+	<p>  <p> Hint #2: Nancy without the n.

+

+<% } %>

+

+<% if  (cb.getSuccess()==true) { %>

+

+    <p> CONGRATULATIONS!!

+	<% if  (cb.getHintTaken()==true) { %>

+    

+        <p> ( although I know you cheated and peeked into the hints)

+

+	<% } %>

+

+<% } %>

+

+<p> Total attempts so far: <%= cb.getAttempts() %>

+<p>

+

+<p>

+

+<form method=POST action=colrs.jsp>

+

+Color #1: <input type=text name= color1 size=16>

+

+<br>

+

+Color #2: <input type=text name= color2 size=16>

+

+<p>

+

+<input type=submit name=action value="Submit">

+<input type=submit name=action value="Hint">

+

+</form>

+

+</font>

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/colors/colrs.jsp.html b/tomcat-uid/webapps/examples/jsp/colors/colrs.jsp.html
new file mode 100644
index 0000000..41af88b
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/colors/colrs.jsp.html
@@ -0,0 +1,72 @@
+<html><body><pre>

+&lt;html>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+&lt;jsp:useBean id="cb" scope="session" class="colors.ColorGameBean" />

+&lt;jsp:setProperty name="cb" property="*" />

+

+&lt;%

+	cb.processRequest(request);

+%>

+

+&lt;body bgcolor=&lt;%= cb.getColor1() %>>

+&lt;font size=6 color=&lt;%= cb.getColor2() %>>

+&lt;p>

+

+&lt;% if (cb.getHint()==true) { %>

+	

+	&lt;p> Hint #1: Vampires prey at night!

+	&lt;p>  &lt;p> Hint #2: Nancy without the n.

+

+&lt;% } %>

+

+&lt;% if  (cb.getSuccess()==true) { %>

+

+    &lt;p> CONGRATULATIONS!!

+	&lt;% if  (cb.getHintTaken()==true) { %>

+    

+        &lt;p> ( although I know you cheated and peeked into the hints)

+

+	&lt;% } %>

+

+&lt;% } %>

+

+&lt;p> Total attempts so far: &lt;%= cb.getAttempts() %>

+&lt;p>

+

+&lt;p>

+

+&lt;form method=POST action=colrs.jsp>

+

+Color #1: &lt;input type=text name= color1 size=16>

+

+&lt;br>

+

+Color #2: &lt;input type=text name= color2 size=16>

+

+&lt;p>

+

+&lt;input type=submit name=action value="Submit">

+&lt;input type=submit name=action value="Hint">

+

+&lt;/form>

+

+&lt;/font>

+&lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/dates/date.html b/tomcat-uid/webapps/examples/jsp/dates/date.html
new file mode 100644
index 0000000..b779181
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/dates/date.html
@@ -0,0 +1,31 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="date.jsp"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="date.jsp.html">Source Code for Date Example<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/dates/date.jsp b/tomcat-uid/webapps/examples/jsp/dates/date.jsp
new file mode 100644
index 0000000..9c40d78
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/dates/date.jsp
@@ -0,0 +1,41 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<%@ page session="false"%>

+

+<body bgcolor="white">

+<jsp:useBean id='clock' scope='page' class='dates.JspCalendar' type="dates.JspCalendar" />

+

+<font size=4>

+<ul>

+<li>	Day of month: is  <jsp:getProperty name="clock" property="dayOfMonth"/>

+<li>	Year: is  <jsp:getProperty name="clock" property="year"/>

+<li>	Month: is  <jsp:getProperty name="clock" property="month"/>

+<li>	Time: is  <jsp:getProperty name="clock" property="time"/>

+<li>	Date: is  <jsp:getProperty name="clock" property="date"/>

+<li>	Day: is  <jsp:getProperty name="clock" property="day"/>

+<li>	Day Of Year: is  <jsp:getProperty name="clock" property="dayOfYear"/>

+<li>	Week Of Year: is  <jsp:getProperty name="clock" property="weekOfYear"/>

+<li>	era: is  <jsp:getProperty name="clock" property="era"/>

+<li>	DST Offset: is  <jsp:getProperty name="clock" property="DSTOffset"/>

+<li>	Zone Offset: is  <jsp:getProperty name="clock" property="zoneOffset"/>

+</ul>

+</font>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/dates/date.jsp.html b/tomcat-uid/webapps/examples/jsp/dates/date.jsp.html
new file mode 100644
index 0000000..4a8f1e9
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/dates/date.jsp.html
@@ -0,0 +1,43 @@
+<html><body><pre>

+&lt;html>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+&lt;%@ page session="false"%>

+

+&lt;body bgcolor="white">

+&lt;jsp:useBean id='clock' scope='page' class='dates.JspCalendar' type="dates.JspCalendar" />

+

+&lt;font size=4>

+&lt;ul>

+&lt;li>	Day of month: is  &lt;jsp:getProperty name="clock" property="dayOfMonth"/>

+&lt;li>	Year: is  &lt;jsp:getProperty name="clock" property="year"/>

+&lt;li>	Month: is  &lt;jsp:getProperty name="clock" property="month"/>

+&lt;li>	Time: is  &lt;jsp:getProperty name="clock" property="time"/>

+&lt;li>	Date: is  &lt;jsp:getProperty name="clock" property="date"/>

+&lt;li>	Day: is  &lt;jsp:getProperty name="clock" property="day"/>

+&lt;li>	Day Of Year: is  &lt;jsp:getProperty name="clock" property="dayOfYear"/>

+&lt;li>	Week Of Year: is  &lt;jsp:getProperty name="clock" property="weekOfYear"/>

+&lt;li>	era: is  &lt;jsp:getProperty name="clock" property="era"/>

+&lt;li>	DST Offset: is  &lt;jsp:getProperty name="clock" property="DSTOffset"/>

+&lt;li>	Zone Offset: is  &lt;jsp:getProperty name="clock" property="zoneOffset"/>

+&lt;/ul>

+&lt;/font>

+

+&lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/error/er.html b/tomcat-uid/webapps/examples/jsp/error/er.html
new file mode 100644
index 0000000..523f7e3
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/error/er.html
@@ -0,0 +1,31 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="error.html"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="err.jsp.html">Source Code for Error Example<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/error/err.jsp b/tomcat-uid/webapps/examples/jsp/error/err.jsp
new file mode 100644
index 0000000..08030b0
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/error/err.jsp
@@ -0,0 +1,44 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<body bgcolor="lightblue">

+

+	<%@ page errorPage="errorpge.jsp" %>

+	<jsp:useBean id="foo" scope="request" class="error.Smart" />

+	<% 

+		String name = null;

+

+		if (request.getParameter("name") == null) {

+	%>

+	<%@ include file="error.html" %>

+	<%

+		} else {

+		  foo.setName(request.getParameter("name"));

+		  if (foo.getName().equalsIgnoreCase("integra"))

+		  	name = "acura";

+		  if (name.equalsIgnoreCase("acura")) {

+	%>

+

+	<H1> Yes!!! <a href="http://www.acura.com">Acura</a> is my favorite car.

+

+	<% 

+		  }

+		}	

+	%>	

+</body>

+</html>

+

diff --git a/tomcat-uid/webapps/examples/jsp/error/err.jsp.html b/tomcat-uid/webapps/examples/jsp/error/err.jsp.html
new file mode 100644
index 0000000..65b5654
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/error/err.jsp.html
@@ -0,0 +1,46 @@
+<html><body><pre>

+&lt;html>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;body bgcolor="lightblue">

+

+	&lt;%@ page errorPage="errorpge.jsp" %>

+	&lt;jsp:useBean id="foo" scope="request" class="error.Smart" />

+	&lt;% 

+		String name = null;

+

+		if (request.getParameter("name") == null) {

+	%>

+	&lt;%@ include file="error.html" %>

+	&lt;%

+		} else {

+		  foo.setName(request.getParameter("name"));

+		  if (foo.getName().equalsIgnoreCase("integra"))

+		  	name = "acura";

+		  if (name.equalsIgnoreCase("acura")) {

+	%>

+

+	&lt;H1> Yes!!! &lt;a href="http://www.acura.com">Acura&lt;/a> is my favorite car.

+

+	&lt;% 

+		  }

+		}	

+	%>	

+&lt;/body>

+&lt;/html>

+

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/error/error.html b/tomcat-uid/webapps/examples/jsp/error/error.html
new file mode 100644
index 0000000..635346f
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/error/error.html
@@ -0,0 +1,37 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<body bgcolor="white">

+

+<h1> This example uses <b>errorpage</b> directive </h1>

+<br>

+<h3> Select my favourite car.</h3>

+<form method=get action=err.jsp>

+<!-- <br> Make a guess: -->

+<SELECT NAME="name" SIZE=5>

+<OPTION VALUE="integra"> Acura Integra <BR>

+<OPTION VALUE="bmw328i"> BMW 328I <BR>

+<OPTION VALUE="z3"> BMW Z3 <BR>

+<OPTION VALUE="infiniti"> InfinitiQ3 <BR>

+<OPTION VALUE="audi"> Audi A8 <BR>

+</SELECT>

+<br> <INPUT TYPE=submit name=submit Value="Submit">

+</form>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/error/errorpge.jsp b/tomcat-uid/webapps/examples/jsp/error/errorpge.jsp
new file mode 100644
index 0000000..113c204
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/error/errorpge.jsp
@@ -0,0 +1,25 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<body bgcolor="red">

+

+	<%@ page isErrorPage="true" %>

+	<h1> The exception <%= exception.getMessage() %> tells me you

+	     made a wrong choice. 

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/error/errorpge.jsp.html b/tomcat-uid/webapps/examples/jsp/error/errorpge.jsp.html
new file mode 100644
index 0000000..69bf244
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/error/errorpge.jsp.html
@@ -0,0 +1,27 @@
+<html><body><pre>

+&lt;html>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+&lt;body bgcolor="red">

+

+	&lt;%@ page isErrorPage="true" %>

+	&lt;h1> The exception &lt;%= exception.getMessage() %> tells me you

+	     made a wrong choice. 

+&lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/forward/forward.jsp b/tomcat-uid/webapps/examples/jsp/forward/forward.jsp
new file mode 100644
index 0000000..8e2ceab
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/forward/forward.jsp
@@ -0,0 +1,34 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<% 

+   double freeMem = Runtime.getRuntime().freeMemory();

+   double totlMem = Runtime.getRuntime().totalMemory();

+   double percent = freeMem/totlMem;

+   if (percent < 0.5) { 

+%>

+

+<jsp:forward page="one.jsp"/>

+

+<% } else { %>

+

+<jsp:forward page="two.html"/>

+

+<% } %>

+

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/forward/forward.jsp.html b/tomcat-uid/webapps/examples/jsp/forward/forward.jsp.html
new file mode 100644
index 0000000..9f0a563
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/forward/forward.jsp.html
@@ -0,0 +1,36 @@
+<html><body><pre>

+&lt;html>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+&lt;% 

+   double freeMem = Runtime.getRuntime().freeMemory();

+   double totlMem = Runtime.getRuntime().totalMemory();

+   double percent = freeMem/totlMem;

+   if (percent &lt; 0.5) { 

+%>

+

+&lt;jsp:forward page="one.jsp"/>

+

+&lt;% } else { %>

+

+&lt;jsp:forward page="two.html"/>

+

+&lt;% } %>

+

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/forward/fwd.html b/tomcat-uid/webapps/examples/jsp/forward/fwd.html
new file mode 100644
index 0000000..e4a701e
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/forward/fwd.html
@@ -0,0 +1,30 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="forward.jsp"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="forward.jsp.html">Source Code for Forward Example<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/forward/one.jsp b/tomcat-uid/webapps/examples/jsp/forward/one.jsp
new file mode 100644
index 0000000..90297b7
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/forward/one.jsp
@@ -0,0 +1,23 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<body bgcolor="white">

+<font color="red">

+

+VM Memory usage < 50%.

+</html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/examples/jsp/forward/one.jsp.html b/tomcat-uid/webapps/examples/jsp/forward/one.jsp.html
new file mode 100644
index 0000000..7cb77a0
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/forward/one.jsp.html
@@ -0,0 +1,25 @@
+<html><body><pre>

+&lt;html>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+&lt;body bgcolor="white">

+&lt;font color="red">

+

+VM Memory usage &lt; 50%.

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/forward/two.html b/tomcat-uid/webapps/examples/jsp/forward/two.html
new file mode 100644
index 0000000..4bc9402
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/forward/two.html
@@ -0,0 +1,23 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<body bgcolor="white">

+<font color="red">

+

+VM Memory usage > 50%.

+</html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/examples/jsp/images/code.gif b/tomcat-uid/webapps/examples/jsp/images/code.gif
new file mode 100644
index 0000000..93af2cd
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/images/code.gif
Binary files differ
diff --git a/tomcat-uid/webapps/examples/jsp/images/execute.gif b/tomcat-uid/webapps/examples/jsp/images/execute.gif
new file mode 100644
index 0000000..f64d70f
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/images/execute.gif
Binary files differ
diff --git a/tomcat-uid/webapps/examples/jsp/images/read.gif b/tomcat-uid/webapps/examples/jsp/images/read.gif
new file mode 100644
index 0000000..66cb4e9
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/images/read.gif
Binary files differ
diff --git a/tomcat-uid/webapps/examples/jsp/images/return.gif b/tomcat-uid/webapps/examples/jsp/images/return.gif
new file mode 100644
index 0000000..af4f68f
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/images/return.gif
Binary files differ
diff --git a/tomcat-uid/webapps/examples/jsp/include/foo.html b/tomcat-uid/webapps/examples/jsp/include/foo.html
new file mode 100644
index 0000000..11acc0e
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/include/foo.html
@@ -0,0 +1,17 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+To get the current time in ms

diff --git a/tomcat-uid/webapps/examples/jsp/include/foo.jsp b/tomcat-uid/webapps/examples/jsp/include/foo.jsp
new file mode 100644
index 0000000..ce4101b
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/include/foo.jsp
@@ -0,0 +1,21 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<body bgcolor="white">

+<font color="red">

+

+<%= System.currentTimeMillis() %>

diff --git a/tomcat-uid/webapps/examples/jsp/include/foo.jsp.html b/tomcat-uid/webapps/examples/jsp/include/foo.jsp.html
new file mode 100644
index 0000000..638d41d
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/include/foo.jsp.html
@@ -0,0 +1,23 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+&lt;body bgcolor="white">

+&lt;font color="red">

+

+&lt;%= System.currentTimeMillis() %>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/include/inc.html b/tomcat-uid/webapps/examples/jsp/include/inc.html
new file mode 100644
index 0000000..d2971bb
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/include/inc.html
@@ -0,0 +1,30 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="include.jsp"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="include.jsp.html">Source Code for Include Example<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/include/include.jsp b/tomcat-uid/webapps/examples/jsp/include/include.jsp
new file mode 100644
index 0000000..34fd6c3
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/include/include.jsp
@@ -0,0 +1,35 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<body bgcolor="white">

+

+<font color="red">

+

+<%@ page buffer="5kb" autoFlush="false" %>

+

+<p>In place evaluation of another JSP which gives you the current time:

+

+<%@ include file="foo.jsp" %>

+

+<p> <jsp:include page="foo.html" flush="true"/> by including the output of another JSP:

+

+<jsp:include page="foo.jsp" flush="true"/>

+

+:-) 

+

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/include/include.jsp.html b/tomcat-uid/webapps/examples/jsp/include/include.jsp.html
new file mode 100644
index 0000000..f45c300
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/include/include.jsp.html
@@ -0,0 +1,37 @@
+<html><body><pre>

+&lt;html>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+&lt;body bgcolor="white">

+

+&lt;font color="red">

+

+&lt;%@ page buffer="5kb" autoFlush="false" %>

+

+&lt;p>In place evaluation of another JSP which gives you the current time:

+

+&lt;%@ include file="foo.jsp" %>

+

+&lt;p> &lt;jsp:include page="foo.html" flush="true"/> by including the output of another JSP:

+

+&lt;jsp:include page="foo.jsp" flush="true"/>

+

+:-) 

+

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/index.html b/tomcat-uid/webapps/examples/jsp/index.html
new file mode 100644
index 0000000..c41acf2
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/index.html
@@ -0,0 +1,370 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <meta name="GENERATOR" content="Mozilla/4.61 [en] (WinNT; I) [Netscape]">

+   <meta name="Author" content="Anil K. Vijendran">

+   <title>JSP Examples</title>

+</head>

+<body bgcolor="#FFFFFF">

+<b><font face="Arial, Helvetica, sans-serif"><font size=+2>JSP

+Samples</font></font></b>

+<p>This is a collection of samples demonstrating the usage of different

+parts of the Java Server Pages (JSP) specification.  Both JSP 2.0 and

+JSP 1.2 examples are presented below.

+<p>These examples will only work when these pages are being served by a

+servlet engine; of course, we recommend

+<a href="http://tomcat.apache.org/">Tomcat</a>.

+They will not work if you are viewing these pages via a

+"file://..." URL.

+<p>To navigate your way through the examples, the following icons will

+help:

+<br>&nbsp;

+<table BORDER=0 CELLSPACING=5 WIDTH="85%" >

+<tr VALIGN=TOP>

+<td WIDTH="30"><img SRC="images/execute.gif" ></td>

+

+<td>Execute the example</td>

+</tr>

+

+<tr VALIGN=TOP>

+<td WIDTH="30"><img SRC="images/code.gif" height=24 width=24></td>

+

+<td>Look at the source code for the example</td>

+</tr>

+

+<!--<tr VALIGN=TOP>

+<td WIDTH="30"><img SRC="images/read.gif" height=24 width=24></td>

+

+<td>Read more about this feature</td>

+-->

+

+</tr>

+<tr VALIGN=TOP>

+<td WIDTH="30"><img SRC="images/return.gif" height=24 width=24></td>

+

+<td>Return to this screen</td>

+</tr>

+</table>

+

+<p>Tip: For session scoped beans to work, the cookies must be enabled.

+This can be done using browser options.

+<br>&nbsp;

+<br>

+<b><u><font size="+1">JSP 2.0 Examples</font></u></b><br>

+

+<table BORDER=0 CELLSPACING=5 WIDTH="85%" >

+<tr valign=TOP>

+<td><b>Expression Language</b></td>

+</tr>

+

+<tr valign=TOP>

+<td>Basic Arithmetic</td>

+<td valign=TOP width="30%"><a href="jsp2/el/basic-arithmetic.jsp"><img src="images/execute.gif" hspace=4 border=0  align=top></a><a href="jsp2/el/basic-arithmetic.jsp">Execute</a></td>

+

+<td width="30%"><a href="jsp2/el/basic-arithmetic.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/el/basic-arithmetic.html">Source</a></td>

+</tr>

+

+<tr valign=TOP>

+<td>Basic Comparisons</td>

+<td valign=TOP width="30%"><a href="jsp2/el/basic-comparisons.jsp"><img src="images/execute.gif" hspace=4 border=0  align=top></a><a href="jsp2/el/basic-comparisons.jsp">Execute</a></td>

+

+<td width="30%"><a href="jsp2/el/basic-comparisons.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/el/basic-comparisons.html">Source</a></td>

+</tr>

+

+<tr valign=TOP>

+<td>Implicit Objects</td>

+<td valign=TOP width="30%"><a href="jsp2/el/implicit-objects.jsp?foo=bar"><img src="images/execute.gif" hspace=4 border=0  align=top></a><a href="jsp2/el/implicit-objects.jsp?foo=bar">Execute</a></td>

+

+<td width="30%"><a href="jsp2/el/implicit-objects.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/el/implicit-objects.html">Source</a></td>

+</tr>

+<tr valign=TOP>

+

+<td>Functions</td>

+<td valign=TOP width="30%"><a href="jsp2/el/functions.jsp?foo=JSP+2.0"><img src="images/execute.gif" hspace=4 border=0  align=top></a><a href="jsp2/el/functions.jsp?foo=JSP+2.0">Execute</a></td>

+

+<td width="30%"><a href="jsp2/el/functions.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/el/functions.html">Source</a></td>

+</tr>

+

+<tr valign=TOP>

+<td><br><b>SimpleTag Handlers and JSP Fragments</b></td>

+</tr>

+

+<tr valign=TOP>

+<td>Hello World Tag</td>

+<td valign=TOP width="30%"><a href="jsp2/simpletag/hello.jsp"><img src="images/execute.gif" hspace=4 border=0  align=top></a><a href="jsp2/simpletag/hello.jsp">Execute</a></td>

+

+<td width="30%"><a href="jsp2/simpletag/hello.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/simpletag/hello.html">Source</a></td>

+</tr>

+

+<tr valign=TOP>

+<td>Repeat Tag</td>

+<td valign=TOP width="30%"><a href="jsp2/simpletag/repeat.jsp"><img src="images/execute.gif" hspace=4 border=0  align=top></a><a href="jsp2/simpletag/repeat.jsp">Execute</a></td>

+

+<td width="30%"><a href="jsp2/simpletag/repeat.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/simpletag/repeat.html">Source</a></td>

+</tr>

+

+<tr valign=TOP>

+<td>Book Example</td>

+<td valign=TOP width="30%"><a href="jsp2/simpletag/book.jsp"><img src="images/execute.gif" hspace=4 border=0  align=top></a><a href="jsp2/simpletag/book.jsp">Execute</a></td>

+

+<td width="30%"><a href="jsp2/simpletag/book.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/simpletag/book.html">Source</a></td>

+</tr>

+

+<tr valign=TOP>

+<td><br><b>Tag Files</b></td>

+</tr>

+

+<tr valign=TOP>

+<td>Hello World Tag File</td>

+<td valign=TOP width="30%"><a href="jsp2/tagfiles/hello.jsp"><img src="images/execute.gif" hspace=4 border=0  align=top></a><a href="jsp2/tagfiles/hello.jsp">Execute</a></td>

+

+<td width="30%"><a href="jsp2/tagfiles/hello.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/tagfiles/hello.html">Source</a></td>

+</tr>

+

+<tr valign=TOP>

+<td>Panel Tag File</td>

+<td valign=TOP width="30%"><a href="jsp2/tagfiles/panel.jsp"><img src="images/execute.gif" hspace=4 border=0  align=top></a><a href="jsp2/tagfiles/panel.jsp">Execute</a></td>

+

+<td width="30%"><a href="jsp2/tagfiles/panel.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/tagfiles/panel.html">Source</a></td>

+</tr>

+

+<tr valign=TOP>

+<td>Display Products Example</td>

+<td valign=TOP width="30%"><a href="jsp2/tagfiles/products.jsp"><img src="images/execute.gif" hspace=4 border=0  align=top></a><a href="jsp2/tagfiles/products.jsp">Execute</a></td>

+

+<td width="30%"><a href="jsp2/tagfiles/products.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/tagfiles/products.html">Source</a></td>

+</tr>

+

+<tr valign=TOP>

+<td><br><b>New JSP XML Syntax (.jspx)</b></td>

+</tr>

+

+<tr valign=TOP>

+<td>XHTML Basic Example</td>

+<td valign=TOP width="30%"><a href="jsp2/jspx/basic.jspx"><img src="images/execute.gif" hspace=4 border=0  align=top></a><a href="jsp2/jspx/basic.jspx">Execute</a></td>

+

+<td width="30%"><a href="jsp2/jspx/basic.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/jspx/basic.html">Source</a></td>

+</tr>

+

+<tr valign=TOP>

+<td>SVG (Scalable Vector Graphics)</td>

+<td valign=TOP width="30%"><a href="jsp2/jspx/svgexample.html"><img src="images/execute.gif" hspace=4 border=0  align=top></a><a href="jsp2/jspx/svgexample.html">Execute</a></td>

+

+<td width="30%"><a href="jsp2/jspx/textRotate.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/jspx/textRotate.html">Source</a></td>

+</tr>

+

+<tr valign=TOP>

+<td><br><b>Other JSP 2.0 Features</b></td>

+</tr>

+

+<tr valign=TOP>

+<td>&lt;jsp:attribute&gt; and &lt;jsp:body&gt;</td>

+<td valign=TOP width="30%"><a href="jsp2/jspattribute/jspattribute.jsp"><img src="images/execute.gif" hspace=4 border=0  align=top></a><a href="jsp2/jspattribute/jspattribute.jsp">Execute</a></td>

+

+<td width="30%"><a href="jsp2/jspattribute/jspattribute.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/jspattribute/jspattribute.html">Source</a></td>

+</tr>

+

+<tr valign=TOP>

+<td>Shuffle Example</td>

+<td valign=TOP width="30%"><a href="jsp2/jspattribute/shuffle.jsp"><img src="images/execute.gif" hspace=4 border=0  align=top></a><a href="jsp2/jspattribute/shuffle.jsp">Execute</a></td>

+

+<td width="30%"><a href="jsp2/jspattribute/shuffle.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/jspattribute/shuffle.html">Source</a></td>

+</tr>

+

+<tr valign=TOP>

+<td>Attributes With Dynamic Names</td>

+<td valign=TOP width="30%"><a href="jsp2/misc/dynamicattrs.jsp"><img src="images/execute.gif" hspace=4 border=0  align=top></a><a href="jsp2/misc/dynamicattrs.jsp">Execute</a></td>

+

+<td width="30%"><a href="jsp2/misc/dynamicattrs.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/misc/dynamicattrs.html">Source</a></td>

+</tr>

+

+<tr valign=TOP>

+<td>JSP Configuration</td>

+<td valign=TOP width="30%"><a href="jsp2/misc/config.jsp"><img src="images/execute.gif" hspace=4 border=0  align=top></a><a href="jsp2/misc/config.jsp">Execute</a></td>

+

+<td width="30%"><a href="jsp2/misc/config.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/misc/config.html">Source</a></td>

+</tr>

+

+</table>

+

+<br>

+<b><u><font size="+1">JSP 1.2 Examples</font></u></b><br>

+<table BORDER=0 CELLSPACING=5 WIDTH="85%" >

+<tr VALIGN=TOP>

+<td>Numberguess&nbsp;</td>

+

+<td VALIGN=TOP WIDTH="30%"><a href="num/numguess.jsp"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="num/numguess.jsp">Execute</a></td>

+

+<td WIDTH="30%"><a href="num/numguess.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="num/numguess.html">Source</a></td>

+</tr>

+

+<tr VALIGN=TOP>

+<td>Date&nbsp;</td>

+

+<td VALIGN=TOP WIDTH="30%"><a href="dates/date.jsp"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="dates/date.jsp">Execute</a></td>

+

+<td WIDTH="30%"><a href="dates/date.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="dates/date.html">Source</a></td>

+</tr>

+

+<tr VALIGN=TOP>

+<td>Snoop</td>

+

+<td WIDTH="30%"><a href="snp/snoop.jsp"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="snp/snoop.jsp">Execute</a></td>

+

+<td WIDTH="30%"><a href="snp/snoop.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="snp/snoop.html">Source</a></td>

+</tr>

+

+<tr VALIGN=TOP>

+<td>ErrorPage&nbsp;</td>

+

+<td WIDTH="30%"><a href="error/error.html"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="error/error.html">Execute</a></td>

+

+<td WIDTH="30%"><a href="error/er.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="error/er.html">Source</a></td>

+</tr>

+

+<tr VALIGN=TOP>

+<td>Carts&nbsp;</td>

+

+<td VALIGN=TOP WIDTH="30%"><a href="sessions/carts.html"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="sessions/carts.html">Execute</a></td>

+

+<td WIDTH="30%"><a href="sessions/crt.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="sessions/crt.html">Source</a></td>

+</tr>

+

+<tr VALIGN=TOP>

+<td>Checkbox&nbsp;</td>

+

+<td VALIGN=TOP WIDTH="30%"><a href="checkbox/check.html"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="checkbox/check.html">Execute</a></td>

+

+<td WIDTH="30%"><a href="checkbox/cresult.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="checkbox/cresult.html">Source</a></td>

+</tr>

+

+<tr VALIGN=TOP>

+<td>Color&nbsp;</td>

+

+<td VALIGN=TOP WIDTH="30%"><a href="colors/colors.html"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="colors/colors.html">Execute</a></td>

+

+<td WIDTH="30%"><a href="colors/clr.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="colors/clr.html">Source</a></td>

+</tr>

+

+<tr VALIGN=TOP>

+<td>Calendar&nbsp;</td>

+

+<td WIDTH="30%"><a href="cal/login.html"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="cal/login.html">Execute</a></td>

+

+<td WIDTH="30%"><a href="cal/calendar.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="cal/calendar.html">Source</a></td>

+</tr>

+

+<tr VALIGN=TOP>

+<td>Include&nbsp;</td>

+

+<td VALIGN=TOP WIDTH="30%"><a href="include/include.jsp"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="include/include.jsp">Execute</a></td>

+

+<td WIDTH="30%"><a href="include/inc.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="include/inc.html">Source</a></td>

+</tr>

+

+<tr VALIGN=TOP>

+<td>Forward&nbsp;</td>

+

+<td VALIGN=TOP WIDTH="30%"><a href="forward/forward.jsp"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="forward/forward.jsp">Execute</a></td>

+

+<td WIDTH="30%"><a href="forward/fwd.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="forward/fwd.html">Source</a></td>

+</tr>

+

+<tr VALIGN=TOP>

+<td>Plugin&nbsp;</td>

+

+<td VALIGN=TOP WIDTH="30%"><a href="plugin/plugin.jsp"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="plugin/plugin.jsp">Execute</a></td>

+

+<td WIDTH="30%"><a href="plugin/plugin.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="plugin/plugin.html">Source</a></td>

+</tr>

+

+<tr VALIGN=TOP>

+<td>JSP-Servlet-JSP&nbsp;</td>

+

+<td VALIGN=TOP WIDTH="30%"><a href="jsptoserv/jsptoservlet.jsp"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="jsptoserv/jsptoservlet.jsp">Execute</a></td>

+

+<td WIDTH="30%"><a href="jsptoserv/jts.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsptoserv/jts.html">Source</a></td>

+</tr>

+

+<tr VALIGN=TOP>

+<td>Custom tag example</td>

+

+<td VALIGN=TOP WIDTH="30%"><a href="simpletag/foo.jsp"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="simpletag/foo.jsp">Execute</a></td>

+

+<td WIDTH="30%"><a href="simpletag/foo.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="simpletag/foo.html">Source</a></td>

+</tr>

+

+<tr valign=TOP>

+<td>XML syntax example</td>

+<td valign=TOP width="30%"><a href="xml/xml.jsp"><img src="images/execute.gif" hspace=4 border=0  align=top></a><a href="xml/xml.jsp">Execute</a></td>

+

+<td width="30%"><a href="xml/xml.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="xml/xml.html">Source</a></td>

+</tr>

+

+</table>

+

+<br/>

+<b><u><font size="+1">Tag Plugins</font></u></b><br>

+<table BORDER=0 CELLSPACING=5 WIDTH="85%" >

+

+<tr VALIGN=TOP>

+  <td>If&nbsp;</td>

+  <td VALIGN=TOP WIDTH="30%">

+    <a href="tagplugin/if.jsp"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  

+align=TOP></a>

+    <a href="tagplugin/if.jsp">Execute</a>

+  </td>

+  <td WIDTH="30%">

+    <a href="tagplugin/if.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 hei

+ght=24 width=24 align=TOP></a>

+    <a href="tagplugin/if.html">Source</a>

+  </td>

+</tr>

+

+<tr VALIGN=TOP>

+  <td>ForEach&nbsp;</td>

+  <td VALIGN=TOP WIDTH="30%">

+    <a href="tagplugin/foreach.jsp"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  

+align=TOP></a>

+    <a href="tagplugin/foreach.jsp">Execute</a>

+  </td>

+  <td WIDTH="30%">

+    <a href="tagplugin/foreach.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 hei

+ght=24 width=24 align=TOP></a>

+    <a href="tagplugin/foreach.html">Source</a>

+  </td>

+</tr>

+

+<tr VALIGN=TOP>

+  <td>Choose&nbsp;</td>

+  <td VALIGN=TOP WIDTH="30%">

+    <a href="tagplugin/choose.jsp"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a>

+    <a href="tagplugin/choose.jsp">Execute</a>

+  </td>

+  <td WIDTH="30%">

+    <a href="tagplugin/choose.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a>

+    <a href="tagplugin/choose.html">Source</a>

+  </td>

+</tr>

+

+</table>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/el/Functions.java.html b/tomcat-uid/webapps/examples/jsp/jsp2/el/Functions.java.html
new file mode 100644
index 0000000..350fce6
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/el/Functions.java.html
@@ -0,0 +1,45 @@
+<html><body><pre>

+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+package jsp2.examples.el;

+

+/**

+ * Defines the functions for the jsp2 example tag library.

+ * 

+ * &lt;p>Each function is defined as a static method.&lt;/p>

+ */

+public class Functions {

+    public static String reverse( String text ) {

+        return new StringBuffer( text ).reverse().toString();

+    }

+

+    public static int numVowels( String text ) {

+        String vowels = "aeiouAEIOU";

+	int result = 0;

+        for( int i = 0; i &lt; text.length(); i++ ) {

+	    if( vowels.indexOf( text.charAt( i ) ) != -1 ) {

+	        result++;

+	    }

+	}

+	return result;

+    }

+

+    public static String caps( String text ) {

+        return text.toUpperCase();

+    }

+}

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/el/basic-arithmetic.html b/tomcat-uid/webapps/examples/jsp/jsp2/el/basic-arithmetic.html
new file mode 100644
index 0000000..ca88b7f
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/el/basic-arithmetic.html
@@ -0,0 +1,30 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>View Source Code</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="basic-arithmetic.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="basic-arithmetic.jsp.html">Source Code for Basic Arithmetic Example<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/el/basic-arithmetic.jsp b/tomcat-uid/webapps/examples/jsp/jsp2/el/basic-arithmetic.jsp
new file mode 100644
index 0000000..e2ec74c
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/el/basic-arithmetic.jsp
@@ -0,0 +1,88 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+  <head>

+    <title>JSP 2.0 Expression Language - Basic Arithmetic</title>

+  </head>

+  <body>

+    <h1>JSP 2.0 Expression Language - Basic Arithmetic</h1>

+    <hr>

+    This example illustrates basic Expression Language arithmetic.

+    Addition (+), subtraction (-), multiplication (*), division (/ or div), 

+    and modulus (% or mod) are all supported.  Error conditions, like

+    division by zero, are handled gracefully.

+    <br>

+    <blockquote>

+      <code>

+        <table border="1">

+          <thead>

+	    <td><b>EL Expression</b></td>

+	    <td><b>Result</b></td>

+	  </thead>

+	  <tr>

+	    <td>\${1}</td>

+	    <td>${1}</td>

+	  </tr>

+	  <tr>

+	    <td>\${1 + 2}</td>

+	    <td>${1 + 2}</td>

+	  </tr>

+	  <tr>

+	    <td>\${1.2 + 2.3}</td>

+	    <td>${1.2 + 2.3}</td>

+	  </tr>

+	  <tr>

+	    <td>\${1.2E4 + 1.4}</td>

+	    <td>${1.2E4 + 1.4}</td>

+	  </tr>

+	  <tr>

+	    <td>\${-4 - 2}</td>

+	    <td>${-4 - 2}</td>

+	  </tr>

+	  <tr>

+	    <td>\${21 * 2}</td>

+	    <td>${21 * 2}</td>

+	  </tr>

+	  <tr>

+	    <td>\${3/4}</td>

+	    <td>${3/4}</td>

+	  </tr>

+	  <tr>

+	    <td>\${3 div 4}</td>

+	    <td>${3 div 4}</td>

+	  </tr>

+	  <tr>

+	    <td>\${3/0}</td>

+	    <td>${3/0}</td>

+	  </tr>

+	  <tr>

+	    <td>\${10%4}</td>

+	    <td>${10%4}</td>

+	  </tr>

+	  <tr>

+	    <td>\${10 mod 4}</td>

+	    <td>${10 mod 4}</td>

+	  </tr>

+    <tr>

+      <td>\${(1==2) ? 3 : 4}</td>

+      <td>${(1==2) ? 3 : 4}</td>

+    </tr>

+	</table>

+      </code>

+    </blockquote>

+  </body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/el/basic-arithmetic.jsp.html b/tomcat-uid/webapps/examples/jsp/jsp2/el/basic-arithmetic.jsp.html
new file mode 100644
index 0000000..4aa05c8
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/el/basic-arithmetic.jsp.html
@@ -0,0 +1,90 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;html>

+  &lt;head>

+    &lt;title>JSP 2.0 Expression Language - Basic Arithmetic&lt;/title>

+  &lt;/head>

+  &lt;body>

+    &lt;h1>JSP 2.0 Expression Language - Basic Arithmetic&lt;/h1>

+    &lt;hr>

+    This example illustrates basic Expression Language arithmetic.

+    Addition (+), subtraction (-), multiplication (*), division (/ or div), 

+    and modulus (% or mod) are all supported.  Error conditions, like

+    division by zero, are handled gracefully.

+    &lt;br>

+    &lt;blockquote>

+      &lt;code>

+        &lt;table border="1">

+          &lt;thead>

+	    &lt;td>&lt;b>EL Expression&lt;/b>&lt;/td>

+	    &lt;td>&lt;b>Result&lt;/b>&lt;/td>

+	  &lt;/thead>

+	  &lt;tr>

+	    &lt;td>\${1}&lt;/td>

+	    &lt;td>${1}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${1 + 2}&lt;/td>

+	    &lt;td>${1 + 2}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${1.2 + 2.3}&lt;/td>

+	    &lt;td>${1.2 + 2.3}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${1.2E4 + 1.4}&lt;/td>

+	    &lt;td>${1.2E4 + 1.4}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${-4 - 2}&lt;/td>

+	    &lt;td>${-4 - 2}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${21 * 2}&lt;/td>

+	    &lt;td>${21 * 2}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${3/4}&lt;/td>

+	    &lt;td>${3/4}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${3 div 4}&lt;/td>

+	    &lt;td>${3 div 4}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${3/0}&lt;/td>

+	    &lt;td>${3/0}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${10%4}&lt;/td>

+	    &lt;td>${10%4}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${10 mod 4}&lt;/td>

+	    &lt;td>${10 mod 4}&lt;/td>

+	  &lt;/tr>

+    &lt;tr>

+      &lt;td>\${(1==2) ? 3 : 4}&lt;/td>

+      &lt;td>${(1==2) ? 3 : 4}&lt;/td>

+    &lt;/tr>

+	&lt;/table>

+      &lt;/code>

+    &lt;/blockquote>

+  &lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/el/basic-comparisons.html b/tomcat-uid/webapps/examples/jsp/jsp2/el/basic-comparisons.html
new file mode 100644
index 0000000..0102232
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/el/basic-comparisons.html
@@ -0,0 +1,30 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>View Source Code</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="basic-comparisons.jsp"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="basic-comparisons.jsp.html">Source Code for Basic Comparisons Example<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/el/basic-comparisons.jsp b/tomcat-uid/webapps/examples/jsp/jsp2/el/basic-comparisons.jsp
new file mode 100644
index 0000000..e01188a
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/el/basic-comparisons.jsp
@@ -0,0 +1,116 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+  <head>

+    <title>JSP 2.0 Expression Language - Basic Comparisons</title>

+  </head>

+  <body>

+    <h1>JSP 2.0 Expression Language - Basic Comparisons</h1>

+    <hr>

+    This example illustrates basic Expression Language comparisons.

+    The following comparison operators are supported:

+    <ul>

+      <li>Less-than (&lt; or lt)</li>

+      <li>Greater-than (&gt; or gt)</li>

+      <li>Less-than-or-equal (&lt;= or le)</li>

+      <li>Greater-than-or-equal (&gt;= or ge)</li>

+      <li>Equal (== or eq)</li>

+      <li>Not Equal (!= or ne)</li>

+    </ul>

+    <blockquote>

+      <u><b>Numeric</b></u>

+      <code>

+        <table border="1">

+          <thead>

+	    <td><b>EL Expression</b></td>

+	    <td><b>Result</b></td>

+	  </thead>

+	  <tr>

+	    <td>\${1 &lt; 2}</td>

+	    <td>${1 < 2}</td>

+	  </tr>

+	  <tr>

+	    <td>\${1 lt 2}</td>

+	    <td>${1 lt 2}</td>

+	  </tr>

+	  <tr>

+	    <td>\${1 &gt; (4/2)}</td>

+	    <td>${1 > (4/2)}</td>

+	  </tr>

+	  <tr>

+	    <td>\${1 gt (4/2)}</td>

+	    <td>${1 gt (4/2)}</td>

+	  </tr>

+	  <tr>

+	    <td>\${4.0 &gt;= 3}</td>

+	    <td>${4.0 >= 3}</td>

+	  </tr>

+	  <tr>

+	    <td>\${4.0 ge 3}</td>

+	    <td>${4.0 ge 3}</td>

+	  </tr>

+	  <tr>

+	    <td>\${4 &lt;= 3}</td>

+	    <td>${4 <= 3}</td>

+	  </tr>

+	  <tr>

+	    <td>\${4 le 3}</td>

+	    <td>${4 le 3}</td>

+	  </tr>

+	  <tr>

+	    <td>\${100.0 == 100}</td>

+	    <td>${100.0 == 100}</td>

+	  </tr>

+	  <tr>

+	    <td>\${100.0 eq 100}</td>

+	    <td>${100.0 eq 100}</td>

+	  </tr>

+	  <tr>

+	    <td>\${(10*10) != 100}</td>

+	    <td>${(10*10) != 100}</td>

+	  </tr>

+	  <tr>

+	    <td>\${(10*10) ne 100}</td>

+	    <td>${(10*10) ne 100}</td>

+	  </tr>

+	</table>

+      </code>

+      <br>

+      <u><b>Alphabetic</b></u>

+      <code>

+        <table border="1">

+          <thead>

+	    <td><b>EL Expression</b></td>

+	    <td><b>Result</b></td>

+	  </thead>

+	  <tr>

+	    <td>\${'a' &lt; 'b'}</td>

+	    <td>${'a' < 'b'}</td>

+	  </tr>

+	  <tr>

+	    <td>\${'hip' &gt; 'hit'}</td>

+	    <td>${'hip' > 'hit'}</td>

+	  </tr>

+	  <tr>

+	    <td>\${'4' &gt; 3}</td>

+	    <td>${'4' > 3}</td>

+	  </tr>

+	</table>

+      </code>

+    </blockquote>

+  </body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/el/basic-comparisons.jsp.html b/tomcat-uid/webapps/examples/jsp/jsp2/el/basic-comparisons.jsp.html
new file mode 100644
index 0000000..efc4da3
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/el/basic-comparisons.jsp.html
@@ -0,0 +1,118 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;html>

+  &lt;head>

+    &lt;title>JSP 2.0 Expression Language - Basic Comparisons&lt;/title>

+  &lt;/head>

+  &lt;body>

+    &lt;h1>JSP 2.0 Expression Language - Basic Comparisons&lt;/h1>

+    &lt;hr>

+    This example illustrates basic Expression Language comparisons.

+    The following comparison operators are supported:

+    &lt;ul>

+      &lt;li>Less-than (&amp;lt; or lt)&lt;/li>

+      &lt;li>Greater-than (&amp;gt; or gt)&lt;/li>

+      &lt;li>Less-than-or-equal (&amp;lt;= or le)&lt;/li>

+      &lt;li>Greater-than-or-equal (&amp;gt;= or ge)&lt;/li>

+      &lt;li>Equal (== or eq)&lt;/li>

+      &lt;li>Not Equal (!= or ne)&lt;/li>

+    &lt;/ul>

+    &lt;blockquote>

+      &lt;u>&lt;b>Numeric&lt;/b>&lt;/u>

+      &lt;code>

+        &lt;table border="1">

+          &lt;thead>

+	    &lt;td>&lt;b>EL Expression&lt;/b>&lt;/td>

+	    &lt;td>&lt;b>Result&lt;/b>&lt;/td>

+	  &lt;/thead>

+	  &lt;tr>

+	    &lt;td>\${1 &amp;lt; 2}&lt;/td>

+	    &lt;td>${1 &lt; 2}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${1 lt 2}&lt;/td>

+	    &lt;td>${1 lt 2}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${1 &amp;gt; (4/2)}&lt;/td>

+	    &lt;td>${1 > (4/2)}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${1 gt (4/2)}&lt;/td>

+	    &lt;td>${1 gt (4/2)}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${4.0 &amp;gt;= 3}&lt;/td>

+	    &lt;td>${4.0 >= 3}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${4.0 ge 3}&lt;/td>

+	    &lt;td>${4.0 ge 3}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${4 &amp;lt;= 3}&lt;/td>

+	    &lt;td>${4 &lt;= 3}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${4 le 3}&lt;/td>

+	    &lt;td>${4 le 3}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${100.0 == 100}&lt;/td>

+	    &lt;td>${100.0 == 100}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${100.0 eq 100}&lt;/td>

+	    &lt;td>${100.0 eq 100}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${(10*10) != 100}&lt;/td>

+	    &lt;td>${(10*10) != 100}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${(10*10) ne 100}&lt;/td>

+	    &lt;td>${(10*10) ne 100}&lt;/td>

+	  &lt;/tr>

+	&lt;/table>

+      &lt;/code>

+      &lt;br>

+      &lt;u>&lt;b>Alphabetic&lt;/b>&lt;/u>

+      &lt;code>

+        &lt;table border="1">

+          &lt;thead>

+	    &lt;td>&lt;b>EL Expression&lt;/b>&lt;/td>

+	    &lt;td>&lt;b>Result&lt;/b>&lt;/td>

+	  &lt;/thead>

+	  &lt;tr>

+	    &lt;td>\${'a' &amp;lt; 'b'}&lt;/td>

+	    &lt;td>${'a' &lt; 'b'}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${'hip' &amp;gt; 'hit'}&lt;/td>

+	    &lt;td>${'hip' > 'hit'}&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${'4' &amp;gt; 3}&lt;/td>

+	    &lt;td>${'4' > 3}&lt;/td>

+	  &lt;/tr>

+	&lt;/table>

+      &lt;/code>

+    &lt;/blockquote>

+  &lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/el/functions.html b/tomcat-uid/webapps/examples/jsp/jsp2/el/functions.html
new file mode 100644
index 0000000..0fdb080
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/el/functions.html
@@ -0,0 +1,32 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>View Source Code</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="functions.jsp?foo=JSP+2.0"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="functions.jsp.html">Source Code for functions.jsp<font color="#0000FF"></a>

+  </font> </h3>

+<h3><a href="Functions.java.html">Source Code for Functions.java<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/el/functions.jsp b/tomcat-uid/webapps/examples/jsp/jsp2/el/functions.jsp
new file mode 100644
index 0000000..66478c0
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/el/functions.jsp
@@ -0,0 +1,66 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

+<%@ taglib prefix="my" uri="http://tomcat.apache.org/jsp2-example-taglib"%>

+

+<html>

+  <head>

+    <title>JSP 2.0 Expression Language - Functions</title>

+  </head>

+  <body>

+    <h1>JSP 2.0 Expression Language - Functions</h1>

+    <hr>

+    An upgrade from the JSTL expression language, the JSP 2.0 EL also

+    allows for simple function invocation.  Functions are defined

+    by tag libraries and are implemented by a Java programmer as 

+    static methods.

+

+    <blockquote>

+      <u><b>Change Parameter</b></u>

+      <form action="functions.jsp" method="GET">

+	  foo = <input type="text" name="foo" value="${fn:escapeXml(param["foo"])}">

+          <input type="submit">

+      </form>

+      <br>

+      <code>

+        <table border="1">

+          <thead>

+	    <td><b>EL Expression</b></td>

+	    <td><b>Result</b></td>

+	  </thead>

+	  <tr>

+	    <td>\${param["foo"]}</td>

+	    <td>${fn:escapeXml(param["foo"])}&nbsp;</td>

+	  </tr>

+	  <tr>

+	    <td>\${my:reverse(param["foo"])}</td>

+	    <td>${my:reverse(fn:escapeXml(param["foo"]))}&nbsp;</td>

+	  </tr>

+	  <tr>

+	    <td>\${my:reverse(my:reverse(param["foo"]))}</td>

+	    <td>${my:reverse(my:reverse(fn:escapeXml(param["foo"])))}&nbsp;</td>

+	  </tr>

+	  <tr>

+	    <td>\${my:countVowels(param["foo"])}</td>

+	    <td>${my:countVowels(fn:escapeXml(param["foo"]))}&nbsp;</td>

+	  </tr>

+	</table>

+      </code>

+    </blockquote>

+  </body>

+</html>

+

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/el/functions.jsp.html b/tomcat-uid/webapps/examples/jsp/jsp2/el/functions.jsp.html
new file mode 100644
index 0000000..9ac0c79
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/el/functions.jsp.html
@@ -0,0 +1,68 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

+&lt;%@ taglib prefix="my" uri="http://tomcat.apache.org/jsp2-example-taglib"%>

+

+&lt;html>

+  &lt;head>

+    &lt;title>JSP 2.0 Expression Language - Functions&lt;/title>

+  &lt;/head>

+  &lt;body>

+    &lt;h1>JSP 2.0 Expression Language - Functions&lt;/h1>

+    &lt;hr>

+    An upgrade from the JSTL expression language, the JSP 2.0 EL also

+    allows for simple function invocation.  Functions are defined

+    by tag libraries and are implemented by a Java programmer as 

+    static methods.

+

+    &lt;blockquote>

+      &lt;u>&lt;b>Change Parameter&lt;/b>&lt;/u>

+      &lt;form action="functions.jsp" method="GET">

+	  foo = &lt;input type="text" name="foo" value="${fn:escapeXml(param["foo"])}">

+          &lt;input type="submit">

+      &lt;/form>

+      &lt;br>

+      &lt;code>

+        &lt;table border="1">

+          &lt;thead>

+	    &lt;td>&lt;b>EL Expression&lt;/b>&lt;/td>

+	    &lt;td>&lt;b>Result&lt;/b>&lt;/td>

+	  &lt;/thead>

+	  &lt;tr>

+	    &lt;td>\${param["foo"]}&lt;/td>

+	    &lt;td>${fn:escapeXml(param["foo"])}&amp;nbsp;&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${my:reverse(param["foo"])}&lt;/td>

+	    &lt;td>${my:reverse(fn:escapeXml(param["foo"]))}&amp;nbsp;&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${my:reverse(my:reverse(param["foo"]))}&lt;/td>

+	    &lt;td>${my:reverse(my:reverse(fn:escapeXml(param["foo"])))}&amp;nbsp;&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${my:countVowels(param["foo"])}&lt;/td>

+	    &lt;td>${my:countVowels(fn:escapeXml(param["foo"]))}&amp;nbsp;&lt;/td>

+	  &lt;/tr>

+	&lt;/table>

+      &lt;/code>

+    &lt;/blockquote>

+  &lt;/body>

+&lt;/html>

+

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/el/implicit-objects.html b/tomcat-uid/webapps/examples/jsp/jsp2/el/implicit-objects.html
new file mode 100644
index 0000000..2046603
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/el/implicit-objects.html
@@ -0,0 +1,31 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>View Source Code</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="implicit-objects.jsp?foo=bar"><img src="../../images/execute.gif" align="right" border="0"></a><a href="../../index.html">

+<img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="implicit-objects.jsp.html">Source Code for Implicit Objects Example<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/el/implicit-objects.jsp b/tomcat-uid/webapps/examples/jsp/jsp2/el/implicit-objects.jsp
new file mode 100644
index 0000000..8d6841a
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/el/implicit-objects.jsp
@@ -0,0 +1,89 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

+

+<html>

+  <head>

+    <title>JSP 2.0 Expression Language - Implicit Objects</title>

+  </head>

+  <body>

+    <h1>JSP 2.0 Expression Language - Implicit Objects</h1>

+    <hr>

+    This example illustrates some of the implicit objects available 

+    in the Expression Lanaguage.  The following implicit objects are 

+    available (not all illustrated here):

+    <ul>

+      <li>pageContext - the PageContext object</li>

+      <li>pageScope - a Map that maps page-scoped attribute names to 

+          their values</li>

+      <li>requestScope - a Map that maps request-scoped attribute names 

+          to their values</li>

+      <li>sessionScope - a Map that maps session-scoped attribute names 

+          to their values</li>

+      <li>applicationScope - a Map that maps application-scoped attribute 

+          names to their values</li>

+      <li>param - a Map that maps parameter names to a single String 

+          parameter value</li>

+      <li>paramValues - a Map that maps parameter names to a String[] of 

+          all values for that parameter</li>

+      <li>header - a Map that maps header names to a single String 

+          header value</li>

+      <li>headerValues - a Map that maps header names to a String[] of 

+          all values for that header</li>

+      <li>initParam - a Map that maps context initialization parameter 

+          names to their String parameter value</li>

+      <li>cookie - a Map that maps cookie names to a single Cookie object.</li>

+    </ul>

+

+    <blockquote>

+      <u><b>Change Parameter</b></u>

+      <form action="implicit-objects.jsp" method="GET">

+	  foo = <input type="text" name="foo" value="${fn:escapeXml(param["foo"])}">

+          <input type="submit">

+      </form>

+      <br>

+      <code>

+        <table border="1">

+          <thead>

+	    <td><b>EL Expression</b></td>

+	    <td><b>Result</b></td>

+	  </thead>

+	  <tr>

+	    <td>\${param.foo}</td>

+	    <td>${fn:escapeXml(param["foo"])}&nbsp;</td>

+	  </tr>

+	  <tr>

+	    <td>\${param["foo"]}</td>

+	    <td>${fn:escapeXml(param["foo"])}&nbsp;</td>

+	  </tr>

+	  <tr>

+	    <td>\${header["host"]}</td>

+	    <td>${fn:escapeXml(header["host"])}&nbsp;</td>

+	  </tr>

+	  <tr>

+	    <td>\${header["accept"]}</td>

+	    <td>${fn:escapeXml(header["accept"])}&nbsp;</td>

+	  </tr>

+	  <tr>

+	    <td>\${header["user-agent"]}</td>

+	    <td>${fn:escapeXml(header["user-agent"])}&nbsp;</td>

+	  </tr>

+	</table>

+      </code>

+    </blockquote>

+  </body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/el/implicit-objects.jsp.html b/tomcat-uid/webapps/examples/jsp/jsp2/el/implicit-objects.jsp.html
new file mode 100644
index 0000000..a2d9bdc
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/el/implicit-objects.jsp.html
@@ -0,0 +1,91 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

+

+&lt;html>

+  &lt;head>

+    &lt;title>JSP 2.0 Expression Language - Implicit Objects&lt;/title>

+  &lt;/head>

+  &lt;body>

+    &lt;h1>JSP 2.0 Expression Language - Implicit Objects&lt;/h1>

+    &lt;hr>

+    This example illustrates some of the implicit objects available 

+    in the Expression Lanaguage.  The following implicit objects are 

+    available (not all illustrated here):

+    &lt;ul>

+      &lt;li>pageContext - the PageContext object&lt;/li>

+      &lt;li>pageScope - a Map that maps page-scoped attribute names to 

+          their values&lt;/li>

+      &lt;li>requestScope - a Map that maps request-scoped attribute names 

+          to their values&lt;/li>

+      &lt;li>sessionScope - a Map that maps session-scoped attribute names 

+          to their values&lt;/li>

+      &lt;li>applicationScope - a Map that maps application-scoped attribute 

+          names to their values&lt;/li>

+      &lt;li>param - a Map that maps parameter names to a single String 

+          parameter value&lt;/li>

+      &lt;li>paramValues - a Map that maps parameter names to a String[] of 

+          all values for that parameter&lt;/li>

+      &lt;li>header - a Map that maps header names to a single String 

+          header value&lt;/li>

+      &lt;li>headerValues - a Map that maps header names to a String[] of 

+          all values for that header&lt;/li>

+      &lt;li>initParam - a Map that maps context initialization parameter 

+          names to their String parameter value&lt;/li>

+      &lt;li>cookie - a Map that maps cookie names to a single Cookie object.&lt;/li>

+    &lt;/ul>

+

+    &lt;blockquote>

+      &lt;u>&lt;b>Change Parameter&lt;/b>&lt;/u>

+      &lt;form action="implicit-objects.jsp" method="GET">

+	  foo = &lt;input type="text" name="foo" value="${fn:escapeXml(param["foo"])}">

+          &lt;input type="submit">

+      &lt;/form>

+      &lt;br>

+      &lt;code>

+        &lt;table border="1">

+          &lt;thead>

+	    &lt;td>&lt;b>EL Expression&lt;/b>&lt;/td>

+	    &lt;td>&lt;b>Result&lt;/b>&lt;/td>

+	  &lt;/thead>

+	  &lt;tr>

+	    &lt;td>\${param.foo}&lt;/td>

+	    &lt;td>${fn:escapeXml(param["foo"])}&amp;nbsp;&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${param["foo"]}&lt;/td>

+	    &lt;td>${fn:escapeXml(param["foo"])}&amp;nbsp;&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${header["host"]}&lt;/td>

+	    &lt;td>${fn:escapeXml(header["host"])}&amp;nbsp;&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${header["accept"]}&lt;/td>

+	    &lt;td>${fn:escapeXml(header["accept"])}&amp;nbsp;&lt;/td>

+	  &lt;/tr>

+	  &lt;tr>

+	    &lt;td>\${header["user-agent"]}&lt;/td>

+	    &lt;td>${fn:escapeXml(header["user-agent"])}&amp;nbsp;&lt;/td>

+	  &lt;/tr>

+	&lt;/table>

+      &lt;/code>

+    &lt;/blockquote>

+  &lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/FooBean.java.html b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/FooBean.java.html
new file mode 100644
index 0000000..0b15181
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/FooBean.java.html
@@ -0,0 +1,38 @@
+<html><body><pre>

+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package jsp2.examples;

+

+public class FooBean {

+    private String bar;

+    

+    public FooBean() {

+        bar = "Initial value";

+    }

+    

+    public String getBar() {

+        return this.bar;

+    }

+    

+    public void setBar(String bar) {

+        this.bar = bar;

+    }

+    

+}

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/HelloWorldSimpleTag.java.html b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/HelloWorldSimpleTag.java.html
new file mode 100644
index 0000000..c409839
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/HelloWorldSimpleTag.java.html
@@ -0,0 +1,34 @@
+<html><body><pre>

+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package jsp2.examples.simpletag;

+

+import javax.servlet.jsp.JspException;

+import javax.servlet.jsp.tagext.SimpleTagSupport;

+import java.io.IOException;

+

+/**

+ * SimpleTag handler that prints "Hello, world!"

+ */

+public class HelloWorldSimpleTag extends SimpleTagSupport {

+    public void doTag() throws JspException, IOException {

+	getJspContext().getOut().write( "Hello, world!" );

+    }

+}

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/ShuffleSimpleTag.java.html b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/ShuffleSimpleTag.java.html
new file mode 100644
index 0000000..1b66d06
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/ShuffleSimpleTag.java.html
@@ -0,0 +1,83 @@
+<html><body><pre>

+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package jsp2.examples.simpletag;

+

+import javax.servlet.jsp.JspException;

+import javax.servlet.jsp.tagext.JspFragment;

+import javax.servlet.jsp.tagext.SimpleTagSupport;

+import java.io.IOException;

+

+/**

+ * SimpleTag handler that accepts takes three attributes of type

+ * JspFragment and invokes then in a random order.

+ */

+public class ShuffleSimpleTag extends SimpleTagSupport {

+    private JspFragment fragment1;

+    private JspFragment fragment2;

+    private JspFragment fragment3;

+

+    public void doTag() throws JspException, IOException {

+        switch( (int)(Math.random() * 6) ) {

+            case 0:

+                fragment1.invoke( null );

+                fragment2.invoke( null );

+                fragment3.invoke( null );

+                break;

+            case 1:

+                fragment1.invoke( null );

+                fragment3.invoke( null );

+                fragment2.invoke( null );

+                break;

+            case 2:

+                fragment2.invoke( null );

+                fragment1.invoke( null );

+                fragment3.invoke( null );

+                break;

+            case 3:

+                fragment2.invoke( null );

+                fragment3.invoke( null );

+                fragment1.invoke( null );

+                break;

+            case 4:

+                fragment3.invoke( null );

+                fragment1.invoke( null );

+                fragment2.invoke( null );

+                break;

+            case 5:

+                fragment3.invoke( null );

+                fragment2.invoke( null );

+                fragment1.invoke( null );

+                break;

+        }

+    }

+

+    public void setFragment1( JspFragment fragment1 ) {

+        this.fragment1 = fragment1;

+    }

+    

+    public void setFragment2( JspFragment fragment2 ) {

+        this.fragment2 = fragment2;

+    }

+    

+    public void setFragment3( JspFragment fragment3 ) {

+        this.fragment3 = fragment3;

+    }

+}

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/TileSimpleTag.java.html b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/TileSimpleTag.java.html
new file mode 100644
index 0000000..4453222
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/TileSimpleTag.java.html
@@ -0,0 +1,48 @@
+<html><body><pre>

+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package jsp2.examples.simpletag;

+

+import javax.servlet.jsp.JspException;

+import javax.servlet.jsp.tagext.SimpleTagSupport;

+import java.io.IOException;

+

+/**

+ * Displays a tile as a single cell in a table.

+ */

+public class TileSimpleTag extends SimpleTagSupport {

+    private String color;

+    private String label;

+

+    public void doTag() throws JspException, IOException {

+	getJspContext().getOut().write( 

+	    "&lt;td width=\"32\" height=\"32\" bgcolor=\"" + this.color + 

+	    "\">&lt;font color=\"#ffffff\">&lt;center>" + this.label + 

+                "&lt;/center>&lt;/font>&lt;/td>" );

+    }

+

+    public void setColor( String color ) {

+        this.color = color;

+    }

+    

+    public void setLabel( String label ) {

+        this.label = label;

+    }

+}

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/jspattribute.html b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/jspattribute.html
new file mode 100644
index 0000000..b949da9
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/jspattribute.html
@@ -0,0 +1,37 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>View Source Code</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="jspattribute.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>

+<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="jspattribute.jsp.html">Source Code for jspattribute.jsp<font color="#0000FF"></a>

+  </font> </h3>

+

+<h3><a href="HelloWorldSimpleTag.java.html">Source Code for HelloWorldSimpleTag.java<font color="#0000FF"></a>

+  </font> </h3>

+

+<h3><a href="FooBean.java.html">Source Code for FooBean.java<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/jspattribute.jsp b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/jspattribute.jsp
new file mode 100644
index 0000000..64b6d6e
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/jspattribute.jsp
@@ -0,0 +1,46 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<%@ taglib prefix="my" uri="http://tomcat.apache.org/jsp2-example-taglib"%>

+

+<html>

+  <head>

+    <title>JSP 2.0 Examples - jsp:attribute and jsp:body</title>

+  </head>

+  <body>

+    <h1>JSP 2.0 Examples - jsp:attribute and jsp:body</h1>

+    <hr>

+    <p>The new &lt;jsp:attribute&gt; and &lt;jsp:body&gt; 

+    standard actions can be used to specify the value of any standard

+    action or custom action attribute.</p>

+    <p>This example uses the &lt;jsp:attribute&gt;

+    standard action to use the output of a custom action invocation

+    (one that simply outputs "Hello, World!") to set the value of a

+    bean property.  This would normally require an intermediary

+    step, such as using JSTL's &lt;c:set&gt; action.</p>

+    <br>

+    <jsp:useBean id="foo" class="jsp2.examples.FooBean">

+      Bean created!  Setting foo.bar...<br>

+      <jsp:setProperty name="foo" property="bar">

+        <jsp:attribute name="value">

+	  <my:helloWorld/>

+        </jsp:attribute>

+      </jsp:setProperty>

+    </jsp:useBean>

+    <br>

+    Result: ${foo.bar}

+  </body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/jspattribute.jsp.html b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/jspattribute.jsp.html
new file mode 100644
index 0000000..eb3a927
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/jspattribute.jsp.html
@@ -0,0 +1,48 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;%@ taglib prefix="my" uri="http://tomcat.apache.org/jsp2-example-taglib"%>

+

+&lt;html>

+  &lt;head>

+    &lt;title>JSP 2.0 Examples - jsp:attribute and jsp:body&lt;/title>

+  &lt;/head>

+  &lt;body>

+    &lt;h1>JSP 2.0 Examples - jsp:attribute and jsp:body&lt;/h1>

+    &lt;hr>

+    &lt;p>The new &amp;lt;jsp:attribute&amp;gt; and &amp;lt;jsp:body&amp;gt; 

+    standard actions can be used to specify the value of any standard

+    action or custom action attribute.&lt;/p>

+    &lt;p>This example uses the &amp;lt;jsp:attribute&amp;gt;

+    standard action to use the output of a custom action invocation

+    (one that simply outputs "Hello, World!") to set the value of a

+    bean property.  This would normally require an intermediary

+    step, such as using JSTL's &amp;lt;c:set&amp;gt; action.&lt;/p>

+    &lt;br>

+    &lt;jsp:useBean id="foo" class="jsp2.examples.FooBean">

+      Bean created!  Setting foo.bar...&lt;br>

+      &lt;jsp:setProperty name="foo" property="bar">

+        &lt;jsp:attribute name="value">

+	  &lt;my:helloWorld/>

+        &lt;/jsp:attribute>

+      &lt;/jsp:setProperty>

+    &lt;/jsp:useBean>

+    &lt;br>

+    Result: ${foo.bar}

+  &lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/shuffle.html b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/shuffle.html
new file mode 100644
index 0000000..b7a4cb6
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/shuffle.html
@@ -0,0 +1,37 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>View Source Code</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="shuffle.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>

+<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="shuffle.jsp.html">Source Code for shuffle.jsp<font color="#0000FF"></a>

+  </font> </h3>

+

+<h3><a href="ShuffleSimpleTag.java.html">Source Code for ShuffleSimpleTag.java<font color="#0000FF"></a>

+  </font> </h3>

+

+<h3><a href="TileSimpleTag.java.html">Source Code for TileSimpleTag.java<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/shuffle.jsp b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/shuffle.jsp
new file mode 100644
index 0000000..2a318a7
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/shuffle.jsp
@@ -0,0 +1,90 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<%@ taglib prefix="my" uri="http://tomcat.apache.org/jsp2-example-taglib"%>

+

+<html>

+  <head>

+    <title>JSP 2.0 Examples - Shuffle Example</title>

+  </head>

+  <body>

+    <h1>JSP 2.0 Examples - Shuffle Example</h1>

+    <hr>

+    <p>Try reloading the page a few times.  Both the rows and the columns

+    are shuffled and appear different each time.</p>

+    <p>Here's how the code works.  The SimpleTag handler called 

+    &lt;my:shuffle&gt; accepts three attributes.  Each attribute is a 

+    JSP Fragment, meaning it is a fragment of JSP code that can be

+    dynamically executed by the shuffle tag handler on demand.  The 

+    shuffle tag handler executes the three fragments in a random order.

+    To shuffle both the rows and the columns, the shuffle tag is used

+    with itself as a parameter.</p>

+    <hr>

+    <blockquote>

+     <font color="#ffffff">

+      <table>

+        <my:shuffle>

+          <jsp:attribute name="fragment1">

+            <tr>

+              <my:shuffle>

+                <jsp:attribute name="fragment1">

+                  <my:tile color="#ff0000" label="A"/>

+                </jsp:attribute>

+                <jsp:attribute name="fragment2">

+                  <my:tile color="#00ff00" label="B"/>

+                </jsp:attribute>

+                <jsp:attribute name="fragment3">

+                  <my:tile color="#0000ff" label="C"/>

+                </jsp:attribute>

+              </my:shuffle>

+            </tr>

+          </jsp:attribute>

+          <jsp:attribute name="fragment2">

+            <tr>

+              <my:shuffle>

+                <jsp:attribute name="fragment1">

+                  <my:tile color="#ff0000" label="1"/>

+                </jsp:attribute>

+                <jsp:attribute name="fragment2">

+                  <my:tile color="#00ff00" label="2"/>

+                </jsp:attribute>

+                <jsp:attribute name="fragment3">

+                  <my:tile color="#0000ff" label="3"/>

+                </jsp:attribute>

+              </my:shuffle>

+            </tr>

+          </jsp:attribute>

+          <jsp:attribute name="fragment3">

+            <tr>

+              <my:shuffle>

+                <jsp:attribute name="fragment1">

+                  <my:tile color="#ff0000" label="!"/>

+                </jsp:attribute>

+                <jsp:attribute name="fragment2">

+                  <my:tile color="#00ff00" label="@"/>

+                </jsp:attribute>

+                <jsp:attribute name="fragment3">

+                  <my:tile color="#0000ff" label="#"/>

+                </jsp:attribute>

+              </my:shuffle>

+            </tr>

+          </jsp:attribute>

+        </my:shuffle>

+      </table>

+     </font>

+    </blockquote>

+  </body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/shuffle.jsp.html b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/shuffle.jsp.html
new file mode 100644
index 0000000..9329285
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/jspattribute/shuffle.jsp.html
@@ -0,0 +1,92 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;%@ taglib prefix="my" uri="http://tomcat.apache.org/jsp2-example-taglib"%>

+

+&lt;html>

+  &lt;head>

+    &lt;title>JSP 2.0 Examples - Shuffle Example&lt;/title>

+  &lt;/head>

+  &lt;body>

+    &lt;h1>JSP 2.0 Examples - Shuffle Example&lt;/h1>

+    &lt;hr>

+    &lt;p>Try reloading the page a few times.  Both the rows and the columns

+    are shuffled and appear different each time.&lt;/p>

+    &lt;p>Here's how the code works.  The SimpleTag handler called 

+    &amp;lt;my:shuffle&amp;gt; accepts three attributes.  Each attribute is a 

+    JSP Fragment, meaning it is a fragment of JSP code that can be

+    dynamically executed by the shuffle tag handler on demand.  The 

+    shuffle tag handler executes the three fragments in a random order.

+    To shuffle both the rows and the columns, the shuffle tag is used

+    with itself as a parameter.&lt;/p>

+    &lt;hr>

+    &lt;blockquote>

+     &lt;font color="#ffffff">

+      &lt;table>

+        &lt;my:shuffle>

+          &lt;jsp:attribute name="fragment1">

+            &lt;tr>

+              &lt;my:shuffle>

+                &lt;jsp:attribute name="fragment1">

+                  &lt;my:tile color="#ff0000" label="A"/>

+                &lt;/jsp:attribute>

+                &lt;jsp:attribute name="fragment2">

+                  &lt;my:tile color="#00ff00" label="B"/>

+                &lt;/jsp:attribute>

+                &lt;jsp:attribute name="fragment3">

+                  &lt;my:tile color="#0000ff" label="C"/>

+                &lt;/jsp:attribute>

+              &lt;/my:shuffle>

+            &lt;/tr>

+          &lt;/jsp:attribute>

+          &lt;jsp:attribute name="fragment2">

+            &lt;tr>

+              &lt;my:shuffle>

+                &lt;jsp:attribute name="fragment1">

+                  &lt;my:tile color="#ff0000" label="1"/>

+                &lt;/jsp:attribute>

+                &lt;jsp:attribute name="fragment2">

+                  &lt;my:tile color="#00ff00" label="2"/>

+                &lt;/jsp:attribute>

+                &lt;jsp:attribute name="fragment3">

+                  &lt;my:tile color="#0000ff" label="3"/>

+                &lt;/jsp:attribute>

+              &lt;/my:shuffle>

+            &lt;/tr>

+          &lt;/jsp:attribute>

+          &lt;jsp:attribute name="fragment3">

+            &lt;tr>

+              &lt;my:shuffle>

+                &lt;jsp:attribute name="fragment1">

+                  &lt;my:tile color="#ff0000" label="!"/>

+                &lt;/jsp:attribute>

+                &lt;jsp:attribute name="fragment2">

+                  &lt;my:tile color="#00ff00" label="@"/>

+                &lt;/jsp:attribute>

+                &lt;jsp:attribute name="fragment3">

+                  &lt;my:tile color="#0000ff" label="#"/>

+                &lt;/jsp:attribute>

+              &lt;/my:shuffle>

+            &lt;/tr>

+          &lt;/jsp:attribute>

+        &lt;/my:shuffle>

+      &lt;/table>

+     &lt;/font>

+    &lt;/blockquote>

+  &lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/jspx/basic.html b/tomcat-uid/webapps/examples/jsp/jsp2/jspx/basic.html
new file mode 100644
index 0000000..2e58dff
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/jspx/basic.html
@@ -0,0 +1,31 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>View Source Code</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="basic.jspx"><img src="../../images/execute.gif" align="right" border="0"></a><a

+href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="basic.jspx.html">Source Code for XHTML Basic Example<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/jspx/basic.jspx b/tomcat-uid/webapps/examples/jsp/jsp2/jspx/basic.jspx
new file mode 100644
index 0000000..8a5b27d
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/jspx/basic.jspx
@@ -0,0 +1,46 @@
+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<tags:xhtmlbasic xmlns:tags="urn:jsptagdir:/WEB-INF/tags"

+                 xmlns:jsp="http://java.sun.com/JSP/Page"

+                 xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"

+		 xmlns="http://www.w3.org/1999/xhtml">

+  <jsp:directive.page contentType="text/html" />

+  <head>

+    <title>JSPX - XHTML Basic Example</title>

+  </head>

+  <body>

+    <h1>JSPX - XHTML Basic Example</h1>

+    <hr/>

+    This example illustrates how to use JSPX to produce an XHTML basic

+    document suitable for use with mobile phones, televisions, 

+    PDAs, vending machines, pagers, car navigation systems,

+    mobile game machines, digital book readers, smart watches, etc.

+    <p/>

+    JSPX lets you create dynamic documents in a pure XML syntax compatible

+    with existing XML tools.  The XML syntax in JSP 1.2 was awkward and

+    required &amp;lt;jsp:root&amp;gt; to be the root element of the document.

+    This is no longer the case in JSP 2.0.

+    <p/>

+    This particular example uses a tag file to produce the DOCTYPE and

+    namespace declarations to make the output of this page a valid XHTML

+    Basic document.

+    <p/>

+    Just to prove this is live, here's some dynamic content:

+    <jsp:useBean id="now" class="java.util.Date" />

+    <fmt:formatDate value="${now}" pattern="MMMM d, yyyy, H:mm:ss"/>

+  </body>

+</tags:xhtmlbasic>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/jspx/basic.jspx.html b/tomcat-uid/webapps/examples/jsp/jsp2/jspx/basic.jspx.html
new file mode 100644
index 0000000..f177334
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/jspx/basic.jspx.html
@@ -0,0 +1,48 @@
+<html><body><pre>

+&lt;!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;tags:xhtmlbasic xmlns:tags="urn:jsptagdir:/WEB-INF/tags"

+                 xmlns:jsp="http://java.sun.com/JSP/Page"

+                 xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"

+		 xmlns="http://www.w3.org/1999/xhtml">

+  &lt;jsp:directive.page contentType="text/html" />

+  &lt;head>

+    &lt;title>JSPX - XHTML Basic Example&lt;/title>

+  &lt;/head>

+  &lt;body>

+    &lt;h1>JSPX - XHTML Basic Example&lt;/h1>

+    &lt;hr/>

+    This example illustrates how to use JSPX to produce an XHTML basic

+    document suitable for use with mobile phones, televisions, 

+    PDAs, vending machines, pagers, car navigation systems,

+    mobile game machines, digital book readers, smart watches, etc.

+    &lt;p/>

+    JSPX lets you create dynamic documents in a pure XML syntax compatible

+    with existing XML tools.  The XML syntax in JSP 1.2 was awkward and

+    required &amp;amp;lt;jsp:root&amp;amp;gt; to be the root element of the document.

+    This is no longer the case in JSP 2.0.

+    &lt;p/>

+    This particular example uses a tag file to produce the DOCTYPE and

+    namespace declarations to make the output of this page a valid XHTML

+    Basic document.

+    &lt;p/>

+    Just to prove this is live, here's some dynamic content:

+    &lt;jsp:useBean id="now" class="java.util.Date" />

+    &lt;fmt:formatDate value="${now}" pattern="MMMM d, yyyy, H:mm:ss"/>

+  &lt;/body>

+&lt;/tags:xhtmlbasic>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/jspx/svgexample.html b/tomcat-uid/webapps/examples/jsp/jsp2/jspx/svgexample.html
new file mode 100644
index 0000000..12bcd82
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/jspx/svgexample.html
@@ -0,0 +1,52 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+  <head>

+    <title>JSP 2.0 SVG Example</title>

+  </head>

+  <body>

+    <h1>JSP 2.0 SVG Example</h1>

+    <hr>

+    This example uses JSP 2.0's new, simplified JSPX syntax to render a

+    Scalable Vector Graphics (SVG) document.  When you view the source,

+    notice the lack of a &lt;jsp:root&gt; element!  The text to be rendered 

+    can be modified by changing the value of the name parameter.

+    <p>

+    SVG has many potential uses, such as searchable images, or images

+    customized with the name of your site's visitor (e.g. a "Susan's Store"

+    tab image).  JSPX is a natural fit for generating dynamic XML content

+    such as SVG.

+    <p>

+    To execute this example, follow these steps:

+    <ol>

+      <li>Download <a href="http://xmlgraphics.apache.org/batik/index.html">Apache Batik</a>,

+          or any other SVG viewer.</li>

+      <li>Copy the following URL:

+      <a href="http://localhost:8080/examples/jsp/jsp2/jspx/textRotate.jspx?name=JSPX">

+      http://localhost:8080/examples/jsp/jsp2/jspx/textRotate.jspx?name=JSPX</a>

+      </li>

+      <li>Paste the URL into Batik's Location field and press Enter</li>

+      <li>Customize by changing the name=JSPX parameter</li>

+    </ol>

+    <br>

+    The following is a screenshot of the resulting image, for those that

+    don't have an SVG viewer:

+    <blockquote>

+      <img src="textRotate.jpg" border="1">

+    </blockquote>

+  </body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/jspx/textRotate.html b/tomcat-uid/webapps/examples/jsp/jsp2/jspx/textRotate.html
new file mode 100644
index 0000000..e54588f
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/jspx/textRotate.html
@@ -0,0 +1,32 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>View Source Code</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="textRotate.jspx"><img src="../../images/execute.gif" align="right" border="0"></a><a

+href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="textRotate.jspx.html">Source Code for SVG (Scalable Vector Graphics)

+Example<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/jspx/textRotate.jpg b/tomcat-uid/webapps/examples/jsp/jsp2/jspx/textRotate.jpg
new file mode 100644
index 0000000..9e98736
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/jspx/textRotate.jpg
Binary files differ
diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/jspx/textRotate.jspx b/tomcat-uid/webapps/examples/jsp/jsp2/jspx/textRotate.jspx
new file mode 100644
index 0000000..ad97af2
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/jspx/textRotate.jspx
@@ -0,0 +1,52 @@
+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<!-- 

+  - This example is based off the textRotate.svg example that comes

+  - with Apache Batik.  The original example was written by Bill Haneman.

+  - This version by Mark Roth.

+  -->

+<svg xmlns="http://www.w3.org/2000/svg"

+     width="450" height="500" viewBox="0 0 450 500"

+     xmlns:c="http://java.sun.com/jsp/jstl/core"

+     xmlns:fn="http://java.sun.com/jsp/jstl/functions"

+     xmlns:jsp="http://java.sun.com/JSP/Page">

+  <jsp:directive.page contentType="image/svg+xml" />

+  <title>JSP 2.0 JSPX</title>

+  <!-- select name parameter, or default to JSPX -->

+  <c:set var="name" value='${empty fn:escapeXml(param["name"]) ? "JSPX" : fn:escapeXml(param["name"])}'/>

+  <g id="testContent">

+    <text class="title" x="50%" y="10%" font-size="15" text-anchor="middle" >

+            JSP 2.0 XML Syntax (.jspx) Demo</text>

+    <text class="title" x="50%" y="15%" font-size="15" text-anchor="middle" >

+            Try changing the name parameter!</text>

+    <g opacity="1.0" transform="translate(225, 250)" id="rotatedText">

+      <c:forEach var="i" begin="1" end="24">

+        <jsp:text>

+          <![CDATA[<g opacity="0.95" transform="scale(1.05) rotate(15)">]]>

+        </jsp:text>

+        <text x="0" y="0" transform="scale(1.6, 1.6)" fill="DarkSlateBlue" 

+              text-anchor="middle" font-size="40" font-family="Serif" 

+              id="words">${name}</text>

+      </c:forEach>

+      <c:forEach var="i" begin="1" end="24">

+        <jsp:text><![CDATA[</g>]]></jsp:text>

+      </c:forEach>

+      <text style="font-size:75;font-family:Serif;fill:white" 

+            text-anchor="middle">${name}</text>

+    </g>

+  </g>

+</svg>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/jspx/textRotate.jspx.html b/tomcat-uid/webapps/examples/jsp/jsp2/jspx/textRotate.jspx.html
new file mode 100644
index 0000000..5846a19
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/jspx/textRotate.jspx.html
@@ -0,0 +1,54 @@
+<html><body><pre>

+&lt;!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;!-- 

+  - This example is based off the textRotate.svg example that comes

+  - with Apache Batik.  The original example was written by Bill Haneman.

+  - This version by Mark Roth.

+  -->

+&lt;svg xmlns="http://www.w3.org/2000/svg"

+     width="450" height="500" viewBox="0 0 450 500"

+     xmlns:c="http://java.sun.com/jsp/jstl/core"

+     xmlns:fn="http://java.sun.com/jsp/jstl/functions"

+     xmlns:jsp="http://java.sun.com/JSP/Page">

+  &lt;jsp:directive.page contentType="image/svg+xml" />

+  &lt;title>JSP 2.0 JSPX&lt;/title>

+  &lt;!-- select name parameter, or default to JSPX -->

+  &lt;c:set var="name" value='${empty fn:escapeXml(param["name"]) ? "JSPX" : fn:escapeXml(param["name"])}'/>

+  &lt;g id="testContent">

+    &lt;text class="title" x="50%" y="10%" font-size="15" text-anchor="middle" >

+            JSP 2.0 XML Syntax (.jspx) Demo&lt;/text>

+    &lt;text class="title" x="50%" y="15%" font-size="15" text-anchor="middle" >

+            Try changing the name parameter!&lt;/text>

+    &lt;g opacity="1.0" transform="translate(225, 250)" id="rotatedText">

+      &lt;c:forEach var="i" begin="1" end="24">

+        &lt;jsp:text>

+          &lt;![CDATA[&lt;g opacity="0.95" transform="scale(1.05) rotate(15)">]]>

+        &lt;/jsp:text>

+        &lt;text x="0" y="0" transform="scale(1.6, 1.6)" fill="DarkSlateBlue" 

+              text-anchor="middle" font-size="40" font-family="Serif" 

+              id="words">${name}&lt;/text>

+      &lt;/c:forEach>

+      &lt;c:forEach var="i" begin="1" end="24">

+        &lt;jsp:text>&lt;![CDATA[&lt;/g>]]>&lt;/jsp:text>

+      &lt;/c:forEach>

+      &lt;text style="font-size:75;font-family:Serif;fill:white" 

+            text-anchor="middle">${name}&lt;/text>

+    &lt;/g>

+  &lt;/g>

+&lt;/svg>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/misc/EchoAttributesTag.java.html b/tomcat-uid/webapps/examples/jsp/jsp2/misc/EchoAttributesTag.java.html
new file mode 100644
index 0000000..4e62250
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/misc/EchoAttributesTag.java.html
@@ -0,0 +1,56 @@
+<html><body><pre>

+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package jsp2.examples.simpletag;

+

+import javax.servlet.jsp.JspException;

+import javax.servlet.jsp.JspWriter;

+import javax.servlet.jsp.tagext.SimpleTagSupport;

+import javax.servlet.jsp.tagext.DynamicAttributes;

+import java.util.ArrayList;

+import java.io.IOException;

+

+/**

+ * SimpleTag handler that echoes all its attributes 

+ */

+public class EchoAttributesTag 

+    extends SimpleTagSupport

+    implements DynamicAttributes

+{

+    private ArrayList keys = new ArrayList();

+    private ArrayList values = new ArrayList();

+

+    public void doTag() throws JspException, IOException {

+	JspWriter out = getJspContext().getOut();

+	for( int i = 0; i &lt; keys.size(); i++ ) {

+	    String key = (String)keys.get( i );

+	    Object value = values.get( i );

+	    out.println( "&lt;li>" + key + " = " + value + "&lt;/li>" );

+        }

+    }

+

+    public void setDynamicAttribute( String uri, String localName, 

+	Object value ) 

+	throws JspException

+    {

+	keys.add( localName );

+	values.add( value );

+    }

+}

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/misc/coda.jspf b/tomcat-uid/webapps/examples/jsp/jsp2/misc/coda.jspf
new file mode 100644
index 0000000..20de7f6
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/misc/coda.jspf
@@ -0,0 +1,21 @@
+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<hr>

+<center>

+This banner included with &lt;include-coda&gt;

+</center>

+<hr>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/misc/coda.jspf.html b/tomcat-uid/webapps/examples/jsp/jsp2/misc/coda.jspf.html
new file mode 100644
index 0000000..ef5a1b3
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/misc/coda.jspf.html
@@ -0,0 +1,23 @@
+<html><body><pre>

+&lt;!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;hr>

+&lt;center>

+This banner included with &amp;lt;include-coda&amp;gt;

+&lt;/center>

+&lt;hr>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/misc/config.html b/tomcat-uid/webapps/examples/jsp/jsp2/misc/config.html
new file mode 100644
index 0000000..ebd2f4c
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/misc/config.html
@@ -0,0 +1,35 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>View Source Code</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="config.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>

+<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="config.jsp.html">Source Code for config.jsp<font color="#0000FF"></a>

+  </font> </h3>

+<h3><a href="prelude.jspf.html">Source Code for prelude.jspf<font color="#0000FF"></a>

+  </font> </h3>

+<h3><a href="coda.jspf.html">Source Code for coda.jspf<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/misc/config.jsp b/tomcat-uid/webapps/examples/jsp/jsp2/misc/config.jsp
new file mode 100644
index 0000000..7ccf481
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/misc/config.jsp
@@ -0,0 +1,32 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<%@ taglib prefix="my" uri="http://tomcat.apache.org/jsp2-example-taglib"%>

+    <h1>JSP 2.0 Examples - JSP Configuration</h1>

+    <hr>

+    <p>Using a &lt;jsp-property-group&gt; element in the web.xml 

+    deployment descriptor, this JSP page has been configured in the

+    following ways:</p>

+    <ul>

+      <li>Uses &lt;include-prelude&gt; to include the top banner.</li>

+      <li>Uses &lt;include-coda&gt; to include the bottom banner.</li>

+      <li>Uses &lt;scripting-invalid&gt; true to disable 

+	  &lt;% scripting %&gt; elements</li>

+      <li>Uses &lt;el-ignored&gt; true to disable ${EL} elements</li>

+      <li>Uses &lt;page-encoding&gt; ISO-8859-1 to set the page encoding (though this is the default anyway)</li>

+    </ul>

+    There are various other configuration options that can be used.

+

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/misc/config.jsp.html b/tomcat-uid/webapps/examples/jsp/jsp2/misc/config.jsp.html
new file mode 100644
index 0000000..033f2d2
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/misc/config.jsp.html
@@ -0,0 +1,34 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;%@ taglib prefix="my" uri="http://tomcat.apache.org/jsp2-example-taglib"%>

+    &lt;h1>JSP 2.0 Examples - JSP Configuration&lt;/h1>

+    &lt;hr>

+    &lt;p>Using a &amp;lt;jsp-property-group&amp;gt; element in the web.xml 

+    deployment descriptor, this JSP page has been configured in the

+    following ways:&lt;/p>

+    &lt;ul>

+      &lt;li>Uses &amp;lt;include-prelude&amp;gt; to include the top banner.&lt;/li>

+      &lt;li>Uses &amp;lt;include-coda&amp;gt; to include the bottom banner.&lt;/li>

+      &lt;li>Uses &amp;lt;scripting-invalid&amp;gt; true to disable 

+	  &amp;lt;% scripting %&amp;gt; elements&lt;/li>

+      &lt;li>Uses &amp;lt;el-ignored&amp;gt; true to disable ${EL} elements&lt;/li>

+      &lt;li>Uses &amp;lt;page-encoding&amp;gt; ISO-8859-1 to set the page encoding (though this is the default anyway)&lt;/li>

+    &lt;/ul>

+    There are various other configuration options that can be used.

+

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/misc/dynamicattrs.html b/tomcat-uid/webapps/examples/jsp/jsp2/misc/dynamicattrs.html
new file mode 100644
index 0000000..a02a987
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/misc/dynamicattrs.html
@@ -0,0 +1,33 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>View Source Code</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="dynamicattrs.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>

+<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="dynamicattrs.jsp.html">Source Code for dynamicattrs.jsp<font color="#0000FF"></a>

+  </font> </h3>

+<h3><a href="EchoAttributesTag.java.html">Source Code for EchoAttributesTag.java<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/misc/dynamicattrs.jsp b/tomcat-uid/webapps/examples/jsp/jsp2/misc/dynamicattrs.jsp
new file mode 100644
index 0000000..637dea9
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/misc/dynamicattrs.jsp
@@ -0,0 +1,44 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<%@ taglib prefix="my" uri="http://tomcat.apache.org/jsp2-example-taglib"%>

+<html>

+  <head>

+    <title>JSP 2.0 Examples - Dynamic Attributes</title>

+  </head>

+  <body>

+    <h1>JSP 2.0 Examples - Dynamic Attributes</h1>

+    <hr>

+    <p>This JSP page invokes a custom tag that accepts a dynamic set 

+    of attributes.  The tag echoes the name and value of all attributes

+    passed to it.</p>

+    <hr>

+    <h2>Invocation 1 (six attributes)</h2>

+    <ul>

+      <my:echoAttributes x="1" y="2" z="3" r="red" g="green" b="blue"/>

+    </ul>

+    <h2>Invocation 2 (zero attributes)</h2>

+    <ul>

+      <my:echoAttributes/>

+    </ul>

+    <h2>Invocation 3 (three attributes)</h2>

+    <ul>

+      <my:echoAttributes dogName="Scruffy" 

+	   		 catName="Fluffy" 

+			 blowfishName="Puffy"/>

+    </ul>

+  </body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/misc/dynamicattrs.jsp.html b/tomcat-uid/webapps/examples/jsp/jsp2/misc/dynamicattrs.jsp.html
new file mode 100644
index 0000000..ec47c8c
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/misc/dynamicattrs.jsp.html
@@ -0,0 +1,46 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;%@ taglib prefix="my" uri="http://tomcat.apache.org/jsp2-example-taglib"%>

+&lt;html>

+  &lt;head>

+    &lt;title>JSP 2.0 Examples - Dynamic Attributes&lt;/title>

+  &lt;/head>

+  &lt;body>

+    &lt;h1>JSP 2.0 Examples - Dynamic Attributes&lt;/h1>

+    &lt;hr>

+    &lt;p>This JSP page invokes a custom tag that accepts a dynamic set 

+    of attributes.  The tag echoes the name and value of all attributes

+    passed to it.&lt;/p>

+    &lt;hr>

+    &lt;h2>Invocation 1 (six attributes)&lt;/h2>

+    &lt;ul>

+      &lt;my:echoAttributes x="1" y="2" z="3" r="red" g="green" b="blue"/>

+    &lt;/ul>

+    &lt;h2>Invocation 2 (zero attributes)&lt;/h2>

+    &lt;ul>

+      &lt;my:echoAttributes/>

+    &lt;/ul>

+    &lt;h2>Invocation 3 (three attributes)&lt;/h2>

+    &lt;ul>

+      &lt;my:echoAttributes dogName="Scruffy" 

+	   		 catName="Fluffy" 

+			 blowfishName="Puffy"/>

+    &lt;/ul>

+  &lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/misc/prelude.jspf b/tomcat-uid/webapps/examples/jsp/jsp2/misc/prelude.jspf
new file mode 100644
index 0000000..9772e1c
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/misc/prelude.jspf
@@ -0,0 +1,21 @@
+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<hr>

+<center>

+This banner included with &lt;include-prelude&gt;

+</center>

+<hr>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/misc/prelude.jspf.html b/tomcat-uid/webapps/examples/jsp/jsp2/misc/prelude.jspf.html
new file mode 100644
index 0000000..f928f18
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/misc/prelude.jspf.html
@@ -0,0 +1,23 @@
+<html><body><pre>

+&lt;!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;hr>

+&lt;center>

+This banner included with &amp;lt;include-prelude&amp;gt;

+&lt;/center>

+&lt;hr>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/BookBean.java.html b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/BookBean.java.html
new file mode 100644
index 0000000..a977a8c
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/BookBean.java.html
@@ -0,0 +1,46 @@
+<html><body><pre>

+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package jsp2.examples;

+

+public class BookBean {

+    private String title;

+    private String author;

+    private String isbn;

+    

+    public BookBean( String title, String author, String isbn ) {

+        this.title = title;

+        this.author = author;

+        this.isbn = isbn;

+    }

+

+    public String getTitle() {

+        return this.title;

+    }

+    

+    public String getAuthor() {

+        return this.author;

+    }

+    

+    public String getIsbn() {

+        return this.isbn;

+    }

+    

+}

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/FindBookSimpleTag.java.html b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/FindBookSimpleTag.java.html
new file mode 100644
index 0000000..d010f0a
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/FindBookSimpleTag.java.html
@@ -0,0 +1,46 @@
+<html><body><pre>

+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package jsp2.examples.simpletag;

+

+import javax.servlet.jsp.JspException;

+import javax.servlet.jsp.tagext.SimpleTagSupport;

+import jsp2.examples.BookBean;

+

+/**

+ * SimpleTag handler that pretends to search for a book, and stores

+ * the result in a scoped variable.

+ */

+public class FindBookSimpleTag extends SimpleTagSupport {

+    private String var;

+    

+    private static final String BOOK_TITLE = "The Lord of the Rings";

+    private static final String BOOK_AUTHOR = "J. R. R. Tolkein";

+    private static final String BOOK_ISBN = "0618002251";

+

+    public void doTag() throws JspException {

+        BookBean book = new BookBean( BOOK_TITLE, BOOK_AUTHOR, BOOK_ISBN );

+        getJspContext().setAttribute( this.var, book );

+    }

+

+    public void setVar( String var ) {

+	this.var = var;

+    }

+}

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/Functions.java.html b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/Functions.java.html
new file mode 100644
index 0000000..350fce6
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/Functions.java.html
@@ -0,0 +1,45 @@
+<html><body><pre>

+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+package jsp2.examples.el;

+

+/**

+ * Defines the functions for the jsp2 example tag library.

+ * 

+ * &lt;p>Each function is defined as a static method.&lt;/p>

+ */

+public class Functions {

+    public static String reverse( String text ) {

+        return new StringBuffer( text ).reverse().toString();

+    }

+

+    public static int numVowels( String text ) {

+        String vowels = "aeiouAEIOU";

+	int result = 0;

+        for( int i = 0; i &lt; text.length(); i++ ) {

+	    if( vowels.indexOf( text.charAt( i ) ) != -1 ) {

+	        result++;

+	    }

+	}

+	return result;

+    }

+

+    public static String caps( String text ) {

+        return text.toUpperCase();

+    }

+}

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/HelloWorldSimpleTag.java.html b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/HelloWorldSimpleTag.java.html
new file mode 100644
index 0000000..c409839
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/HelloWorldSimpleTag.java.html
@@ -0,0 +1,34 @@
+<html><body><pre>

+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package jsp2.examples.simpletag;

+

+import javax.servlet.jsp.JspException;

+import javax.servlet.jsp.tagext.SimpleTagSupport;

+import java.io.IOException;

+

+/**

+ * SimpleTag handler that prints "Hello, world!"

+ */

+public class HelloWorldSimpleTag extends SimpleTagSupport {

+    public void doTag() throws JspException, IOException {

+	getJspContext().getOut().write( "Hello, world!" );

+    }

+}

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/RepeatSimpleTag.java.html b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/RepeatSimpleTag.java.html
new file mode 100644
index 0000000..2ad96eb
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/RepeatSimpleTag.java.html
@@ -0,0 +1,44 @@
+<html><body><pre>

+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+

+package jsp2.examples.simpletag;

+

+import javax.servlet.jsp.JspException;

+import javax.servlet.jsp.tagext.SimpleTagSupport;

+import java.io.IOException;

+

+/**

+ * SimpleTag handler that accepts a num attribute and 

+ * invokes its body 'num' times.

+ */

+public class RepeatSimpleTag extends SimpleTagSupport {

+    private int num;

+

+    public void doTag() throws JspException, IOException {

+        for (int i=0; i&lt;num; i++) {

+            getJspContext().setAttribute("count", String.valueOf( i + 1 ) );

+	    getJspBody().invoke(null);

+        }

+    }

+

+    public void setNum(int num) {

+	this.num = num;

+    }

+}

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/book.html b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/book.html
new file mode 100644
index 0000000..62cf284
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/book.html
@@ -0,0 +1,37 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>View Source Code</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="book.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>

+<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="book.jsp.html">Source Code for the Book Example JSP<font color="#0000FF"></a>

+  </font> </h3>

+<h3><a href="FindBookSimpleTag.java.html">Source Code for the FindBook SimpleTag Handler<font color="#0000FF"></a>

+  </font> </h3>

+<h3><a href="BookBean.java.html">Source Code for BookBean<font color="#0000FF"></a>

+  </font> </h3>

+<h3><a href="Functions.java.html">Source Code for the EL Functions<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/book.jsp b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/book.jsp
new file mode 100644
index 0000000..7a9a064
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/book.jsp
@@ -0,0 +1,55 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<%@ taglib prefix="my" uri="/WEB-INF/jsp2/jsp2-example-taglib.tld" %>

+<html>

+  <head>

+    <title>JSP 2.0 Examples - Book SimpleTag Handler</title>

+  </head>

+  <body>

+    <h1>JSP 2.0 Examples - Book SimpleTag Handler</h1>

+    <hr>

+    <p>Illustrates a semi-realistic use of SimpleTag and the Expression 

+    Language.  First, a &lt;my:findBook&gt; tag is invoked to populate 

+    the page context with a BookBean.  Then, the books fields are printed 

+    in all caps.</p>

+    <br>

+    <b><u>Result:</u></b><br>

+    <my:findBook var="book"/>

+    <table border="1">

+        <thead>

+	    <td><b>Field</b></td>

+	    <td><b>Value</b></td>

+	    <td><b>Capitalized</b></td>

+	</thead>

+	<tr>

+	    <td>Title</td>

+	    <td>${book.title}</td>

+	    <td>${my:caps(book.title)}</td>

+	</tr>

+	<tr>

+	    <td>Author</td>

+	    <td>${book.author}</td>

+	    <td>${my:caps(book.author)}</td>

+	</tr>

+	<tr>

+	    <td>ISBN</td>

+	    <td>${book.isbn}</td>

+	    <td>${my:caps(book.isbn)}</td>

+	</tr>

+    </table>

+  </body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/book.jsp.html b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/book.jsp.html
new file mode 100644
index 0000000..7ecfe3b
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/book.jsp.html
@@ -0,0 +1,57 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;%@ taglib prefix="my" uri="/WEB-INF/jsp2/jsp2-example-taglib.tld" %>

+&lt;html>

+  &lt;head>

+    &lt;title>JSP 2.0 Examples - Book SimpleTag Handler&lt;/title>

+  &lt;/head>

+  &lt;body>

+    &lt;h1>JSP 2.0 Examples - Book SimpleTag Handler&lt;/h1>

+    &lt;hr>

+    &lt;p>Illustrates a semi-realistic use of SimpleTag and the Expression 

+    Language.  First, a &amp;lt;my:findBook&amp;gt; tag is invoked to populate 

+    the page context with a BookBean.  Then, the books fields are printed 

+    in all caps.&lt;/p>

+    &lt;br>

+    &lt;b>&lt;u>Result:&lt;/u>&lt;/b>&lt;br>

+    &lt;my:findBook var="book"/>

+    &lt;table border="1">

+        &lt;thead>

+	    &lt;td>&lt;b>Field&lt;/b>&lt;/td>

+	    &lt;td>&lt;b>Value&lt;/b>&lt;/td>

+	    &lt;td>&lt;b>Capitalized&lt;/b>&lt;/td>

+	&lt;/thead>

+	&lt;tr>

+	    &lt;td>Title&lt;/td>

+	    &lt;td>${book.title}&lt;/td>

+	    &lt;td>${my:caps(book.title)}&lt;/td>

+	&lt;/tr>

+	&lt;tr>

+	    &lt;td>Author&lt;/td>

+	    &lt;td>${book.author}&lt;/td>

+	    &lt;td>${my:caps(book.author)}&lt;/td>

+	&lt;/tr>

+	&lt;tr>

+	    &lt;td>ISBN&lt;/td>

+	    &lt;td>${book.isbn}&lt;/td>

+	    &lt;td>${my:caps(book.isbn)}&lt;/td>

+	&lt;/tr>

+    &lt;/table>

+  &lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/hello.html b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/hello.html
new file mode 100644
index 0000000..1e7dfcb
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/hello.html
@@ -0,0 +1,33 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>View Source Code</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="hello.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>

+<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="hello.jsp.html">Source Code for the Hello World Tag Example JSP<font color="#0000FF"></a>

+  </font> </h3>

+<h3><a href="HelloWorldSimpleTag.java.html">Source Code for the Hello World SimpleTag Handler<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/hello.jsp b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/hello.jsp
new file mode 100644
index 0000000..4222b2e
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/hello.jsp
@@ -0,0 +1,31 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<%@ taglib prefix="mytag" uri="/WEB-INF/jsp2/jsp2-example-taglib.tld" %>

+<html>

+  <head>

+    <title>JSP 2.0 Examples - Hello World SimpleTag Handler</title>

+  </head>

+  <body>

+    <h1>JSP 2.0 Examples - Hello World SimpleTag Handler</h1>

+    <hr>

+    <p>This tag handler simply echos "Hello, World!"  It's an example of

+    a very basic SimpleTag handler with no body.</p>

+    <br>

+    <b><u>Result:</u></b>

+    <mytag:helloWorld/>

+  </body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/hello.jsp.html b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/hello.jsp.html
new file mode 100644
index 0000000..c363802
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/hello.jsp.html
@@ -0,0 +1,33 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;%@ taglib prefix="mytag" uri="/WEB-INF/jsp2/jsp2-example-taglib.tld" %>

+&lt;html>

+  &lt;head>

+    &lt;title>JSP 2.0 Examples - Hello World SimpleTag Handler&lt;/title>

+  &lt;/head>

+  &lt;body>

+    &lt;h1>JSP 2.0 Examples - Hello World SimpleTag Handler&lt;/h1>

+    &lt;hr>

+    &lt;p>This tag handler simply echos "Hello, World!"  It's an example of

+    a very basic SimpleTag handler with no body.&lt;/p>

+    &lt;br>

+    &lt;b>&lt;u>Result:&lt;/u>&lt;/b>

+    &lt;mytag:helloWorld/>

+  &lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/repeat.html b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/repeat.html
new file mode 100644
index 0000000..18ff5ed
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/repeat.html
@@ -0,0 +1,33 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>View Source Code</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="repeat.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>

+<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="repeat.jsp.html">Source Code for the Repeat Tag Example JSP<font color="#0000FF"></a>

+  </font> </h3>

+<h3><a href="RepeatSimpleTag.java.html">Source Code for the Repeat SimpleTag Handler<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/repeat.jsp b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/repeat.jsp
new file mode 100644
index 0000000..1f3d008
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/repeat.jsp
@@ -0,0 +1,39 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<%@ taglib prefix="mytag" uri="/WEB-INF/jsp2/jsp2-example-taglib.tld" %>

+<html>

+  <head>

+    <title>JSP 2.0 Examples - Repeat SimpleTag Handler</title>

+  </head>

+  <body>

+    <h1>JSP 2.0 Examples - Repeat SimpleTag Handler</h1>

+    <hr>

+    <p>This tag handler accepts a "num" parameter and repeats the body of the

+    tag "num" times.  It's a simple example, but the implementation of 

+    such a tag in JSP 2.0 is substantially simpler than the equivalent 

+    JSP 1.2-style classic tag handler.</p>

+    <p>The body of the tag is encapsulated in a "JSP Fragment" and passed

+    to the tag handler, which then executes it five times, inside a 

+    for loop.  The tag handler passes in the current invocation in a

+    scoped variable called count, which can be accessed using the EL.</p>

+    <br>

+    <b><u>Result:</u></b><br>

+    <mytag:repeat num="5">

+      Invocation ${count} of 5<br>

+    </mytag:repeat>

+  </body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/repeat.jsp.html b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/repeat.jsp.html
new file mode 100644
index 0000000..e36b66c
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/simpletag/repeat.jsp.html
@@ -0,0 +1,41 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;%@ taglib prefix="mytag" uri="/WEB-INF/jsp2/jsp2-example-taglib.tld" %>

+&lt;html>

+  &lt;head>

+    &lt;title>JSP 2.0 Examples - Repeat SimpleTag Handler&lt;/title>

+  &lt;/head>

+  &lt;body>

+    &lt;h1>JSP 2.0 Examples - Repeat SimpleTag Handler&lt;/h1>

+    &lt;hr>

+    &lt;p>This tag handler accepts a "num" parameter and repeats the body of the

+    tag "num" times.  It's a simple example, but the implementation of 

+    such a tag in JSP 2.0 is substantially simpler than the equivalent 

+    JSP 1.2-style classic tag handler.&lt;/p>

+    &lt;p>The body of the tag is encapsulated in a "JSP Fragment" and passed

+    to the tag handler, which then executes it five times, inside a 

+    for loop.  The tag handler passes in the current invocation in a

+    scoped variable called count, which can be accessed using the EL.&lt;/p>

+    &lt;br>

+    &lt;b>&lt;u>Result:&lt;/u>&lt;/b>&lt;br>

+    &lt;mytag:repeat num="5">

+      Invocation ${count} of 5&lt;br>

+    &lt;/mytag:repeat>

+  &lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/displayProducts.tag.html b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/displayProducts.tag.html
new file mode 100644
index 0000000..6388336
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/displayProducts.tag.html
@@ -0,0 +1,57 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

+&lt;%@ attribute name="normalPrice" fragment="true" %>

+&lt;%@ attribute name="onSale" fragment="true" %>

+&lt;%@ variable name-given="name" %>

+&lt;%@ variable name-given="price" %>

+&lt;%@ variable name-given="origPrice" %>

+&lt;%@ variable name-given="salePrice" %>

+

+&lt;table border="1">

+  &lt;tr>

+    &lt;td> 

+      &lt;c:set var="name" value="Hand-held Color PDA"/>

+      &lt;c:set var="price" value="$298.86"/>

+      &lt;jsp:invoke fragment="normalPrice"/>

+    &lt;/td>

+    &lt;td> 

+      &lt;c:set var="name" value="4-Pack 150 Watt Light Bulbs"/>

+      &lt;c:set var="origPrice" value="$2.98"/>

+      &lt;c:set var="salePrice" value="$2.32"/>

+      &lt;jsp:invoke fragment="onSale"/>

+    &lt;/td>

+    &lt;td> 

+      &lt;c:set var="name" value="Digital Cellular Phone"/>

+      &lt;c:set var="price" value="$68.74"/>

+      &lt;jsp:invoke fragment="normalPrice"/>

+    &lt;/td>

+    &lt;td> 

+      &lt;c:set var="name" value="Baby Grand Piano"/>

+      &lt;c:set var="price" value="$10,800.00"/>

+      &lt;jsp:invoke fragment="normalPrice"/>

+    &lt;/td>

+    &lt;td> 

+      &lt;c:set var="name" value="Luxury Car w/ Leather Seats"/>

+      &lt;c:set var="origPrice" value="$23,980.00"/>

+      &lt;c:set var="salePrice" value="$21,070.00"/>

+      &lt;jsp:invoke fragment="onSale"/>

+    &lt;/td>

+  &lt;/tr>

+&lt;/table>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/hello.html b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/hello.html
new file mode 100644
index 0000000..aab12a7
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/hello.html
@@ -0,0 +1,33 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>View Source Code</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="hello.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>

+<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="hello.jsp.html">Source Code for hello.jsp<font color="#0000FF"></a>

+  </font> </h3>

+<h3><a href="helloWorld.tag.html">Source Code for helloWorld.tag<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/hello.jsp b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/hello.jsp
new file mode 100644
index 0000000..e93c7c5
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/hello.jsp
@@ -0,0 +1,35 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>

+<html>

+  <head>

+    <title>JSP 2.0 Examples - Hello World Using a Tag File</title>

+  </head>

+  <body>

+    <h1>JSP 2.0 Examples - Hello World Using a Tag File</h1>

+    <hr>

+    <p>This JSP page invokes a custom tag that simply echos "Hello, World!"  

+    The custom tag is generated from a tag file in the /WEB-INF/tags

+    directory.</p>

+    <p>Notice that we did not need to write a TLD for this tag.  We just

+    created /WEB-INF/tags/helloWorld.tag, imported it using the taglib

+    directive, and used it!</p>

+    <br>

+    <b><u>Result:</u></b>

+    <tags:helloWorld/>

+  </body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/hello.jsp.html b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/hello.jsp.html
new file mode 100644
index 0000000..c3b7b4f
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/hello.jsp.html
@@ -0,0 +1,37 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>

+&lt;html>

+  &lt;head>

+    &lt;title>JSP 2.0 Examples - Hello World Using a Tag File&lt;/title>

+  &lt;/head>

+  &lt;body>

+    &lt;h1>JSP 2.0 Examples - Hello World Using a Tag File&lt;/h1>

+    &lt;hr>

+    &lt;p>This JSP page invokes a custom tag that simply echos "Hello, World!"  

+    The custom tag is generated from a tag file in the /WEB-INF/tags

+    directory.&lt;/p>

+    &lt;p>Notice that we did not need to write a TLD for this tag.  We just

+    created /WEB-INF/tags/helloWorld.tag, imported it using the taglib

+    directive, and used it!&lt;/p>

+    &lt;br>

+    &lt;b>&lt;u>Result:&lt;/u>&lt;/b>

+    &lt;tags:helloWorld/>

+  &lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/helloWorld.tag.html b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/helloWorld.tag.html
new file mode 100644
index 0000000..e335986
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/helloWorld.tag.html
@@ -0,0 +1,19 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+Hello, world!

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/panel.html b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/panel.html
new file mode 100644
index 0000000..161b70d
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/panel.html
@@ -0,0 +1,33 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>View Source Code</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="panel.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>

+<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="panel.jsp.html">Source Code for panel.jsp<font color="#0000FF"></a>

+  </font> </h3>

+<h3><a href="panel.tag.html">Source Code for panel.tag<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/panel.jsp b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/panel.jsp
new file mode 100644
index 0000000..4dfc483
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/panel.jsp
@@ -0,0 +1,58 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>

+<html>

+  <head>

+    <title>JSP 2.0 Examples - Panels using Tag Files</title>

+  </head>

+  <body>

+    <h1>JSP 2.0 Examples - Panels using Tag Files</h1>

+    <hr>

+    <p>This JSP page invokes a custom tag that draws a 

+    panel around the contents of the tag body.  Normally, such a tag 

+    implementation would require a Java class with many println() statements,

+    outputting HTML.  Instead, we can use a .tag file as a template,

+    and we don't need to write a single line of Java or even a TLD!</p>

+    <hr>

+    <table border="0">

+      <tr valign="top">

+        <td>

+          <tags:panel color="#ff8080" bgcolor="#ffc0c0" title="Panel 1">

+	    First panel.<br/>

+	  </tags:panel>

+        </td>

+        <td>

+          <tags:panel color="#80ff80" bgcolor="#c0ffc0" title="Panel 2">

+	    Second panel.<br/>

+	    Second panel.<br/>

+	    Second panel.<br/>

+	    Second panel.<br/>

+	  </tags:panel>

+        </td>

+        <td>

+          <tags:panel color="#8080ff" bgcolor="#c0c0ff" title="Panel 3">

+	    Third panel.<br/>

+            <tags:panel color="#ff80ff" bgcolor="#ffc0ff" title="Inner">

+	      A panel in a panel.

+	    </tags:panel>

+	    Third panel.<br/>

+	  </tags:panel>

+        </td>

+      </tr>

+    </table>

+  </body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/panel.jsp.html b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/panel.jsp.html
new file mode 100644
index 0000000..0cc746d
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/panel.jsp.html
@@ -0,0 +1,60 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>

+&lt;html>

+  &lt;head>

+    &lt;title>JSP 2.0 Examples - Panels using Tag Files&lt;/title>

+  &lt;/head>

+  &lt;body>

+    &lt;h1>JSP 2.0 Examples - Panels using Tag Files&lt;/h1>

+    &lt;hr>

+    &lt;p>This JSP page invokes a custom tag that draws a 

+    panel around the contents of the tag body.  Normally, such a tag 

+    implementation would require a Java class with many println() statements,

+    outputting HTML.  Instead, we can use a .tag file as a template,

+    and we don't need to write a single line of Java or even a TLD!&lt;/p>

+    &lt;hr>

+    &lt;table border="0">

+      &lt;tr valign="top">

+        &lt;td>

+          &lt;tags:panel color="#ff8080" bgcolor="#ffc0c0" title="Panel 1">

+	    First panel.&lt;br/>

+	  &lt;/tags:panel>

+        &lt;/td>

+        &lt;td>

+          &lt;tags:panel color="#80ff80" bgcolor="#c0ffc0" title="Panel 2">

+	    Second panel.&lt;br/>

+	    Second panel.&lt;br/>

+	    Second panel.&lt;br/>

+	    Second panel.&lt;br/>

+	  &lt;/tags:panel>

+        &lt;/td>

+        &lt;td>

+          &lt;tags:panel color="#8080ff" bgcolor="#c0c0ff" title="Panel 3">

+	    Third panel.&lt;br/>

+            &lt;tags:panel color="#ff80ff" bgcolor="#ffc0ff" title="Inner">

+	      A panel in a panel.

+	    &lt;/tags:panel>

+	    Third panel.&lt;br/>

+	  &lt;/tags:panel>

+        &lt;/td>

+      &lt;/tr>

+    &lt;/table>

+  &lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/panel.tag.html b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/panel.tag.html
new file mode 100644
index 0000000..df1c214
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/panel.tag.html
@@ -0,0 +1,31 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;%@ attribute name="color" %>

+&lt;%@ attribute name="bgcolor" %>

+&lt;%@ attribute name="title" %>

+&lt;table border="1" bgcolor="${color}">

+  &lt;tr>

+    &lt;td>&lt;b>${title}&lt;/b>&lt;/td>

+  &lt;/tr>

+  &lt;tr>

+    &lt;td bgcolor="${bgcolor}">

+      &lt;jsp:doBody/>

+    &lt;/td>

+  &lt;/tr>

+&lt;/table>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/products.html b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/products.html
new file mode 100644
index 0000000..e4780b9
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/products.html
@@ -0,0 +1,33 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>View Source Code</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="products.jsp"><img src="../../images/execute.gif" align="right" border="0"></a>

+<a href="../../index.html"><img src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="products.jsp.html">Source Code for products.jsp<font color="#0000FF"></a>

+  </font> </h3>

+<h3><a href="displayProducts.tag.html">Source Code for displayProducts.tag<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/products.jsp b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/products.jsp
new file mode 100644
index 0000000..328cc96
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/products.jsp
@@ -0,0 +1,54 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>

+<html>

+  <head>

+    <title>JSP 2.0 Examples - Display Products Tag File</title>

+  </head>

+  <body>

+    <h1>JSP 2.0 Examples - Display Products Tag File</h1>

+    <hr>

+    <p>This JSP page invokes a tag file that displays a listing of 

+    products.  The custom tag accepts two fragments that enable

+    customization of appearance.  One for when the product is on sale

+    and one for normal price.</p>

+    <p>The tag is invoked twice, using different styles</p>

+    <hr>

+    <h2>Products</h2>

+    <tags:displayProducts>

+      <jsp:attribute name="normalPrice">

+	Item: ${name}<br/>

+	Price: ${price}

+      </jsp:attribute>

+      <jsp:attribute name="onSale">

+	Item: ${name}<br/>

+	<font color="red"><strike>Was: ${origPrice}</strike></font><br/>

+	<b>Now: ${salePrice}</b>

+      </jsp:attribute>

+    </tags:displayProducts>

+    <hr>

+    <h2>Products (Same tag, alternate style)</h2>

+    <tags:displayProducts>

+      <jsp:attribute name="normalPrice">

+	<b>${name}</b> @ ${price} ea.

+      </jsp:attribute>

+      <jsp:attribute name="onSale">

+	<b>${name}</b> @ ${salePrice} ea. (was: ${origPrice})

+      </jsp:attribute>

+    </tags:displayProducts>

+  </body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/products.jsp.html b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/products.jsp.html
new file mode 100644
index 0000000..f9b6e6f
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/products.jsp.html
@@ -0,0 +1,56 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>

+&lt;html>

+  &lt;head>

+    &lt;title>JSP 2.0 Examples - Display Products Tag File&lt;/title>

+  &lt;/head>

+  &lt;body>

+    &lt;h1>JSP 2.0 Examples - Display Products Tag File&lt;/h1>

+    &lt;hr>

+    &lt;p>This JSP page invokes a tag file that displays a listing of 

+    products.  The custom tag accepts two fragments that enable

+    customization of appearance.  One for when the product is on sale

+    and one for normal price.&lt;/p>

+    &lt;p>The tag is invoked twice, using different styles&lt;/p>

+    &lt;hr>

+    &lt;h2>Products&lt;/h2>

+    &lt;tags:displayProducts>

+      &lt;jsp:attribute name="normalPrice">

+	Item: ${name}&lt;br/>

+	Price: ${price}

+      &lt;/jsp:attribute>

+      &lt;jsp:attribute name="onSale">

+	Item: ${name}&lt;br/>

+	&lt;font color="red">&lt;strike>Was: ${origPrice}&lt;/strike>&lt;/font>&lt;br/>

+	&lt;b>Now: ${salePrice}&lt;/b>

+      &lt;/jsp:attribute>

+    &lt;/tags:displayProducts>

+    &lt;hr>

+    &lt;h2>Products (Same tag, alternate style)&lt;/h2>

+    &lt;tags:displayProducts>

+      &lt;jsp:attribute name="normalPrice">

+	&lt;b>${name}&lt;/b> @ ${price} ea.

+      &lt;/jsp:attribute>

+      &lt;jsp:attribute name="onSale">

+	&lt;b>${name}&lt;/b> @ ${salePrice} ea. (was: ${origPrice})

+      &lt;/jsp:attribute>

+    &lt;/tags:displayProducts>

+  &lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/xhtmlbasic.tag.html b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/xhtmlbasic.tag.html
new file mode 100644
index 0000000..a8bd497
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsp2/tagfiles/xhtmlbasic.tag.html
@@ -0,0 +1,23 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"

+"http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">

+&lt;html xmlns="http://www.w3.org/1999/xhtml">

+&lt;jsp:doBody/>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsptoserv/hello.jsp b/tomcat-uid/webapps/examples/jsp/jsptoserv/hello.jsp
new file mode 100644
index 0000000..5f332ec
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsptoserv/hello.jsp
@@ -0,0 +1,26 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<body bgcolor="white">

+

+<h1>

+I have been invoked by

+<% out.print (request.getAttribute("servletName").toString()); %>

+Servlet.

+</h1>

+

+</html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/examples/jsp/jsptoserv/hello.jsp.html b/tomcat-uid/webapps/examples/jsp/jsptoserv/hello.jsp.html
new file mode 100644
index 0000000..44ac35e
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsptoserv/hello.jsp.html
@@ -0,0 +1,28 @@
+<html><body><pre>

+&lt;html>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;body bgcolor="white">

+

+&lt;h1>

+I have been invoked by

+&lt;% out.print (request.getAttribute("servletName").toString()); %>

+Servlet.

+&lt;/h1>

+

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp b/tomcat-uid/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp
new file mode 100644
index 0000000..c08192f
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp
@@ -0,0 +1,23 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<body bgcolor="white">

+

+<!-- Forward to a servlet -->

+<jsp:forward page="/servletToJsp" />

+

+</html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp.html b/tomcat-uid/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp.html
new file mode 100644
index 0000000..d694ab4
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp.html
@@ -0,0 +1,25 @@
+<html><body><pre>

+&lt;html>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;body bgcolor="white">

+

+&lt;!-- Forward to a servlet -->

+&lt;jsp:forward page="/servletToJsp" />

+

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsptoserv/jts.html b/tomcat-uid/webapps/examples/jsp/jsptoserv/jts.html
new file mode 100644
index 0000000..ec7d5ad
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsptoserv/jts.html
@@ -0,0 +1,34 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="jsptoservlet.jsp"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="jsptoservlet.jsp.html">Source Code for JSP calling servlet <font color="#0000FF"></a>

+  </font> </h3>

+

+<h3><a href="servletToJsp.java.html">Source Code for Servlet calling JSP 

+<font color="#0000FF"></a> </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/jsptoserv/servletToJsp.java.html b/tomcat-uid/webapps/examples/jsp/jsptoserv/servletToJsp.java.html
new file mode 100644
index 0000000..bf6f249
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/jsptoserv/servletToJsp.java.html
@@ -0,0 +1,34 @@
+<html><body><pre>

+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+import javax.servlet.http.*;

+

+public class servletToJsp extends HttpServlet {

+

+    public void doGet (HttpServletRequest request,

+		       HttpServletResponse response) {

+

+	try {

+	    // Set the attribute and Forward to hello.jsp

+	    request.setAttribute ("servletName", "servletToJsp");

+	    getServletConfig().getServletContext().getRequestDispatcher("/jsp/jsptoserv/hello.jsp").forward(request, response);

+	} catch (Exception ex) {

+	    ex.printStackTrace ();

+	}

+    }

+}

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/num/numguess.html b/tomcat-uid/webapps/examples/jsp/num/numguess.html
new file mode 100644
index 0000000..431fda0
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/num/numguess.html
@@ -0,0 +1,34 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+

+  Number Guess Game

+  Written by Jason Hunter, CTO, K&A Software

+  http://www.servlets.com

+-->

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="numguess.jsp"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="numguess.jsp.html">Source Code for Numguess Example<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/num/numguess.jsp b/tomcat-uid/webapps/examples/jsp/num/numguess.jsp
new file mode 100644
index 0000000..cfcf6fb
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/num/numguess.jsp
@@ -0,0 +1,69 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+

+  Number Guess Game

+  Written by Jason Hunter, CTO, K&A Software

+  http://www.servlets.com

+-->

+

+<%@ page import = "num.NumberGuessBean" %>

+

+<jsp:useBean id="numguess" class="num.NumberGuessBean" scope="session"/>

+<jsp:setProperty name="numguess" property="*"/>

+

+<html>

+<head><title>Number Guess</title></head>

+<body bgcolor="white">

+<font size=4>

+

+<% if (numguess.getSuccess()) { %>

+

+  Congratulations!  You got it.

+  And after just <%= numguess.getNumGuesses() %> tries.<p>

+

+  <% numguess.reset(); %>

+

+  Care to <a href="numguess.jsp">try again</a>?

+

+<% } else if (numguess.getNumGuesses() == 0) { %>

+

+  Welcome to the Number Guess game.<p>

+

+  I'm thinking of a number between 1 and 100.<p>

+

+  <form method=get>

+  What's your guess? <input type=text name=guess>

+  <input type=submit value="Submit">

+  </form>

+

+<% } else { %>

+

+  Good guess, but nope.  Try <b><%= numguess.getHint() %></b>.

+

+  You have made <%= numguess.getNumGuesses() %> guesses.<p>

+

+  I'm thinking of a number between 1 and 100.<p>

+

+  <form method=get>

+  What's your guess? <input type=text name=guess>

+  <input type=submit value="Submit">

+  </form>

+

+<% } %>

+

+</font>

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/num/numguess.jsp.html b/tomcat-uid/webapps/examples/jsp/num/numguess.jsp.html
new file mode 100644
index 0000000..01fef5d
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/num/numguess.jsp.html
@@ -0,0 +1,71 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+

+  Number Guess Game

+  Written by Jason Hunter, CTO, K&amp;A Software

+  http://www.servlets.com

+-->

+

+&lt;%@ page import = "num.NumberGuessBean" %>

+

+&lt;jsp:useBean id="numguess" class="num.NumberGuessBean" scope="session"/>

+&lt;jsp:setProperty name="numguess" property="*"/>

+

+&lt;html>

+&lt;head>&lt;title>Number Guess&lt;/title>&lt;/head>

+&lt;body bgcolor="white">

+&lt;font size=4>

+

+&lt;% if (numguess.getSuccess()) { %>

+

+  Congratulations!  You got it.

+  And after just &lt;%= numguess.getNumGuesses() %> tries.&lt;p>

+

+  &lt;% numguess.reset(); %>

+

+  Care to &lt;a href="numguess.jsp">try again&lt;/a>?

+

+&lt;% } else if (numguess.getNumGuesses() == 0) { %>

+

+  Welcome to the Number Guess game.&lt;p>

+

+  I'm thinking of a number between 1 and 100.&lt;p>

+

+  &lt;form method=get>

+  What's your guess? &lt;input type=text name=guess>

+  &lt;input type=submit value="Submit">

+  &lt;/form>

+

+&lt;% } else { %>

+

+  Good guess, but nope.  Try &lt;b>&lt;%= numguess.getHint() %>&lt;/b>.

+

+  You have made &lt;%= numguess.getNumGuesses() %> guesses.&lt;p>

+

+  I'm thinking of a number between 1 and 100.&lt;p>

+

+  &lt;form method=get>

+  What's your guess? &lt;input type=text name=guess>

+  &lt;input type=submit value="Submit">

+  &lt;/form>

+

+&lt;% } %>

+

+&lt;/font>

+&lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/plugin/applet/Clock2.class b/tomcat-uid/webapps/examples/jsp/plugin/applet/Clock2.class
new file mode 100644
index 0000000..32fa663
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/plugin/applet/Clock2.class
Binary files differ
diff --git a/tomcat-uid/webapps/examples/jsp/plugin/applet/Clock2.java b/tomcat-uid/webapps/examples/jsp/plugin/applet/Clock2.java
new file mode 100644
index 0000000..f228b82
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/plugin/applet/Clock2.java
@@ -0,0 +1,213 @@
+/*

+* Licensed to the Apache Software Foundation (ASF) under one or more

+* contributor license agreements.  See the NOTICE file distributed with

+* this work for additional information regarding copyright ownership.

+* The ASF licenses this file to You under the Apache License, Version 2.0

+* (the "License"); you may not use this file except in compliance with

+* the License.  You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+

+import java.util.*;

+import java.awt.*;

+import java.applet.*;

+import java.text.*;

+

+/**

+ * Time!

+ *

+ * @author Rachel Gollub

+ */

+

+public class Clock2 extends Applet implements Runnable {

+    Thread timer;                // The thread that displays clock

+    int lastxs, lastys, lastxm,

+        lastym, lastxh, lastyh;  // Dimensions used to draw hands 

+    SimpleDateFormat formatter;  // Formats the date displayed

+    String lastdate;             // String to hold date displayed

+    Font clockFaceFont;          // Font for number display on clock

+    Date currentDate;            // Used to get date to display

+    Color handColor;             // Color of main hands and dial

+    Color numberColor;           // Color of second hand and numbers

+

+    public void init() {

+        int x,y;

+        lastxs = lastys = lastxm = lastym = lastxh = lastyh = 0;

+        formatter = new SimpleDateFormat ("EEE MMM dd hh:mm:ss yyyy", Locale.getDefault());

+        currentDate = new Date();

+        lastdate = formatter.format(currentDate);

+        clockFaceFont = new Font("Serif", Font.PLAIN, 14);

+        handColor = Color.blue;

+        numberColor = Color.darkGray;

+

+        try {

+            setBackground(new Color(Integer.parseInt(getParameter("bgcolor"),16)));

+        } catch (Exception E) { }

+        try {

+            handColor = new Color(Integer.parseInt(getParameter("fgcolor1"),16));

+        } catch (Exception E) { }

+        try {

+            numberColor = new Color(Integer.parseInt(getParameter("fgcolor2"),16));

+        } catch (Exception E) { }

+        resize(300,300);              // Set clock window size

+    }

+

+    // Plotpoints allows calculation to only cover 45 degrees of the circle,

+    // and then mirror

+    public void plotpoints(int x0, int y0, int x, int y, Graphics g) {

+        g.drawLine(x0+x,y0+y,x0+x,y0+y);

+        g.drawLine(x0+y,y0+x,x0+y,y0+x);

+        g.drawLine(x0+y,y0-x,x0+y,y0-x);

+        g.drawLine(x0+x,y0-y,x0+x,y0-y);

+        g.drawLine(x0-x,y0-y,x0-x,y0-y);

+        g.drawLine(x0-y,y0-x,x0-y,y0-x);

+        g.drawLine(x0-y,y0+x,x0-y,y0+x);

+        g.drawLine(x0-x,y0+y,x0-x,y0+y);

+    }

+

+    // Circle is just Bresenham's algorithm for a scan converted circle

+    public void circle(int x0, int y0, int r, Graphics g) {

+        int x,y;

+        float d;

+        x=0;

+        y=r;

+        d=5/4-r;

+        plotpoints(x0,y0,x,y,g);

+

+        while (y>x){

+            if (d<0) {

+                d=d+2*x+3;

+                x++;

+            }

+            else {

+                d=d+2*(x-y)+5;

+                x++;

+                y--;

+            }

+            plotpoints(x0,y0,x,y,g);

+        }

+    }

+

+    // Paint is the main part of the program

+    public void paint(Graphics g) {

+        int xh, yh, xm, ym, xs, ys, s = 0, m = 10, h = 10, xcenter, ycenter;

+        String today;

+

+        currentDate = new Date();

+        SimpleDateFormat formatter = new SimpleDateFormat("s",Locale.getDefault());

+        try {

+            s = Integer.parseInt(formatter.format(currentDate));

+        } catch (NumberFormatException n) {

+            s = 0;

+        }

+        formatter.applyPattern("m");

+        try {

+            m = Integer.parseInt(formatter.format(currentDate));

+        } catch (NumberFormatException n) {

+            m = 10;

+        }    

+        formatter.applyPattern("h");

+        try {

+            h = Integer.parseInt(formatter.format(currentDate));

+        } catch (NumberFormatException n) {

+            h = 10;

+        }

+        formatter.applyPattern("EEE MMM dd HH:mm:ss yyyy");

+        today = formatter.format(currentDate);

+        xcenter=80;

+        ycenter=55;

+    

+    // a= s* pi/2 - pi/2 (to switch 0,0 from 3:00 to 12:00)

+    // x = r(cos a) + xcenter, y = r(sin a) + ycenter

+    

+        xs = (int)(Math.cos(s * 3.14f/30 - 3.14f/2) * 45 + xcenter);

+        ys = (int)(Math.sin(s * 3.14f/30 - 3.14f/2) * 45 + ycenter);

+        xm = (int)(Math.cos(m * 3.14f/30 - 3.14f/2) * 40 + xcenter);

+        ym = (int)(Math.sin(m * 3.14f/30 - 3.14f/2) * 40 + ycenter);

+        xh = (int)(Math.cos((h*30 + m/2) * 3.14f/180 - 3.14f/2) * 30 + xcenter);

+        yh = (int)(Math.sin((h*30 + m/2) * 3.14f/180 - 3.14f/2) * 30 + ycenter);

+    

+    // Draw the circle and numbers

+    

+        g.setFont(clockFaceFont);

+        g.setColor(handColor);

+        circle(xcenter,ycenter,50,g);

+        g.setColor(numberColor);

+        g.drawString("9",xcenter-45,ycenter+3); 

+        g.drawString("3",xcenter+40,ycenter+3);

+        g.drawString("12",xcenter-5,ycenter-37);

+        g.drawString("6",xcenter-3,ycenter+45);

+

+    // Erase if necessary, and redraw

+    

+        g.setColor(getBackground());

+        if (xs != lastxs || ys != lastys) {

+            g.drawLine(xcenter, ycenter, lastxs, lastys);

+            g.drawString(lastdate, 5, 125);

+        }

+        if (xm != lastxm || ym != lastym) {

+            g.drawLine(xcenter, ycenter-1, lastxm, lastym);

+            g.drawLine(xcenter-1, ycenter, lastxm, lastym); }

+        if (xh != lastxh || yh != lastyh) {

+            g.drawLine(xcenter, ycenter-1, lastxh, lastyh);

+            g.drawLine(xcenter-1, ycenter, lastxh, lastyh); }

+        g.setColor(numberColor);

+        g.drawString("", 5, 125);

+        g.drawString(today, 5, 125);    

+        g.drawLine(xcenter, ycenter, xs, ys);

+        g.setColor(handColor);

+        g.drawLine(xcenter, ycenter-1, xm, ym);

+        g.drawLine(xcenter-1, ycenter, xm, ym);

+        g.drawLine(xcenter, ycenter-1, xh, yh);

+        g.drawLine(xcenter-1, ycenter, xh, yh);

+        lastxs=xs; lastys=ys;

+        lastxm=xm; lastym=ym;

+        lastxh=xh; lastyh=yh;

+        lastdate = today;

+        currentDate=null;

+    }

+

+    public void start() {

+        timer = new Thread(this);

+        timer.start();

+    }

+

+    public void stop() {

+        timer = null;

+    }

+

+    public void run() {

+        Thread me = Thread.currentThread();

+        while (timer == me) {

+            try {

+                Thread.currentThread().sleep(100);

+            } catch (InterruptedException e) {

+            }

+            repaint();

+        }

+    }

+

+    public void update(Graphics g) {

+        paint(g);

+    }

+

+    public String getAppletInfo() {

+        return "Title: A Clock \nAuthor: Rachel Gollub, 1995 \nAn analog clock.";

+    }

+  

+    public String[][] getParameterInfo() {

+        String[][] info = {

+            {"bgcolor", "hexadecimal RGB number", "The background color. Default is the color of your browser."},

+            {"fgcolor1", "hexadecimal RGB number", "The color of the hands and dial. Default is blue."},

+            {"fgcolor2", "hexadecimal RGB number", "The color of the seconds hand and numbers. Default is dark gray."}

+        };

+        return info;

+    }

+}

diff --git a/tomcat-uid/webapps/examples/jsp/plugin/plugin.html b/tomcat-uid/webapps/examples/jsp/plugin/plugin.html
new file mode 100644
index 0000000..036ce72
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/plugin/plugin.html
@@ -0,0 +1,30 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="plugin.jsp"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="plugin.jsp.html">Source Code for Plugin Example<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/plugin/plugin.jsp b/tomcat-uid/webapps/examples/jsp/plugin/plugin.jsp
new file mode 100644
index 0000000..12db7d4
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/plugin/plugin.jsp
@@ -0,0 +1,34 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<title> Plugin example </title>

+<body bgcolor="white">

+<h3> Current time is : </h3>

+<jsp:plugin type="applet" code="Clock2.class" codebase="applet" jreversion="1.2" width="160" height="150" >

+    <jsp:fallback>

+        Plugin tag OBJECT or EMBED not supported by browser.

+    </jsp:fallback>

+</jsp:plugin>

+<p>

+<h4>

+<font color=red> 

+The above applet is loaded using the Java Plugin from a jsp page using the

+plugin tag.

+</font>

+</h4>

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/plugin/plugin.jsp.html b/tomcat-uid/webapps/examples/jsp/plugin/plugin.jsp.html
new file mode 100644
index 0000000..b350d5e
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/plugin/plugin.jsp.html
@@ -0,0 +1,36 @@
+<html><body><pre>

+&lt;html>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;title> Plugin example &lt;/title>

+&lt;body bgcolor="white">

+&lt;h3> Current time is : &lt;/h3>

+&lt;jsp:plugin type="applet" code="Clock2.class" codebase="applet" jreversion="1.2" width="160" height="150" >

+    &lt;jsp:fallback>

+        Plugin tag OBJECT or EMBED not supported by browser.

+    &lt;/jsp:fallback>

+&lt;/jsp:plugin>

+&lt;p>

+&lt;h4>

+&lt;font color=red> 

+The above applet is loaded using the Java Plugin from a jsp page using the

+plugin tag.

+&lt;/font>

+&lt;/h4>

+&lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/security/protected/error.jsp b/tomcat-uid/webapps/examples/jsp/security/protected/error.jsp
new file mode 100644
index 0000000..50e0ed5
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/security/protected/error.jsp
@@ -0,0 +1,25 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+<head>

+<title>Error Page For Examples</title>

+</head>

+<body bgcolor="white">

+Invalid username and/or password, please try

+<a href='<%= response.encodeURL("index.jsp") %>'>again</a>.

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/security/protected/error.jsp.html b/tomcat-uid/webapps/examples/jsp/security/protected/error.jsp.html
new file mode 100644
index 0000000..d45fb6c
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/security/protected/error.jsp.html
@@ -0,0 +1,27 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;html>

+&lt;head>

+&lt;title>Error Page For Examples&lt;/title>

+&lt;/head>

+&lt;body bgcolor="white">

+Invalid username and/or password, please try

+&lt;a href='&lt;%= response.encodeURL("index.jsp") %>'>again&lt;/a>.

+&lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/security/protected/index.jsp b/tomcat-uid/webapps/examples/jsp/security/protected/index.jsp
new file mode 100644
index 0000000..bef9700
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/security/protected/index.jsp
@@ -0,0 +1,81 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<%

+  if (request.getParameter("logoff") != null) {

+    session.invalidate();

+    response.sendRedirect("index.jsp");

+    return;

+  }

+%>

+<html>

+<head>

+<title>Protected Page for Examples</title>

+</head>

+<body bgcolor="white">

+

+You are logged in as remote user

+<b><%= util.HTMLFilter.filter(request.getRemoteUser()) %></b>

+in session <b><%= session.getId() %></b><br><br>

+

+<%

+  if (request.getUserPrincipal() != null) {

+%>

+    Your user principal name is

+    <b><%= util.HTMLFilter.filter(request.getUserPrincipal().getName()) %></b>

+    <br><br>

+<%

+  } else {

+%>

+    No user principal could be identified.<br><br>

+<%

+  }

+%>

+

+<%

+  String role = request.getParameter("role");

+  if (role == null)

+    role = "";

+  if (role.length() > 0) {

+    if (request.isUserInRole(role)) {

+%>

+      You have been granted role

+      <b><%= util.HTMLFilter.filter(role) %></b><br><br>

+<%

+    } else {

+%>

+      You have <i>not</i> been granted role

+      <b><%= util.HTMLFilter.filter(role) %></b><br><br>

+<%

+    }

+  }

+%>

+

+To check whether your username has been granted a particular role,

+enter it here:

+<form method="GET" action='<%= response.encodeURL("index.jsp") %>'>

+<input type="text" name="role" value="<%= util.HTMLFilter.filter(role) %>">

+</form>

+<br><br>

+

+If you have configured this app for form-based authentication, you can log

+off by clicking

+<a href='<%= response.encodeURL("index.jsp?logoff=true") %>'>here</a>.

+This should cause you to be returned to the logon page after the redirect

+that is performed.

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/security/protected/index.jsp.html b/tomcat-uid/webapps/examples/jsp/security/protected/index.jsp.html
new file mode 100644
index 0000000..b8a9a54
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/security/protected/index.jsp.html
@@ -0,0 +1,83 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;%

+  if (request.getParameter("logoff") != null) {

+    session.invalidate();

+    response.sendRedirect("index.jsp");

+    return;

+  }

+%>

+&lt;html>

+&lt;head>

+&lt;title>Protected Page for Examples&lt;/title>

+&lt;/head>

+&lt;body bgcolor="white">

+

+You are logged in as remote user

+&lt;b>&lt;%= util.HTMLFilter.filter(request.getRemoteUser()) %>&lt;/b>

+in session &lt;b>&lt;%= session.getId() %>&lt;/b>&lt;br>&lt;br>

+

+&lt;%

+  if (request.getUserPrincipal() != null) {

+%>

+    Your user principal name is

+    &lt;b>&lt;%= util.HTMLFilter.filter(request.getUserPrincipal().getName()) %>&lt;/b>

+    &lt;br>&lt;br>

+&lt;%

+  } else {

+%>

+    No user principal could be identified.&lt;br>&lt;br>

+&lt;%

+  }

+%>

+

+&lt;%

+  String role = request.getParameter("role");

+  if (role == null)

+    role = "";

+  if (role.length() > 0) {

+    if (request.isUserInRole(role)) {

+%>

+      You have been granted role

+      &lt;b>&lt;%= util.HTMLFilter.filter(role) %>&lt;/b>&lt;br>&lt;br>

+&lt;%

+    } else {

+%>

+      You have &lt;i>not&lt;/i> been granted role

+      &lt;b>&lt;%= util.HTMLFilter.filter(role) %>&lt;/b>&lt;br>&lt;br>

+&lt;%

+    }

+  }

+%>

+

+To check whether your username has been granted a particular role,

+enter it here:

+&lt;form method="GET" action='&lt;%= response.encodeURL("index.jsp") %>'>

+&lt;input type="text" name="role" value="&lt;%= util.HTMLFilter.filter(role) %>">

+&lt;/form>

+&lt;br>&lt;br>

+

+If you have configured this app for form-based authentication, you can log

+off by clicking

+&lt;a href='&lt;%= response.encodeURL("index.jsp?logoff=true") %>'>here&lt;/a>.

+This should cause you to be returned to the logon page after the redirect

+that is performed.

+

+&lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/security/protected/login.jsp b/tomcat-uid/webapps/examples/jsp/security/protected/login.jsp
new file mode 100644
index 0000000..dc7e50e
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/security/protected/login.jsp
@@ -0,0 +1,38 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+<head>

+<title>Login Page for Examples</title>

+<body bgcolor="white">

+<form method="POST" action='<%= response.encodeURL("j_security_check") %>' >

+  <table border="0" cellspacing="5">

+    <tr>

+      <th align="right">Username:</th>

+      <td align="left"><input type="text" name="j_username"></td>

+    </tr>

+    <tr>

+      <th align="right">Password:</th>

+      <td align="left"><input type="password" name="j_password"></td>

+    </tr>

+    <tr>

+      <td align="right"><input type="submit" value="Log In"></td>

+      <td align="left"><input type="reset"></td>

+    </tr>

+  </table>

+</form>

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/security/protected/login.jsp.html b/tomcat-uid/webapps/examples/jsp/security/protected/login.jsp.html
new file mode 100644
index 0000000..94e16ef
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/security/protected/login.jsp.html
@@ -0,0 +1,40 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;html>

+&lt;head>

+&lt;title>Login Page for Examples&lt;/title>

+&lt;body bgcolor="white">

+&lt;form method="POST" action='&lt;%= response.encodeURL("j_security_check") %>' >

+  &lt;table border="0" cellspacing="5">

+    &lt;tr>

+      &lt;th align="right">Username:&lt;/th>

+      &lt;td align="left">&lt;input type="text" name="j_username">&lt;/td>

+    &lt;/tr>

+    &lt;tr>

+      &lt;th align="right">Password:&lt;/th>

+      &lt;td align="left">&lt;input type="password" name="j_password">&lt;/td>

+    &lt;/tr>

+    &lt;tr>

+      &lt;td align="right">&lt;input type="submit" value="Log In">&lt;/td>

+      &lt;td align="left">&lt;input type="reset">&lt;/td>

+    &lt;/tr>

+  &lt;/table>

+&lt;/form>

+&lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/sessions/DummyCart.html b/tomcat-uid/webapps/examples/jsp/sessions/DummyCart.html
new file mode 100644
index 0000000..317523f
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/sessions/DummyCart.html
@@ -0,0 +1,56 @@
+<HTML>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<HEAD>

+<title>

+sessions.DummyCart Bean Properties

+</title>

+<BODY BGCOLOR="white">

+<H2>

+sessions.DummyCart Bean Properties

+</H2>

+<HR>

+<DL>

+<DT>public class <B>DummyCart</B><DT>extends Object</DL>

+

+<P>

+<HR>

+

+<P>

+

+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0">

+<TR BGCOLOR="#EEEEFF">

+<TD COLSPAN=3><FONT SIZE="+2">

+<B>Properties Summary</B></FONT></TD>

+</TR>

+<TR BGCOLOR="white">

+<td align="right" valign="top" width="1%">

+<FONT SIZE="-1">

+String

+</FONT></TD>

+<TD><B>DummyCart:items</B>

+<BR>

+       </TD>

+<td width="1%">

+<FONT SIZE="-1">

+Multi

+</FONT></TD>

+</TABLE>

+<HR>

+</BODY>

+</HTML>

diff --git a/tomcat-uid/webapps/examples/jsp/sessions/carts.html b/tomcat-uid/webapps/examples/jsp/sessions/carts.html
new file mode 100644
index 0000000..fe7dbb5
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/sessions/carts.html
@@ -0,0 +1,53 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<head>

+    <title>carts</title>

+</head>

+

+ <body bgcolor="white">

+<font size = 5 color="#CC0000">

+

+<form type=POST action=carts.jsp>

+<BR>

+Please enter item to add or remove:

+<br>

+Add Item:

+

+<SELECT NAME="item">

+<OPTION>Beavis & Butt-head Video collection

+<OPTION>X-files movie

+<OPTION>Twin peaks tapes

+<OPTION>NIN CD

+<OPTION>JSP Book

+<OPTION>Concert tickets

+<OPTION>Love life

+<OPTION>Switch blade

+<OPTION>Rex, Rugs & Rock n' Roll

+</SELECT>

+

+

+<br> <br>

+<INPUT TYPE=submit name="submit" value="add">

+<INPUT TYPE=submit name="submit" value="remove">

+

+</form>

+       

+</FONT>

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/sessions/carts.jsp b/tomcat-uid/webapps/examples/jsp/sessions/carts.jsp
new file mode 100644
index 0000000..e84170a
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/sessions/carts.jsp
@@ -0,0 +1,44 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<jsp:useBean id="cart" scope="session" class="sessions.DummyCart" />

+

+<jsp:setProperty name="cart" property="*" />

+<%

+	cart.processRequest();

+%>

+

+

+<FONT size = 5 COLOR="#CC0000">

+<br> You have the following items in your cart:

+<ol>

+<% 

+	String[] items = cart.getItems();

+	for (int i=0; i<items.length; i++) {

+%>

+<li> <% out.print(util.HTMLFilter.filter(items[i])); %> 

+<%

+	}

+%>

+</ol>

+

+</FONT>

+

+<hr>

+<%@ include file ="carts.html" %>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/sessions/carts.jsp.html b/tomcat-uid/webapps/examples/jsp/sessions/carts.jsp.html
new file mode 100644
index 0000000..92d40c9
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/sessions/carts.jsp.html
@@ -0,0 +1,46 @@
+<html><body><pre>

+&lt;html>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+&lt;jsp:useBean id="cart" scope="session" class="sessions.DummyCart" />

+

+&lt;jsp:setProperty name="cart" property="*" />

+&lt;%

+	cart.processRequest();

+%>

+

+

+&lt;FONT size = 5 COLOR="#CC0000">

+&lt;br> You have the following items in your cart:

+&lt;ol>

+&lt;% 

+	String[] items = cart.getItems();

+	for (int i=0; i&lt;items.length; i++) {

+%>

+&lt;li> &lt;% out.print(util.HTMLFilter.filter(items[i])); %> 

+&lt;%

+	}

+%>

+&lt;/ol>

+

+&lt;/FONT>

+

+&lt;hr>

+&lt;%@ include file ="carts.html" %>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/sessions/crt.html b/tomcat-uid/webapps/examples/jsp/sessions/crt.html
new file mode 100644
index 0000000..28804e9
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/sessions/crt.html
@@ -0,0 +1,34 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="carts.html"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="carts.jsp.html">Source Code for Cart Example<font color="#0000FF"></a>

+  </font> </h3>

+

+<h3><a href="DummyCart.html">Property Sheet for DummyCart

+<font color="#0000FF"></a> </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/simpletag/foo.html b/tomcat-uid/webapps/examples/jsp/simpletag/foo.html
new file mode 100644
index 0000000..334b6bc
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/simpletag/foo.html
@@ -0,0 +1,30 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="foo.jsp"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="foo.jsp.html">Source Code for the Simple Tag Example<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/simpletag/foo.jsp b/tomcat-uid/webapps/examples/jsp/simpletag/foo.jsp
new file mode 100644
index 0000000..19ff087
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/simpletag/foo.jsp
@@ -0,0 +1,38 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<body>

+<%@ taglib uri="http://tomcat.apache.org/examples-taglib" prefix="eg"%>

+

+Radio stations that rock:

+

+<ul>

+<eg:foo att1="98.5" att2="92.3" att3="107.7">

+<li><%= member %></li>

+</eg:foo>

+</ul>

+

+<eg:log>

+Did you see me on the stderr window?

+</eg:log>

+

+<eg:log toBrowser="true">

+Did you see me on the browser window as well?

+</eg:log>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/simpletag/foo.jsp.html b/tomcat-uid/webapps/examples/jsp/simpletag/foo.jsp.html
new file mode 100644
index 0000000..ce7fb97
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/simpletag/foo.jsp.html
@@ -0,0 +1,40 @@
+<html><body><pre>

+&lt;html>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;body>

+&lt;%@ taglib uri="http://tomcat.apache.org/examples-taglib" prefix="eg"%>

+

+Radio stations that rock:

+

+&lt;ul>

+&lt;eg:foo att1="98.5" att2="92.3" att3="107.7">

+&lt;li>&lt;%= member %>&lt;/li>

+&lt;/eg:foo>

+&lt;/ul>

+

+&lt;eg:log>

+Did you see me on the stderr window?

+&lt;/eg:log>

+

+&lt;eg:log toBrowser="true">

+Did you see me on the browser window as well?

+&lt;/eg:log>

+

+&lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/snp/snoop.html b/tomcat-uid/webapps/examples/jsp/snp/snoop.html
new file mode 100644
index 0000000..c00aca7
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/snp/snoop.html
@@ -0,0 +1,31 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="snoop.jsp"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="snoop.jsp.html">Source Code for Request Parameters Example<font color="#0000FF">

+  </font></a></h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/snp/snoop.jsp b/tomcat-uid/webapps/examples/jsp/snp/snoop.jsp
new file mode 100644
index 0000000..06a3830
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/snp/snoop.jsp
@@ -0,0 +1,57 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<body bgcolor="white">

+<h1> Request Information </h1>

+<font size="4">

+JSP Request Method: <%= util.HTMLFilter.filter(request.getMethod()) %>

+<br>

+Request URI: <%= util.HTMLFilter.filter(request.getRequestURI()) %>

+<br>

+Request Protocol: <%= util.HTMLFilter.filter(request.getProtocol()) %>

+<br>

+Servlet path: <%= util.HTMLFilter.filter(request.getServletPath()) %>

+<br>

+Path info: <%= util.HTMLFilter.filter(request.getPathInfo()) %>

+<br>

+Query string: <%= util.HTMLFilter.filter(request.getQueryString()) %>

+<br>

+Content length: <%= request.getContentLength() %>

+<br>

+Content type: <%= util.HTMLFilter.filter(request.getContentType()) %>

+<br>

+Server name: <%= util.HTMLFilter.filter(request.getServerName()) %>

+<br>

+Server port: <%= request.getServerPort() %>

+<br>

+Remote user: <%= util.HTMLFilter.filter(request.getRemoteUser()) %>

+<br>

+Remote address: <%= util.HTMLFilter.filter(request.getRemoteAddr()) %>

+<br>

+Remote host: <%= util.HTMLFilter.filter(request.getRemoteHost()) %>

+<br>

+Authorization scheme: <%= util.HTMLFilter.filter(request.getAuthType()) %> 

+<br>

+Locale: <%= request.getLocale() %>

+<hr>

+The browser you are using is

+<%= util.HTMLFilter.filter(request.getHeader("User-Agent")) %>

+<hr>

+</font>

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/snp/snoop.jsp.html b/tomcat-uid/webapps/examples/jsp/snp/snoop.jsp.html
new file mode 100644
index 0000000..13025fb
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/snp/snoop.jsp.html
@@ -0,0 +1,59 @@
+<html><body><pre>

+&lt;html>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+&lt;body bgcolor="white">

+&lt;h1> Request Information &lt;/h1>

+&lt;font size="4">

+JSP Request Method: &lt;%= util.HTMLFilter.filter(request.getMethod()) %>

+&lt;br>

+Request URI: &lt;%= util.HTMLFilter.filter(request.getRequestURI()) %>

+&lt;br>

+Request Protocol: &lt;%= util.HTMLFilter.filter(request.getProtocol()) %>

+&lt;br>

+Servlet path: &lt;%= util.HTMLFilter.filter(request.getServletPath()) %>

+&lt;br>

+Path info: &lt;%= util.HTMLFilter.filter(request.getPathInfo()) %>

+&lt;br>

+Query string: &lt;%= util.HTMLFilter.filter(request.getQueryString()) %>

+&lt;br>

+Content length: &lt;%= request.getContentLength() %>

+&lt;br>

+Content type: &lt;%= util.HTMLFilter.filter(request.getContentType()) %>

+&lt;br>

+Server name: &lt;%= util.HTMLFilter.filter(request.getServerName()) %>

+&lt;br>

+Server port: &lt;%= request.getServerPort() %>

+&lt;br>

+Remote user: &lt;%= util.HTMLFilter.filter(request.getRemoteUser()) %>

+&lt;br>

+Remote address: &lt;%= util.HTMLFilter.filter(request.getRemoteAddr()) %>

+&lt;br>

+Remote host: &lt;%= util.HTMLFilter.filter(request.getRemoteHost()) %>

+&lt;br>

+Authorization scheme: &lt;%= util.HTMLFilter.filter(request.getAuthType()) %> 

+&lt;br>

+Locale: &lt;%= request.getLocale() %>

+&lt;hr>

+The browser you are using is

+&lt;%= util.HTMLFilter.filter(request.getHeader("User-Agent")) %>

+&lt;hr>

+&lt;/font>

+&lt;/body>

+&lt;/html>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/source.jsp b/tomcat-uid/webapps/examples/jsp/source.jsp
new file mode 100644
index 0000000..efa329a
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/source.jsp
@@ -0,0 +1,20 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<%@ taglib uri="http://tomcat.apache.org/examples-taglib"

+        prefix="eg" %>

+

+<eg:ShowSource jspFile="<%= util.HTMLFilter.filter(request.getQueryString()) %>"/>

diff --git a/tomcat-uid/webapps/examples/jsp/source.jsp.html b/tomcat-uid/webapps/examples/jsp/source.jsp.html
new file mode 100644
index 0000000..841dd3f
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/source.jsp.html
@@ -0,0 +1,22 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;%@ taglib uri="http://tomcat.apache.org/examples-taglib"

+        prefix="eg" %>

+

+&lt;eg:ShowSource jspFile="&lt;%= util.HTMLFilter.filter(request.getQueryString()) %>"/>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/tagplugin/choose.html b/tomcat-uid/webapps/examples/jsp/tagplugin/choose.html
new file mode 100644
index 0000000..fdec617
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/tagplugin/choose.html
@@ -0,0 +1,36 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+<head>

+<title>View Source Code</title>

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF">

+  <a href="choose.jsp">

+    <img src="../images/execute.gif" align="right" border="0"></a>

+  <a href="../index.html">

+    <img src="../images/return.gif" width="24" height="24" align="right" border="0">

+  </a></font>

+</p>

+

+<h3>

+  <a href="choose.jsp.html">Source Code for choose.jsp<font color="#0000FF"/></a>

+</h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/tagplugin/choose.jsp b/tomcat-uid/webapps/examples/jsp/tagplugin/choose.jsp
new file mode 100644
index 0000000..2427249
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/tagplugin/choose.jsp
@@ -0,0 +1,58 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+  <head>

+    <title>Tag Examples - choose</title>

+  </head>

+  <body>

+    <h1>Tag Plugin Examples - &lt;c:choose></h1>

+

+    <hr>

+    </br>

+    <a href="notes.html">Plugin Introductory Notes<font <font color="#0000FF"></

+a>

+    <br/>

+    <a href="howto.html">Brief Instructions for Writing Plugins<font color="#000

+0

+FF"></a>

+    <br/> <br/>

+    <hr>

+

+    <font color="#000000"/>

+    </br>

+

+    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

+

+    <c:forEach var="index" begin="0" end="4">

+      # ${index}: 

+      <c:choose>

+	<c:when test="${index == 1}">

+          One!</br>

+	</c:when>

+	<c:when test="${index == 4}">

+          Four!</br>

+	</c:when>

+	<c:when test="${index == 3}">

+          Three!</br>

+	</c:when>

+	<c:otherwise>

+          Huh?</br>

+	</c:otherwise>

+      </c:choose>

+    </c:forEach>

+  </body>

+</html> 

diff --git a/tomcat-uid/webapps/examples/jsp/tagplugin/choose.jsp.html b/tomcat-uid/webapps/examples/jsp/tagplugin/choose.jsp.html
new file mode 100644
index 0000000..d95ab00
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/tagplugin/choose.jsp.html
@@ -0,0 +1,60 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;html>

+  &lt;head>

+    &lt;title>Tag Examples - choose&lt;/title>

+  &lt;/head>

+  &lt;body>

+    &lt;h1>Tag Plugin Examples - &amp;lt;c:choose>&lt;/h1>

+

+    &lt;hr>

+    &lt;/br>

+    &lt;a href="notes.html">Plugin Introductory Notes&lt;font &lt;font color="#0000FF">&lt;/

+a>

+    &lt;br/>

+    &lt;a href="howto.html">Brief Instructions for Writing Plugins&lt;font color="#000

+0

+FF">&lt;/a>

+    &lt;br/> &lt;br/>

+    &lt;hr>

+

+    &lt;font color="#000000"/>

+    &lt;/br>

+

+    &lt;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

+

+    &lt;c:forEach var="index" begin="0" end="4">

+      # ${index}: 

+      &lt;c:choose>

+	&lt;c:when test="${index == 1}">

+          One!&lt;/br>

+	&lt;/c:when>

+	&lt;c:when test="${index == 4}">

+          Four!&lt;/br>

+	&lt;/c:when>

+	&lt;c:when test="${index == 3}">

+          Three!&lt;/br>

+	&lt;/c:when>

+	&lt;c:otherwise>

+          Huh?&lt;/br>

+	&lt;/c:otherwise>

+      &lt;/c:choose>

+    &lt;/c:forEach>

+  &lt;/body>

+&lt;/html> 

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/tagplugin/foreach.html b/tomcat-uid/webapps/examples/jsp/tagplugin/foreach.html
new file mode 100644
index 0000000..f1a9c1d
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/tagplugin/foreach.html
@@ -0,0 +1,36 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+<head>

+<title>View Source Code</title>

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF">

+  <a href="foreach.jsp">

+    <img src="../images/execute.gif" align="right" border="0"></a>

+  <a href="../index.html">

+    <img src="../images/return.gif" width="24" height="24" align="right" border="0">

+  </a></font>

+</p>

+

+<h3>

+  <a href="foreach.jsp.html">Source Code for foreach.jsp<font color="#0000FF"/></a>

+</h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/tagplugin/foreach.jsp b/tomcat-uid/webapps/examples/jsp/tagplugin/foreach.jsp
new file mode 100644
index 0000000..135d5ed
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/tagplugin/foreach.jsp
@@ -0,0 +1,57 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+  <head>

+    <title>Tag Plugin Examples: forEach</title>

+  </head>

+  <body>

+    <h1>Tag Plugin Examples - &lt;c:forEach></h1>

+

+    <hr>

+    </br>

+    <a href="notes.html">Plugin Introductory Notes<font <font color="#0000FF"></

+a>

+    <br/>

+    <a href="howto.html">Brief Instructions for Writing Plugins<font color="#0000

+FF"></a>

+    <br/> <br/>

+    <hr>

+

+    <font color="#000000"/>

+    </br>

+

+    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

+    <%@ page import="java.util.Vector" %>

+

+    <h3>Iterating over a range</h3>

+    <c:forEach var="item" begin="1" end="10">

+        ${item}

+    </c:forEach>

+

+    <% Vector v = new Vector();

+	v.add("One"); v.add("Two"); v.add("Three"); v.add("Four");

+

+	pageContext.setAttribute("vector", v);

+    %>

+

+    <h3>Iterating over a Vector</h3>

+

+    <c:forEach items="${vector}" var="item" >

+	${item}

+    </c:forEach>

+  </body>

+</html> 

diff --git a/tomcat-uid/webapps/examples/jsp/tagplugin/foreach.jsp.html b/tomcat-uid/webapps/examples/jsp/tagplugin/foreach.jsp.html
new file mode 100644
index 0000000..1d153c1
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/tagplugin/foreach.jsp.html
@@ -0,0 +1,59 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;html>

+  &lt;head>

+    &lt;title>Tag Plugin Examples: forEach&lt;/title>

+  &lt;/head>

+  &lt;body>

+    &lt;h1>Tag Plugin Examples - &amp;lt;c:forEach>&lt;/h1>

+

+    &lt;hr>

+    &lt;/br>

+    &lt;a href="notes.html">Plugin Introductory Notes&lt;font &lt;font color="#0000FF">&lt;/

+a>

+    &lt;br/>

+    &lt;a href="howto.html">Brief Instructions for Writing Plugins&lt;font color="#0000

+FF">&lt;/a>

+    &lt;br/> &lt;br/>

+    &lt;hr>

+

+    &lt;font color="#000000"/>

+    &lt;/br>

+

+    &lt;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

+    &lt;%@ page import="java.util.Vector" %>

+

+    &lt;h3>Iterating over a range&lt;/h3>

+    &lt;c:forEach var="item" begin="1" end="10">

+        ${item}

+    &lt;/c:forEach>

+

+    &lt;% Vector v = new Vector();

+	v.add("One"); v.add("Two"); v.add("Three"); v.add("Four");

+

+	pageContext.setAttribute("vector", v);

+    %>

+

+    &lt;h3>Iterating over a Vector&lt;/h3>

+

+    &lt;c:forEach items="${vector}" var="item" >

+	${item}

+    &lt;/c:forEach>

+  &lt;/body>

+&lt;/html> 

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/tagplugin/howto.html b/tomcat-uid/webapps/examples/jsp/tagplugin/howto.html
new file mode 100644
index 0000000..02e746d
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/tagplugin/howto.html
@@ -0,0 +1,45 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+  <head>

+    <title>Tag Plugin Implementation</title>

+  </head>

+  <body>

+    <h2>How to write tag plugins</h2>

+    <p>

+      To write a plugin, you'll need to download the source for Tomcat 5.

+      There are two steps:

+    <ol>

+      <li>

+        Implement the plugin class.<p/>

+        This class, which implements 

+        <tt>org.apache.jasper.compiler.tagplugin.TagPlugin</tt>

+        instructs Jasper what Java codes to generate in place of the tag

+        handler calls.

+        See Javadoc for <tt>org.apache.jasper.compiler.tagplugin.TagPlugin</tt>

+        for details.

+      </li>

+

+      <li>

+        Create the plugin descriptor file <tt> WEB-INF/tagPlugins.xml</tt><p/>

+        This file

+        specifies the plugin classes and their corresponding tag handler

+        classes.

+      </li>

+    </ol>

+  </body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/tagplugin/if.html b/tomcat-uid/webapps/examples/jsp/tagplugin/if.html
new file mode 100644
index 0000000..a338e17
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/tagplugin/if.html
@@ -0,0 +1,36 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+<head>

+<title>View Source Code</title>

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF">

+  <a href="if.jsp">

+    <img src="../images/execute.gif" align="right" border="0"></a>

+  <a href="../index.html">

+    <img src="../images/return.gif" width="24" height="24" align="right" border="0">

+  </a></font>

+</p>

+

+<h3>

+  <a href="if.jsp.html">Source Code for if.jsp<font color="#0000FF"/></a>

+</h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/tagplugin/if.jsp b/tomcat-uid/webapps/examples/jsp/tagplugin/if.jsp
new file mode 100644
index 0000000..ad9414a
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/tagplugin/if.jsp
@@ -0,0 +1,45 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+  <head>

+    <title>Tag Plugin Examples: if</title>

+  </head>

+  <body>

+    <h1>Tag Plugin Examples - &lt;c:if></h1>

+

+    <hr>

+    </br>

+    <a href="notes.html">Plugin Introductory Notes<font <font color="#0000FF"></a>

+    <br/>

+    <a href="howto.html">Brief Instructions for Writing Plugins<font color="#0000FF"></a>

+    <br/> <br/>

+    <hr>

+

+    <font color="#000000"/>

+    </br>

+    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

+

+    <h3>Set the test result to a variable</h3>

+    <c:if test="${1==1}" var="theTruth" scope="session"/>

+    The result of testing for (1==1) is: ${theTruth}

+

+    <h3>Conditionally execute the body</h3>

+    <c:if test="${2>0}">

+	It's true that (2>0)!

+    </c:if>

+  </body>

+</html> 

diff --git a/tomcat-uid/webapps/examples/jsp/tagplugin/if.jsp.html b/tomcat-uid/webapps/examples/jsp/tagplugin/if.jsp.html
new file mode 100644
index 0000000..efcefe4
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/tagplugin/if.jsp.html
@@ -0,0 +1,47 @@
+<html><body><pre>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;html>

+  &lt;head>

+    &lt;title>Tag Plugin Examples: if&lt;/title>

+  &lt;/head>

+  &lt;body>

+    &lt;h1>Tag Plugin Examples - &amp;lt;c:if>&lt;/h1>

+

+    &lt;hr>

+    &lt;/br>

+    &lt;a href="notes.html">Plugin Introductory Notes&lt;font &lt;font color="#0000FF">&lt;/a>

+    &lt;br/>

+    &lt;a href="howto.html">Brief Instructions for Writing Plugins&lt;font color="#0000FF">&lt;/a>

+    &lt;br/> &lt;br/>

+    &lt;hr>

+

+    &lt;font color="#000000"/>

+    &lt;/br>

+    &lt;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

+

+    &lt;h3>Set the test result to a variable&lt;/h3>

+    &lt;c:if test="${1==1}" var="theTruth" scope="session"/>

+    The result of testing for (1==1) is: ${theTruth}

+

+    &lt;h3>Conditionally execute the body&lt;/h3>

+    &lt;c:if test="${2>0}">

+	It's true that (2>0)!

+    &lt;/c:if>

+  &lt;/body>

+&lt;/html> 

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/jsp/tagplugin/notes.html b/tomcat-uid/webapps/examples/jsp/tagplugin/notes.html
new file mode 100644
index 0000000..281a74c
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/tagplugin/notes.html
@@ -0,0 +1,41 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+  <head>

+    <title>Tag Plugin Introduction</title>

+  </head>

+  <body>

+    <h2>Tag Plugins: Introductory Notes</h2>

+    <p>

+      Tomcat 5 provides a framework for implementing tag plugins.  The

+      plugins instruct Jasper, at translation time, to replace tag handler

+      calls with Java scriptlets.

+      The framework allows tag library authors to implement plugins for

+      their tags.

+    </p>

+    <p>

+      Tomcat 5 is released with plugins for several JSTL tags.  Note

+      that these plugins work with JSTL 1.1 as well as JSTL 1.0, though

+      the examples uses JSTL 1.1 and JSP 2.0.  

+      These plugins are not complete (for instance, some item types not

+      handled in &lt;c:if>).

+      They do serve as examples to show plugins in action (just

+      examine the generated Java files), and how they can be implemented.

+    </p>

+  </body>

+</html>

+

diff --git a/tomcat-uid/webapps/examples/jsp/xml/xml.html b/tomcat-uid/webapps/examples/jsp/xml/xml.html
new file mode 100644
index 0000000..80907a5
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/xml/xml.html
@@ -0,0 +1,31 @@
+<html>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="xml.jsp"><img src="../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img src="../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+

+<h3><a href="xml.jsp.html">Source Code for XML syntax Example<font color="#0000FF"></a>

+  </font> </h3>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/jsp/xml/xml.jsp b/tomcat-uid/webapps/examples/jsp/xml/xml.jsp
new file mode 100644
index 0000000..e7ff43b
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/xml/xml.jsp
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"

+  version="1.2">

+<jsp:directive.page contentType="text/html"/>

+<jsp:directive.page import="java.util.Date, java.util.Locale"/>

+<jsp:directive.page import="java.text.*"/>

+

+<jsp:declaration>

+  String getDateTimeStr(Locale l) {

+    DateFormat df = SimpleDateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM, l);

+    return df.format(new Date());

+  }

+</jsp:declaration>

+

+<html>

+<head>

+  <title>Example JSP in XML format</title>

+</head>

+

+<body>

+This is the output of a simple JSP using XML format. 

+<br />

+

+<div>Use a jsp:scriptlet to loop from 1 to 10: </div>

+<jsp:scriptlet>

+// Note we need to declare CDATA because we don't escape the less than symbol

+<![CDATA[

+  for (int i = 1; i<=10; i++) {

+    out.println(i);

+    if (i < 10) {

+      out.println(", ");

+    }

+  }

+]]>

+</jsp:scriptlet>

+

+<!-- Because I omit br's end tag, declare it as CDATA -->

+<![CDATA[

+  <br><br>

+]]>

+

+<div align="left">

+  Use a jsp:expression to write the date and time in the browser's locale: 

+  <jsp:expression>getDateTimeStr(request.getLocale())</jsp:expression>

+</div>

+

+

+<jsp:text>

+  &lt;p&gt;This sentence is enclosed in a jsp:text element.&lt;/p&gt;

+</jsp:text>

+

+</body>

+</html>

+</jsp:root>

diff --git a/tomcat-uid/webapps/examples/jsp/xml/xml.jsp.html b/tomcat-uid/webapps/examples/jsp/xml/xml.jsp.html
new file mode 100644
index 0000000..00d2980
--- /dev/null
+++ b/tomcat-uid/webapps/examples/jsp/xml/xml.jsp.html
@@ -0,0 +1,72 @@
+<html><body><pre>

+&lt;?xml version="1.0"?>

+&lt;!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+&lt;jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"

+  version="1.2">

+&lt;jsp:directive.page contentType="text/html"/>

+&lt;jsp:directive.page import="java.util.Date, java.util.Locale"/>

+&lt;jsp:directive.page import="java.text.*"/>

+

+&lt;jsp:declaration>

+  String getDateTimeStr(Locale l) {

+    DateFormat df = SimpleDateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM, l);

+    return df.format(new Date());

+  }

+&lt;/jsp:declaration>

+

+&lt;html>

+&lt;head>

+  &lt;title>Example JSP in XML format&lt;/title>

+&lt;/head>

+

+&lt;body>

+This is the output of a simple JSP using XML format. 

+&lt;br />

+

+&lt;div>Use a jsp:scriptlet to loop from 1 to 10: &lt;/div>

+&lt;jsp:scriptlet>

+// Note we need to declare CDATA because we don't escape the less than symbol

+&lt;![CDATA[

+  for (int i = 1; i&lt;=10; i++) {

+    out.println(i);

+    if (i &lt; 10) {

+      out.println(", ");

+    }

+  }

+]]>

+&lt;/jsp:scriptlet>

+

+&lt;!-- Because I omit br's end tag, declare it as CDATA -->

+&lt;![CDATA[

+  &lt;br>&lt;br>

+]]>

+

+&lt;div align="left">

+  Use a jsp:expression to write the date and time in the browser's locale: 

+  &lt;jsp:expression>getDateTimeStr(request.getLocale())&lt;/jsp:expression>

+&lt;/div>

+

+

+&lt;jsp:text>

+  &amp;lt;p&amp;gt;This sentence is enclosed in a jsp:text element.&amp;lt;/p&amp;gt;

+&lt;/jsp:text>

+

+&lt;/body>

+&lt;/html>

+&lt;/jsp:root>

+</pre></body></html>

diff --git a/tomcat-uid/webapps/examples/servlets/cookies.html b/tomcat-uid/webapps/examples/servlets/cookies.html
new file mode 100644
index 0000000..659a26d
--- /dev/null
+++ b/tomcat-uid/webapps/examples/servlets/cookies.html
@@ -0,0 +1,61 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="servlet/CookieExample"><img src="images/execute.gif" align="right" border="0"></a><a href="index.html"><img src="images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+<h3>Source Code for Cookie Example<font color="#0000FF"><br>

+  </font> </h3>

+<font color="#0000FF"></font> 

+<pre><font color="#0000FF">import</font> java.io.*;

+<font color="#0000FF">import</font> javax.servlet.*;

+<font color="#0000FF">import</font> javax.servlet.http.*;

+

+<font color="#0000FF">public class</font> CookieExample <font color="#0000FF">extends</font> HttpServlet {

+

+    <font color="#0000FF">public void</font> doGet(HttpServletRequest request, HttpServletResponse response)

+    <font color="#0000FF">throws</font> IOException, ServletException

+    {

+        response.setContentType(&quot;<font color="#009900">text/html</font>&quot;);

+        PrintWriter out = response.getWriter();

+        

+        <font color="#CC0000">// print out cookies</font>

+

+        Cookie[] cookies = request.getCookies();

+        for (int i = 0; i &lt; cookies.length; i++) {

+            Cookie c = cookies[i];

+            String name = c.getName();

+            String value = c.getValue();

+            out.println(name + &quot;<font color="#009900"> = </font>&quot; + value);

+        }

+

+        <font color="#CC0000">// set a cookie</font>

+

+        String name = request.getParameter(&quot;<font color="#009900">cookieName</font>&quot;);

+        if (name != null &amp;&amp; name.length() &gt; 0) {

+            String value = request.getParameter(&quot;<font color="#009900">cookieValue</font>&quot;);

+            Cookie c = new Cookie(name, value);

+            response.addCookie(c);

+        }

+    }

+}</pre>

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/servlets/helloworld.html b/tomcat-uid/webapps/examples/servlets/helloworld.html
new file mode 100644
index 0000000..e30810a
--- /dev/null
+++ b/tomcat-uid/webapps/examples/servlets/helloworld.html
@@ -0,0 +1,50 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="servlet/HelloWorldExample"><img src="images/execute.gif" align="right" border="0"></a><a href="index.html"><img src="images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+<h3>Source Code for HelloWorld Example<font color="#0000FF"><br>

+  </font> </h3>

+<font color="#0000FF"></font>

+<pre><font color="#0000FF">import</font> java.io.*;

+<font color="#0000FF">import</font> javax.servlet.*;

+<font color="#0000FF">import</font> javax.servlet.http.*;

+

+<font color="#0000FF">public class</font> HelloWorld <font color="#0000FF">extends</font> HttpServlet {

+

+    <font color="#0000FF">public void</font> doGet(HttpServletRequest request, HttpServletResponse response)

+    <font color="#0000FF">throws</font> IOException, ServletException

+    {

+        response.setContentType(&quot;<font color="#009900">text/html</font>&quot;);

+        PrintWriter out = response.getWriter();

+        out.println(&quot;<font color="#009900">&lt;html&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;head&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;title&gt;Hello World!&lt;/title&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;/head&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;body&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;h1&gt;Hello World!&lt;/h1&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;/body&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;/html&gt;</font>&quot;);

+    }

+}</pre>

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/servlets/images/code.gif b/tomcat-uid/webapps/examples/servlets/images/code.gif
new file mode 100644
index 0000000..93af2cd
--- /dev/null
+++ b/tomcat-uid/webapps/examples/servlets/images/code.gif
Binary files differ
diff --git a/tomcat-uid/webapps/examples/servlets/images/execute.gif b/tomcat-uid/webapps/examples/servlets/images/execute.gif
new file mode 100644
index 0000000..f64d70f
--- /dev/null
+++ b/tomcat-uid/webapps/examples/servlets/images/execute.gif
Binary files differ
diff --git a/tomcat-uid/webapps/examples/servlets/images/return.gif b/tomcat-uid/webapps/examples/servlets/images/return.gif
new file mode 100644
index 0000000..af4f68f
--- /dev/null
+++ b/tomcat-uid/webapps/examples/servlets/images/return.gif
Binary files differ
diff --git a/tomcat-uid/webapps/examples/servlets/index.html b/tomcat-uid/webapps/examples/servlets/index.html
new file mode 100644
index 0000000..b778706
--- /dev/null
+++ b/tomcat-uid/webapps/examples/servlets/index.html
@@ -0,0 +1,121 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

+<html>

+<head>

+   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+   <meta name="GENERATOR" content="Mozilla/4.61 [en] (WinNT; I) [Netscape]">

+   <meta name="Author" content="Anil K. Vijendran">

+   <title>Servlet Examples</title>

+</head>

+<body bgcolor="#FFFFFF">

+<b><font face="Arial, Helvetica, sans-serif"><font size=+2>Servlet

+Examples with Code</font></font></b>

+<p>This is a collection of examples which demonstrate some of the more

+frequently used parts of the Servlet API. Familiarity with the Java(tm)

+Programming Language is assumed.

+<p>These examples will only work when viewed via an http URL. They will

+not work if you are viewing these pages via a "file://..." URL. Please

+refer to the <i>README</i> file provide with this Tomcat release regarding

+how to configure and start the provided web server.

+<p>Wherever you see a form, enter some data and see how the servlet reacts.

+When playing with the Cookie and Session Examples, jump back to the Headers

+Example to see exactly what your browser is sending the server.

+<p>To navigate your way through the examples, the following icons will

+help:

+<br>&nbsp;

+<table BORDER=0 CELLSPACING=5 WIDTH="85%" >

+<tr VALIGN=TOP>

+<td WIDTH="30"><img SRC="images/execute.gif" ></td>

+

+<td>Execute the example</td>

+</tr>

+

+<tr VALIGN=TOP>

+<td WIDTH="30"><img SRC="images/code.gif" height=24 width=24></td>

+

+<td>Look at the source code for the example</td>

+</tr>

+

+<tr VALIGN=TOP>

+<td WIDTH="30"><img SRC="images/return.gif" height=24 width=24></td>

+

+<td>Return to this screen</td>

+</tr>

+</table>

+

+<p>Tip: To see the cookie interactions with your browser, try turning on

+the "notify when setting a cookie" option in your browser preferences.

+This will let you see when a session is created and give some feedback

+when looking at the cookie demo.

+<br>&nbsp;

+<table BORDER=0 CELLSPACING=5 WIDTH="85%" >

+<tr VALIGN=TOP>

+<td>Hello World</td>

+

+<td VALIGN=TOP WIDTH="30%"><a href="servlet/HelloWorldExample"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="servlet/HelloWorldExample">Execute</a></td>

+

+<td WIDTH="30%"><a href="helloworld.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="helloworld.html">Source</a></td>

+</tr>

+

+<tr VALIGN=TOP>

+<td>Request Info</td>

+

+<td WIDTH="30%"><a href="servlet/RequestInfoExample"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="servlet/RequestInfoExample">Execute</a></td>

+

+<td WIDTH="30%"><a href="reqinfo.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="reqinfo.html">Source</a></td>

+</tr>

+

+<tr VALIGN=TOP>

+<td>Request Headers</td>

+

+<td WIDTH="30%"><a href="servlet/RequestHeaderExample"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="servlet/RequestHeaderExample">Execute</a></td>

+

+<td WIDTH="30%"><a href="reqheaders.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="reqheaders.html">Source</a></td>

+</tr>

+

+<tr VALIGN=TOP>

+<td>Request Parameters</td>

+

+<td WIDTH="30%"><a href="servlet/RequestParamExample"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="servlet/RequestParamExample">Execute</a></td>

+

+<td WIDTH="30%"><a href="reqparams.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="reqparams.html">Source</a></td>

+</tr>

+

+<tr VALIGN=TOP>

+<td>Cookies</td>

+

+<td WIDTH="30%"><a href="servlet/CookieExample"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="servlet/CookieExample">Execute</a></td>

+

+<td WIDTH="30%"><a href="cookies.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="cookies.html">Source</a></td>

+</tr>

+

+<tr VALIGN=TOP>

+<td>Sessions</td>

+

+<td WIDTH="30%"><a href="servlet/SessionExample"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="servlet/SessionExample">Execute</a></td>

+

+<td WIDTH="30%"><a href="sessions.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="sessions.html">Source</a></td>

+</tr>

+</table>

+

+<p>Note: The source code for these examples does not contain all of the

+source code that is actually in the example, only the important sections

+of code. Code not important to understand the example has been removed

+for clarity.

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/servlets/reqheaders.html b/tomcat-uid/webapps/examples/servlets/reqheaders.html
new file mode 100644
index 0000000..4cb80c2
--- /dev/null
+++ b/tomcat-uid/webapps/examples/servlets/reqheaders.html
@@ -0,0 +1,49 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="servlet/RequestHeaderExample"><img src="images/execute.gif" align="right" border="0"></a><a href="index.html"><img src="images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+<h3>Source Code for RequestHeader Example<font color="#0000FF"><br>

+  </font> </h3>

+<font color="#0000FF"></font>

+<pre><font color="#0000FF">import</font> java.io.*;

+<font color="#0000FF">import</font> java.util.*;

+<font color="#0000FF">import</font> javax.servlet.*;

+<font color="#0000FF">import</font> javax.servlet.http.*;

+

+<font color="#0000FF">public class</font> RequestHeaderExample <font color="#0000FF">extends</font> HttpServlet {

+

+    <font color="#0000FF">public void</font> doGet(HttpServletRequest request, HttpServletResponse response)

+    <font color="#0000FF">throws</font> IOException, ServletException

+    {

+        response.setContentType(&quot;<font color="#009900">text/html</font>&quot;);

+        PrintWriter out = response.getWriter();

+        Enumeration e = request.getHeaderNames();

+        while (e.hasMoreElements()) {

+            String name = (String)e.nextElement();

+            String value = request.getHeader(name);

+            out.println(name + &quot;<font color="#009900"> = </font>&quot; + value);

+        }

+    }

+}</pre>

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/servlets/reqinfo.html b/tomcat-uid/webapps/examples/servlets/reqinfo.html
new file mode 100644
index 0000000..4ac664b
--- /dev/null
+++ b/tomcat-uid/webapps/examples/servlets/reqinfo.html
@@ -0,0 +1,68 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="servlet/RequestInfoExample"><img src="images/execute.gif" align="right" border="0"></a><a href="index.html"><img src="images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+<h3>Source Code for Request Info Example<font color="#0000FF"><br>

+  </font> </h3>

+<font color="#0000FF"></font> 

+<pre><font color="#0000FF">import</font> java.io.*;

+<font color="#0000FF">import</font> javax.servlet.*;

+<font color="#0000FF">import</font> javax.servlet.http.*;

+

+<font color="#0000FF">public class</font> RequestInfo <font color="#0000FF">extends</font> HttpServlet {

+

+    <font color="#0000FF">public void</font> doGet(HttpServletRequest request, HttpServletResponse response)

+    <font color="#0000FF">throws</font> IOException, ServletException

+    {

+        response.setContentType(&quot;<font color="#009900">text/html</font>&quot;);

+        PrintWriter out = response.getWriter();

+        out.println(&quot;<font color="#009900">&lt;html&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;body&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;head&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;title&gt;Request Information Example&lt;/title&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;/head&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;body&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;h3&gt;Request Information Example&lt;/h3&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">Method: </font>&quot; + request.getMethod());

+        out.println(&quot;<font color="#009900">Request URI: </font>&quot; + request.getRequestURI());

+        out.println(&quot;<font color="#009900">Protocol: </font>&quot; + request.getProtocol());

+        out.println(&quot;<font color="#009900">PathInfo: </font>&quot; + request.getPathInfo());

+        out.println(&quot;<font color="#009900">Remote Address: </font>&quot; + request.getRemoteAddr());

+        out.println(&quot;<font color="#009900">&lt;/body&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;/html&gt;</font>&quot;);

+    }

+

+<font color="#FF0000">    /**

+     * We are going to perform the same operations for POST requests

+     * as for GET methods, so this method just sends the request to

+     * the doGet method.

+     */</font>

+

+    <font color="#0000FF">public void</font> doPost(HttpServletRequest request, HttpServletResponse response)

+    <font color="#0000FF">throws</font> IOException, ServletException

+    {

+        doGet(request, response);

+    }

+}</pre>

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/servlets/reqparams.html b/tomcat-uid/webapps/examples/servlets/reqparams.html
new file mode 100644
index 0000000..b0de031
--- /dev/null
+++ b/tomcat-uid/webapps/examples/servlets/reqparams.html
@@ -0,0 +1,78 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="servlet/RequestParamExample"><img src="images/execute.gif" align="right" border="0"></a><a href="index.html"><img src="images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+<h3>Source Code for Request Parameter Example<font color="#0000FF"><br>

+  </font> </h3>

+<font color="#0000FF"></font> 

+<pre><font color="#0000FF">import</font> java.io.*;

+<font color="#0000FF">import</font> java.util.*;

+<font color="#0000FF">import</font> javax.servlet.*;

+<font color="#0000FF">import</font> javax.servlet.http.*;

+

+<font color="#0000FF">public class</font> RequestParamExample <font color="#0000FF">extends</font> HttpServlet {

+

+    <font color="#0000FF">public void</font> doGet(HttpServletRequest request, HttpServletResponse response)

+    <font color="#0000FF">throws</font> IOException, ServletException

+    {

+        response.setContentType(&quot;<font color="#009900">text/html</font>&quot;);

+        PrintWriter out = response.getWriter();

+        out.println(&quot;<font color="#009900">&lt;html&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;head&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;title&gt;Request Parameters Example&lt;/title&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;/head&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;body&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;h3&gt;Request Parameters Example&lt;/h3&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">Parameters in this request:&lt;br&gt;</font>&quot;);

+        if (firstName != null || lastName != null) {

+            out.println(&quot;<font color="#009900">First Name:</font>&quot;);

+            out.println(&quot;<font color="#009900"> = </font>&quot; + HTMLFilter.filter(firstName) + &quot;<font color="#009900">&lt;br&gt;</font>&quot;);

+            out.println(&quot;<font color="#009900">Last Name:</font>&quot;);

+            out.println(&quot;<font color="#009900"> = </font>&quot; + HTMLFilter.filter(lastName));

+        } else {

+            out.println(&quot;<font color="#009900">No Parameters, Please enter some</font>&quot;);

+        }

+        out.println(&quot;<font color="#009900">&lt;P&gt;</font>&quot;);

+        out.print(&quot;<font color="#009900">&lt;form action=\"</font>&quot;);

+        out.print(&quot;<font color="#009900">RequestParamExample\" </font>&quot;);

+        out.println(&quot;<font color="#009900">method=POST&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">First Name:</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;input type=text size=20 name=firstname&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;br&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">Last Name:</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;input type=text size=20 name=lastname&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;br&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;input type=submit&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;/form&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;/body&gt;</font>&quot;);

+        out.println(&quot;<font color="#009900">&lt;/html&gt;</font>&quot;);

+    }

+

+    <font color="#0000FF">public void</font> doPost(HttpServletRequest request, HttpServletResponse res)

+    <font color="#0000FF">throws</font> IOException, ServletException

+    {

+        doGet(request, response);

+    }

+}</pre>

+</body>

+</html>

diff --git a/tomcat-uid/webapps/examples/servlets/sessions.html b/tomcat-uid/webapps/examples/servlets/sessions.html
new file mode 100644
index 0000000..65fc7fd
--- /dev/null
+++ b/tomcat-uid/webapps/examples/servlets/sessions.html
@@ -0,0 +1,70 @@
+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<html>

+<head>

+<title>Untitled Document</title>

+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

+</head>

+

+<body bgcolor="#FFFFFF">

+<p><font color="#0000FF"><a href="servlet/SessionExample"><img src="images/execute.gif" align="right" border="0"></a><a href="index.html"><img src="images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>

+<h3>Source Code for Session Example<font color="#0000FF"><br>

+  </font> </h3>

+<font color="#0000FF"></font> 

+<pre><font color="#0000FF">import</font> java.io.*;

+<font color="#0000FF">import</font> java.util.*;

+<font color="#0000FF">import</font> javax.servlet.*;

+<font color="#0000FF">import</font> javax.servlet.http.*;

+

+<font color="#0000FF">public class</font> SessionExample <font color="#0000FF">extends</font> HttpServlet {

+

+    <font color="#0000FF">public void</font> doGet(HttpServletRequest request, HttpServletResponse response)

+    <font color="#0000FF">throws</font> IOException, ServletException

+    {

+        response.setContentType(&quot;<font color="#009900">text/html</font>&quot;);

+        PrintWriter out = response.getWriter();

+        

+        HttpSession session = request.getSession(true);

+

+        <font color="#CC0000">// print session info</font>

+

+        Date created = new Date(session.getCreationTime());

+        Date accessed = new Date(session.getLastAccessedTime());

+        out.println(&quot;<font color="#009900">ID </font>&quot; + session.getId());

+        out.println(&quot;<font color="#009900">Created: </font>&quot; + created);

+        out.println(&quot;<font color="#009900">Last Accessed: </font>&quot; + accessed);

+

+        <font color="#CC0000">// set session info if needed</font>

+

+        String dataName = request.getParameter(&quot;<font color="#009900">dataName</font>&quot;);

+        if (dataName != null &amp;&amp; dataName.length() &gt; 0) {

+            String dataValue = request.getParameter(&quot;<font color="#009900">dataValue</font>&quot;);

+            session.setAttribute(dataName, dataValue);

+        }

+

+        // print session contents

+

+        Enumeration e = session.getAttributeNames();

+        while (e.hasMoreElements()) {

+            String name = (String)e.nextElement();

+            String value = session.getAttribute(name).toString();

+            out.println(name + &quot; <font color="#009900">= </font>&quot; + value);

+        }

+    }

+}</pre>

+</body>

+</html>

diff --git a/tomcat-uid/webapps/host-manager/META-INF/context.xml b/tomcat-uid/webapps/host-manager/META-INF/context.xml
new file mode 100644
index 0000000..45da457
--- /dev/null
+++ b/tomcat-uid/webapps/host-manager/META-INF/context.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<Context antiResourceLocking="false" privileged="true" useHttpOnly="true" >

+  <!--

+    Remove the comment markers from around the Valve below to limit access to

+    the host-manager application to clients connecting from localhost

+  -->

+  <!--

+  <Valve className="org.apache.catalina.valves.RemoteAddrValve"

+         allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" />

+  -->

+</Context>

diff --git a/tomcat-uid/webapps/host-manager/WEB-INF/jsp/401.jsp b/tomcat-uid/webapps/host-manager/WEB-INF/jsp/401.jsp
new file mode 100644
index 0000000..c71c9ea
--- /dev/null
+++ b/tomcat-uid/webapps/host-manager/WEB-INF/jsp/401.jsp
@@ -0,0 +1,72 @@
+<%--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+--%>

+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

+<html>

+ <head>

+  <title>401 Unauthorized</title>

+  <style type="text/css">

+    <!--

+    BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;font-size:12px;}

+    H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}

+    PRE, TT {border: 1px dotted #525D76}

+    A {color : black;}A.name {color : black;}

+    -->

+  </style>

+ </head>

+ <body>

+   <h1>401 Unauthorized</h1>

+   <p>

+    You are not authorized to view this page. If you have not changed

+    any configuration files, please examine the file

+    <tt>conf/tomcat-users.xml</tt> in your installation. That

+    file must contain the credentials to let you use this webapp.

+   </p>

+   <p>

+    For example, to add the <tt>admin-gui</tt> role to a user named

+    <tt>tomcat</tt> with a password of <tt>s3cret</tt>, add the following to the

+    config file listed above.

+   </p>

+<pre>

+&lt;role rolename="admin-gui"/&gt;

+&lt;user username="tomcat" password="s3cret" roles="admin-gui"/&gt;

+</pre>

+   <p>

+    Note that for Tomcat 6.0.30 onwards, the roles required to use the host

+    manager application were changed from the single <tt>admin</tt> role to the

+    following two roles. You will need to assign the role(s) required for

+    the functionality you wish to access.

+   </p>

+    <ul>

+      <li><tt>admin-gui</tt> - allows access to the HTML GUI</li>

+      <li><tt>admin-script</tt> - allows access to the text interface</li>

+    </ul>

+   <p>

+    The HTML interface is protected against CSRF but the text interface is not.

+    To maintain the CSRF protection:

+   </p>

+   <ul>

+    <li>The deprecated <tt>admin</tt> role should not be assigned to any

+        user.</li>

+    <li>Users with the <tt>admin-gui</tt> role should not be granted the

+       <tt>admin-script</tt> role.</li>

+    <li>If the text interface is accessed through a browser (e.g. for testing

+        since this interface is intended for tools not humans) then the browser

+        must be closed afterwards to terminate the session.</li>

+   </ul>

+ </body>

+

+</html>

diff --git a/tomcat-uid/webapps/host-manager/WEB-INF/jsp/403.jsp b/tomcat-uid/webapps/host-manager/WEB-INF/jsp/403.jsp
new file mode 100644
index 0000000..569bd29
--- /dev/null
+++ b/tomcat-uid/webapps/host-manager/WEB-INF/jsp/403.jsp
@@ -0,0 +1,87 @@
+<%--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+--%>

+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

+<html>

+ <head>

+  <title>403 Access Denied</title>

+  <style type="text/css">

+    <!--

+    BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;font-size:12px;}

+    H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}

+    PRE, TT {border: 1px dotted #525D76}

+    A {color : black;}A.name {color : black;}

+    -->

+  </style>

+ </head>

+ <body>

+   <h1>403 Access Denied</h1>

+   <p>

+    You are not authorized to view this page.

+   </p>

+   <p>

+    If you have already configured the Host Manager application to allow access

+    and you have used your browser's back button, used a saved book-mark or

+    similar then you may have triggered the cross-site request forgery (CSRF)

+    protection that has been enabled for the HTML interface of the Host Manager

+    application. You will need to reset this protection by returning to the 

+    <a href="<%=request.getContextPath()%>/html">main Host Manager page</a>.

+    Once you return to this page, you will be able to continue using the Host

+    Manager appliction's HTML interface normally. If you continue to see this

+    access denied message, check that you have the necessary permissions to

+    access this application.

+   </p>

+   <p> If you have not changed

+    any configuration files, please examine the file

+    <tt>conf/tomcat-users.xml</tt> in your installation. That

+    file must contain the credentials to let you use this webapp.

+   </p>

+   <p>

+    For example, to add the <tt>admin-gui</tt> role to a user named

+    <tt>tomcat</tt> with a password of <tt>s3cret</tt>, add the following to the

+    config file listed above.

+   </p>

+<pre>

+&lt;role rolename="admin-gui"/&gt;

+&lt;user username="tomcat" password="s3cret" roles="admin-gui"/&gt;

+</pre>

+   <p>

+    Note that for Tomcat 6.0.30 onwards, the roles required to use the host

+    manager application were changed from the single <tt>admin</tt> role to the

+    following two roles. You will need to assign the role(s) required for

+    the functionality you wish to access. Note the <tt>admin</tt> role is still

+    valid but by-passes the CSRF protection.

+   </p>

+    <ul>

+      <li><tt>admin-gui</tt> - allows access to the HTML GUI</li>

+      <li><tt>admin-script</tt> - allows access to the text interface</li>

+    </ul>

+   <p>

+    The HTML interface is protected against CSRF but the text interface is not.

+    To maintain the CSRF protection:

+   </p>

+   <ul>

+    <li>The deprecated <tt>admin</tt> role should not be assigned to any

+        user.</li>

+    <li>Users with the <tt>admin-gui</tt> role should not be granted the

+       <tt>admin-script</tt> role.</li>

+    <li>If the text interface is accessed through a browser (e.g. for testing

+        since this interface is intended for tools not humans) then the browser

+        must be closed afterwards to terminate the session.</li>

+   </ul>

+ </body>

+

+</html>

diff --git a/tomcat-uid/webapps/host-manager/WEB-INF/web.xml b/tomcat-uid/webapps/host-manager/WEB-INF/web.xml
new file mode 100644
index 0000000..101b463
--- /dev/null
+++ b/tomcat-uid/webapps/host-manager/WEB-INF/web.xml
@@ -0,0 +1,163 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>

+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<web-app xmlns="http://java.sun.com/xml/ns/javaee"

+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

+   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"

+   version="2.5"> 

+

+  <display-name>Tomcat Manager Application</display-name>

+  <description>

+    A scriptable management web application for the Tomcat Web Server;

+	Manager lets you view, load/unload/etc particular web applications.

+  </description>

+

+  <servlet>

+    <servlet-name>HostManager</servlet-name>

+    <servlet-class>org.apache.catalina.manager.host.HostManagerServlet</servlet-class>

+    <init-param>

+      <param-name>debug</param-name>

+      <param-value>2</param-value>

+    </init-param>

+  </servlet>

+  <servlet>

+    <servlet-name>HTMLHostManager</servlet-name>

+    <servlet-class>org.apache.catalina.manager.host.HTMLHostManagerServlet</servlet-class>

+    <init-param>

+      <param-name>debug</param-name>

+      <param-value>2</param-value>

+    </init-param>

+  </servlet>

+

+  <!-- Define the Manager Servlet Mapping -->

+  <servlet-mapping>

+    <servlet-name>HostManager</servlet-name>

+    <url-pattern>/list</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>HostManager</servlet-name>

+    <url-pattern>/add</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>HostManager</servlet-name>

+    <url-pattern>/remove</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>HostManager</servlet-name>

+    <url-pattern>/start</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>HostManager</servlet-name>

+    <url-pattern>/stop</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>HTMLHostManager</servlet-name>

+    <url-pattern>/html/*</url-pattern>

+  </servlet-mapping>

+

+  <filter>

+    <filter-name>CSRF</filter-name>

+    <filter-class>org.apache.catalina.filters.CsrfPreventionFilter</filter-class>

+    <init-param>

+      <param-name>entryPoints</param-name>

+      <param-value>/html,/html/list</param-value>

+    </init-param>

+  </filter>

+

+  <filter-mapping>

+    <filter-name>CSRF</filter-name>

+    <servlet-name>HTMLHostManager</servlet-name>

+  </filter-mapping>

+

+  <!-- Define a Security Constraint on this Application -->

+  <security-constraint>

+    <web-resource-collection>

+      <web-resource-name>HostManager commands</web-resource-name>

+      <url-pattern>/list</url-pattern>

+      <url-pattern>/add</url-pattern>

+      <url-pattern>/remove</url-pattern>

+      <url-pattern>/start</url-pattern>

+      <url-pattern>/stop</url-pattern>

+    </web-resource-collection>

+    <auth-constraint>

+       <!-- NOTE: 1. These roles are not present in the default users file

+                  2. The admin role is deprecated, it will be removed in

+                     Tomcat 7.

+                  3. Use the admin-script role to take advantage of the new

+                     CSRF protection. Using the admin role or assigning both

+                     the admin-script and admin-gui roles to the same user

+                     will bypass the CSRF protection. -->

+       <role-name>admin</role-name>

+       <role-name>admin-script</role-name>

+    </auth-constraint>

+  </security-constraint>

+

+  <security-constraint>

+    <web-resource-collection>

+      <web-resource-name>HTMLHostManager commands</web-resource-name>

+      <url-pattern>/html/*</url-pattern>

+    </web-resource-collection>

+    <auth-constraint>

+       <!-- NOTE: 1. These roles are not present in the default users file

+                  2. The admin role is deprecated, it will be removed in

+                     Tomcat 7.

+                  3. Use the admin-gui role to take advantage of the new

+                     CSRF protection. Using the admin role or assigning both

+                     the admin-script and admin-gui roles to the same user

+                     will bypass the CSRF protection. -->

+       <role-name>admin</role-name>

+       <role-name>admin-gui</role-name>

+    </auth-constraint>

+  </security-constraint>

+

+  <!-- Define the Login Configuration for this Application -->

+  <login-config>

+    <auth-method>BASIC</auth-method>

+    <realm-name>Tomcat Host Manager Application</realm-name>

+  </login-config>

+

+  <!-- Security roles referenced by this web application -->

+  <security-role>

+    <description>

+      The role that is required to access the text Host Manager pages

+    </description>

+    <role-name>admin-script</role-name>

+  </security-role>

+  <security-role>

+    <description>

+      The role that is required to access the HTML Host Manager pages

+    </description>

+    <role-name>admin-gui</role-name>

+  </security-role>

+  <security-role>

+    <description>

+      Deprecated role that can access all Host Manager functionality

+    </description>

+    <role-name>admin</role-name>

+  </security-role>

+

+  <error-page>

+    <error-code>401</error-code>

+    <location>/WEB-INF/jsp/401.jsp</location>

+  </error-page>

+  <error-page>

+    <error-code>403</error-code>

+    <location>/WEB-INF/jsp/403.jsp</location>

+  </error-page>

+

+</web-app>

diff --git a/tomcat-uid/webapps/host-manager/images/add.gif b/tomcat-uid/webapps/host-manager/images/add.gif
new file mode 100644
index 0000000..0774d07
--- /dev/null
+++ b/tomcat-uid/webapps/host-manager/images/add.gif
Binary files differ
diff --git a/tomcat-uid/webapps/host-manager/images/asf-logo.gif b/tomcat-uid/webapps/host-manager/images/asf-logo.gif
new file mode 100644
index 0000000..22eb9d7
--- /dev/null
+++ b/tomcat-uid/webapps/host-manager/images/asf-logo.gif
Binary files differ
diff --git a/tomcat-uid/webapps/host-manager/images/code.gif b/tomcat-uid/webapps/host-manager/images/code.gif
new file mode 100644
index 0000000..d27307b
--- /dev/null
+++ b/tomcat-uid/webapps/host-manager/images/code.gif
Binary files differ
diff --git a/tomcat-uid/webapps/host-manager/images/design.gif b/tomcat-uid/webapps/host-manager/images/design.gif
new file mode 100644
index 0000000..f5db0a9
--- /dev/null
+++ b/tomcat-uid/webapps/host-manager/images/design.gif
Binary files differ
diff --git a/tomcat-uid/webapps/host-manager/images/docs.gif b/tomcat-uid/webapps/host-manager/images/docs.gif
new file mode 100644
index 0000000..d64a4a1
--- /dev/null
+++ b/tomcat-uid/webapps/host-manager/images/docs.gif
Binary files differ
diff --git a/tomcat-uid/webapps/host-manager/images/fix.gif b/tomcat-uid/webapps/host-manager/images/fix.gif
new file mode 100644
index 0000000..d59ad64
--- /dev/null
+++ b/tomcat-uid/webapps/host-manager/images/fix.gif
Binary files differ
diff --git a/tomcat-uid/webapps/host-manager/images/tomcat.gif b/tomcat-uid/webapps/host-manager/images/tomcat.gif
new file mode 100644
index 0000000..6175673
--- /dev/null
+++ b/tomcat-uid/webapps/host-manager/images/tomcat.gif
Binary files differ
diff --git a/tomcat-uid/webapps/host-manager/images/update.gif b/tomcat-uid/webapps/host-manager/images/update.gif
new file mode 100644
index 0000000..31e22ab
--- /dev/null
+++ b/tomcat-uid/webapps/host-manager/images/update.gif
Binary files differ
diff --git a/tomcat-uid/webapps/host-manager/images/void.gif b/tomcat-uid/webapps/host-manager/images/void.gif
new file mode 100644
index 0000000..e565824
--- /dev/null
+++ b/tomcat-uid/webapps/host-manager/images/void.gif
Binary files differ
diff --git a/tomcat-uid/webapps/host-manager/manager.xml b/tomcat-uid/webapps/host-manager/manager.xml
new file mode 100644
index 0000000..2b78170
--- /dev/null
+++ b/tomcat-uid/webapps/host-manager/manager.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<!--

+

+    Context configuration file for the Tomcat Manager Web App

+

+-->

+<Context docBase="${catalina.home}/webapps/manager"

+         privileged="true" antiResourceLocking="false" antiJARLocking="false" useHttpOnly="true">

+

+</Context>

diff --git a/tomcat-uid/webapps/manager/META-INF/context.xml b/tomcat-uid/webapps/manager/META-INF/context.xml
new file mode 100644
index 0000000..33ecf23
--- /dev/null
+++ b/tomcat-uid/webapps/manager/META-INF/context.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<Context antiResourceLocking="false" privileged="true" useHttpOnly="true" >

+  <!--

+    Remove the comment markers from around the Valve below to limit access to

+    the manager application to clients connecting from localhost

+  -->

+  <!--

+  <Valve className="org.apache.catalina.valves.RemoteAddrValve"

+         allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" />

+  -->

+</Context>

diff --git a/tomcat-uid/webapps/manager/WEB-INF/jsp/401.jsp b/tomcat-uid/webapps/manager/WEB-INF/jsp/401.jsp
new file mode 100644
index 0000000..8b4b024
--- /dev/null
+++ b/tomcat-uid/webapps/manager/WEB-INF/jsp/401.jsp
@@ -0,0 +1,81 @@
+<%--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+--%>

+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

+<html>

+ <head>

+  <title>401 Unauthorized</title>

+  <style type="text/css">

+    <!--

+    BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;font-size:12px;}

+    H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}

+    PRE, TT {border: 1px dotted #525D76}

+    A {color : black;}A.name {color : black;}

+    -->

+  </style>

+ </head>

+ <body>

+   <h1>401 Unauthorized</h1>

+   <p>

+    You are not authorized to view this page. If you have not changed

+    any configuration files, please examine the file

+    <tt>conf/tomcat-users.xml</tt> in your installation. That

+    file must contain the credentials to let you use this webapp.

+   </p>

+   <p>

+    For example, to add the <tt>manager-gui</tt> role to a user named

+    <tt>tomcat</tt> with a password of <tt>s3cret</tt>, add the following to the

+    config file listed above.

+   </p>

+<pre>

+&lt;role rolename="manager-gui"/&gt;

+&lt;user username="tomcat" password="s3cret" roles="manager-gui"/&gt;

+</pre>

+   <p>

+    Note that for Tomcat 6.0.30 onwards, the roles required to use the manager

+    application were changed from the single <tt>manager</tt> role to the

+    following four roles. You will need to assign the role(s) required for

+    the functionality you wish to access.

+   </p>

+    <ul>

+      <li><tt>manager-gui</tt> - allows access to the HTML GUI and the status

+          pages</li>

+      <li><tt>manager-script</tt> - allows access to the text interface and the

+          status pages</li>

+      <li><tt>manager-jmx</tt> - allows access to the JMX proxy and the status

+          pages</li>

+      <li><tt>manager-status</tt> - allows access to the status pages only</li>

+    </ul>

+   <p>

+    The HTML interface is protected against CSRF but the text and JMX interfaces

+    are not. To maintain the CSRF protection:

+   </p>

+   <ul>

+    <li>The deprecated <tt>manager</tt> role should not be assigned to any

+        user.</li>

+    <li>Users with the <tt>manager-gui</tt> role should not be granted either

+        the <tt>manager-script</tt> or <tt>manager-jmx</tt> roles.</li>

+    <li>If the text or jmx interfaces are accessed through a browser (e.g. for

+        testing since these interfaces are intended for tools not humans) then

+        the browser must be closed afterwards to terminate the session.</li>

+   </ul>

+   <p>

+    For more information - please see the

+    <a href="/docs/manager-howto.html">Manager App HOW-TO</a>.

+   </p>

+ </body>

+

+</html>
\ No newline at end of file
diff --git a/tomcat-uid/webapps/manager/WEB-INF/jsp/403.jsp b/tomcat-uid/webapps/manager/WEB-INF/jsp/403.jsp
new file mode 100644
index 0000000..3f3513d
--- /dev/null
+++ b/tomcat-uid/webapps/manager/WEB-INF/jsp/403.jsp
@@ -0,0 +1,95 @@
+<%--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+--%>

+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

+<html>

+ <head>

+  <title>403 Access Denied</title>

+  <style type="text/css">

+    <!--

+    BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;font-size:12px;}

+    H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}

+    PRE, TT {border: 1px dotted #525D76}

+    A {color : black;}A.name {color : black;}

+    -->

+  </style>

+ </head>

+ <body>

+   <h1>403 Access Denied</h1>

+   <p>

+    You are not authorized to view this page.

+   </p>

+   <p>

+    If you have already configured the Manager application to allow access and

+    you have used your browser's back button, used a saved book-mark or similar

+    then you may have triggered the cross-site request forgery (CSRF) protection

+    that has been enabled for the HTML interface of the Manager application. You

+    will need to reset this protection by returning to the 

+    <a href="<%=request.getContextPath()%>/html">main Manager page</a>. Once you

+    return to this page, you will be able to continue using the Manager

+    appliction's HTML interface normally. If you continue to see this access

+    denied message, check that you have the necessary permissions to access this

+    application.

+   </p>

+   <p>

+    If you have not changed

+    any configuration files, please examine the file

+    <tt>conf/tomcat-users.xml</tt> in your installation. That

+    file must contain the credentials to let you use this webapp.

+   </p>

+   <p>

+    For example, to add the <tt>manager-gui</tt> role to a user named

+    <tt>tomcat</tt> with a password of <tt>s3cret</tt>, add the following to the

+    config file listed above.

+   </p>

+<pre>

+&lt;role rolename="manager-gui"/&gt;

+&lt;user username="tomcat" password="s3cret" roles="manager-gui"/&gt;

+</pre>

+   <p>

+    Note that for Tomcat 6.0.30 onwards, the roles required to use the manager

+    application were changed from the single <tt>manager</tt> role to add the

+    following four roles. (The manager role is still available but should not be

+    used as it avoids the CSRF protection). You will need to assign the role(s)

+    required for the functionality you wish to access.

+   </p>

+    <ul>

+      <li><tt>manager-gui</tt> - allows access to the HTML GUI and the status

+          pages</li>

+      <li><tt>manager-script</tt> - allows access to the text interface and the

+          status pages</li>

+      <li><tt>manager-jmx</tt> - allows access to the JMX proxy and the status

+          pages</li>

+      <li><tt>manager-status</tt> - allows access to the status pages only</li>

+    </ul>

+   <p>

+    The HTML interface is protected against CSRF but the text and JMX interfaces

+    are not. To maintain the CSRF protection:

+   </p>

+   <ul>

+    <li>users with the <tt>manager-gui</tt> role should not be granted either

+        the <tt>manager-script</tt> or <tt>manager-jmx</tt> roles.</li>

+    <li>if the text or jmx interfaces are accessed through a browser (e.g. for

+         testing since these interfaces are intended for tools not humans) then

+         the browser must be closed afterwards to terminate the session.</li>

+   </ul>

+   <p>

+    For more information - please see the

+    <a href="/docs/manager-howto.html">Manager App HOW-TO</a>.

+   </p>

+ </body>

+

+</html>

diff --git a/tomcat-uid/webapps/manager/WEB-INF/jsp/sessionDetail.jsp b/tomcat-uid/webapps/manager/WEB-INF/jsp/sessionDetail.jsp
new file mode 100644
index 0000000..40e8979
--- /dev/null
+++ b/tomcat-uid/webapps/manager/WEB-INF/jsp/sessionDetail.jsp
@@ -0,0 +1,169 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>

+<%--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+--%>

+<%@page session="false" contentType="text/html; charset=ISO-8859-1" %>

+<%@page import="java.util.Enumeration" %>

+<%@page import="javax.servlet.http.HttpSession" %>

+<%@page import="org.apache.catalina.Session" %>

+<%@page import="org.apache.catalina.manager.JspHelper" %>

+<!DOCTYPE html 

+     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

+<%--!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"

+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"--%>

+

+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

+<% String path = (String) request.getAttribute("path");

+   Session currentSession = (Session)request.getAttribute("currentSession");

+   HttpSession currentHttpSession = currentSession.getSession();

+   String currentSessionId = JspHelper.escapeXml(currentSession.getId());

+   String submitUrl = JspHelper.escapeXml(response.encodeURL(

+           ((HttpServletRequest) pageContext.getRequest()).getRequestURI() +

+           "?path=" + path));

+%>

+<head>

+    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>

+    <meta http-equiv="pragma" content="no-cache"/><!-- HTTP 1.0 -->

+    <meta http-equiv="cache-control" content="no-cache,must-revalidate"/><!-- HTTP 1.1 -->

+    <meta http-equiv="expires" content="0"/><!-- 0 is an invalid value and should be treated as 'now' -->

+    <meta http-equiv="content-language" content="en"/>

+    <meta name="author" content="Cedrik LIME"/>

+    <meta name="copyright" content="copyright 2005-2014 the Apache Software Foundation"/>

+    <meta name="robots" content="noindex,nofollow,noarchive"/>

+    <title>Sessions Administration: details for <%= currentSessionId %></title>

+</head>

+<body>

+<h1>Details for Session <%= currentSessionId %></h1>

+

+<table style="text-align: left;" border="0">

+  <tr>

+    <th>Session Id</th>

+    <td><%= currentSessionId %></td>

+  </tr>

+  <tr>

+    <th>Guessed Locale</th>

+    <td><%= JspHelper.guessDisplayLocaleFromSession(currentSession) %></td>

+  </tr>

+  <tr>

+    <th>Guessed User</th>

+    <td><%= JspHelper.guessDisplayUserFromSession(currentSession) %></td>

+  </tr>

+  <tr>

+    <th>Creation Time</th>

+    <td><%= JspHelper.getDisplayCreationTimeForSession(currentSession) %></td>

+  </tr>

+  <tr>

+    <th>Last Accessed Time</th>

+    <td><%= JspHelper.getDisplayLastAccessedTimeForSession(currentSession) %></td>

+  </tr>

+  <tr>

+    <th>Session Max Inactive Interval</th>

+    <td><%= JspHelper.secondsToTimeString(currentSession.getMaxInactiveInterval()) %></td>

+  </tr>

+  <tr>

+    <th>Used Time</th>

+    <td><%= JspHelper.getDisplayUsedTimeForSession(currentSession) %></td>

+  </tr>

+  <tr>

+    <th>Inactive Time</th>

+    <td><%= JspHelper.getDisplayInactiveTimeForSession(currentSession) %></td>

+  </tr>

+  <tr>

+    <th>TTL</th>

+    <td><%= JspHelper.getDisplayTTLForSession(currentSession) %></td>

+  </tr>

+</table>

+

+<form method="post" action="<%= submitUrl %>">

+  <div>

+    <input type="hidden" name="sessionId" value="<%= currentSessionId %>" />

+    <input type="hidden" name="action" value="sessionDetail" />

+    <input type="submit" value="Refresh" />

+  </div>

+</form>

+

+<div class="error"><%= JspHelper.escapeXml(request.getAttribute("error")) %></div>

+<div class="message"><%= JspHelper.escapeXml(request.getAttribute("message")) %></div>

+

+<table style="text-align: left;" border="1" cellpadding="2" cellspacing="2">

+<% int nAttributes = 0;

+   Enumeration attributeNamesEnumeration = currentHttpSession.getAttributeNames();

+   while (attributeNamesEnumeration.hasMoreElements()) {

+       attributeNamesEnumeration.nextElement();

+       ++nAttributes;

+   }

+%>

+    <caption style="font-variant: small-caps;"><%= JspHelper.formatNumber(nAttributes) %> attributes</caption>

+    <thead>

+        <tr>

+            <th>Remove Attribute</th>

+            <th>Attribute name</th>

+            <th>Attribute value</th>

+        </tr>

+    </thead>

+    <%--tfoot>

+        <tr>

+            <td colspan="3" style="text-align: center;">

+                TODO: set Max Inactive Interval on sessions

+            </td>

+        </tr>

+    </tfoot--%>

+    <tbody>

+<% attributeNamesEnumeration = currentHttpSession.getAttributeNames();

+   while (attributeNamesEnumeration.hasMoreElements()) {

+       String attributeName = (String) attributeNamesEnumeration.nextElement();

+%>

+        <tr>

+            <td align="center">

+                <form method="post" action="<%= submitUrl %>">

+                    <div>

+                        <input type="hidden" name="action" value="removeSessionAttribute" />

+                        <input type="hidden" name="sessionId" value="<%= currentSessionId %>" />

+                        <input type="hidden" name="attributeName" value="<%= JspHelper.escapeXml(attributeName) %>" />

+                        <input type="submit" value="Remove" />

+                    </div>

+                </form>

+            </td>

+            <td><%= JspHelper.escapeXml(attributeName) %></td>

+            <td><% Object attributeValue = currentHttpSession.getAttribute(attributeName); %><span title="<%= attributeValue == null ? "" : attributeValue.getClass().toString() %>"><%= JspHelper.escapeXml(attributeValue) %></span></td>

+        </tr>

+<% } // end while %>

+    </tbody>

+</table>

+

+<form method="post" action="<%=submitUrl%>">

+  <p style="text-align: center;">

+    <input type="submit" value="Return to session list" />

+  </p>

+</form>

+

+<%--div style="display: none;">

+<p>

+    <a href="http://validator.w3.org/check?uri=referer"><img

+        src="http://www.w3.org/Icons/valid-html401"

+        alt="Valid HTML 4.01!" height="31" width="88"></a>

+    <a href="http://validator.w3.org/check?uri=referer"><img

+        src="http://www.w3.org/Icons/valid-xhtml10"

+        alt="Valid XHTML 1.0!" height="31" width="88" /></a>

+    <a href="http://validator.w3.org/check?uri=referer"><img

+        src="http://www.w3.org/Icons/valid-xhtml11"

+        alt="Valid XHTML 1.1!" height="31" width="88" /></a>

+</p>

+</div--%>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/manager/WEB-INF/jsp/sessionsList.jsp b/tomcat-uid/webapps/manager/WEB-INF/jsp/sessionsList.jsp
new file mode 100644
index 0000000..d5b83f0
--- /dev/null
+++ b/tomcat-uid/webapps/manager/WEB-INF/jsp/sessionsList.jsp
@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>

+<%--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+--%>

+<%@page session="false" contentType="text/html; charset=ISO-8859-1" %>

+<%@page import="java.util.Collection" %>

+<%@page import="java.util.Iterator" %>

+<%@page import="org.apache.catalina.manager.JspHelper" %>

+<%@page import="org.apache.catalina.Session" %>

+<!DOCTYPE html 

+     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

+

+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

+<% String path = (String) request.getAttribute("path");

+   String submitUrl = JspHelper.escapeXml(response.encodeURL(

+           ((HttpServletRequest) pageContext.getRequest()).getRequestURI() +

+           "?path=" + path));

+   Collection activeSessions = (Collection) request.getAttribute("activeSessions");

+%>

+<head>

+    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>

+	<meta http-equiv="pragma" content="no-cache"/><!-- HTTP 1.0 -->

+	<meta http-equiv="cache-control" content="no-cache,must-revalidate"/><!-- HTTP 1.1 -->

+	<meta http-equiv="expires" content="0"/><!-- 0 is an invalid value and should be treated as 'now' -->

+	<meta http-equiv="content-language" content="en"/>

+	<meta name="author" content="Cedrik LIME"/>

+	<meta name="copyright" content="copyright 2005-2014 the Apache Software Foundation"/>

+	<meta name="robots" content="noindex,nofollow,noarchive"/>

+	<title>Sessions Administration for <%= JspHelper.escapeXml(path) %></title>

+</head>

+<body>

+<h1>Sessions Administration for <%= JspHelper.escapeXml(path) %></h1>

+

+<p>Tips:</p>

+<ul>

+	<li>Click on a column to sort.</li>

+	<li>To view a session details and/or remove a session attributes, click on its id.</li>

+</ul>

+

+<div class="error"><%= JspHelper.escapeXml(request.getAttribute("error")) %></div>

+<div class="message"><%= JspHelper.escapeXml(request.getAttribute("message")) %></div>

+

+<form action="<%= submitUrl %>" method="post" id="sessionsForm">

+	<fieldset><legend>Active HttpSessions informations</legend>

+		<input type="hidden" name="action" id="sessionsFormAction" value="injectSessions"/>

+		<input type="hidden" name="sort" id="sessionsFormSort" value="<%= JspHelper.escapeXml(request.getAttribute("sort")) %>"/>

+		<% String order = (String) request.getAttribute("order");

+		   if (order == null || "".equals(order)) {

+		   	order = "ASC";

+		   }

+		%>

+		<input type="hidden" name="order" id="sessionsFormSortOrder" value="<%= JspHelper.escapeXml(order) %>"/>

+		<input type="submit" name="refresh" id="refreshButton" value="Refresh Sessions list" onclick="document.getElementById('sessionsFormAction').value='refreshSessions'; return true;"/>

+		<%= JspHelper.formatNumber(activeSessions.size()) %> active Sessions<br/>

+		<table border="1" cellpadding="2" cellspacing="2" width="100%">

+			<thead>

+				<tr>

+					<th><a onclick="document.getElementById('sessionsFormSort').value='id'; document.getElementById('refreshButton').click(); return true;">Session Id</a></th>

+					<th><a onclick="document.getElementById('sessionsFormSort').value='locale'; document.getElementById('refreshButton').click(); return true;">Guessed Locale</a></th>

+					<th><a onclick="document.getElementById('sessionsFormSort').value='user'; document.getElementById('refreshButton').click(); return true;">Guessed User name</a></th>

+					<th><a onclick="document.getElementById('sessionsFormSort').value='CreationTime'; document.getElementById('refreshButton').click(); return true;">Creation Time</a></th>

+					<th><a onclick="document.getElementById('sessionsFormSort').value='LastAccessedTime'; document.getElementById('refreshButton').click(); return true;">Last Accessed Time</a></th>

+					<th><a onclick="document.getElementById('sessionsFormSort').value='UsedTime'; document.getElementById('refreshButton').click(); return true;">Used Time</a></th>

+					<th><a onclick="document.getElementById('sessionsFormSort').value='InactiveTime'; document.getElementById('refreshButton').click(); return true;">Inactive Time</a></th>

+					<th><a onclick="document.getElementById('sessionsFormSort').value='TTL'; document.getElementById('refreshButton').click(); return true;"><span title="Time To Live">TTL</span></a></th>

+				</tr>

+			</thead>

+			<% if (activeSessions.size() > 10) { %>

+			<tfoot><%-- <tfoot> is the same as <thead> --%>

+				<tr>

+					<th><a onclick="document.getElementById('sessionsFormSort').value='id'; document.getElementById('refreshButton').click(); return true;">Session Id</a></th>

+					<th><a onclick="document.getElementById('sessionsFormSort').value='locale'; document.getElementById('refreshButton').click(); return true;">Guessed Locale</a></th>

+					<th><a onclick="document.getElementById('sessionsFormSort').value='user'; document.getElementById('refreshButton').click(); return true;">Guessed User name</a></th>

+					<th><a onclick="document.getElementById('sessionsFormSort').value='CreationTime'; document.getElementById('refreshButton').click(); return true;">Creation Time</a></th>

+					<th><a onclick="document.getElementById('sessionsFormSort').value='LastAccessedTime'; document.getElementById('refreshButton').click(); return true;">Last Accessed Time</a></th>

+					<th><a onclick="document.getElementById('sessionsFormSort').value='UsedTime'; document.getElementById('refreshButton').click(); return true;">Used Time</a></th>

+					<th><a onclick="document.getElementById('sessionsFormSort').value='InactiveTime'; document.getElementById('refreshButton').click(); return true;">Inactive Time</a></th>

+					<th><a onclick="document.getElementById('sessionsFormSort').value='TTL'; document.getElementById('refreshButton').click(); return true;"><span title="Time To Live">TTL</span></a></th>

+				</tr>

+			</tfoot>

+			<% } // end if %>

+			<tbody>

+<% Iterator iter = activeSessions.iterator();

+   while (iter.hasNext()) {

+   	Session currentSession = (Session) iter.next();

+   	String currentSessionId = JspHelper.escapeXml(currentSession.getId());

+%>

+				<tr>

+					<td>

+<input type="checkbox" name="sessionIds" value="<%= currentSessionId %>" /><a href="<%= submitUrl %>&amp;action=sessionDetail&amp;sessionId=<%= currentSessionId %>"><%= currentSessionId %></a>

+					</td>

+					<td style="text-align: center;"><%= JspHelper.guessDisplayLocaleFromSession(currentSession) %></td>

+					<td style="text-align: center;"><%= JspHelper.guessDisplayUserFromSession(currentSession) %></td>

+					<td style="text-align: center;"><%= JspHelper.getDisplayCreationTimeForSession(currentSession) %></td>

+					<td style="text-align: center;"><%= JspHelper.getDisplayLastAccessedTimeForSession(currentSession) %></td>

+					<td style="text-align: center;"><%= JspHelper.getDisplayUsedTimeForSession(currentSession) %></td>

+					<td style="text-align: center;"><%= JspHelper.getDisplayInactiveTimeForSession(currentSession) %></td>

+					<td style="text-align: center;"><%= JspHelper.getDisplayTTLForSession(currentSession) %></td>

+				</tr>

+<% } // end while %>

+			</tbody>

+		</table>

+		<p style="text-align: center;">

+			<input type="submit" name="invalidate" value="Invalidate selected Sessions" onclick="document.getElementById('sessionsFormAction').value='invalidateSessions'; return true;"/>

+		</p>

+	</fieldset>

+</form>

+

+<form method="get" action="<%=request.getContextPath()%>/html">

+  <p style="text-align: center;">

+    <input type="submit" value="Return to main page" />

+  </p>

+</form>

+

+<%--div style="display: none;">

+<p>

+	<a href="http://validator.w3.org/check?uri=referer"><img

+		src="http://www.w3.org/Icons/valid-html401"

+		alt="Valid HTML 4.01!" height="31" width="88"></a>

+	<a href="http://validator.w3.org/check?uri=referer"><img

+		src="http://www.w3.org/Icons/valid-xhtml10"

+		alt="Valid XHTML 1.0!" height="31" width="88" /></a>

+	<a href="http://validator.w3.org/check?uri=referer"><img

+		src="http://www.w3.org/Icons/valid-xhtml11"

+		alt="Valid XHTML 1.1!" height="31" width="88" /></a>

+</p>

+</div--%>

+

+</body>

+</html>

diff --git a/tomcat-uid/webapps/manager/WEB-INF/web.xml b/tomcat-uid/webapps/manager/WEB-INF/web.xml
new file mode 100644
index 0000000..3d7fefe
--- /dev/null
+++ b/tomcat-uid/webapps/manager/WEB-INF/web.xml
@@ -0,0 +1,296 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>

+<!--

+ Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<web-app xmlns="http://java.sun.com/xml/ns/javaee"

+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

+   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"

+   version="2.5"> 

+

+  <display-name>Tomcat Manager Application</display-name>

+  <description>

+    A scriptable management web application for the Tomcat Web Server;

+    Manager lets you view, load/unload/etc particular web applications.

+  </description>

+

+  <servlet>

+    <servlet-name>Manager</servlet-name>

+    <servlet-class>org.apache.catalina.manager.ManagerServlet</servlet-class>

+    <init-param>

+      <param-name>debug</param-name>

+      <param-value>2</param-value>

+    </init-param>

+  </servlet>

+  <servlet>

+    <servlet-name>HTMLManager</servlet-name>

+    <servlet-class>org.apache.catalina.manager.HTMLManagerServlet</servlet-class>

+    <init-param>

+      <param-name>debug</param-name>

+      <param-value>2</param-value>

+    </init-param>

+  </servlet>

+  <servlet>

+    <servlet-name>Status</servlet-name>

+    <servlet-class>org.apache.catalina.manager.StatusManagerServlet</servlet-class>

+    <init-param>

+      <param-name>debug</param-name>

+      <param-value>0</param-value>

+    </init-param>

+  </servlet>

+

+  <servlet>

+    <servlet-name>JMXProxy</servlet-name>

+    <servlet-class>org.apache.catalina.manager.JMXProxyServlet</servlet-class>

+  </servlet>

+

+  <!-- Define the Manager Servlet Mapping -->

+  <servlet-mapping>

+    <servlet-name>Manager</servlet-name>

+      <url-pattern>/list</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>Manager</servlet-name>

+      <url-pattern>/expire</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>Manager</servlet-name>

+      <url-pattern>/sessions</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>Manager</servlet-name>

+      <url-pattern>/start</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>Manager</servlet-name>

+      <url-pattern>/stop</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>Manager</servlet-name>

+      <url-pattern>/install</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>Manager</servlet-name>

+      <url-pattern>/remove</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>Manager</servlet-name>

+      <url-pattern>/deploy</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>Manager</servlet-name>

+      <url-pattern>/undeploy</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>Manager</servlet-name>

+      <url-pattern>/reload</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>Manager</servlet-name>

+      <url-pattern>/save</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>Manager</servlet-name>

+      <url-pattern>/serverinfo</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>Manager</servlet-name>

+      <url-pattern>/roles</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>Manager</servlet-name>

+      <url-pattern>/resources</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>Manager</servlet-name>

+      <url-pattern>/findleaks</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>Status</servlet-name>

+    <url-pattern>/status/*</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>JMXProxy</servlet-name>

+      <url-pattern>/jmxproxy/*</url-pattern>

+  </servlet-mapping>

+  <servlet-mapping>

+    <servlet-name>HTMLManager</servlet-name>

+    <url-pattern>/html/*</url-pattern>

+  </servlet-mapping>

+

+  <filter>

+    <filter-name>CSRF</filter-name>

+    <filter-class>org.apache.catalina.filters.CsrfPreventionFilter</filter-class>

+    <init-param>

+      <param-name>entryPoints</param-name>

+      <param-value>/html,/html/,/html/list</param-value>

+    </init-param>

+  </filter>

+

+  <filter-mapping>

+    <filter-name>CSRF</filter-name>

+    <servlet-name>HTMLManager</servlet-name>

+  </filter-mapping>

+

+  <!-- Define reference to the user database for looking up roles -->

+  <resource-env-ref>

+    <description>

+      Link to the UserDatabase instance from which we request lists of

+      defined role names.  Typically, this will be connected to the global

+      user database with a ResourceLink element in server.xml or the context

+      configuration file for the Manager web application.

+    </description>

+    <resource-env-ref-name>users</resource-env-ref-name>

+    <resource-env-ref-type>

+      org.apache.catalina.UserDatabase

+    </resource-env-ref-type>

+  </resource-env-ref>

+

+  <!-- Define a Security Constraint on this Application -->

+  <security-constraint>

+    <web-resource-collection>

+      <web-resource-name>Manager commands</web-resource-name>

+      <url-pattern>/list</url-pattern>

+      <url-pattern>/expire</url-pattern>

+      <url-pattern>/sessions</url-pattern>

+      <url-pattern>/start</url-pattern>

+      <url-pattern>/stop</url-pattern>

+      <url-pattern>/install</url-pattern>

+      <url-pattern>/remove</url-pattern>

+      <url-pattern>/deploy</url-pattern>

+      <url-pattern>/undeploy</url-pattern>

+      <url-pattern>/reload</url-pattern>

+      <url-pattern>/save</url-pattern>

+      <url-pattern>/serverinfo</url-pattern>

+      <url-pattern>/roles</url-pattern>

+      <url-pattern>/resources</url-pattern>

+      <url-pattern>/findleaks</url-pattern>

+    </web-resource-collection>

+    <auth-constraint>

+       <!-- NOTE: 1. These roles are not present in the default users file

+                  2. The manager role is deprecated, it will be removed in

+                     Tomcat 7.

+                  3. Use the manager-script role to take advantage of the new

+                     CSRF protection. Using the manager role or assigning both

+                     the manager-script and manager-gui roles to the same user

+                     will bypass the CSRF protection. -->

+       <role-name>manager-script</role-name>

+       <role-name>manager</role-name>

+    </auth-constraint>

+  </security-constraint>

+

+  <security-constraint>

+    <web-resource-collection>

+      <web-resource-name>HTML Manager commands</web-resource-name>

+      <url-pattern>/html/*</url-pattern>

+    </web-resource-collection>

+    <auth-constraint>

+       <!-- NOTE: 1. These roles are not present in the default users file

+                  2. The manager role is deprecated, it will be removed in

+                     Tomcat 7.

+                  3. Use just the manager-gui role to take advantage of the new

+                     CSRF protection. Assigning the manager role or manager-gui

+                     role along with either the manager-script or manager-jmx

+                     roles to the same user will bypass the CSRF protection. -->

+       <role-name>manager-gui</role-name>

+       <role-name>manager</role-name>

+    </auth-constraint>

+  </security-constraint>

+

+  <security-constraint>

+    <web-resource-collection>

+      <web-resource-name>JMX proxy</web-resource-name>

+      <url-pattern>/jmxproxy/*</url-pattern>

+    </web-resource-collection>

+    <auth-constraint>

+       <!-- NOTE: 1. These roles are not present in the default users file

+                  2. The manager role is deprecated, it will be removed in

+                     Tomcat 7.

+                  3. Use the manager-jmx role to take advantage of the new

+                     CSRF protection. Using the manager role or assigning both

+                     the manager-jmx and manager-gui roles to the same user

+                     will bypass the CSRF protection. -->

+       <role-name>manager-jmx</role-name>

+       <role-name>manager</role-name>

+    </auth-constraint>

+  </security-constraint>

+

+  <security-constraint>

+    <web-resource-collection>

+      <web-resource-name>Status</web-resource-name>

+      <url-pattern>/status/*</url-pattern>

+    </web-resource-collection>

+    <auth-constraint>

+       <!-- NOTE: 1. These roles are not present in the default users file

+                  2. The manager role is deprecated, it will be removed in

+                     Tomcat 7. -->

+       <role-name>manager-status</role-name>

+       <role-name>manager-gui</role-name>

+       <role-name>manager-script</role-name>

+       <role-name>manager-jmx</role-name>

+       <role-name>manager</role-name>

+    </auth-constraint>

+  </security-constraint>

+

+

+  <!-- Define the Login Configuration for this Application -->

+  <login-config>

+    <auth-method>BASIC</auth-method>

+    <realm-name>Tomcat Manager Application</realm-name>

+  </login-config>

+

+  <!-- Security roles referenced by this web application -->

+  <security-role>

+    <description>

+      The role that is required to access the HTML Manager pages

+    </description>

+    <role-name>manager-gui</role-name>

+  </security-role>

+  <security-role>

+    <description>

+      The role that is required to access the text Manager pages

+    </description>

+    <role-name>manager-script</role-name>

+  </security-role>

+  <security-role>

+    <description>

+      The role that is required to access the HTML JMX Proxy

+    </description>

+    <role-name>manager-jmx</role-name>

+  </security-role>

+  <security-role>

+    <description>

+      The role that is required to access to the Manager Status pages 

+    </description>

+    <role-name>manager-status</role-name>

+  </security-role>

+  <security-role>

+    <description>

+      Deprecated role that can access all Manager functionality

+    </description>

+    <role-name>manager</role-name>

+  </security-role>

+

+  <error-page>

+    <error-code>401</error-code>

+    <location>/WEB-INF/jsp/401.jsp</location>

+  </error-page>

+  <error-page>

+    <error-code>403</error-code>

+    <location>/WEB-INF/jsp/403.jsp</location>

+  </error-page>

+

+</web-app>

diff --git a/tomcat-uid/webapps/manager/images/add.gif b/tomcat-uid/webapps/manager/images/add.gif
new file mode 100644
index 0000000..0774d07
--- /dev/null
+++ b/tomcat-uid/webapps/manager/images/add.gif
Binary files differ
diff --git a/tomcat-uid/webapps/manager/images/asf-logo.gif b/tomcat-uid/webapps/manager/images/asf-logo.gif
new file mode 100644
index 0000000..22eb9d7
--- /dev/null
+++ b/tomcat-uid/webapps/manager/images/asf-logo.gif
Binary files differ
diff --git a/tomcat-uid/webapps/manager/images/code.gif b/tomcat-uid/webapps/manager/images/code.gif
new file mode 100644
index 0000000..d27307b
--- /dev/null
+++ b/tomcat-uid/webapps/manager/images/code.gif
Binary files differ
diff --git a/tomcat-uid/webapps/manager/images/design.gif b/tomcat-uid/webapps/manager/images/design.gif
new file mode 100644
index 0000000..f5db0a9
--- /dev/null
+++ b/tomcat-uid/webapps/manager/images/design.gif
Binary files differ
diff --git a/tomcat-uid/webapps/manager/images/docs.gif b/tomcat-uid/webapps/manager/images/docs.gif
new file mode 100644
index 0000000..d64a4a1
--- /dev/null
+++ b/tomcat-uid/webapps/manager/images/docs.gif
Binary files differ
diff --git a/tomcat-uid/webapps/manager/images/fix.gif b/tomcat-uid/webapps/manager/images/fix.gif
new file mode 100644
index 0000000..d59ad64
--- /dev/null
+++ b/tomcat-uid/webapps/manager/images/fix.gif
Binary files differ
diff --git a/tomcat-uid/webapps/manager/images/tomcat.gif b/tomcat-uid/webapps/manager/images/tomcat.gif
new file mode 100644
index 0000000..6175673
--- /dev/null
+++ b/tomcat-uid/webapps/manager/images/tomcat.gif
Binary files differ
diff --git a/tomcat-uid/webapps/manager/images/update.gif b/tomcat-uid/webapps/manager/images/update.gif
new file mode 100644
index 0000000..31e22ab
--- /dev/null
+++ b/tomcat-uid/webapps/manager/images/update.gif
Binary files differ
diff --git a/tomcat-uid/webapps/manager/images/void.gif b/tomcat-uid/webapps/manager/images/void.gif
new file mode 100644
index 0000000..e565824
--- /dev/null
+++ b/tomcat-uid/webapps/manager/images/void.gif
Binary files differ
diff --git a/tomcat-uid/webapps/manager/status.xsd b/tomcat-uid/webapps/manager/status.xsd
new file mode 100644
index 0000000..6d9d63a
--- /dev/null
+++ b/tomcat-uid/webapps/manager/status.xsd
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by peter lin (consultant) -->

+<!--W3C Schema generated by XMLSPY v5 rel. 4 U (http://www.xmlspy.com)-->

+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">

+	<xs:complexType name="connector">

+		<xs:sequence>

+			<xs:element name="threadInfo" type="threadInfo"/>

+			<xs:element name="requestInfo" type="requestInfo"/>

+			<xs:element name="workers" type="workers"/>

+		</xs:sequence>

+		<xs:attribute name="name" type="xs:string" use="required"/>

+	</xs:complexType>

+	<xs:complexType name="jvm">

+		<xs:sequence>

+			<xs:element name="memory" type="memory"/>

+		</xs:sequence>

+	</xs:complexType>

+	<xs:complexType name="memory">

+		<xs:attribute name="free" type="xs:long" use="required"/>

+		<xs:attribute name="total" type="xs:long" use="required"/>

+		<xs:attribute name="max" type="xs:long" use="required"/>

+	</xs:complexType>

+	<xs:complexType name="requestInfo">

+		<xs:attribute name="maxTime" type="xs:long" use="required"/>

+		<xs:attribute name="processingTime" type="xs:int" use="required"/>

+		<xs:attribute name="requestCount" type="xs:long" use="required"/>

+		<xs:attribute name="errorCount" type="xs:long" use="required"/>

+		<xs:attribute name="bytesReceived" type="xs:long" use="required"/>

+		<xs:attribute name="bytesSent" type="xs:long" use="required"/>

+	</xs:complexType>

+	<xs:element name="status">

+		<xs:complexType>

+			<xs:sequence>

+				<xs:element name="jvm" type="jvm"/>

+				<xs:element name="connector" type="connector"/>

+			</xs:sequence>

+		</xs:complexType>

+	</xs:element>

+	<xs:complexType name="threadInfo">

+		<xs:attribute name="maxThreads" type="xs:int" use="required"/>

+		<xs:attribute name="minSpareThreads" type="xs:int" use="required"/>

+		<xs:attribute name="maxSpareThreads" type="xs:int" use="required"/>

+		<xs:attribute name="currentThreadCount" type="xs:int" use="required"/>

+		<xs:attribute name="currentThreadsBusy" type="xs:int" use="required"/>

+	</xs:complexType>

+	<xs:complexType name="worker">

+		<xs:attribute name="stage" type="xs:string" use="required"/>

+		<xs:attribute name="requestProcessingTime" type="xs:int" use="required"/>

+		<xs:attribute name="requestBytesSent" type="xs:long" use="required"/>

+		<xs:attribute name="requestBytesRecieved" type="xs:long" use="required"/>

+		<xs:attribute name="remoteAddr" type="xs:string" use="required"/>

+		<xs:attribute name="virtualHost" type="xs:string" use="required"/>

+		<xs:attribute name="method" type="xs:string" use="required"/>

+		<xs:attribute name="currentUri" type="xs:string" use="required"/>

+		<xs:attribute name="currentQueryString" type="xs:string" use="required"/>

+		<xs:attribute name="protocol" type="xs:string" use="required"/>

+	</xs:complexType>

+	<xs:complexType name="workers">

+		<xs:sequence>

+			<xs:element name="worker" type="worker"/>

+		</xs:sequence>

+	</xs:complexType>

+</xs:schema>

diff --git a/tomcat-uid/webapps/manager/xform.xsl b/tomcat-uid/webapps/manager/xform.xsl
new file mode 100644
index 0000000..f179a1e
--- /dev/null
+++ b/tomcat-uid/webapps/manager/xform.xsl
@@ -0,0 +1,112 @@
+<?xml version="1.0"?>

+<!--

+  Licensed to the Apache Software Foundation (ASF) under one or more

+  contributor license agreements.  See the NOTICE file distributed with

+  this work for additional information regarding copyright ownership.

+  The ASF licenses this file to You under the Apache License, Version 2.0

+  (the "License"); you may not use this file except in compliance with

+  the License.  You may obtain a copy of the License at

+

+      http://www.apache.org/licenses/LICENSE-2.0

+

+  Unless required by applicable law or agreed to in writing, software

+  distributed under the License is distributed on an "AS IS" BASIS,

+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+  See the License for the specific language governing permissions and

+  limitations under the License.

+-->

+

+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

+  version="1.0">

+

+  <!-- Output method -->

+  <xsl:output encoding="iso-8859-1"

+              indent="no"/>

+

+  <xsl:template match="status">

+    <html>

+    <head>

+    	<TITLE>Tomcat Status</TITLE>

+		<STYLE type="text/css">

+			body, table, tr, td, a, div, span {

+				vertical-align : top;

+			}

+		</STYLE>

+    </head>

+    <body>

+      <div style='font-size:20px;'>Tomcat Status</div>

+

+      <xsl:apply-templates select="jvm"/>

+      <xsl:apply-templates select="connector"/>

+     </body>

+    </html>

+  </xsl:template>

+

+  <xsl:template match="jvm">

+   <xsl:apply-templates select="memory"/>

+  </xsl:template>

+

+  <xsl:template match="memory">

+    <table><tr>

+    		 <td><b>JVM:</b></td>

+    		 <td><b>free:</b> <xsl:value-of select="@free"/></td>

+    		 <td><b>total:</b> <xsl:value-of select="@total"/></td>

+    		 <td><b>max:</b> <xsl:value-of select="@max"/></td>

+    	   </tr>

+    </table><hr />

+  </xsl:template>

+

+  <xsl:template match="connector">

+	 <b>Connector -- </b> <xsl:value-of select="@name"/><br />

+

+  	<xsl:apply-templates select="threadInfo"/>

+  	<xsl:apply-templates select="requestInfo"/>

+  	<xsl:apply-templates select="workers"/>

+  </xsl:template>

+

+  <xsl:template match="threadInfo">

+    <table><tr>

+    		 <td><b>threadInfo </b></td>

+    		 <td><b>maxThreads:</b> <xsl:value-of select="@maxThreads"/></td>

+    		 <td><b>minSpareThreads:</b> <xsl:value-of select="@minSpareThreads"/></td>

+    		 <td><b>maxSpareThreads:</b> <xsl:value-of select="@maxSpareThreads"/></td>

+    		 <td><b>currentThreadCount:</b> <xsl:value-of select="@currentThreadCount"/></td>

+    		 <td><b>currentThreadsBusy:</b> <xsl:value-of select="@currentThreadsBusy"/></td>

+    	   </tr>

+    </table><hr />

+  </xsl:template>

+

+  <xsl:template match="requestInfo">

+    <table><tr>

+    		 <td><b>requestInfo </b></td>

+    		 <td><b>maxTime:</b> <xsl:value-of select="@maxTime"/></td>

+    		 <td><b>processingTime:</b> <xsl:value-of select="@processingTime"/></td>

+    		 <td><b>requestCount:</b> <xsl:value-of select="@requestCount"/></td>

+    		 <td><b>errorCount:</b> <xsl:value-of select="@errorCount"/></td>

+    		 <td><b>bytesReceived:</b> <xsl:value-of select="@bytesReceived"/></td>

+    		 <td><b>bytesSent:</b> <xsl:value-of select="@bytesSent"/></td>

+    	   </tr>

+    </table><hr />

+  </xsl:template>

+

+  <xsl:template match="workers">

+   <table>

+    <tr><th>Stage</th><th>Time</th><th>B Sent</th><th>B Recv</th><th>Client</th><th>VHost</th><th>Request</th></tr>

+  	<xsl:apply-templates select="worker"/>

+

+   </table><hr />

+  </xsl:template>

+

+  <xsl:template match="worker">

+   <tr>

+    <td><xsl:value-of select="@stage"/></td>

+    <td><xsl:value-of select="@requestProcessingTime"/></td>

+    <td><xsl:value-of select="@requestBytesSent"/></td>

+    <td><xsl:value-of select="@requestBytesReceived"/></td>

+    <td><xsl:value-of select="@remoteAddr"/></td>

+    <td><xsl:value-of select="@virtualHost"/></td>

+    <td><xsl:value-of select="@method"/> <xsl:value-of select="@currentUri"/>?<xsl:value-of select="@currentQueryString"/> <xsl:value-of select="@protocol"/></td>

+   </tr>

+  </xsl:template>

+

+</xsl:stylesheet>

diff --git a/tomcat-uid/work/WORK b/tomcat-uid/work/WORK
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tomcat-uid/work/WORK