亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 6569 | 回復(fù): 0
打印 上一主題 下一主題

tomcat啟動報錯 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2011-12-22 08:54 |只看該作者 |倒序瀏覽

公司用的tomcat6.0.26,而家里的版本是6.0.18,程序部署過來之后啟動時顯示如下錯誤信息

信息: Not binding factory to JNDI, no JNDI name configured

2011-8-21 18:56:28 org.apache.catalina.core.StandardContext start

嚴(yán)重: Error listenerStart

2011-8-21 18:56:28 org.apache.catalina.core.StandardContext start

嚴(yán)重: Context [] startup failed due to previous errors

log4j:ERROR LogMananger.repositorySelector was null likely due to error in class

 reloading, using NOPLoggerRepository.

2011-8-21 18:56:35 org.apache.coyote.http11.Http11Protocol start

信息: Starting Coyote HTTP/1.1 on http-8080

第一個問題:log4j:ERROR這里,問題原因和解決方法如下:

The reason for the error is a new listener in Tomcat 6.0.24. You can fix this error by adding this line:

org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false

to the "conf/catalina.properties" file in your tomcat directory.

第二個問題:Context [] startup failed due to previous errors,這里看不出具體的錯誤,查看tomcatlogs目錄下的localhost.xxxx-xx-xx.log文件發(fā)現(xiàn)如下問題:

2011-8-21 18:59:38 org.apache.catalina.core.StandardContext listenerStart

嚴(yán)重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener

java.lang.OutOfMemoryError: Java heap space

錯誤很明顯,需要的就是增大相關(guān)jvm內(nèi)存:

bin目錄下的catalina.bat中增加下面內(nèi)容:

set JAVA_OPTS=%JAVA_OPTS% -server -Xms512m -Xmx768m -XX:MaxNewSize=768m

 

您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP