tomcat的docBase目录权限问题

tomcat的docBase目录权限问题

新安装tomcat5。5。20,启动、停止成功。然后在server。xml中的<host>内添加一句
<Context path="" docBase="/usr/x/jsp" debug="0" reloadable="true" crossContext="true"/>后
[root@localhost conf]# startup.sh
Using CATALINA_BASE:   /usr/local/tomcat-5.5.20
Using CATALINA_HOME:   /usr/local/tomcat-5.5.20
Using CATALINA_TMPDIR: /usr/local/tomcat-5.5.20/temp
Using JRE_HOME:       /usr/java/jdk1.5.0_11
[root@localhost conf]# shutdown.sh
Using CATALINA_BASE:   /usr/local/tomcat-5.5.20
Using CATALINA_HOME:   /usr/local/tomcat-5.5.20
Using CATALINA_TMPDIR: /usr/local/tomcat-5.5.20/temp
Using JRE_HOME:       /usr/java/jdk1.5.0_11
2007-3-1 16:52:37 org.apache.catalina.startup.Catalina stopServer
严重: Catalina.stop:
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java:179)
        at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:394)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:343)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:434)

通过试验发现只要将/usr/x/jsp目录权限设为777就没有问题,否则任何权限值都会有上述问题。不知道是怎么回事?

????????????????????????????????????????????????????????
没有人知道吗?