各位大虾新年好:    如题。
    错误代码是:        //一直运行得很好,而且运行了几天啦。。下面是打印的正常消息,有几十万条的。
       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的原因呢。谢谢大虾。

解决方案 »

  1.   

    好像是端口被占用了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
    应该就是这个原因
      

  2.   

    华为的api。。
    正常正常,华为的东西不出错才是奇怪的
    mm7api可以独立出来运行的,别和tomcat放一起,出问题不好查