[jboss-user] [jBPM Development] - AttachmentTest failure

Huisheng Xu do-not-reply at jboss.com
Mon Apr 26 21:40:55 EDT 2010


Huisheng Xu [http://community.jboss.org/people/rebody] replied to the discussion

"AttachmentTest failure"

To view the discussion, visit: http://community.jboss.org/message/539648#539648

--------------------------------------------------------------
Hi Maciej,
  Thank you for yours help.

  From your AttachmentTest-output.txt, I am afraid you are using JDK-1.6, because image/gif didn't find the DataContentHandler of image/gif.  Between line 14 to 18, we could see the search result for image/gif.

18:10:48,976 FIN | [activation] MailcapCommandMap:  createDataContentHandler for image/gif
 18:10:48,976 FIN | [activation]   search DB #1
 18:10:48,976 FIN | [activation]   search DB #2
 18:10:48,976 FIN | [activation]   search fallback DB #1
 18:10:48,976 FIN | [activation]   search fallback DB #2


  If activation could find DataContentHandler, it will look like this, between line 10 to 13:

18:10:48,975 FIN | [activation] MailcapCommandMap: createDataContentHandler for text/plain
18:10:48,975 FIN | [activation]   search DB #1
18:10:48,975 FIN | [activation]     got content-handler
18:10:48,976 FIN | [activation]       class com.sun.mail.handlers.text_plain


  Because there are other testcase using javamail.jar, so I can't see the initialization information of mailcap.  If you run AttachmentTest separately, you could see how it initialized.

  I put my AttachmentTest-output.txt into attach.  If you have time, please have a look at it.  Thank you very much.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/539648#539648]

Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100426/33715273/attachment.html 


More information about the jboss-user mailing list