SNMP on LINUX server 實作

這幾天把 site 的幾台機器開始要加到 SNMP server 裡,所以得先把 幾台機器上的 SNMP 打開設定好,至少要能從 SNMP server 去 polling,然後能送 SNMP Traps 到 SNMP server 去...

先檢查一下 snmpd 的狀態,應該是未啟動的:
[root@KHXPROVS1 ~]# service snmpd status
snmpd is stopped
再檢查一下是否開機會啟動 snmpd 的服務:
[root@KHXPROVS1 ~]# chkconfig --list|grep snmpd
snmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
所以我們先用 chkconfig 的指令讓 snmpd 一開機便會自行啟動:
[root@KHXPROVS1 ~]# chkconfig --level 345 snmpd on
接著打開 snmpd 的服務:
[root@KHXPROVS1 ~]# service snmpd start
Starting snmpd: [ OK ]
再來我們先嘗試著用 snmpwalk 的指令來查詢一下主機:
[root@KHXPROVS1 ~]# snmpwalk -v 1 localhost -c public system
Timeout: No Response from localhost
[root@KHXPROVS1 ~]# snmpwalk -v 2c -c public localhost system
Timeout: No Response from localhost
關於 snmpwalk 的用法,可以直接看 manual:
[root@KHXPROVS1 ~]# snmpwalk
No hostname specified.
USAGE: snmpwalk [OPTIONS] AGENT [OID]

Version: 5.1.2
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net

OPTIONS:
-h, --help display this help message
-H display configuration file directives understood
-v 1|2c|3 specifies SNMP version to use
-V, --version display package version number
SNMP Version 1 or 2c specific
-c COMMUNITY set the community string
SNMP Version 3 specific
-a PROTOCOL set authentication protocol (MD5|SHA)
-A PASSPHRASE set authentication protocol pass phrase
-e ENGINE-ID set security engine ID (e.g. 800000020109840301)
-E ENGINE-ID set context engine ID (e.g. 800000020109840301)
-l LEVEL set security level (noAuthNoPriv|authNoPriv|authPriv)
-n CONTEXT set context name (e.g. bridge1)
-u USER-NAME set security name (e.g. bert)
-x PROTOCOL set privacy protocol (DES|AES)
-X PASSPHRASE set privacy protocol pass phrase
-Z BOOTS,TIME set destination engine boots/time
General communication options
-r RETRIES set the number of retries
-t TIMEOUT set the request timeout (in seconds)
Debugging
-d dump input/output packets in hexadecimal
-D TOKEN[,...] turn on debugging output for the specified TOKENs
(ALL gives extremely verbose debugging output)
General options
-m MIB[:...] load given list of MIBs (ALL loads everything)
-M DIR[:...] look in given list of directories for MIBs
-P MIBOPTS Toggle various defaults controlling MIB parsing:
u: allow the use of underlines in MIB symbols
c: disallow the use of "--" to terminate comments
d: save the DESCRIPTIONs of the MIB objects
e: disable errors when MIB symbols conflict
w: enable warnings when MIB symbols conflict
W: enable detailed warnings when MIB symbols conflict
R: replace MIB symbols from latest module
-O OUTOPTS Toggle various defaults controlling output display:
a: print all strings in ascii format
b: do not break OID indexes down
e: print enums numerically
E: escape quotes in string indices
f: print full OIDs on output
n: print OIDs numerically
q: quick print for easier parsing
Q: quick print with equal-signs
s: print only last symbolic element of OID
S: print MIB module-id plus last element
t: print timeticks unparsed as numeric integers
T: print human-readable text along with hex strings
u: print OIDs using UCD-style prefix suppression
U: don't print units
v: print values only (not OID = value)
x: print all strings in hex format
X: extended index format
-I INOPTS Toggle various defaults controlling input parsing:
b: do best/regex matching to find a MIB node
h: don't apply DISPLAY-HINTs
r: do not check values for range/type legality
R: do random access to OID labels
u: top-level OIDs must have '.' prefix (UCD-style)
s SUFFIX: Append all textual OIDs with SUFFIX before parsing
S PREFIX: Prepend all textual OIDs with PREFIX before parsing
-L LOGOPTS Toggle various defaults controlling logging:
e: log to standard error
o: log to standard output
f file: log to the specified file
s facility: log to syslog (via the specified facility)

(variants)
[EO] pri: log to standard error/output for level 'pri' and above
[EO] p1-p2: log to standard error/output for levels 'p1' to 'p2'
[FS] pri token: log to file/syslog for level 'pri' and above
[FS] p1-p2 token: log to file/syslog for levels 'p1' to 'p2'
-C APPOPTS Set various application specific behaviours:
p: print the number of variables found
i: include given OID in the search range
c: do not check returned OIDs are increasing
t: Display wall-clock time to complete the request
剛剛,我們分別用 v1 跟 v2c 去查詢都沒得到回應,因為 snmpd 的設定檔還沒編輯過,所以我們先編輯一下 /etc/snmp/snmpd.conf 檔,這是 snmpd 的設定檔,其中有幾個地方要改的:

1.首先找一下 com2sec notConfigUser default public 這一段,然後改成如下所示:(其中 10.16.25.25 是 SNMP server 的 IP address)
#com2sec notConfigUser default public
com2sec local localhost public
com2sec mynetwork 10.16.25.25 public
2. 再來是找 group notConfigGroup v1 notConfigUser 這一段,然後改成如下所示:
#group notConfigGroup v1 notConfigUser
#group notConfigGroup v2c notConfigUser
group MyRWGroup v1 local
group MyRWGroup v2c local
group MyROGroup v1 mynetwork
group MyROGroup v2c mynetwork
3. 接著是找 view all included .1 80 這一段,然後改成如下所示:(把前面的 # 去掉)
## incl/excl subtree mask
view all included .1 80
4. 找到 #access MyROGroup "" any noauth 0 all none none 這一段,改成如下所示:
#access MyROGroup "" any noauth 0 all none none
#access MyRWGroup "" any noauth 0 all all all
access MyROGroup "" any noauth prefix all none none
access MyRWGroup "" any noauth prefix all all all
5. 再找一下 syslocation Unknown (configure /etc/snmp/snmp.conf)這一段,改成如下所示:(其中 syslocation 用來告知你機器所在的位置)
syslocation GangShan
syscontact Root (configure /etc/snmp/snmp.local.conf)
6. 接下來是設定 process monitor 的部分,找到 #proc mountd 這一行的位置,這裡假設我們機器上面有 ftp 的服務,而且我們想監視服務的狀態那就可以改成如下所示:
#proc mountd
proc snmpd
proc vsftpd

procfix vsftpd /sbin/service vsftpd restart
(其中 procfix 那一行是在 process 沒有 running 時執行的)。

7. 再來是關於硬碟容量的監視,找到 #disk / 10000 這一段,這裡假設我們要監視 / ,上限是 85% 的使用限制,我們可以設定如下:
#disk / 10000
disk / 15%
好囉,先改這一部分,存檔然後將 snmpd 的服務重啟吧:
[root@KHXPROVS1 ~]# service snmpd restart
Stopping snmpd: [ OK ]
Starting snmpd: [ OK ]
8. 好了,做個簡單的測試吧,先查詢一下硬碟的監視狀況吧:
[root@KHXPROVS1 ~]# snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.2021.9
UCD-SNMP-MIB::dskIndex.1 = INTEGER: 1
UCD-SNMP-MIB::dskPath.1 = STRING: /
UCD-SNMP-MIB::dskDevice.1 = STRING: /dev/sda2
UCD-SNMP-MIB::dskMinimum.1 = INTEGER: -1
UCD-SNMP-MIB::dskMinPercent.1 = INTEGER: 15
UCD-SNMP-MIB::dskTotal.1 = INTEGER: 41286828
UCD-SNMP-MIB::dskAvail.1 = INTEGER: 31760584
UCD-SNMP-MIB::dskUsed.1 = INTEGER: 7428960
UCD-SNMP-MIB::dskPercent.1 = INTEGER: 19
UCD-SNMP-MIB::dskPercentNode.1 = INTEGER: 6
UCD-SNMP-MIB::dskErrorFlag.1 = INTEGER: 0
UCD-SNMP-MIB::dskErrorMsg.1 = STRING:
9. 再來,查詢一下服務的監視狀況吧:
[root@KHXPROVS1 ~]# snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.2021.2
UCD-SNMP-MIB::prIndex.1 = INTEGER: 1
UCD-SNMP-MIB::prIndex.2 = INTEGER: 2
UCD-SNMP-MIB::prNames.1 = STRING: snmpd
UCD-SNMP-MIB::prNames.2 = STRING: vsftpd
UCD-SNMP-MIB::prMin.1 = INTEGER: 0
UCD-SNMP-MIB::prMin.2 = INTEGER: 0
UCD-SNMP-MIB::prMax.1 = INTEGER: 0
UCD-SNMP-MIB::prMax.2 = INTEGER: 0
UCD-SNMP-MIB::prCount.1 = INTEGER: 1
UCD-SNMP-MIB::prCount.2 = INTEGER: 1
UCD-SNMP-MIB::prErrorFlag.1 = INTEGER: 0
UCD-SNMP-MIB::prErrorFlag.2 = INTEGER: 0
UCD-SNMP-MIB::prErrMessage.1 = STRING:
UCD-SNMP-MIB::prErrMessage.2 = STRING:
UCD-SNMP-MIB::prErrFix.1 = INTEGER: 0
UCD-SNMP-MIB::prErrFix.2 = INTEGER: 0
UCD-SNMP-MIB::prErrFixCmd.1 = STRING:
UCD-SNMP-MIB::prErrFixCmd.2 = STRING: /sbin/service vsftpd restart
假設我現在將 vsftpd 服務給停下來,那麼再做一次 snmp query 就會發現 1.3.6.1.4.1.2021.2.1.101 (UCD-SNMP-MIB::prErrMessage.2)的內容變成了:
UCD-SNMP-MIB::prErrMessage.2 = STRING: No vsftpd process running.
10. 接著我們在做個測試,直接用 snmptrap 的指令將 UCD-SNMP-MIB::prErrMessage.2 的值當成 traps 的內容送出到 SNMP server 去:
[root@KHXPROVS1 ~]# /usr/bin/snmptrap -v 2c -c public 10.16.25.25 "" .1.3.6.1.4.1.2021.2.1.101 .1.3.6.1.4.1.2021.2.1.101 s "HOST:KHXP
PROVS1|EVENT=No vsftpd process running."
另外,我們打開 tcpdump 看一下是否有攔到這個 traps 送出:
[root@KHXPROVS1 ~]# tcpdump -vvvXX host 10.16.25.25 -i eth0 and port 162 -s 0
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes


18:23:55.648888 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto 17, length: 165) KHXPROVS1.tatung.net.tw.32796 > 10.16.25.25.snmptrap: [bad udp cksum a09d!] { SNMPv2c { V2Trap(121) R=2145043168 system.sysUpTime.0=37325417 S:1.1.4.1.0=E:2021.2.1.101 E:2021.2.1.101="HOST:KHXPROVS1|EVENT=No vsftpd process running." } }
0x0000: 001d 0926 b7cd 001e c9ad 5464 0800 4500 ...&......Td..E.
0x0010: 00a5 0000 4000 4011 f3ef 0a10 1920 0a10 ....@.@.........
0x0020: 1919 801c 00a2 0091 46fb 3081 8602 0101 ........F.0.....
0x0030: 0406 7075 626c 6963 a779 0204 7fda c2e0 ..public.y......
0x0040: 0201 0002 0100 306b 3010 0608 2b06 0102 ......0k0...+...
0x0050: 0101 0300 4304 0239 8a69 3018 060a 2b06 ....C..9.i0...+.
0x0060: 0106 0301 0104 0100 060a 2b06 0104 018f ..........+.....
0x0070: 6502 0165 303d 060a 2b06 0104 018f 6502 e..e0=..+.....e.
0x0080: 0165 042f 484f 5354 3a4b 4858 5052 4f56 .e./HOST:KHXPROV
0x0090: 5331 7c45 5645 4e54 3d4e 6f20 7673 6674 S1|EVENT=No.vsft
0x00a0: 7064 2070 726f 6365 7373 2072 756e 6e69 pd.process.runni
0x00b0: 6e67 2e ng.

1 packets captured
1 packets received by filter
0 packets dropped by kernel
[root@KHXPROVS1 ~]#
測試完畢,如果這時在 SNMP server 上有 MIB Browser 之類的軟體,便可收到剛剛送出的 ALARM Traps 囉。

下次有機會再把檢查以及送 traps 出去的簡單 scripts 列上來給大家參考吧...


此處列出其他幾個常用的語法:

設定基本的 snmpd 參數:
snmpconf -i -g basic_setup (輔助建立、修改配置文件)
snmpget -v 1 -c public 127.0.0.1 ssCpuRawSystem.0
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 2377652724

轉換物件名稱的數值形式與可閱讀形式、查詢 MIB 資訊:
snmptranslate -On -Td -IR ssCpuRawSystem
.1.3.6.1.4.1.2021.11.52
ssCpuRawSystem OBJECT-TYPE
— FROM UCD-SNMP-MIB
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION “system CPU time.”
::= { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1) ucdavis(2021) systemStats(11) 52 }
snmptranslate -Td .1.3.6.1.4.1.2021.11.52
UCD-SNMP-MIB::ssCpuRawSystem
ssCpuRawSystem OBJECT-TYPE
— FROM UCD-SNMP-MIB
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION “system CPU time.”
::= { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1) ucdavis(2021) systemStats(11) 52 }
以 SNMP 查詢網路上主機的硬碟用量:
[root@KHXPROVS1 ~]# snmpdf -v 1 -c public -Cu khxprovs1 (<<>
Description size (kB) Used Available Used%
/ 41286828 7433684 33853144 18%
取得網路上主機系統狀態:
[root@KHXPROVS1 ~]# snmpstatus -v 1 -c public khxprovs1 (<<>
[127.0.0.1]=>[Linux KHXPROVS1 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686] Up: 16:15:02.30
Interfaces: 0, Recv/Trans packets: 1529/1529 | IP: 38894376/58055763

Net-SNMP 首頁:http://www.net-snmp.org/
查詢 MIB file 或 OID 的好站:ipMonitor Support Portal :: Mibs
(詳全文...)

LINUX Java 環境及 Tomcat 安裝

今天實作的機器為 Dell-1950 安裝的 OS 為 RHEL ES4 Update5,首先我們要先實作安裝 JAVA JDK, 因此我們先從 Java SE Downloads 下載 JDK 6 Update 7:

進入剛剛的頁面後,選擇 JDK 6 Update 7 的 Download 按鈕 (這個版本內還包含了 Java Runtime Environment (JRE) 囉),接下來看到 "Select Platform and Language for your download:" 時選擇你的 OS 跟語言,這裡我選擇 Linux 的 Platfrom 以及 Multi-Language 為 Language 選擇同意後按 "Continus" 下載 "jdk-6u7-linux-i586-rpm.bin"。

或者從 Sun Microsystems 下載 Linux 專用的 Java 軟體:

進到剛剛的連結頁面後,按下 Linux RPM (自我解壓縮檔) 便可下載 JDK 6 Update 7。
--- 建議下載 RPM 自解壓縮格式的(RPM in self-extracting file,jdk-6u7-linux-i586-rpm.bin)

再來是將檔案上傳到這次實作的機器上,這裡就先 ftp 到 /opt 吧:
[root@KHXPROVS1 ~]# cd /opt
[root@KHXPROVS1 opt]# ls -alrt
total 181532
drwx------ 2 root root 16384 Jun 25 22:22 lost+found
-rw-r--r-- 1 root root 248493 Jul 1 14:35 iperf-2.0.4.tar.gz
drwxrwxrwx 8 501 501 4096 Jul 1 14:36 iperf-2.0.4
drwxr-xr-x 25 root root 4096 Aug 27 15:56 ..
drwxr-xr-x 4 root root 4096 Sep 4 09:32 .
-rw-r--r-- 1 root root 74397909 Sep 4 09:37 jdk-6u7-linux-i586-rpm.bin
將檔案權限改為可執行檔:
[root@KHXPROVS1 opt]# chmod +x jdk-6u6-linux-i586-rpm.bin
[root@KHXPROVS1 opt]# ls -alrt
total 181532
drwx------ 2 root root 16384 Jun 25 22:22 lost+found
-rw-r--r-- 1 root root 248493 Jul 1 14:35 iperf-2.0.4.tar.gz
drwxrwxrwx 8 501 501 4096 Jul 1 14:36 iperf-2.0.4
drwxr-xr-x 25 root root 4096 Aug 27 15:56 ..
drwxr-xr-x 4 root root 4096 Sep 4 09:32 .
-rwxr-xr-x 1 root root 74397909 Sep 4 09:37 jdk-6u7-linux-i586-rpm.bin
要開始安裝 JDK囉, 安裝時會有一段 Sun 的協議,敲幾個空白鍵,當詢問是否同意時,敲 yes 就好。
[root@KHXPROVS1 opt]# ./jdk-6u7-linux-i586-rpm.bin
Sun Microsystems, Inc. Binary Code License Agreement

for the JAVA SE DEVELOPMENT KIT (JDK), VERSION 6

SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE
SOFTWARE IDENTIFIED BELOW TO YOU ONLY UPON THE CONDITION
THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS BINARY
CODE LICENSE AGREEMENT AND SUPPLEMENTAL LICENSE TERMS
(COLLECTIVELY "AGREEMENT"). PLEASE READ THE AGREEMENT
CAREFULLY. BY DOWNLOADING OR INSTALLING THIS SOFTWARE, YOU
ACCEPT THE TERMS OF THE AGREEMENT. INDICATE ACCEPTANCE BY
SELECTING THE "ACCEPT" BUTTON AT THE BOTTOM OF THE
AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY ALL THE
TERMS, SELECT THE "DECLINE" BUTTON AT THE BOTTOM OF THE
AGREEMENT AND THE DOWNLOAD OR INSTALL PROCESS WILL NOT
CONTINUE.

1. DEFINITIONS. "Software" means the identified above in
binary form, any other machine readable materials
(including, but not limited to, libraries, source files,
header files, and data files), any updates or error
corrections provided by Sun, and any user manuals,
programming guides and other documentation provided to you
by Sun under this Agreement. "General Purpose Desktop
Computers and Servers" means computers, including desktop,
laptop and tablet computers, or servers, used for general
computing functions under end user control (such as but not
specifically limited to email, general purpose Internet
browsing, and office suite productivity tools).
The use of Software in systems and solutions that provide
dedicated functionality (other than as mentioned above) or
designed for use in embedded or function-specific software
applications, for example but not limited to: Software
embedded in or bundled with industrial control systems,
wireless mobile telephones, wireless handheld devices,
kiosks, TV/STB, Blu-ray Disc devices, telematics and
network control switching equipment, printers and storage
management systems, and other related systems are excluded
from this definition and not licensed under this
Agreement. "Programs" means Java technology applets and
applications intended to run on the Java Platform Standard
Edition (Java SE) platform on Java-enabled General Purpose
Desktop Computers and Servers.

2. LICENSE TO USE. Subject to the terms and conditions of
this Agreement, including, but not limited to the Java
Technology Restrictions of the Supplemental License Terms,
Sun grants you a non-exclusive, non-transferable, limited
license without license fees to reproduce and use
internally Software complete and unmodified for the sole
purpose of running Programs. Additional licenses for
developers and/or publishers are granted in the
Supplemental License Terms.

3. RESTRICTIONS. Software is confidential and copyrighted.
Title to Software and all associated intellectual property
rights is retained by Sun and/or its licensors. Unless
enforcement is prohibited by applicable law, you may not
modify, decompile, or reverse engineer Software. You
acknowledge that Licensed Software is not designed or
intended for use in the design, construction, operation or
maintenance of any nuclear facility. Sun Microsystems, Inc.
disclaims any express or implied warranty of fitness for
such uses. No right, title or interest in or to any
trademark, service mark, logo or trade name of Sun or its
licensors is granted under this Agreement. Additional
restrictions for developers and/or publishers licenses are
set forth in the Supplemental License Terms.

4. LIMITED WARRANTY. Sun warrants to you that for a period
of ninety (90) days from the date of purchase, as evidenced
by a copy of the receipt, the media on which Software is
furnished (if any) will be free of defects in materials and
workmanship under normal use. Except for the foregoing,
Software is provided "AS IS". Your exclusive remedy and
Sun's entire liability under this limited warranty will be
at Sun's option to replace Software media or refund the fee
paid for Software. Any implied warranties on the Software
are limited to 90 days. Some states do not allow
limitations on duration of an implied warranty, so the
above may not apply to you. This limited warranty gives you
specific legal rights. You may have others, which vary from
state to state.

5. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS
AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS,
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED
WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE
EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY
INVALID.

6. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY
LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR
ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT,
CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT
OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE,
EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES. In no event will Sun's liability to you, whether
in contract, tort (including negligence), or otherwise,
exceed the amount paid by you for Software under this
Agreement. The foregoing limitations will apply even if the
above stated warranty fails of its essential purpose. Some
states do not allow the exclusion of incidental or
consequential damages, so some of the terms above may not
be applicable to you.

7. TERMINATION. This Agreement is effective until
terminated. You may terminate this Agreement at any time by
destroying all copies of Software. This Agreement will
terminate immediately without notice from Sun if you fail
to comply with any provision of this Agreement. Either
party may terminate this Agreement immediately should any
Software become, or in either party's opinion be likely to
become, the subject of a claim of infringement of any
intellectual property right. Upon Termination, you must
destroy all copies of Software.

8. EXPORT REGULATIONS. All Software and technical data
delivered under this Agreement are subject to US export
control laws and may be subject to export or import
regulations in other countries. You agree to comply
strictly with all such laws and regulations and acknowledge
that you have the responsibility to obtain such licenses to
export, re-export, or import as may be required after
delivery to you.

9. TRADEMARKS AND LOGOS. You acknowledge and agree as
between you and Sun that Sun owns the SUN, SOLARIS, JAVA,
JINI, FORTE, and iPLANET trademarks and all SUN, SOLARIS,
JAVA, JINI, FORTE, and iPLANET-related trademarks, service
marks, logos and other brand designations ("Sun Marks"),
and you agree to comply with the Sun Trademark and Logo
Usage Requirements currently located at
http://www.sun.com/policies/trademarks. Any use you make of
the Sun Marks inures to Sun's benefit.

10. U.S. GOVERNMENT RESTRICTED RIGHTS. If Software is being
acquired by or on behalf of the U.S. Government or by a
U.S. Government prime contractor or subcontractor (at any
tier), then the Government's rights in Software and
accompanying documentation will be only as set forth in
this Agreement; this is in accordance with 48 CFR 227.7201
through 227.7202-4 (for Department of Defense (DOD)
acquisitions) and with 48 CFR 2.101 and 12.212 (for non-DOD
acquisitions).

11. GOVERNING LAW. Any action related to this Agreement
will be governed by California law and controlling U.S.
federal law. No choice of law rules of any jurisdiction
will apply.

12. SEVERABILITY. If any provision of this Agreement is
held to be unenforceable, this Agreement will remain in
effect with the provision omitted, unless omission would
frustrate the intent of the parties, in which case this
Agreement will immediately terminate.

13. INTEGRATION. This Agreement is the entire agreement
between you and Sun relating to its subject matter. It
supersedes all prior or contemporaneous oral or written
communications, proposals, representations and warranties
and prevails over any conflicting or additional terms of
any quote, order, acknowledgment, or other communication
between the parties relating to its subject matter during
the term of this Agreement. No modification of this
Agreement will be binding, unless in writing and signed by
an authorized representative of each party.

SUPPLEMENTAL LICENSE TERMS

These Supplemental License Terms add to or modify the terms
of the Binary Code License Agreement. Capitalized terms not
defined in these Supplemental Terms shall have the same
meanings ascribed to them in the Binary Code License
Agreement . These Supplemental Terms shall supersede any
inconsistent or conflicting terms in the Binary Code
License Agreement, or in any license contained within the
Software.

A. Software Internal Use and Development License Grant.
Subject to the terms and conditions of this Agreement and
restrictions and exceptions set forth in the Software
"README" file incorporated herein by reference, including,
but not limited to the Java Technology Restrictions of
these Supplemental Terms, Sun grants you a non-exclusive,
non-transferable, limited license without fees to reproduce
internally and use internally the Software complete and
unmodified for the purpose of designing, developing, and
testing your Programs.

B. License to Distribute Software. Subject to the terms and
conditions of this Agreement and restrictions and
exceptions set forth in the Software README file,
including, but not limited to the Java Technology
Restrictions of these Supplemental Terms, Sun grants you a
non-exclusive, non-transferable, limited license without
fees to reproduce and distribute the Software, provided
that (i) you distribute the Software complete and
unmodified and only bundled as part of, and for the sole
purpose of running, your Programs, (ii) the Programs add
significant and primary functionality to the Software,
(iii) you do not distribute additional software intended to
replace any component(s) of the Software, (iv) you do not
remove or alter any proprietary legends or notices
contained in the Software, (v) you only distribute the
Software subject to a license agreement that protects Sun's
interests consistent with the terms contained in this
Agreement, and (vi) you agree to defend and indemnify Sun
and its licensors from and against any damages, costs,
liabilities, settlement amounts and/or expenses (including
attorneys' fees) incurred in connection with any claim,
lawsuit or action by any third party that arises or results
from the use or distribution of any and all Programs and/or
Software.

C. License to Distribute Redistributables. Subject to the
terms and conditions of this Agreement and restrictions and
exceptions set forth in the Software README file, including
but not limited to the Java Technology Restrictions of
these Supplemental Terms, Sun grants you a non-exclusive,
non-transferable, limited license without fees to reproduce
and distribute those files specifically identified as
redistributable in the Software "README" file
("Redistributables") provided that: (i) you distribute the
Redistributables complete and unmodified, and only bundled
as part of Programs, (ii) the Programs add significant and
primary functionality to the Redistributables, (iii) you do
not distribute additional software intended to supersede
any component(s) of the Redistributables (unless otherwise
specified in the applicable README file), (iv) you do not
remove or alter any proprietary legends or notices
contained in or on the Redistributables, (v) you only
distribute the Redistributables pursuant to a license
agreement that protects Sun's interests consistent with the
terms contained in the Agreement, (vi) you agree to defend
and indemnify Sun and its licensors from and against any
damages, costs, liabilities, settlement amounts and/or
expenses (including attorneys' fees) incurred in connection
with any claim, lawsuit or action by any third party that
arises or results from the use or distribution of any and
all Programs and/or Software.

D. Java Technology Restrictions. You may not create,
modify, or change the behavior of, or authorize your
licensees to create, modify, or change the behavior of,
classes, interfaces, or subpackages that are in any way
identified as "java", "javax", "sun" or similar convention
as specified by Sun in any naming convention designation.

E. Distribution by Publishers. This section pertains to
your distribution of the Software with your printed book or
magazine (as those terms are commonly used in the industry)
relating to Java technology ("Publication"). Subject to and
conditioned upon your compliance with the restrictions and
obligations contained in the Agreement, in addition to the
license granted in Paragraph 1 above, Sun hereby grants to
you a non-exclusive, nontransferable limited right to
reproduce complete and unmodified copies of the Software on
electronic media (the "Media") for the sole purpose of
inclusion and distribution with your Publication(s),
subject to the following terms: (i) You may not distribute
the Software on a stand-alone basis; it must be distributed
with your Publication(s); (ii) You are responsible for
downloading the Software from the applicable Sun web site;
(iii) You must refer to the Software as JavaTM SE
Development Kit 6; (iv) The Software must be reproduced in
its entirety and without any modification whatsoever
(including, without limitation, the Binary Code License and
Supplemental License Terms accompanying the Software and
proprietary rights notices contained in the Software);
(v) The Media label shall include the following
information: Copyright 2006, Sun Microsystems, Inc. All
rights reserved. Use is subject to license terms. Sun, Sun
Microsystems, the Sun logo, Solaris, Java, the Java Coffee
Cup logo, J2SE, and all trademarks and logos based on Java
are trademarks or registered trademarks of Sun
Microsystems, Inc. in the U.S. and other countries. This
information must be placed on the Media label in such a
manner as to only apply to the Sun Software; (vi) You must
clearly identify the Software as Sun's product on the Media
holder or Media label, and you may not state or imply that
Sun is responsible for any third-party software contained
on the Media; (vii) You may not include any third party
software on the Media which is intended to be a replacement
or substitute for the Software; (viii) You shall indemnify
Sun for all damages arising from your failure to comply
with the requirements of this Agreement. In addition, you
shall defend, at your expense, any and all claims brought
against Sun by third parties, and shall pay all damages
awarded by a court of competent jurisdiction, or such
settlement amount negotiated by you, arising out of or in
connection with your use, reproduction or distribution of
the Software and/or the Publication. Your obligation to
provide indemnification under this section shall arise
provided that Sun: (a) provides you prompt notice of the
claim; (b) gives you sole control of the defense and
settlement of the claim; (c) provides you, at your expense,
with all available information, assistance and authority to
defend; and (d) has not compromised or settled such claim
without your prior written consent; and (ix) You shall
provide Sun with a written notice for each Publication;
such notice shall include the following information: (1)
title of Publication, (2) author(s), (3) date of
Publication, and (4) ISBN or ISSN numbers. Such notice
shall be sent to Sun Microsystems, Inc., 4150 Network
Circle, M/S USCA12-110, Santa Clara, California 95054,
U.S.A , Attention: Contracts Administration.

F. Source Code. Software may contain source code that,
unless expressly licensed for other purposes, is provided
solely for reference purposes pursuant to the terms of this
Agreement. Source code may not be redistributed unless
expressly provided for in this Agreement.

G. Third Party Code. Additional copyright notices and
license terms applicable to portions of the Software are
set forth in the THIRDPARTYLICENSEREADME.txt file. In
addition to any terms and conditions of any third party
opensource/freeware license identified in the
THIRDPARTYLICENSEREADME.txt file, the disclaimer of
warranty and limitation of liability provisions in
paragraphs 5 and 6 of the Binary Code License Agreement
shall apply to all Software in this distribution.

H. Termination for Infringement. Either party may terminate
this Agreement immediately should any Software become, or
in either party's opinion be likely to become, the subject
of a claim of infringement of any intellectual property
right.

I. Installation and Auto-Update. The Software's
installation and auto-update processes transmit a limited
amount of data to Sun (or its service provider) about those
specific processes to help Sun understand and optimize
them. Sun does not associate the data with personally
identifiable information. You can find more information
about the data Sun collects at http://java.com/data/.

For inquiries please contact: Sun Microsystems, Inc., 4150
Network Circle, Santa Clara, California 95054, U.S.A.

Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jdk-6u7-linux-i586.rpm
inflating: sun-javadb-common-10.3.1-4.1.i386.rpm
inflating: sun-javadb-core-10.3.1-4.1.i386.rpm
inflating: sun-javadb-client-10.3.1-4.1.i386.rpm
inflating: sun-javadb-demo-10.3.1-4.1.i386.rpm
inflating: sun-javadb-docs-10.3.1-4.1.i386.rpm
inflating: sun-javadb-javadoc-10.3.1-4.1.i386.rpm
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]
Unpacking JAR files...
rt.jar...
jsse.jar...
charsets.jar...
tools.jar...
localedata.jar...
plugin.jar...
javaws.jar...
deploy.jar...
Installing JavaDB
Preparing... ########################################### [100%]
1:sun-javadb-common ########################################### [ 17%]
2:sun-javadb-core ########################################### [ 33%]
3:sun-javadb-client ########################################### [ 50%]
4:sun-javadb-demo ########################################### [ 67%]
5:sun-javadb-docs ########################################### [ 83%]
6:sun-javadb-javadoc ########################################### [100%]

Java(TM) SE Development Kit 6 successfully installed.

Product Registration is FREE and includes many benefits:
* Notification of new versions, patches, and updates
* Special offers on Sun products, services and training
* Access to early releases and documentation

Product and system data will be collected. If your configuration
supports a browser, the Sun Product Registration form for
the JDK will be presented. If you do not register, none of
this information will be saved. You may also register your
JDK later by opening the register.html file (located in
the JDK installation directory) in a browser.

For more information on what data Registration collects and
how it is managed and used, see:
http://java.sun.com/javase/registration/JDKRegistrationPrivacy.html

Press Enter to continue.....

Done.
檢查一下目前安裝的 JAVA 吧:
[root@KHXPROVS1 opt]# rpm -qa|grep java
sun-javadb-demo-10.3.1-4.1
sun-javadb-common-10.3.1-4.1
java-1.4.2-gcj-compat-1.4.2.0-27jpp
sun-javadb-core-10.3.1-4.1
sun-javadb-javadoc-10.3.1-4.1
db4-java-4.2.52-7.1
gcc4-java-4.1.1-53.EL4
java-1.4.2-gcj-compat-devel-1.4.2.0-27jpp
sun-javadb-client-10.3.1-4.1
gcc-java-3.4.6-8
sun-javadb-docs-10.3.1-4.1
而 JDK 會被安裝到 /usr/java/jdk1.6.0_07 底下:其中 /usr/java/jdk1.6.0_07/jre 便是 Java Runtime Environment 的安裝路徑喔。
[root@KHXPROVS1 opt]# ls -alrt /usr/java/
total 16
drwxr-xr-x 15 root root 4096 Sep 4 09:39 ..
lrwxrwxrwx 1 root root 21 Sep 4 09:40 latest -> /usr/java/jdk1.6.0_07
drwxr-xr-x 9 root root 4096 Sep 4 09:40 jdk1.6.0_07
lrwxrwxrwx 1 root root 16 Sep 4 09:40 default -> /usr/java/latest
drwxr-xr-x 3 root root 4096 Sep 4 09:40 .
[root@KHXPROVS1 ~]# ls -al /usr/java/jdk1.6.0_07
total 18660
drwxr-xr-x 9 root root 4096 Sep 4 09:40 .
drwxr-xr-x 3 root root 4096 Sep 11 13:26 ..
drwxr-xr-x 2 root root 4096 Sep 4 09:39 bin
-rw-r--r-- 1 root root 4137 Jun 10 16:54 COPYRIGHT
drwxr-xr-x 10 root root 4096 Sep 4 09:39 demo
drwxr-xr-x 3 root root 4096 Sep 4 09:39 include
drwxr-xr-x 6 root root 4096 Sep 4 09:39 jre
drwxr-xr-x 3 root root 4096 Sep 4 11:15 lib
-rw-r--r-- 1 root root 17058 Jun 10 16:54 LICENSE
drwxr-xr-x 4 root root 4096 Sep 4 09:39 man
-rw-r--r-- 1 root root 28599 Jun 10 16:54 README.html
-rw-r--r-- 1 root root 24132 Jun 10 16:54 README_ja.html
-rw-r--r-- 1 root root 18329 Jun 10 16:54 README_zh_CN.html
-r--r--r-- 1 root root 5134 Sep 4 09:40 register.html
-r--r--r-- 1 root root 5566 Sep 4 09:40 register_ja.html
-r--r--r-- 1 root root 4744 Sep 4 09:40 register_zh_CN.html
drwxr-xr-x 9 root root 4096 Sep 4 09:39 sample
-rw-r--r-- 1 root root 18719895 Jun 10 16:54 src.zip
-rw-r--r-- 1 root root 190102 Jun 10 16:54 THIRDPARTYLICENSEREADME.txt
[root@KHXPROVS1 ~]#

如果你和我一樣沒有 Sun JDK 的 JPackage Java compatibility package,那麼就到 RepoView: Scientific Linux Fermi Testing 5rolling x86_64 或者到 FileWatcher 去下載 java-1.6.0-sun-compat-1.6.0.07-1jpp.i586.rpm (60.32 KB) 吧。一樣的,下載完後將檔案 ftp 到實作機的 /opt 去,然後安裝:
[root@KHXPROVS1 opt]# ls -al
total 292796
drwxr-xr-x 5 root root 4096 Sep 4 11:09 .
drwxr-xr-x 25 root root 4096 Sep 4 10:43 ..
drwxrwxrwx 8 501 501 4096 Jul 1 14:36 iperf-2.0.4
-rw-r--r-- 1 root root 248493 Jul 1 14:35 iperf-2.0.4.tar.gz
-rw-r--r-- 1 root root 61764 Sep 4 11:09 java-1.6.0-sun-compat-1.6.0.07-1jpp.i586.rpm
-rw-r--r-- 1 root root 65414959 Jun 10 18:38 jdk-6u7-linux-i586.rpm
-rwxr-xr-x 1 root root 74397909 Sep 4 09:37 jdk-6u7-linux-i586-rpm.bin
-rw-r--r-- 1 root root 19463427 Jun 10 18:36 jre-6u7-linux-i586.rpm
-rwxr-xr-x 1 root root 19216086 Sep 4 10:31 jre-6u7-linux-i586-rpm.bin
drwx------ 2 root root 16384 Jun 25 22:22 lost+found
drwxr-xr-x 3 root root 4096 Sep 4 09:40 sun
-rw-r--r-- 1 root root 463678 Aug 20 2007 sun-javadb-client-10.3.1-4.1.i386.rpm
-rw-r--r-- 1 root root 62801 Aug 20 2007 sun-javadb-common-10.3.1-4.1.i386.rpm
-rw-r--r-- 1 root root 3655834 Aug 20 2007 sun-javadb-core-10.3.1-4.1.i386.rpm
-rw-r--r-- 1 root root 996942 Aug 20 2007 sun-javadb-demo-10.3.1-4.1.i386.rpm
-rw-r--r-- 1 root root 4290799 Aug 20 2007 sun-javadb-docs-10.3.1-4.1.i386.rpm
-rw-r--r-- 1 root root 123721 Aug 20 2007 sun-javadb-javadoc-10.3.1-4.1.i386.rpm
[root@KHXPROVS1 opt]# rpm -Uvh java-1.6.0-sun-compat-1.6.0.07-1jpp.i586.rpm
warning: java-1.6.0-sun-compat-1.6.0.07-1jpp.i586.rpm: V3 DSA signature: NOKEY, key ID 82fd17b2
Preparing... ########################################### [100%]
1:java-1.6.0-sun-compat ########################################### [100%]
檢查一下 java-1.6.0-sun-compat-1.6.0.07-1jpp 有出現在 rpm installation list 裡面:
[root@KHXPROVS1 opt]# rpm -qa |grep java
sun-javadb-demo-10.3.1-4.1
sun-javadb-common-10.3.1-4.1
java-1.4.2-gcj-compat-1.4.2.0-27jpp
sun-javadb-core-10.3.1-4.1
sun-javadb-javadoc-10.3.1-4.1
db4-java-4.2.52-7.1
gcc4-java-4.1.1-53.EL4
java-1.4.2-gcj-compat-devel-1.4.2.0-27jpp
sun-javadb-client-10.3.1-4.1
java-1.6.0-sun-compat-1.6.0.07-1jpp
gcc-java-3.4.6-8
sun-javadb-docs-10.3.1-4.1
接下來檢查一下目前系統使用的 JAVA 版本:
[root@KHXPROVS1 opt]# java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)
確認一下目前的系統是設定最後版本為 default JAVA, run 下面的 command: (應該會看到目前系統有兩個可用的 Java 程式, 如下所示)
[root@KHXPROVS1 opt]# alternatives --config java

There are 2 programs which provide 'java'.

Selection Command
-----------------------------------------------
1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
*+ 2 /usr/lib/jvm/jre-1.6.0-sun/bin/java

Enter to keep the current selection[+], or type selection number:
[root@KHXPROVS1 opt]#
如果在 number 2 之前有看到 *+, 那就ok,直接按 Enter 就好。不過如果你的運氣不好,是 1 被選到,那麼 type 2 並按 Enter 改為使用最後版本。

JDK 安裝到這裡算是 ok 了,接下來是設定環境變數,可以用 export 命令直接在 shell 下設置,但只針對當前的 shell 有效,因此我們直接去修改 .bashrc 文件吧:
[root@KHXPROVS1 opt]# vi ~/.bashrc
# .bashrc

# User specific aliases and functions

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias vi='vim'

TERM=xterm-color; export TERM;

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

export JAVA_HOME=/usr/java/jdk1.6.0_07
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
~
存檔然後離開這個 shell 再進來一次:
[root@KHXPROVS1 opt]# exit
logout
測試一下剛剛的環境變數:
[root@KHXPROVS1 ~]# echo $JAVA_HOME
/usr/java/jdk1.6.0_07
[root@KHXPROVS1 ~]# echo $CLASSPATH
.:/usr/java/jdk1.6.0_07/lib/dt.jar:/usr/java/jdk1.6.0_07/lib/tools.jar
[root@KHXPROVS1 ~]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/java/jdk1.6.0_07/bin:/root/bin
[root@KHXPROVS1 ~]#
接著是 Apache Tomcat 的安裝部分了,首先我們到 Apache Tomcat 的官方網站去,點選左邊 download 的一個版本,這裡選擇的是 tomcat6.x:
進去後選 Binary Distributions 下的 tar.gz (pgp, md5) 來下載 Apache Tomcat v6.0.18。

下載完後將 apache-tomcat-6.0.18.tar.gz 上傳到測試機器的 /opt 下:
[root@KHXPROVS1 opt]# cd /opt
[root@KHXPROVS1 opt]# ls -al
total 292796
drwxr-xr-x 5 root root 4096 Sep 4 11:09 .
drwxr-xr-x 25 root root 4096 Sep 4 10:43 ..
-rw-r--r-- 1 root root 6142197 Sep 3 19:04 apache-tomcat-6.0.18.tar.gz
drwxrwxrwx 8 501 501 4096 Jul 1 14:36 iperf-2.0.4
-rw-r--r-- 1 root root 248493 Jul 1 14:35 iperf-2.0.4.tar.gz
-rw-r--r-- 1 root root 61764 Sep 4 11:09 java-1.6.0-sun-compat-1.6.0.07-1jpp.i586.rpm
-rw-r--r-- 1 root root 65414959 Jun 10 18:38 jdk-6u7-linux-i586.rpm
-rwxr-xr-x 1 root root 74397909 Sep 4 09:37 jdk-6u7-linux-i586-rpm.bin
-rw-r--r-- 1 root root 19463427 Jun 10 18:36 jre-6u7-linux-i586.rpm
-rwxr-xr-x 1 root root 19216086 Sep 4 10:31 jre-6u7-linux-i586-rpm.bin
drwx------ 2 root root 16384 Jun 25 22:22 lost+found
drwxr-xr-x 3 root root 4096 Sep 4 09:40 sun
-rw-r--r-- 1 root root 463678 Aug 20 2007 sun-javadb-client-10.3.1-4.1.i386.rpm
-rw-r--r-- 1 root root 62801 Aug 20 2007 sun-javadb-common-10.3.1-4.1.i386.rpm
-rw-r--r-- 1 root root 3655834 Aug 20 2007 sun-javadb-core-10.3.1-4.1.i386.rpm
-rw-r--r-- 1 root root 996942 Aug 20 2007 sun-javadb-demo-10.3.1-4.1.i386.rpm
-rw-r--r-- 1 root root 4290799 Aug 20 2007 sun-javadb-docs-10.3.1-4.1.i386.rpm
-rw-r--r-- 1 root root 123721 Aug 20 2007 sun-javadb-javadoc-10.3.1-4.1.i386.rpm
接下來安裝的話直接解壓縮就可以了:(目前預計要安裝的路徑為 /opt/ 喔)
[root@KHXPROVS1 opt]# tar zxvf apache-tomcat-6.0.18.tar.gz
apache-tomcat-6.0.18/bin/catalina.sh
apache-tomcat-6.0.18/bin/digest.sh
apache-tomcat-6.0.18/bin/setclasspath.sh
apache-tomcat-6.0.18/bin/shutdown.sh
apache-tomcat-6.0.18/bin/startup.sh
apache-tomcat-6.0.18/bin/tool-wrapper.sh
apache-tomcat-6.0.18/bin/version.sh
apache-tomcat-6.0.18/conf/
apache-tomcat-6.0.18/conf/catalina.policy
apache-tomcat-6.0.18/conf/catalina.properties
apache-tomcat-6.0.18/conf/context.xml
apache-tomcat-6.0.18/conf/logging.properties
apache-tomcat-6.0.18/conf/server.xml
apache-tomcat-6.0.18/conf/tomcat-users.xml
apache-tomcat-6.0.18/conf/web.xml
apache-tomcat-6.0.18/bin/
apache-tomcat-6.0.18/lib/
apache-tomcat-6.0.18/logs/
apache-tomcat-6.0.18/temp/
apache-tomcat-6.0.18/webapps/
apache-tomcat-6.0.18/webapps/ROOT/
apache-tomcat-6.0.18/webapps/ROOT/WEB-INF/
apache-tomcat-6.0.18/webapps/docs/
apache-tomcat-6.0.18/webapps/docs/WEB-INF/
apache-tomcat-6.0.18/webapps/docs/api/
apache-tomcat-6.0.18/webapps/docs/appdev/
apache-tomcat-6.0.18/webapps/docs/appdev/printer/
apache-tomcat-6.0.18/webapps/docs/appdev/printer/docs/
apache-tomcat-6.0.18/webapps/docs/appdev/printer/docs/appdev/
apache-tomcat-6.0.18/webapps/docs/appdev/sample/
apache-tomcat-6.0.18/webapps/docs/appdev/sample/docs/
apache-tomcat-6.0.18/webapps/docs/appdev/sample/src/
apache-tomcat-6.0.18/webapps/docs/appdev/sample/src/mypackage/
apache-tomcat-6.0.18/webapps/docs/appdev/sample/web/
apache-tomcat-6.0.18/webapps/docs/appdev/sample/web/WEB-INF/
apache-tomcat-6.0.18/webapps/docs/appdev/sample/web/images/
apache-tomcat-6.0.18/webapps/docs/architecture/
apache-tomcat-6.0.18/webapps/docs/architecture/printer/
apache-tomcat-6.0.18/webapps/docs/architecture/requestProcess/
apache-tomcat-6.0.18/webapps/docs/architecture/startup/
apache-tomcat-6.0.18/webapps/docs/config/
apache-tomcat-6.0.18/webapps/docs/config/printer/
apache-tomcat-6.0.18/webapps/docs/funcspecs/
apache-tomcat-6.0.18/webapps/docs/funcspecs/printer/
apache-tomcat-6.0.18/webapps/docs/images/
apache-tomcat-6.0.18/webapps/docs/printer/
apache-tomcat-6.0.18/webapps/docs/tribes/
apache-tomcat-6.0.18/webapps/examples/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/cal/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/chat/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/checkbox/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/colors/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/compressionFilters/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/dates/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/error/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/examples/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/filters/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/el/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/listeners/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/num/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/sessions/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/util/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/validators/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/jsp/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/jsp/applet/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/jsp2/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/lib/
apache-tomcat-6.0.18/webapps/examples/WEB-INF/tags/
apache-tomcat-6.0.18/webapps/examples/jsp/
apache-tomcat-6.0.18/webapps/examples/jsp/cal/
apache-tomcat-6.0.18/webapps/examples/jsp/chat/
apache-tomcat-6.0.18/webapps/examples/jsp/checkbox/
apache-tomcat-6.0.18/webapps/examples/jsp/colors/
apache-tomcat-6.0.18/webapps/examples/jsp/dates/
apache-tomcat-6.0.18/webapps/examples/jsp/error/
apache-tomcat-6.0.18/webapps/examples/jsp/forward/
apache-tomcat-6.0.18/webapps/examples/jsp/images/
apache-tomcat-6.0.18/webapps/examples/jsp/include/
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/el/
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspattribute/
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspx/
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/misc/
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/simpletag/
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/tagfiles/
apache-tomcat-6.0.18/webapps/examples/jsp/jsptoserv/
apache-tomcat-6.0.18/webapps/examples/jsp/num/
apache-tomcat-6.0.18/webapps/examples/jsp/plugin/
apache-tomcat-6.0.18/webapps/examples/jsp/plugin/applet/
apache-tomcat-6.0.18/webapps/examples/jsp/security/
apache-tomcat-6.0.18/webapps/examples/jsp/security/protected/
apache-tomcat-6.0.18/webapps/examples/jsp/sessions/
apache-tomcat-6.0.18/webapps/examples/jsp/simpletag/
apache-tomcat-6.0.18/webapps/examples/jsp/snp/
apache-tomcat-6.0.18/webapps/examples/jsp/tagplugin/
apache-tomcat-6.0.18/webapps/examples/jsp/xml/
apache-tomcat-6.0.18/webapps/examples/servlets/
apache-tomcat-6.0.18/webapps/examples/servlets/images/
apache-tomcat-6.0.18/webapps/host-manager/
apache-tomcat-6.0.18/webapps/host-manager/META-INF/
apache-tomcat-6.0.18/webapps/host-manager/WEB-INF/
apache-tomcat-6.0.18/webapps/host-manager/images/
apache-tomcat-6.0.18/webapps/manager/
apache-tomcat-6.0.18/webapps/manager/META-INF/
apache-tomcat-6.0.18/webapps/manager/WEB-INF/
apache-tomcat-6.0.18/webapps/manager/images/
apache-tomcat-6.0.18/work/
apache-tomcat-6.0.18/LICENSE
apache-tomcat-6.0.18/NOTICE
apache-tomcat-6.0.18/RELEASE-NOTES
apache-tomcat-6.0.18/RUNNING.txt
apache-tomcat-6.0.18/bin/bootstrap.jar
apache-tomcat-6.0.18/bin/catalina-tasks.xml
apache-tomcat-6.0.18/bin/catalina.bat
apache-tomcat-6.0.18/bin/commons-daemon.jar
apache-tomcat-6.0.18/bin/cpappend.bat
apache-tomcat-6.0.18/bin/digest.bat
apache-tomcat-6.0.18/bin/jsvc.tar.gz
apache-tomcat-6.0.18/bin/service.bat
apache-tomcat-6.0.18/bin/setclasspath.bat
apache-tomcat-6.0.18/bin/shutdown.bat
apache-tomcat-6.0.18/bin/startup.bat
apache-tomcat-6.0.18/bin/tomcat-juli.jar
apache-tomcat-6.0.18/bin/tomcat-native.tar.gz
apache-tomcat-6.0.18/bin/tomcat6.exe
apache-tomcat-6.0.18/bin/tomcat6w.exe
apache-tomcat-6.0.18/bin/tool-wrapper.bat
apache-tomcat-6.0.18/bin/version.bat
apache-tomcat-6.0.18/lib/annotations-api.jar
apache-tomcat-6.0.18/lib/catalina-ant.jar
apache-tomcat-6.0.18/lib/catalina-ha.jar
apache-tomcat-6.0.18/lib/catalina-tribes.jar
apache-tomcat-6.0.18/lib/catalina.jar
apache-tomcat-6.0.18/lib/el-api.jar
apache-tomcat-6.0.18/lib/jasper-el.jar
apache-tomcat-6.0.18/lib/jasper-jdt.jar
apache-tomcat-6.0.18/lib/jasper.jar
apache-tomcat-6.0.18/lib/jsp-api.jar
apache-tomcat-6.0.18/lib/servlet-api.jar
apache-tomcat-6.0.18/lib/tomcat-coyote.jar
apache-tomcat-6.0.18/lib/tomcat-dbcp.jar
apache-tomcat-6.0.18/lib/tomcat-i18n-es.jar
apache-tomcat-6.0.18/lib/tomcat-i18n-fr.jar
apache-tomcat-6.0.18/lib/tomcat-i18n-ja.jar
apache-tomcat-6.0.18/temp/safeToDelete.tmp
apache-tomcat-6.0.18/webapps/ROOT/RELEASE-NOTES.txt
apache-tomcat-6.0.18/webapps/ROOT/WEB-INF/web.xml
apache-tomcat-6.0.18/webapps/ROOT/asf-logo-wide.gif
apache-tomcat-6.0.18/webapps/ROOT/build.xml
apache-tomcat-6.0.18/webapps/ROOT/favicon.ico
apache-tomcat-6.0.18/webapps/ROOT/index.html
apache-tomcat-6.0.18/webapps/ROOT/index.jsp
apache-tomcat-6.0.18/webapps/ROOT/tomcat-power.gif
apache-tomcat-6.0.18/webapps/ROOT/tomcat.gif
apache-tomcat-6.0.18/webapps/ROOT/tomcat.svg
apache-tomcat-6.0.18/webapps/docs/BUILDING.txt
apache-tomcat-6.0.18/webapps/docs/NOTICE
apache-tomcat-6.0.18/webapps/docs/RELEASE-NOTES.txt
apache-tomcat-6.0.18/webapps/docs/RUNNING.txt
apache-tomcat-6.0.18/webapps/docs/WEB-INF/web.xml
apache-tomcat-6.0.18/webapps/docs/aio.html
apache-tomcat-6.0.18/webapps/docs/api/index.html
apache-tomcat-6.0.18/webapps/docs/appdev/build.xml.txt
apache-tomcat-6.0.18/webapps/docs/appdev/deployment.html
apache-tomcat-6.0.18/webapps/docs/appdev/index.html
apache-tomcat-6.0.18/webapps/docs/appdev/installation.html
apache-tomcat-6.0.18/webapps/docs/appdev/introduction.html
apache-tomcat-6.0.18/webapps/docs/appdev/printer/deployment.html
apache-tomcat-6.0.18/webapps/docs/appdev/printer/docs/appdev/build.xml.txt
apache-tomcat-6.0.18/webapps/docs/appdev/printer/docs/appdev/web.xml.txt
apache-tomcat-6.0.18/webapps/docs/appdev/printer/index.html
apache-tomcat-6.0.18/webapps/docs/appdev/printer/installation.html
apache-tomcat-6.0.18/webapps/docs/appdev/printer/introduction.html
apache-tomcat-6.0.18/webapps/docs/appdev/printer/processes.html
apache-tomcat-6.0.18/webapps/docs/appdev/printer/source.html
apache-tomcat-6.0.18/webapps/docs/appdev/processes.html
apache-tomcat-6.0.18/webapps/docs/appdev/sample/build.xml
apache-tomcat-6.0.18/webapps/docs/appdev/sample/docs/README.txt
apache-tomcat-6.0.18/webapps/docs/appdev/sample/index.html
apache-tomcat-6.0.18/webapps/docs/appdev/sample/sample.war
apache-tomcat-6.0.18/webapps/docs/appdev/sample/src/mypackage/Hello.java
apache-tomcat-6.0.18/webapps/docs/appdev/sample/web/WEB-INF/web.xml
apache-tomcat-6.0.18/webapps/docs/appdev/sample/web/hello.jsp
apache-tomcat-6.0.18/webapps/docs/appdev/sample/web/images/tomcat.gif
apache-tomcat-6.0.18/webapps/docs/appdev/sample/web/index.html
apache-tomcat-6.0.18/webapps/docs/appdev/source.html
apache-tomcat-6.0.18/webapps/docs/appdev/web.xml.txt
apache-tomcat-6.0.18/webapps/docs/apr.html
apache-tomcat-6.0.18/webapps/docs/architecture/index.html
apache-tomcat-6.0.18/webapps/docs/architecture/overview.html
apache-tomcat-6.0.18/webapps/docs/architecture/printer/index.html
apache-tomcat-6.0.18/webapps/docs/architecture/printer/overview.html
apache-tomcat-6.0.18/webapps/docs/architecture/printer/requestProcess.html
apache-tomcat-6.0.18/webapps/docs/architecture/printer/startup.html
apache-tomcat-6.0.18/webapps/docs/architecture/requestProcess.html
apache-tomcat-6.0.18/webapps/docs/architecture/requestProcess/requestProcess.pdf
apache-tomcat-6.0.18/webapps/docs/architecture/requestProcess/roseModel.mdl
apache-tomcat-6.0.18/webapps/docs/architecture/startup.html
apache-tomcat-6.0.18/webapps/docs/architecture/startup/serverStartup.pdf
apache-tomcat-6.0.18/webapps/docs/architecture/startup/serverStartup.txt
apache-tomcat-6.0.18/webapps/docs/balancer-howto.html
apache-tomcat-6.0.18/webapps/docs/building.html
apache-tomcat-6.0.18/webapps/docs/cgi-howto.html
apache-tomcat-6.0.18/webapps/docs/changelog.html
apache-tomcat-6.0.18/webapps/docs/class-loader-howto.html
apache-tomcat-6.0.18/webapps/docs/cluster-howto.html
apache-tomcat-6.0.18/webapps/docs/config/ajp.html
apache-tomcat-6.0.18/webapps/docs/config/cluster-channel.html
apache-tomcat-6.0.18/webapps/docs/config/cluster-deployer.html
apache-tomcat-6.0.18/webapps/docs/config/cluster-interceptor.html
apache-tomcat-6.0.18/webapps/docs/config/cluster-listener.html
apache-tomcat-6.0.18/webapps/docs/config/cluster-manager.html
apache-tomcat-6.0.18/webapps/docs/config/cluster-membership.html
apache-tomcat-6.0.18/webapps/docs/config/cluster-receiver.html
apache-tomcat-6.0.18/webapps/docs/config/cluster-sender.html
apache-tomcat-6.0.18/webapps/docs/config/cluster-valve.html
apache-tomcat-6.0.18/webapps/docs/config/cluster.html
apache-tomcat-6.0.18/webapps/docs/config/context.html
apache-tomcat-6.0.18/webapps/docs/config/engine.html
apache-tomcat-6.0.18/webapps/docs/config/executor.html
apache-tomcat-6.0.18/webapps/docs/config/globalresources.html
apache-tomcat-6.0.18/webapps/docs/config/host.html
apache-tomcat-6.0.18/webapps/docs/config/http.html
apache-tomcat-6.0.18/webapps/docs/config/index.html
apache-tomcat-6.0.18/webapps/docs/config/loader.html
apache-tomcat-6.0.18/webapps/docs/config/manager.html
apache-tomcat-6.0.18/webapps/docs/config/printer/ajp.html
apache-tomcat-6.0.18/webapps/docs/config/printer/cluster-channel.html
apache-tomcat-6.0.18/webapps/docs/config/printer/cluster-deployer.html
apache-tomcat-6.0.18/webapps/docs/config/printer/cluster-interceptor.html
apache-tomcat-6.0.18/webapps/docs/config/printer/cluster-listener.html
apache-tomcat-6.0.18/webapps/docs/config/printer/cluster-manager.html
apache-tomcat-6.0.18/webapps/docs/config/printer/cluster-membership.html
apache-tomcat-6.0.18/webapps/docs/config/printer/cluster-receiver.html
apache-tomcat-6.0.18/webapps/docs/config/printer/cluster-sender.html
apache-tomcat-6.0.18/webapps/docs/config/printer/cluster-valve.html
apache-tomcat-6.0.18/webapps/docs/config/printer/cluster.html
apache-tomcat-6.0.18/webapps/docs/config/printer/context.html
apache-tomcat-6.0.18/webapps/docs/config/printer/engine.html
apache-tomcat-6.0.18/webapps/docs/config/printer/executor.html
apache-tomcat-6.0.18/webapps/docs/config/printer/globalresources.html
apache-tomcat-6.0.18/webapps/docs/config/printer/host.html
apache-tomcat-6.0.18/webapps/docs/config/printer/http.html
apache-tomcat-6.0.18/webapps/docs/config/printer/index.html
apache-tomcat-6.0.18/webapps/docs/config/printer/loader.html
apache-tomcat-6.0.18/webapps/docs/config/printer/manager.html
apache-tomcat-6.0.18/webapps/docs/config/printer/realm.html
apache-tomcat-6.0.18/webapps/docs/config/printer/resources.html
apache-tomcat-6.0.18/webapps/docs/config/printer/server.html
apache-tomcat-6.0.18/webapps/docs/config/printer/service.html
apache-tomcat-6.0.18/webapps/docs/config/printer/systemprops.html
apache-tomcat-6.0.18/webapps/docs/config/printer/valve.html
apache-tomcat-6.0.18/webapps/docs/config/realm.html
apache-tomcat-6.0.18/webapps/docs/config/resources.html
apache-tomcat-6.0.18/webapps/docs/config/server.html
apache-tomcat-6.0.18/webapps/docs/config/service.html
apache-tomcat-6.0.18/webapps/docs/config/systemprops.html
apache-tomcat-6.0.18/webapps/docs/config/valve.html
apache-tomcat-6.0.18/webapps/docs/connectors.html
apache-tomcat-6.0.18/webapps/docs/default-servlet.html
apache-tomcat-6.0.18/webapps/docs/deployer-howto.html
apache-tomcat-6.0.18/webapps/docs/developers.html
apache-tomcat-6.0.18/webapps/docs/extras.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/fs-admin-apps.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/fs-admin-objects.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/fs-admin-opers.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/fs-default.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/fs-invoker.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/fs-jdbc-realm.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/fs-jndi-realm.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/fs-memory-realm.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/index.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/mbean-names.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/printer/fs-admin-apps.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/printer/fs-admin-objects.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/printer/fs-admin-opers.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/printer/fs-default.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/printer/fs-invoker.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/printer/fs-jdbc-realm.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/printer/fs-jndi-realm.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/printer/fs-memory-realm.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/printer/index.html
apache-tomcat-6.0.18/webapps/docs/funcspecs/printer/mbean-names.html
apache-tomcat-6.0.18/webapps/docs/html-manager-howto.html
apache-tomcat-6.0.18/webapps/docs/images/add.gif
apache-tomcat-6.0.18/webapps/docs/images/asf-logo.gif
apache-tomcat-6.0.18/webapps/docs/images/code.gif
apache-tomcat-6.0.18/webapps/docs/images/design.gif
apache-tomcat-6.0.18/webapps/docs/images/docs.gif
apache-tomcat-6.0.18/webapps/docs/images/fix.gif
apache-tomcat-6.0.18/webapps/docs/images/printer.gif
apache-tomcat-6.0.18/webapps/docs/images/tomcat.gif
apache-tomcat-6.0.18/webapps/docs/images/tomcat.svg
apache-tomcat-6.0.18/webapps/docs/images/update.gif
apache-tomcat-6.0.18/webapps/docs/images/void.gif
apache-tomcat-6.0.18/webapps/docs/index.html
apache-tomcat-6.0.18/webapps/docs/introduction.html
apache-tomcat-6.0.18/webapps/docs/jasper-howto.html
apache-tomcat-6.0.18/webapps/docs/jndi-datasource-examples-howto.html
apache-tomcat-6.0.18/webapps/docs/jndi-resources-howto.html
apache-tomcat-6.0.18/webapps/docs/logging.html
apache-tomcat-6.0.18/webapps/docs/manager-howto.html
apache-tomcat-6.0.18/webapps/docs/maven-jars.html
apache-tomcat-6.0.18/webapps/docs/mbeans-descriptor-howto.html
apache-tomcat-6.0.18/webapps/docs/monitoring.html
apache-tomcat-6.0.18/webapps/docs/printer/BUILDING.txt
apache-tomcat-6.0.18/webapps/docs/printer/NOTICE
apache-tomcat-6.0.18/webapps/docs/printer/RUNNING.txt
apache-tomcat-6.0.18/webapps/docs/printer/aio.html
apache-tomcat-6.0.18/webapps/docs/printer/apr.html
apache-tomcat-6.0.18/webapps/docs/printer/balancer-howto.html
apache-tomcat-6.0.18/webapps/docs/printer/building.html
apache-tomcat-6.0.18/webapps/docs/printer/cgi-howto.html
apache-tomcat-6.0.18/webapps/docs/printer/changelog.html
apache-tomcat-6.0.18/webapps/docs/printer/class-loader-howto.html
apache-tomcat-6.0.18/webapps/docs/printer/cluster-howto.html
apache-tomcat-6.0.18/webapps/docs/printer/connectors.html
apache-tomcat-6.0.18/webapps/docs/printer/default-servlet.html
apache-tomcat-6.0.18/webapps/docs/printer/deployer-howto.html
apache-tomcat-6.0.18/webapps/docs/printer/developers.html
apache-tomcat-6.0.18/webapps/docs/printer/extras.html
apache-tomcat-6.0.18/webapps/docs/printer/html-manager-howto.html
apache-tomcat-6.0.18/webapps/docs/printer/index.html
apache-tomcat-6.0.18/webapps/docs/printer/introduction.html
apache-tomcat-6.0.18/webapps/docs/printer/jasper-howto.html
apache-tomcat-6.0.18/webapps/docs/printer/jndi-datasource-examples-howto.html
apache-tomcat-6.0.18/webapps/docs/printer/jndi-resources-howto.html
apache-tomcat-6.0.18/webapps/docs/printer/logging.html
apache-tomcat-6.0.18/webapps/docs/printer/manager-howto.html
apache-tomcat-6.0.18/webapps/docs/printer/maven-jars.html
apache-tomcat-6.0.18/webapps/docs/printer/mbeans-descriptor-howto.html
apache-tomcat-6.0.18/webapps/docs/printer/monitoring.html
apache-tomcat-6.0.18/webapps/docs/printer/proxy-howto.html
apache-tomcat-6.0.18/webapps/docs/printer/realm-howto.html
apache-tomcat-6.0.18/webapps/docs/printer/security-manager-howto.html
apache-tomcat-6.0.18/webapps/docs/printer/setup.html
apache-tomcat-6.0.18/webapps/docs/printer/ssi-howto.html
apache-tomcat-6.0.18/webapps/docs/printer/ssl-howto.html
apache-tomcat-6.0.18/webapps/docs/printer/virtual-hosting-howto.html
apache-tomcat-6.0.18/webapps/docs/printer/windows-service-howto.html
apache-tomcat-6.0.18/webapps/docs/proxy-howto.html
apache-tomcat-6.0.18/webapps/docs/realm-howto.html
apache-tomcat-6.0.18/webapps/docs/security-manager-howto.html
apache-tomcat-6.0.18/webapps/docs/setup.html
apache-tomcat-6.0.18/webapps/docs/ssi-howto.html
apache-tomcat-6.0.18/webapps/docs/ssl-howto.html
apache-tomcat-6.0.18/webapps/docs/tribes/faq.html
apache-tomcat-6.0.18/webapps/docs/tribes/introduction.html
apache-tomcat-6.0.18/webapps/docs/tribes/setup.html
apache-tomcat-6.0.18/webapps/docs/virtual-hosting-howto.html
apache-tomcat-6.0.18/webapps/docs/windows-service-howto.html
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/CookieExample.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/CookieExample.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/HelloWorldExample.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/HelloWorldExample.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/LocalStrings.properties
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/LocalStrings_en.properties
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/LocalStrings_es.properties
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/LocalStrings_fr.properties
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/LocalStrings_pt.properties
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/RequestHeaderExample.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/RequestHeaderExample.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/RequestInfoExample.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/RequestInfoExample.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/RequestParamExample.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/RequestParamExample.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/SessionExample.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/SessionExample.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/cal/Entries.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/cal/Entries.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/cal/Entry.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/cal/Entry.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/cal/JspCalendar.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/cal/JspCalendar.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/cal/TableBean.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/cal/TableBean.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/chat/ChatServlet$MessageSender.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/chat/ChatServlet.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/chat/ChatServlet.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/checkbox/CheckTest.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/checkbox/CheckTest.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/colors/ColorGameBean.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/colors/ColorGameBean.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/dates/JspCalendar.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/dates/JspCalendar.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/error/Smart.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/error/Smart.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/examples/FooTag.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/examples/FooTag.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/examples/LogTag.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/examples/LogTag.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/examples/ShowSource.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/examples/ShowSource.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/filters/ExampleFilter.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/filters/ExampleFilter.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/filters/RequestDumperFilter.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/filters/RequestDumperFilter.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/BookBean.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/BookBean.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/FooBean.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/FooBean.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/el/Functions.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/el/Functions.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/listeners/ContextListener.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/listeners/ContextListener.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/listeners/SessionListener.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/listeners/SessionListener.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/num/NumberGuessBean.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/num/NumberGuessBean.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/servletToJsp.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/servletToJsp.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/sessions/DummyCart.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/sessions/DummyCart.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/util/HTMLFilter.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/util/HTMLFilter.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/validators/DebugValidator.class
apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes/validators/DebugValidator.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/jsp/applet/Clock2.java
apache-tomcat-6.0.18/webapps/examples/WEB-INF/jsp/debug-taglib.tld
apache-tomcat-6.0.18/webapps/examples/WEB-INF/jsp/example-taglib.tld
apache-tomcat-6.0.18/webapps/examples/WEB-INF/jsp2/jsp2-example-taglib.tld
apache-tomcat-6.0.18/webapps/examples/WEB-INF/lib/jstl.jar
apache-tomcat-6.0.18/webapps/examples/WEB-INF/lib/standard.jar
apache-tomcat-6.0.18/webapps/examples/WEB-INF/tags/displayProducts.tag
apache-tomcat-6.0.18/webapps/examples/WEB-INF/tags/helloWorld.tag
apache-tomcat-6.0.18/webapps/examples/WEB-INF/tags/panel.tag
apache-tomcat-6.0.18/webapps/examples/WEB-INF/tags/xhtmlbasic.tag
apache-tomcat-6.0.18/webapps/examples/WEB-INF/web.xml
apache-tomcat-6.0.18/webapps/examples/index.html
apache-tomcat-6.0.18/webapps/examples/jsp/cal/Entries.java.html
apache-tomcat-6.0.18/webapps/examples/jsp/cal/Entry.java.html
apache-tomcat-6.0.18/webapps/examples/jsp/cal/JspCalendar.java.html
apache-tomcat-6.0.18/webapps/examples/jsp/cal/TableBean.java.html
apache-tomcat-6.0.18/webapps/examples/jsp/cal/cal1.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/cal/cal1.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/cal/cal2.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/cal/cal2.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/cal/calendar.html
apache-tomcat-6.0.18/webapps/examples/jsp/cal/login.html
apache-tomcat-6.0.18/webapps/examples/jsp/chat/chat.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/chat/chat.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/chat/login.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/chat/login.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/chat/post.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/chat/post.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/checkbox/CheckTest.html
apache-tomcat-6.0.18/webapps/examples/jsp/checkbox/check.html
apache-tomcat-6.0.18/webapps/examples/jsp/checkbox/checkresult.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/checkbox/checkresult.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/checkbox/cresult.html
apache-tomcat-6.0.18/webapps/examples/jsp/colors/ColorGameBean.html
apache-tomcat-6.0.18/webapps/examples/jsp/colors/clr.html
apache-tomcat-6.0.18/webapps/examples/jsp/colors/colors.html
apache-tomcat-6.0.18/webapps/examples/jsp/colors/colrs.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/colors/colrs.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/dates/date.html
apache-tomcat-6.0.18/webapps/examples/jsp/dates/date.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/dates/date.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/error/er.html
apache-tomcat-6.0.18/webapps/examples/jsp/error/err.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/error/err.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/error/error.html
apache-tomcat-6.0.18/webapps/examples/jsp/error/errorpge.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/error/errorpge.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/forward/forward.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/forward/forward.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/forward/fwd.html
apache-tomcat-6.0.18/webapps/examples/jsp/forward/one.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/forward/one.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/forward/two.html
apache-tomcat-6.0.18/webapps/examples/jsp/images/code.gif
apache-tomcat-6.0.18/webapps/examples/jsp/images/execute.gif
apache-tomcat-6.0.18/webapps/examples/jsp/images/read.gif
apache-tomcat-6.0.18/webapps/examples/jsp/images/return.gif
apache-tomcat-6.0.18/webapps/examples/jsp/include/foo.html
apache-tomcat-6.0.18/webapps/examples/jsp/include/foo.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/include/foo.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/include/inc.html
apache-tomcat-6.0.18/webapps/examples/jsp/include/include.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/include/include.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/index.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/el/Functions.java.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/el/basic-arithmetic.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/el/basic-arithmetic.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/el/basic-arithmetic.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/el/basic-comparisons.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/el/basic-comparisons.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/el/basic-comparisons.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/el/functions.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/el/functions.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/el/functions.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/el/implicit-objects.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/el/implicit-objects.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/el/implicit-objects.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspattribute/FooBean.java.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspattribute/HelloWorldSimpleTag.java.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspattribute/ShuffleSimpleTag.java.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspattribute/TileSimpleTag.java.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspattribute/jspattribute.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspattribute/jspattribute.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspattribute/jspattribute.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspattribute/shuffle.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspattribute/shuffle.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspattribute/shuffle.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspx/basic.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspx/basic.jspx
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspx/basic.jspx.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspx/svgexample.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspx/textRotate.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspx/textRotate.jpg
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspx/textRotate.jspx
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/jspx/textRotate.jspx.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/misc/EchoAttributesTag.java.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/misc/coda.jspf
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/misc/coda.jspf.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/misc/config.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/misc/config.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/misc/config.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/misc/dynamicattrs.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/misc/dynamicattrs.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/misc/dynamicattrs.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/misc/prelude.jspf
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/misc/prelude.jspf.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/simpletag/BookBean.java.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/simpletag/FindBookSimpleTag.java.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/simpletag/Functions.java.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/simpletag/HelloWorldSimpleTag.java.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/simpletag/RepeatSimpleTag.java.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/simpletag/book.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/simpletag/book.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/simpletag/book.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/simpletag/hello.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/simpletag/hello.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/simpletag/hello.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/simpletag/repeat.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/simpletag/repeat.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/simpletag/repeat.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/tagfiles/displayProducts.tag.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/tagfiles/hello.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/tagfiles/hello.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/tagfiles/hello.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/tagfiles/helloWorld.tag.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/tagfiles/panel.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/tagfiles/panel.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/tagfiles/panel.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/tagfiles/panel.tag.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/tagfiles/products.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/tagfiles/products.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/tagfiles/products.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsp2/tagfiles/xhtmlbasic.tag.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsptoserv/hello.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/jsptoserv/hello.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsptoserv/jts.html
apache-tomcat-6.0.18/webapps/examples/jsp/jsptoserv/servletToJsp.java.html
apache-tomcat-6.0.18/webapps/examples/jsp/num/numguess.html
apache-tomcat-6.0.18/webapps/examples/jsp/num/numguess.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/num/numguess.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/plugin/applet/Clock2.class
apache-tomcat-6.0.18/webapps/examples/jsp/plugin/applet/Clock2.java
apache-tomcat-6.0.18/webapps/examples/jsp/plugin/plugin.html
apache-tomcat-6.0.18/webapps/examples/jsp/plugin/plugin.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/plugin/plugin.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/security/protected/error.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/security/protected/error.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/security/protected/index.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/security/protected/index.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/security/protected/login.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/security/protected/login.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/sessions/DummyCart.html
apache-tomcat-6.0.18/webapps/examples/jsp/sessions/carts.html
apache-tomcat-6.0.18/webapps/examples/jsp/sessions/carts.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/sessions/carts.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/sessions/crt.html
apache-tomcat-6.0.18/webapps/examples/jsp/simpletag/foo.html
apache-tomcat-6.0.18/webapps/examples/jsp/simpletag/foo.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/simpletag/foo.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/snp/snoop.html
apache-tomcat-6.0.18/webapps/examples/jsp/snp/snoop.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/snp/snoop.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/source.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/source.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/tagplugin/choose.html
apache-tomcat-6.0.18/webapps/examples/jsp/tagplugin/choose.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/tagplugin/choose.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/tagplugin/foreach.html
apache-tomcat-6.0.18/webapps/examples/jsp/tagplugin/foreach.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/tagplugin/foreach.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/tagplugin/howto.html
apache-tomcat-6.0.18/webapps/examples/jsp/tagplugin/if.html
apache-tomcat-6.0.18/webapps/examples/jsp/tagplugin/if.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/tagplugin/if.jsp.html
apache-tomcat-6.0.18/webapps/examples/jsp/tagplugin/notes.html
apache-tomcat-6.0.18/webapps/examples/jsp/xml/xml.html
apache-tomcat-6.0.18/webapps/examples/jsp/xml/xml.jsp
apache-tomcat-6.0.18/webapps/examples/jsp/xml/xml.jsp.html
apache-tomcat-6.0.18/webapps/examples/servlets/cookies.html
apache-tomcat-6.0.18/webapps/examples/servlets/helloworld.html
apache-tomcat-6.0.18/webapps/examples/servlets/images/code.gif
apache-tomcat-6.0.18/webapps/examples/servlets/images/execute.gif
apache-tomcat-6.0.18/webapps/examples/servlets/images/return.gif
apache-tomcat-6.0.18/webapps/examples/servlets/index.html
apache-tomcat-6.0.18/webapps/examples/servlets/reqheaders.html
apache-tomcat-6.0.18/webapps/examples/servlets/reqinfo.html
apache-tomcat-6.0.18/webapps/examples/servlets/reqparams.html
apache-tomcat-6.0.18/webapps/examples/servlets/sessions.html
apache-tomcat-6.0.18/webapps/host-manager/META-INF/context.xml
apache-tomcat-6.0.18/webapps/host-manager/WEB-INF/web.xml
apache-tomcat-6.0.18/webapps/host-manager/images/add.gif
apache-tomcat-6.0.18/webapps/host-manager/images/asf-logo.gif
apache-tomcat-6.0.18/webapps/host-manager/images/code.gif
apache-tomcat-6.0.18/webapps/host-manager/images/design.gif
apache-tomcat-6.0.18/webapps/host-manager/images/docs.gif
apache-tomcat-6.0.18/webapps/host-manager/images/fix.gif
apache-tomcat-6.0.18/webapps/host-manager/images/tomcat.gif
apache-tomcat-6.0.18/webapps/host-manager/images/update.gif
apache-tomcat-6.0.18/webapps/host-manager/images/void.gif
apache-tomcat-6.0.18/webapps/host-manager/manager.xml
apache-tomcat-6.0.18/webapps/manager/401.jsp
apache-tomcat-6.0.18/webapps/manager/META-INF/context.xml
apache-tomcat-6.0.18/webapps/manager/WEB-INF/web.xml
apache-tomcat-6.0.18/webapps/manager/images/add.gif
apache-tomcat-6.0.18/webapps/manager/images/asf-logo.gif
apache-tomcat-6.0.18/webapps/manager/images/code.gif
apache-tomcat-6.0.18/webapps/manager/images/design.gif
apache-tomcat-6.0.18/webapps/manager/images/docs.gif
apache-tomcat-6.0.18/webapps/manager/images/fix.gif
apache-tomcat-6.0.18/webapps/manager/images/tomcat.gif
apache-tomcat-6.0.18/webapps/manager/images/update.gif
apache-tomcat-6.0.18/webapps/manager/images/void.gif
apache-tomcat-6.0.18/webapps/manager/sessionDetail.jsp
apache-tomcat-6.0.18/webapps/manager/sessionsList.jsp
apache-tomcat-6.0.18/webapps/manager/status.xsd
apache-tomcat-6.0.18/webapps/manager/xform.xsl
所以安裝完後的路徑為 /opt/pache-tomcat-6.0.18,緊接著我們將 Tomcat 的目錄搬到 /opt/tomcat 去:
[root@KHXPROVS1 opt]# mv /opt/apache-tomcat-6.0.18 /opt/tomcat
[root@KHXPROVS1 opt]# ls -al
total 292800
drwxr-xr-x 6 root root 4096 Sep 8 16:14 .
drwxr-xr-x 25 root root 4096 Sep 4 10:43 ..
-rw-r--r-- 1 root root 6142197 Sep 3 19:04 apache-tomcat-6.0.18.tar.gz
drwxrwxrwx 8 501 501 4096 Jul 1 14:36 iperf-2.0.4
-rw-r--r-- 1 root root 248493 Jul 1 14:35 iperf-2.0.4.tar.gz
-rw-r--r-- 1 root root 61764 Sep 4 11:09 java-1.6.0-sun-compat-1.6.0.07-1jpp.i586.rpm
-rw-r--r-- 1 root root 65414959 Jun 10 18:38 jdk-6u7-linux-i586.rpm
-rwxr-xr-x 1 root root 74397909 Sep 4 09:37 jdk-6u7-linux-i586-rpm.bin
-rw-r--r-- 1 root root 19463427 Jun 10 18:36 jre-6u7-linux-i586.rpm
-rwxr-xr-x 1 root root 19216086 Sep 4 10:31 jre-6u7-linux-i586-rpm.bin
drwx------ 2 root root 16384 Jun 25 22:22 lost+found
drwxr-xr-x 3 root root 4096 Sep 4 09:40 sun
-rw-r--r-- 1 root root 463678 Aug 20 2007 sun-javadb-client-10.3.1-4.1.i386.rpm
-rw-r--r-- 1 root root 62801 Aug 20 2007 sun-javadb-common-10.3.1-4.1.i386.rpm
-rw-r--r-- 1 root root 3655834 Aug 20 2007 sun-javadb-core-10.3.1-4.1.i386.rpm
-rw-r--r-- 1 root root 996942 Aug 20 2007 sun-javadb-demo-10.3.1-4.1.i386.rpm
-rw-r--r-- 1 root root 4290799 Aug 20 2007 sun-javadb-docs-10.3.1-4.1.i386.rpm
-rw-r--r-- 1 root root 123721 Aug 20 2007 sun-javadb-javadoc-10.3.1-4.1.i386.rpm
drwxr-xr-x 9 root root 4096 Sep 4 11:24 tomcat
好了,安裝很簡單吧,接著要更改一下 Tomcat 的環境設定,主要是將下列兩行加進去:export JAVA_HOME=/usr/java/jdk1.6.0_07
export TOMCAT_HOME=/opt/tomcat
[root@KHXPROVS1 opt]# vi /etc/profile
# /etc/profile

# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc

pathmunge () {
if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
if [ "$2" = "after" ] ; then
PATH=$PATH:$1
else
PATH=$1:$PATH
fi
fi
}

# Path manipulation
if [ `id -u` = 0 ]; then
pathmunge /sbin
pathmunge /usr/sbin
pathmunge /usr/local/sbin
fi

pathmunge /usr/X11R6/bin after


# No core files by default
ulimit -S -c 0 > /dev/null 2>&1

USER="`id -un`"
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"

HOSTNAME=`/bin/hostname`
HISTSIZE=1000

if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
INPUTRC=/etc/inputrc
fi

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC

for i in /etc/profile.d/*.sh ; do
if [ -r "$i" ]; then
. $i
fi
done

unset i
unset pathmunge

########## for TOMCAT env. setup ######################
export JAVA_HOME=/usr/java/jdk1.6.0_07
export TOMCAT_HOME=/opt/tomcat
export CATALINA_BASE=/opt/tomcat
export CATALINA_HOME=/opt/tomcat
export CLASSPATH=./:${JAVA_HOME}/lib:${JAVA_HOME}/jre/lib/ext:${CATALINA_HOME}/common/lib
export PATH=${JAVA_HOME}/bin:${CATALINA_HOME}/bin:${PATH}
"/etc/profile" 53L, 983C written
直接讓目前的設定值生效:
[root@KHXPROVS1 opt]# source /etc/profile
設定環境變數,一樣的直接去修改 .bashrc 文件吧:
[root@KHXPROVS1 opt]# vi ~/.bashrc
# .bashrc

# User specific aliases and functions

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias vi='vim'

TERM=xterm-color; export TERM;

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

export JAVA_HOME=/usr/java/jdk1.6.0_07
export CATALINA_BASE=/opt/tomcat
export CATALINA_HOME=/opt/tomcat
export PATH=$PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export TOMCAT_HOME=/opt/tomcat
"~/.bashrc" 22L, 459C
存檔然後離開這個 shell 再進來一次:
[root@KHXPROVS1 opt]# exit
logout
設定到這裡已經差不多囉,接著我們就來測試一下吧:
首先來啟動 Tomcat 服務試試看:
[root@KHXPROVS1 opt]# /opt/tomcat/bin/startup.sh
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr/java/jdk1.6.0_07
[root@KHXPROVS1 ~]# ps -aef|grep tomcat
root 14377 1 23 16:49 pts/4 00:00:02 /usr/java/jdk1.6.0_07/bin/java -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties -Djava.endorsed.dirs=/opt/tomcat/endorsed -classpath :/opt/tomcat/bin/bootstrap.jar -Dcatalina.base=/opt/tomcat -Dcatalina.home=/opt/tomcat -Djava.io.tmpdir=/opt/tomcat/temp org.apache.catalina.startup.Bootstrap start
root 14403 14302 0 16:49 pts/4 00:00:00 grep tomcat
[root@KHXPROVS1 ~]#
最後在瀏覽器中輸入 http://localhost:8080/ 便可看到 Tomcat 的 log 了, 到此安裝告一段落。

另外再測試一下關掉 Tomcat 吧:
[root@KHXPROVS1 opt]# /opt/tomcat/bin/shutdown.sh
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr/java/jdk1.6.0_07
[root@KHXPROVS1 opt]#
(詳全文...)