|
From: Ronald v. K. <rv...@ab...> - 2003-11-08 19:57:22
|
Yes Patrick, I do. The current mail and activation libraries from sun (even the ones that came with the jaxm summerpack 2002) work fine. We had the problem in Bea Weblogic and solved that by overriding the implementation that comes with bea by the ones that are in the jaxm summer pack 2002 (bea finally solved it in 6.1sp5 and it took them 3 serivicepacks to do it right). I never had the problem in JBoss with it's implementation of mail and activation. Shoud 'we' join the two lines into one by not using the default libraries that can do that for us because the other systems are not able to process valid responses?? Technically I would not like that, businesswise we probably should. I think i'd choose the ad-hoc solution and not writing our own mime-header parsing routines. Ronald Patrick Yee wrote: > Ronald, > > Are you referring to the mime header "content-type"? We met that > sometimes before when we are doing interop test with other vendors. > What we try to do is to manually make that splitted header into one > line using some tricks in Javamail. But that's kind-of ad-hoc.. So, we > plan to bypass Javamail to outputting multipart messages.. what do you > think? > > Regards, -Patrick > > > ----- Original Message ----- > *From:* Ronald van Kuijk <mailto:rv...@ab...> > *To:* 'ebx...@li...' > <mailto:%27e...@li...%27> > *Sent:* Saturday, November 08, 2003 12:03 AM > *Subject:* RE: [ebxmlms-general] interesting hermes error > > Do you get this message in hermes on receiving 'echo'? > > This is caused by the servelet not detecting a multipart-mime > header. Either because it's not there or because the format is > wrong. There has been problems with the mail/activation libraries > in Bea where they wew unable to detect a boundary that spanned > multiple lines. (spanning is done by having the second line begin > with a whitespace character, which bea failed to detect). An plain > html or a simple xml (including a echo of an ebxml > envelop!!) response also does not have the boundary set, and > therefor leads to the same error > > Ronald > > -----Oorspronkelijk bericht----- > *Van:* Tripathi, Ajit (GXS) [mailto:Aji...@gx...] > *Verzonden:* vrijdag 7 november 2003 16:38 > *Aan:* 'ebx...@li...' > *Onderwerp:* [ebxmlms-general] interesting hermes error > > Hi, > > I am using hermes to send a message from hermes to a JAXM > servlet. If I return the same ebXML message in reponse, this > is what I am getting. > > regards, > Ajit > > javax.mail.MessagingException: Missing start boundary > at > javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:284) > at > javax.mail.internet.MimeMultipart.getBodyPart(MimeMultipart.java:172) > > at > com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1 > 18) > at > com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(Mess > ageFactoryImpl.java:32) > at > com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA > PConnection.java:333) > at > com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP > ost.run(HttpSOAPConnection.java:142) > at java.security.AccessController.doPrivileged(Native > Method) > at > com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA > PConnection.java:115) > at > hk.hku.cecid.phoenix.message.transport.HttpServlet.send(HttpServlet.j > ava:231) > at > hk.hku.cecid.phoenix.message.handler.HttpSender.run(HttpSender.java:1 > 38) > javax.xml.soap.SOAPException: Unable to internalize message > at > com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1 > 35) > at > com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(Mess > ageFactoryImpl.java:32) > at > com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA > PConnection.java:333) > at > com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP > ost.run(HttpSOAPConnection.java:142) > at java.security.AccessController.doPrivileged(Native > Method) > at > com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA > PConnection.java:115) > at > hk.hku.cecid.phoenix.message.transport.HttpServlet.send(HttpServlet.j > ava:231) > at > hk.hku.cecid.phoenix.message.handler.HttpSender.run(HttpSender.java:1 > 38) > Caused by: javax.mail.MessagingException: Missing start boundary > at > javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:284) > at > javax.mail.internet.MimeMultipart.getBodyPart(MimeMultipart.java:172) > > at > com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1 > 18) > |