请求各位:公司有台linux系统的服务器装有tomcat.tomcat端口原来设置为80端口.但最近tomcat出现了一次无端端被恢复端口为默认的8080的情况,小弟怎么也搞不明白怎么会无端端地恢复原来的8080端口的呢?没有人动过....谢谢解答...

解决方案 »

  1.   

    是不是安装了什么别的Web Server占用了80。
      

  2.   

    今天查看日志里出现下面错误,有那位大侠知道原因吗?Aug 18, 2009 11:30:44 AM org.apache.tomcat.util.threads.ThreadPool logFull
    SEVERE: All threads (150) are currently busy, waiting. Increase maxThreads (150) or check the servlet status
    Aug 18, 2009 12:23:14 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.5.0_05/jre/lib/i386/client:/usr/java/jdk1.5.0_05/jre/lib/i386:/usr/java/jdk1.5.0_05/jre/../lib/i386
    Aug 18, 2009 12:23:14 PM org.apache.coyote.http11.Http11BaseProtocol init
      

  3.   

    你重新把tomcat的端口设置为80试试。看会不会再被改成8080
      

  4.   

    All threads (150) are currently busy, waiting. Increase maxThreads (150) or check the servlet status 
    ---------------------
    这条说线程池满了,可以修改tomcat配置,增大tomcat处理的最大线程数