songdx20 发表于 2014-04-23 18:23

Tomcat 5.5 部署B/S结构的系统,真痛苦啊 page not found

Tomcat 5.5 部署B/S结构的系统,真痛苦啊page not found 一直访问不到。具体配置如下:
server.xml       麻烦大家帮我看看, 配置有什么问题, 或者还有其他地方需要配置, 非常感谢!!

<?xml version="1.0"?>
-<Server debug="0" shutdown="SHUTDOWN" port="8005">
<!--Define our Own service-->

<!--Since some country have damn low speed internet connections, we will enable compression here-->
-<Service name="moody"><Connector debug="0" port="8180" keystorePass="abc_123" keystoreFile="conf/keys/server_keystore" URIEncoding="UTF-8" sslProtocol="TLS" clientAuth="false" secure="true" scheme="https" acceptCount="100" disableUploadTimeout="true" enableLookups="false" compressableMimeType="text/html,text/xml" noCompressionUserAgents="gozilla, traviata" compressionMinSize="1024" compression="on" tcpThreadCount="8" maxSpareThreads="16" minSpareThreads="8" maxThreads="300" address="172.17.21.174"/>-<Engine debug="0" name="Standalone" defaultHost="172.17.21.174">
<!--Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/-->

<!--Realm className="org.apache.catalina.realm.MemoryRealm" /-->
-<Host debug="0" name="172.17.21.174" xmlValidation="false" autoDeploy="true" unpackWARs="true" appBase="/home/web"><Context debug="0" crossContext="true" reloadable="true" docBase="/home/web/moody" path="/moody"/>
<!--Context path="/mvnforum" docBase="/home/web/mvnforum" debug="0" reloadable="false" crossContext="false"/-->

<!--Context path="/query" docBase="/home/web/query" debug="0" reloadable="false" crossContext="false"/-->
</Host></Engine></Service></Server>

linux 环境下的 tomcat进程在跑, 端口也能检测到 如下:

# netstat -anp | grep 80
tcp      0      0 :::8080                     :::*                        LISTEN      1389/tnslsnr      
tcp      0      0 ::ffff:172.17.21.174:8180   :::*                        LISTEN      911/java            
tcp      0      0 ::ffff:127.0.0.1:8005       :::*                        LISTEN      911/java      
页: [1]
查看完整版本: Tomcat 5.5 部署B/S结构的系统,真痛苦啊 page not found