求救:tomcat 在LINUX下运行一段时间后自动断开

xiaoqiang123 2010-02-16 01:34:33
各位大虾新年好:

如题。
错误代码是:

//一直运行得很好,而且运行了几天啦。。。。。下面是打印的正常消息,有几十万条的。
INFO [pool-2-thread-49529] (MM7SubmitCustomerThread.java:118) - submitRes.getTransactionID()=32788927; submitRes.statuscode=1000;submitRes.statusText=������������;submitRes.messageID=021611361462700101414
INFO [pool-2-thread-49535] (MM7SubmitCustomerThread.java:118) - submitRes.getTransactionID()=32792042; submitRes.statuscode=1000;submitRes.statusText=������������;submitRes.messageID=021611361462700101164
//突然有一天就这样挂啦。。
2010-2-16 11:39:27 org.apache.coyote.http11.Http11BaseProtocol pause
信息: Pausing Coyote HTTP/1.1 on http-9000
2010-2-16 11:39:27 org.apache.coyote.http11.Http11BaseProtocol pause
2010-2-16 11:39:28 org.apache.catalina.core.StandardService stop
2010-2-16 11:39:29 org.apache.coyote.http11.Http11BaseProtocol destroy
信息: Stopping Coyote HTTP/1.1 on http-9000
2010-2-16 11:39:29 org.apache.coyote.http11.Http11BaseProtocol destroy
信息: Stopping Coyote HTTP/1.1 on http-8110
2010-2-16 11:39:29 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: Failed shutdown of Apache Portable Runtime
2010-2-16 11:39:29 org.apache.catalina.loader.WebappClassLoader loadClass
信息: Illegal access: this web application instance has been stopped already. Could not load org.apache.xerces.parsers.SAXParser. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1272)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)
at org.xml.sax.helpers.NewInstance.newInstance(NewInstance.java:49)
at org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:187)
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:180)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:237)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:340)
at com.cmcc.mm7.vasp.service.MM7Sender.parseXML(MM7Sender.java:618)
at com.cmcc.mm7.vasp.service.MM7Sender.SendandReceiveMessage(MM7Sender.java:909)
at com.cmcc.mm7.vasp.service.MM7Sender.send(MM7Sender.java:336)
at com.handy.chinamobile.mm7.service.MM7SubmitCustomerThread$MM7SubmitCustomerRunnable.run(MM7SubmitCustomerThread.java:108)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
2010-2-16 11:39:29 org.apache.catalina.loader.WebappClassLoader findResourceInternal
信息: Illegal access: this web application instance has been stopped already. Could not load META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
2010-2-16 11:39:29 org.apache.catalina.loader.WebappClassLoader loadClass




请问是程序的原因,还是TOMCAT的原因呢。谢谢大虾。
...全文
264 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
beiouwolf 2010-02-23
  • 打赏
  • 举报
回复
华为的api。。
正常正常,华为的东西不出错才是奇怪的
mm7api可以独立出来运行的,别和tomcat放一起,出问题不好查
xiaoqiang123 2010-02-23
  • 打赏
  • 举报
回复
不是这个原因啊,我本来就开了两个端口的
漩涡 2010-02-16
  • 打赏
  • 举报
回复
好像是端口被占用了

2010-2-16 11:39:29 org.apache.coyote.http11.Http11BaseProtocol destroy
信息: Stopping Coyote HTTP/1.1 on http-9000
2010-2-16 11:39:29 org.apache.coyote.http11.Http11BaseProtocol destroy
信息: Stopping Coyote HTTP/1.1 on http-8110


应该就是这个原因

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧