tomcat错误

1.在eclipse中安装tomcat服务器,报错" Cannot create a server using the selected type "

  原因:以前安装的tomcat目录改变

解决方法:Window->preferences->Server->Runtime Environment,改变tomcat的目录为你安装的目录,然后保存,这样就可以建立Tomcat server了。

2.找不到bootstrap

  原因,解决方法同上

3.tomcat reload几次后OutOfMemoryError: PermGen space的解决方法

  java.lang.OutOfMemoryError: PermGen space及其解决方法

  tomcat reload几次后OutOfMemoryError: PermGen space的解决方法

  OutOfMemory:PermGen Space异常的处理和分析

4.Tomcat修改端口
要修改Tomcat原有的8080端口,只需要在它的安装目录中%TomcatHome%conf下的server.xml,找到8080并将其改为特定的端口。如下:
 <Connector port="10086" protocol="HTTP/1.1"                connectionTimeout="20000"                redirectPort="8443" /> <Connector port="8080" protocol="HTTP/1.1"  connectionTimeout="20000"  redirectPort="8443" />

posted @ 2009-12-31 11:35  因是因非  阅读(240)  评论(0编辑  收藏  举报