Error waiting for multi-thread deployment of directories to completehostConfig.deployWar

Error waiting for multi-thread deployment of directories to completehostConfig.deployWar

在xp下启动Tomcat,报错如下:

严重: Error waiting for multi-thread deployment of WAR files to complete
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space

 

修改tomcat6目录下bin的catalina.bat的虚拟内存,set JAVA_OPTS=-Xms64m -Xmx256m,无效果!

 

解决方案:

添加环境变量:JAVA_OPTS,值:-Xms64m -Xmx512m

posted @ 2013-04-01 17:29  ubersexual  阅读(2236)  评论(0编辑  收藏  举报