當(dāng)前位置: 首頁(yè)IT技術(shù) → tomcat啟動(dòng)出現(xiàn)錯(cuò)誤解決方法

tomcat啟動(dòng)出現(xiàn)錯(cuò)誤解決方法

更多

今天要跟朋友們分享的是tomcat啟動(dòng)出現(xiàn)錯(cuò)誤解決方法,希望能幫助朋友們解決tomcat啟動(dòng)故障問(wèn)題。

tomcat啟動(dòng)故障故障現(xiàn)象:

tail -f logs/catalina.out

z/**] onto handler 'org.springframework.web.servlet.resource.ResourceHttpRequestHandler#1'

[2012-12-17 11:35:54:300] [main] INFO  (org.springframework.web.servlet.handler.SimpleUrlHandlerMapping:411)  - Mapped URL path [/common/**] onto

handler 'org.springframework.web.servlet.resource.ResourceHttpRequestHandler#2'

[2012-12-17 11:35:54:304] [main] INFO  (org.springframework.web.servlet.handler.SimpleUrlHandlerMapping:411)  - Mapped URL path [/image/**] onto

handler 'org.springframework.web.servlet.resource.ResourceHttpRequestHandler#3'

[2012-12-17 11:35:54:308] [main] INFO  (org.springframework.web.servlet.handler.SimpleUrlHandlerMapping:411)  - Mapped URL path [/resource/**] onto

handler 'org.springframework.web.servlet.resource.ResourceHttpRequestHandler#4'

#

# A fatal error has been detected by the Java Runtime Environment:

#

#  SIGSEGV (0xb) at pc=0xf7908824, pid=7739, tid=3414432656

#

# JRE version: 6.0_24-b07

# Java VM: Java HotSpot(TM) Server VM (19.1-b02 mixed mode linux-x86 )

# Problematic frame:

# V  [libjvm.so+0x53e824]

#

# An error report file with more information is saved as:

# /opt/soft/apache-tomcat-gdxxw/hs_err_pid7739.log

#

# If you would like to submit a bug report, please visit:

#   http://java.sun.com/webapps/bugreport/crash.jsp

#

tomcat與IIS整合插件(isapi_redirector2)
5.0
類別: 編程相關(guān)    大小:90KB    語(yǔ)言: 中文
查看詳細(xì)信息 >>

tomcat啟動(dòng)問(wèn)題解決方法:

查看apache-tomcat-gdxxw/hs_err_pid7739.log分析日志參數(shù),設(shè)置內(nèi)存大于剩余物理內(nèi)存

bin/catalina.sh 文件前面添加如下:

JAVA_OPTS="-XX:PermSize=128M -XX:MaxPermSize=256m -Xms512m -Xmx512m -Duser.timezone=Asia/Shanghai"

然后大家再啟動(dòng)就不會(huì)再有報(bào)錯(cuò)信息了哦。

熱門評(píng)論
最新評(píng)論
發(fā)表評(píng)論 查看所有評(píng)論(0)
昵稱:
表情: 高興 可 汗 我不要 害羞 好 下下下 送花 屎 親親
字?jǐn)?shù): 0/500 (您的評(píng)論需要經(jīng)過(guò)審核才能顯示)