[
https://issues.apache.org/activemq/browse/SMXCOMP-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50556#action_50556
]
Lars Heinemann edited comment on SMXCOMP-472 at 3/15/09 10:28 PM:
------------------------------------------------------------------
Guillaume,
I found this:
{code}
a21 FETCH 1 (BODYSTRUCTURE)
* 1 FETCH (BODYSTRUCTURE (("TEXT" "PLAIN" ("CHARSET" "UTF-8") NIL NIL "8BIT"
768 35 NIL NIL NIL)("APPLICATION" "VND.OASIS.OPENDOCUMENT.PRESENTATION" ("NAME"
"=?UTF-8?B?U3RhdHVzw7xiZXJnw6RuZ2UgU3Bvb2xlci5vZHA=?=") NIL NIL "BASE64" 17122
NIL ("INLINE" ("FILENAME*" {94}
UTF-8''%53%74%61%74%75%73%C3%BC%62%65%72%67%C3%A4%6E%67%65%20%53%70%6F%6F%6C%65%72%2E%6F%64%70))
NIL) "MIXED" ("BOUNDARY" "------------030902090205030209030001") NIL NIL))
a22 CLOSE
{code}
was (Author: lhein):
Guillaume,
I found this:
{noformat}
a21 FETCH 1 (BODYSTRUCTURE)
* 1 FETCH (BODYSTRUCTURE (("TEXT" "PLAIN" ("CHARSET" "UTF-8") NIL NIL "8BIT"
768 35 NIL NIL NIL)("APPLICATION" "VND.OASIS.OPENDOCUMENT.PRESENTATION" ("NAME"
"=?UTF-8?B?U3RhdHVzw7xiZXJnw6RuZ2UgU3Bvb2xlci5vZHA=?=") NIL NIL "BASE64" 17122
NIL ("INLINE" ("FILENAME*" {94}
UTF-8''%53%74%61%74%75%73%C3%BC%62%65%72%67%C3%A4%6E%67%65%20%53%70%6F%6F%6C%65%72%2E%6F%64%70))
NIL) "MIXED" ("BOUNDARY" "------------030902090205030209030001") NIL NIL))
a22 CLOSE
{noformat}
> ServiceMix-Mail broken in SMX4
> ------------------------------
>
> Key: SMXCOMP-472
> URL: https://issues.apache.org/activemq/browse/SMXCOMP-472
> Project: ServiceMix Components
> Issue Type: Bug
> Components: servicemix-mail
> Affects Versions: servicemix-mail-2009.01
> Environment: Linux 2.6
> ServiceMix 4 (trunk)
> Reporter: Lars Heinemann
>
> Somehow the mail component is broken in SMX4. Didn't checked yet for SMX3.
> When receiving a mail with attachment from a IMAP server I get the following
> exception:
> {noformat}
> 15:51:16,712 | ERROR | ix-mail-thread-5 | MailComponent |
> common.endpoints.PollingEndpoint 222 | Caught exception while polling:
> org.apache.geronimo.javamail.util.ResponseFormatException: String token
> expected in response: (
> org.apache.geronimo.javamail.util.ResponseFormatException: String token
> expected in response: (
> at
> org.apache.geronimo.javamail.store.imap.connection.IMAPResponseTokenizer.readString(IMAPResponseTokenizer.java:620)
> at
> org.apache.geronimo.javamail.store.imap.connection.IMAPBodyStructure.parseMessageExtensions(IMAPBodyStructure.java:171)
> at
> org.apache.geronimo.javamail.store.imap.connection.IMAPBodyStructure.parseSinglepartBodyStructure(IMAPBodyStructure.java:153)
> at
> org.apache.geronimo.javamail.store.imap.connection.IMAPBodyStructure.parseBodyStructure(IMAPBodyStructure.java:76)
> at
> org.apache.geronimo.javamail.store.imap.connection.IMAPBodyStructure.<init>(IMAPBodyStructure.java:62)
> at
> org.apache.geronimo.javamail.store.imap.connection.IMAPBodyStructure.parseMultipartBodyStructure(IMAPBodyStructure.java:87)
> at
> org.apache.geronimo.javamail.store.imap.connection.IMAPBodyStructure.parseBodyStructure(IMAPBodyStructure.java:73)
> at
> org.apache.geronimo.javamail.store.imap.connection.IMAPBodyStructure.<init>(IMAPBodyStructure.java:62)
> at
> org.apache.geronimo.javamail.store.imap.connection.IMAPFetchResponse.<init>(IMAPFetchResponse.java:54)
> at
> org.apache.geronimo.javamail.store.imap.connection.IMAPResponseStream.readResponse(IMAPResponseStream.java:124)
> at
> org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.receiveResponse(IMAPConnection.java:396)
> at
> org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.sendCommand(IMAPConnection.java:324)
> at
> org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.fetchBodyStructure(IMAPConnection.java:917)
> at
> org.apache.geronimo.javamail.store.imap.IMAPMessage.loadBodyStructure(IMAPMessage.java:943)
> at
> org.apache.geronimo.javamail.store.imap.IMAPMessage.getDataHandler(IMAPMessage.java:756)
> at javax.mail.internet.MimeMessage.getContent(MimeMessage.java:927)
> at
> org.apache.servicemix.mail.marshaler.DefaultMailMarshaler.copyBodyAndAttachments(DefaultMailMarshaler.java:464)
> at
> org.apache.servicemix.mail.marshaler.DefaultMailMarshaler.convertMailToJBI(DefaultMailMarshaler.java:75)
> at
> org.apache.servicemix.mail.MailPollerEndpoint.poll(MailPollerEndpoint.java:254)
> at
> org.apache.servicemix.common.endpoints.PollingEndpoint$PollSchedulerTask$1.run(PollingEndpoint.java:202)
> 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)
> {noformat}
> If I receive a text/plain email without attachments I get the following
> warning and the body property in NMSG is empty afterwards:
> {noformat}
> 15:52:16,645 | WARN | ix-mail-thread-7 | DefaultMailMarshaler |
> l.marshaler.DefaultMailMarshaler 537 | The content of the mail message is
> not supported by this component. (java.io.ByteArrayInputStream)
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.