|
From: Ronald v. K. <rva...@ab...> - 2004-12-15 16:57:16
|
I've seen this in three circumstances (not in hermes, but with jaxm) - once in a system under load where there was a threadsafety issue and one receiver started reading data after the headers were already read. - once where there was a wrong mail.jar which produced wrong headers, but that happened all the time, not specifically under load - an text/xml response was produced, but not multipart mime as expected. Otherwise I have no idea where it could come from. Can you turn on some low level debugging on http level? Ronald > -----Oorspronkelijk bericht----- > Van: ebx...@li... > [mailto:ebx...@li...] Namens > Morin Fabrice > Verzonden: woensdag 15 december 2004 17:23 > Aan: ebx...@li... > Onderwerp: [ebxmlms-general] "Missing start boundary" > exception when processing lot of message > > Hi guys, > > Here is a strange problem... An exception "Missing start > boundary" always occurs in tomcat log (catalina.out) when > Hermes process a lot of messages. > > Let me explain the architecture : > > I use 6 machines. 5 of them send messages to the last one. > All messages sent from a same machine share the same cpaID > and the same conversationID. So I have 5 different cpaID and > 5 different conversationID. Service and action are the same > for all messages on all machines. On the last machine, I use > 5 contexts to get those messages. > > To send messages, I use a little tool based on the monitor. > To receive message, I use another tool which polls every 30s > the 5 contexts corresponding to the sender's context. > > Each machine sends 100 messages to the last one (those > messages are signed and sent reliably via HTTPS). I can send > between 3 or 5 messages in a second. There are 2 ASCII > payloads for each message, their sizes are between 1kb and 7kb). > > After a few seconds, I get this error in the receiver tomcat log : > > javax.mail.MessagingException: Missing start boundary > at > javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:284) > at > javax.mail.internet.MimeMultipart.getBodyPart(MimeMultipart.java:171) > at > com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl > .java:118) > at > com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessa > ge(MessageFactoryImpl.java:32) > at > hk.hku.cecid.phoenix.message.handler.MessageServiceHandler.pro > cessMessage(Unknown Source) > at > hk.hku.cecid.phoenix.message.handler.MessageServiceHandler.doP > ost(Unknown Source) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt > er(ApplicationFilterChain.java:237) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli > cationFilterChain.java:157) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW > rapperValve.java:214) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardC > ontextValve.java:178) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHost > Valve.java:126) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport > Valve.java:105) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn > gineValve.java:107) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdap > ter.java:148) > at > org.apache.coyote.http11.Http11Processor.process(Http11Process > or.java:825) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle > r.processConnection(Http11Protocol.java:731) > at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolT > cpEndpoint.java:526) > at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(Le > aderFollowerWorkerThread.java:80) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( > ThreadPool.java:684) > at java.lang.Thread.run(Thread.java:534) > > Of course everything works fine if I send less messages, more > slowly... > > Has anybody already had this kind of error ? > > > Regards, > > Fabrice. > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read honest & > candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > ebxmlms-general mailing list > ebx...@li... > https://lists.sourceforge.net/lists/listinfo/ebxmlms-general > |