Missing start boundary exception, caused by an empty Part, how to handle?

Hello,
i wrote an application that automatically handles mails from laboratories. The only essential part of the mail is the attachment, where chemical analyses are submitted (from permitted addresses, recognized by whitelist and fileheader of the attachment). Other ways to submit data weren't allowed.
Currently a mail was received that can't be parsed. It's from a laboratory, that
use its provider's (a german internet suplier named Arcor) webmail, a browser-based mailing portal. It always worked fine, because they wrote some greetings. But this time they sent a blank message. The result is following structure of the mail:
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_50112_10709369.1203586767396"
//Some X-Flags
------=_Part_50112_10709369.1203586767396
Content-Type: multipart/alternative;
     boundary="*----=_Part_50111_24141780.1203586767396*"
------=_Part_50111_24141780.1203586767396--
------=_Part_50112_10709369.1203586767396
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=somefile.bin
ABCDEF.... //Some binary data
------=_Part_50112_10709369.1203586767396--
It seems the webmailer creates an empty mailpart and only writes the end boundary (Line: ------=_Part_50111_24141780.1203586767396--).
I know, the start boundary is really missing.
I checked it out by getting a mailaccount from Arcor, and it always creates this structure when sending a message without a text. By the way, the Message-ID (header) generated from Arcor's server seems to be from javamail. (.....1234.567890.....JavaMail.ngmail@....).
I don't know how many mailclients create "empty" parts, but impossible is nothing (e.g. other or future webmailer services).
But how to handle?
The error occures when calling MimeMultipart.getCount(), which causes to parse the mail if not parsed. All actions, which cause the mail to be parsed, will end in this exception (for this mail).
I looked at the javamail source and found out, that the line of the empty part is not recognized as a boundary, because of its ending delimiters:
if (line.equals(boundary))
break;
So the boundary is added to the preamble. It goes on with reading lines from the stream, until line == null.
if (line == null)
throw new MessagingException("Missing start boundary");
Because there is no test, if the line matches the end boundary, it's not recognized. Wouldn't it be better in this case, to add an empty bodypart and set a variable to false (e.g. complete) instead of throwing an exception? Because MimeMultipart.parse() is called by other methods, like getCount, getBodyPart and writeTo, I can't nearly do anything automatically with the mail. How should i walk through the bodyparts and fetch the parts I'm interested in?
Subclassing seems to be difficult to me:
Object content = message.getContent();
//javax.mail.Message, won't return a subclassed multipart
if (content instanceof Multipart) {
//recursive method!
handleMultipart((Multipart) content); //collecting parts from multipart
Of course, I could ask the laboratory: "please send me a greeting!" ;-)
Greetings,
cliff

Interesting.
Yes, it's probably a bug that JavaMail allows you to
create a multipart with no body parts, since the
MIME specification doesn't allow that. Still, the
webmail application should be fixed so that it doesn't
try to do that, at least including an empty plain text
body part.
Please contact the webmail provider and tell them of
this bug in their application.
I'll also look into making JavaMail cope with these
broken messages more gracefully. Contact me
at [email protected] and I'll let you know when
I have a version ready to test.

Similar Messages

  • Missing start Boundary exception

    Hi all,
    I am evaluating an e-mal archiving software that utilizes javamail. I am getting a high number of messages that don't get archived, due to the Missing start Boundary exception.
    Now I know, that often times e-mail messages don't get correctly constructed, but the sheer number of rejected messages really struck me.
    So I gathered a message and loaded it into a text editor to check the boundary structure myself.
    I have stripped the message down to reflect the boundary structure and I would like to know, if I missed anything, but I can't find out why javamail complains about a missing start boundary.
    I could post the complete message as well, if my example should not be suitable for examining this issue.
    So, here we go:
    Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms020608030602020702090804"
         This is a cryptographically signed message in MIME format.
         --------------ms020608030602020702090804
         Content-Type: multipart/mixed; boundary="------------070406040008020802000107"
              This is a multi-part message in MIME format.
              --------------070406040008020802000107
              Content-Type: text/plain; charset=ISO-8859-1; format=flowed
              Content-Transfer-Encoding: quoted-printable
              Test f=FCr mailArchiva III
              --------------070406040008020802000107
              Content-Type: multipart/alternative; boundary="============_CoolerEmail_============"
                   Date: Wed, 23 Apr 2008 07:41:31 -0700
                   --============_CoolerEmail_============
                   Content-Transfer-Encoding: binary
                   --============_CoolerEmail_============
                   Content-Transfer-Encoding: binary
                   Content-Type: text/html; charset="iso-8859-1"
              --============_CoolerEmail_============--
         --------------070406040008020802000107--
         --------------ms020608030602020702090804
    --------------ms020608030602020702090804--
    Thanks,
    Stephan

    Hi Bill,
    well, yes. It's one of a huge amount of messages being rejected. Actually I am not a programmer, but I try to deal with an archiving solution called mailArchiva. This software uses javamail and the mails get into the software using a postfix milter.
    I wanted to make sure that my gateways don't mess up these messages, prior getting into negotiation with the developer about what could be wrong along the way.
    I will now contact him and see, if I can get any more logs from the software.
    Thanks,
    Stephan

  • Correct way to copy Multipart and prevent Missing start boundary Exception

    Hi there
    I've worked through the FAQ's and forum and based on the info available tried to construct code to deal with the whole "javax.mail.MessagingException: Missing start boundary" problem. I keep on getting a ClassCastException though and was hoping you could scan through the code and let me know if you see anything. I must be missing something ... simplified extract of code below:
    Multipart mp = (Multipart)part.getContent();
    try {
         for (int i = 0; i < mp.getCount(); i++) {
              processBodyPart(wrapper, mp.getBodyPart(i), i);
    } catch (MessagingException e) {
         // Converting Msg to a Copy (to fix boundary)
         ByteArrayOutputStream bos = new ByteArrayOutputStream();
         part.writeTo(bos);
         byte[] bytes = bos.toByteArray();
         MimeMessage newMsg = new MimeMessage(emailAccount.getSession(), new ByteArrayInputStream(bytes));
         String ct = newMsg.getContentType();
         newMsg.removeHeader("Content-Type");
         ct = ct.substring(0, ct.indexOf(";")); // Strip out the rest, only retain the content-type
         newMsg.setDataHandler(new DataHandler(newMsg.getContent(), ct));
         Multipart testMp = (Multipart)newMsg.getContent(); // <<-------- ClassCastException here!!
         for (int i = 0; i < testMp.getCount(); i++) {
              Part bp = testMp.getBodyPart(i);
              processBodyPart(bp);
    }Much appreciated.
    Marius

    I took out the truncating part to make the example shorter,
    but I did try both keeping it as it was, as well as truncating
    it (it is "multipart/mixed") with the same effect.
    I was able to save the entire message to file (thanks), attached
    below - maybe you can spot something that could be causing it?
    Thanks again.
    X-Original-To: [email protected]
    Delivered-To: [email protected]
    Received: from mail.adept.co.za (localhost [127.0.0.1])
         by mail.adept.co.za (Postfix) with ESMTP id E3074C03D9
         for <[email protected]>; Fri, 18 Jan 2008 14:35:29 +0200 (SAST)
    X-Greylist: from auto-whitelisted by SQLgrey-1.7.4
    Received: from mail-03.jhb.wbs.co.za (mail-03.jhb.wbs.co.za [196.2.97.2])
         by mail.adept.co.za (Postfix) with ESMTP id CA3AEC03D7
         for <[email protected]>; Fri, 18 Jan 2008 14:35:28 +0200 (SAST)
    Received: from localhost by mail-03.jhb.wbs.co.za;
      18 Jan 2008 14:35:28 +0200
    Date: 18 Jan 2008 14:35:28 +0200
    To: [email protected]
    From: "Mail Delivery System" <[email protected]>
    Subject: Delivery Status Notification (Failure)
    MIME-Version: 1.0
    Content-Type: multipart/report; report-type=delivery-status; boundary="9sdJO.4G/vWebcc.bcm9J.Ak/cwPA"
    Message-Id: <[email protected]>
    X-Virus-Scanned: ClamAV Passed
    X-Spam-Scanned: -1.4
    X-Scanned-By: proxfilter
    --9sdJO.4G/vWebcc.bcm9J.Ak/cwPA
    content-type: text/plain;
        charset="utf-8"
    Content-Transfer-Encoding: quoted-printable
    The following message to <[email protected]> was undeliverable.
    The reason for the problem:
    5.1.2 - Bad destination host 'DNS Hard Error looking up onyxit.co.za (MX): =
    NXDomain'
    --9sdJO.4G/vWebcc.bcm9J.Ak/cwPA
    content-type: message/delivery-status
    Reporting-MTA: dns; jnb-mailfw01.wbs.co.za
    Final-Recipient: rfc822;[email protected]
    Action: failed
    Status: 5.0.0 (permanent failure)
    Diagnostic-Code: smtp; 5.1.2 - Bad destination host 'DNS Hard Error looking up onyxit.co.za (MX):  NXDomain' (delivery attempts: 0)
    --9sdJO.4G/vWebcc.bcm9J.Ak/cwPA
    content-type: message/rfc822
    Received: from wbs-smtp-out-02.jhb.wbs.co.za (HELO wbs-smtp-out-02) ([196.2.97.197])
      by mail-03.jhb.wbs.co.za with ESMTP; 18 Jan 2008 14:35:28 +0200
    Received: from wbs-smtp-out-02.jhb.wbs.co.za (HELO wbs-smtp-out-02) ([196.2.97.197])
      by mail-03.jhb.wbs.co.za with ESMTP; 18 Jan 2008 14:35:28 +0200
    Received: from wbs-41-208-227-16.wbs.co.za ([41.208.227.16] helo=jnfsworkpool)
         by wbs-smtp-out-02 with esmtp (Exim 4.67)
         (envelope-from <[email protected]>)
         id 1JFqSK-0000qy-8m; Fri, 18 Jan 2008 14:36:30 +0200
    Date: Fri, 18 Jan 2008 14:35:10 +0200 (SAST)
    From: Ros Copeling <[email protected]>
    To: [email protected]
    Cc: [email protected]
    Message-ID: <[email protected]>
    Subject: FW: Fw: Message from ESKOM
    MIME-Version: 1.0
    Content-Type: multipart/mixed;
         boundary="----=_Part_16_32195616.1200659710788"
    X-Priority: 3
    Importance: normal
    Sensitivity: Normal
    workpool_message_id: 6879
    X-Original-Subject: FW: Fw: Message from ESKOM
    X-Spam-Ignored: [TOO LARGE] Message > 100K
    X-Scan-Signature: 66244f1a8ccb48c519852bcb33c1a261
    --9sdJO.4G/vWebcc.bcm9J.Ak/cwPA--

  • Missing start boundary

    Hi ,
    i have Missing start boundary exception while reading message..
    Following is message information.Can any one let me know how i can fix this problem.
    Received: from backup1.texterity.com ([68.112.246.59]) by exchange2003.scientificmonitoring.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 8 Mar 2007 11:37:05 -0700
    Received: from backup1.texterity.com (localhost.localdomain [127.0.0.1]) by backup1.texterity.com (8.13.1/8.13.1) with ESMTP id l28IaTnQ023719 for <[email protected]>; Thu, 8 Mar 2007 13:36:29 -0500
    Received: (from textcafe@localhost) by backup1.texterity.com (8.13.1/8.13.1/Submit) id l28IaR1K023718; Thu, 8 Mar 2007 13:36:27 -0500
    Content-Transfer-Encoding: binary
    X-MimeOLE: Produced By Microsoft Exchange V6.5
    Content-Type: multipart/alternative;
         boundary="----=_NextPart_000_20F60_01C76D97.08C9D40D"
    MIME-Version: 1.0
    X-Mailer: MIME::Lite 3.01 (F2.73; A1.67; B3.05; Q3.03)
    Date: Thu, 8 Mar 2007 18:36:26 UT
    From: <[email protected]>
    Subject: Intech March 2007 Digital Edition
    To: <[email protected]>
    Message-ID: [email protected]
    Return-Path: <[email protected]>
    X-OriginalArrivalTime: 08 Mar 2007 18:37:05.0234 (UTC) FILETIME=[C51A9320:01C761B0]
    This is a multi-part message in MIME format.
    ------=_NextPart_000_20F63_01C76D97.08C9D40D
    Content-Disposition: inline
    Content-Length: 1066
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain;
         charset="iso-8859-1"
    You can now find your March issue of InTech at=20
    http://pubsrv.texterity.com/cgi-bin/pwf_gateway.cgi?d=3Dwww.isa-intech-di=
    gital.org&u=3D/intech/200703&s=3DCEGUsgx3DOlJm&e=3D3567746.=20
    Each month, we will e-mail you a link to the current issue of InTech.
    Your digital issue has the exact same content as a printed copy but with
    unique features, such as the ability to:
    *     Search and page through articles online=20
    *     Zoom, print, or e-mail pages to a colleague=20
    *     Archive your issues for convenient retrieval=20
    We hope you enjoy your digital issues of InTech magazine. Thank you for
    your readership.
    Sincerely,=20
    Gregory Hale
    InTech Editor=20
    Click here to convert to the print edition: =
    http://pubsrv.texterity.com/cgi-bin/pwf_optout.cgi?c=3Dintech&e=3Djim@sci=
    entificmonitoring.com&email_msgid=3D3567746
    This email was sent to: [email protected]
    Please do not reply to this mail.
    For technical questions regarding the digital edition, email =
    [email protected].
    From ISA, PO Box 12277, 67 Alexander Drive, Research Triangle Park, NC =
    27709
    ------=_NextPart_000_20F63_01C76D97.08C9D40D
    Content-Disposition: inline
    Content-Length: 4386
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/html;
         charset="iso-8859-1"
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Intech Digital Edition</title>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; =
    charset=3Diso-8859-1">
    </head>
    <body>
    <IMG =
    SRC=3D"http://pubsrv.texterity.com/cgi-bin/pwf_eds.cgi?transaction_type=3D=
    datalog&[email protected]&publication=3Dintech=
    &id_stamp=3Dintech.20070308133626&user_action=3Dviewmail&email_msgid=3D35=
    67746" height=3D"0" width=3D"0" border=3D"0">
    <TABLE WIDTH=3D613 BORDER=3D0 CELLPADDING=3D0 CELLSPACING=3D0>
         <TR>
              <TD COLSPAN=3D2><A =
    HREF=3D"http://pubsrv.texterity.com/cgi-bin/pwf_gateway.cgi?d=3Dwww.isa-i=
    ntech-digital.org&u=3D/intech/200703&s=3DCEGUsgx3DOlJm&e=3D3567746" =
    TARGET=3D"_blank" TITLE=3D"Intech">
                   <IMG BORDER=3D0 =
    SRC=3D"http://www.texterity.com/images/intech/intech_header.gif" =
    WIDTH=3D613 HEIGHT=3D116></A></TD></TR>
         <TR>
              <TD VALIGN=3DTOP WIDTH=3D144>
              <TABLE BORDER=3D0 CELLPADDING=3D6 CELLSPACING=3D6><TR =
    ALIGN=3DCENTER><TD ALIGN=3DCENTER>
              <A =
    HREF=3D"http://pubsrv.texterity.com/cgi-bin/pwf_gateway.cgi?d=3Dwww.isa-i=
    ntech-digital.org&u=3D/intech/200703&s=3DCEGUsgx3DOlJm&e=3D3567746" =
    TARGET=3D"_blank" TITLE=3D"Click here to read Intech">
              <IMG style=3D"border: solid 1px; border-color: black" =
    SRC=3D"http://www.isa-intech-digital.org/tcprojects/isa/intech/inbox/3820=
    4/imgpages/tn/intech200703_0001.gif"
                   ALT=3D"Click here to read Intech"></A></TD></TR>
              <TR HEIGHT=3D109><TD> </TD></TR>
              <TR ALIGN=3DCENTER><TD ALIGN=3DCENTER><A =
    HREF=3D"http://www.texterity.com" TARGET=3D"_blank">
              <IMG BORDER=3D0 =
    SRC=3D"http://www.texterity.com/images/ViaTexterity.gif" width=3D132 =
    height=3D45 ALT=3D"Digital Delivery Via =
    Texterity"></A></TD></TR></TABLE></TD>
              <TD VALIGN=3DTOP><TABLE BORDER=3D0 CELLPADDING=3D6 =
    CELLSPACING=3D6><TR><TD>
              <P style=3D"font-family:verdana,arial,helvetica,sans-serif; =
    font-size:12px;">
              You can now find your March issue of InTech at <br><a =
    href=3D"http://pubsrv.texterity.com/cgi-bin/pwf_gateway.cgi?d=3Dwww.isa-i=
    ntech-digital.org&u=3D/intech/200703&s=3DCEGUsgx3DOlJm&e=3D3567746" =
    target=3D"_blank">http://www.isa-intech-digital.org/intech/200703/</a>.
              </p>
              <P style=3D"font-family:verdana,arial,helvetica,sans-serif; =
    font-size:12px;">Each month, we will e-mail you a link to the current =
    issue of InTech. Your digital issue has the exact same content as a =
    printed copy but with unique features, such as the ability to:</p>
              <ul><li style=3D"font-family:verdana,arial,helvetica,sans-serif; =
    font-size:12px;">
              Search and page through articles online </li>
              <li style=3D"font-family:verdana,arial,helvetica,sans-serif; =
    font-size:12px;">Zoom, print, or e-mail pages to a colleague</li>
              <li style=3D"font-family:verdana,arial,helvetica,sans-serif; =
    font-size:12px;">Archive your issues for convenient retrieval</li></ul>
              <P style=3D"font-family:verdana,arial,helvetica,sans-serif; =
    font-size:12px;">We hope you enjoy your digital issues of InTech =
    magazine. Thank you for your readership.</p>
              <P style=3D"font-family:verdana,arial,helvetica,sans-serif; =
    font-size:12px;">
              Sincerely,<br><br>
              Gregory Hale<br>
              InTech Editor
              </P>
         </TD></TR></TABLE>
    </TD></TR></TABLE>
    <TABLE WIDTH=3D613 BORDER=3D0 CELLPADDING=3D0 CELLSPACING=3D0><TR><TD>
         <table width=3D"100%" border=3D"0" cellspacing=3D"0" cellpadding=3D"0" =
    bgcolor=3D"#FFFFEE">
              <tr><td>
              <IMG BORDER=3D0 =
    SRC=3D"http://www.texterity.com/images/recycling-footer.gif" WIDTH=3D613 =
    HEIGHT=3D11>
    <font face=3D"arial" size=3D"1" color=3Dblack>
      <a =
    href=3D"http://pubsrv.texterity.com/cgi-bin/pwf_optout.cgi?c=3Dintech&e=3D=
    [email protected]&email_msgid=3D3567746">Click here</a> to =
    Convert to the print edition.<BR>
      This email was sent to: [email protected]<BR>
      If you cannot click on the links above, please copy and paste =
    this url into your browser:<BR>
      <a =
    href=3D"http://pubsrv.texterity.com/cgi-bin/pwf_gateway.cgi?d=3Dwww.isa-i=
    ntech-digital.org&u=3D/intech/200703&s=3DCEGUsgx3DOlJm&e=3D3567746">http:=
    //www.isa-intech-digital.org/intech/200703/</A><BR>
      Please do not reply to this mail.<BR>
      For technical questions regarding the digital edition, email <a =
    href=3D"mailto:[email protected]?subject=3DIntech%20Support%2=
    0Request">[email protected]</a>.<BR>
      From From ISA, PO Box 12277, 67 Alexander Drive, Research =
    Triangle Park, NC 27709</font><br>
              </td></tr>
              <tr><td bgcolor=3D"#FFFFEE">
         </td></tr></table>
    </TD></TR></TABLE>
    </body>
    </html>
    ------=_NextPart_000_20F63_01C76D97.08C9D40D--
    can any one please help how i can fix this.

    Right on all counts. I have been able to resolve #1 and #2 using the prescribed workarounds.
    I'm still persuing #3 This seems to be the most common issue, as our application receives dozens of these each day. Our mail administrator gave the "it's working with everything else" response - of course everything else is probably not using the IMAP interface... If anyone has had a similar problem with Trend or Sophos specifically, let me know. I will need to output the raw IMAP stream, find the specific RFC 2822 violation and take it to the vendor. Any setting on the JavaMail side to compensate for the problem, would of course be helpful. I have to be careful not to break working messages that have file attachments, though. It's possible that my attempt of the workaround you described was incorrect - I'll go back and try it again with a simpler code example.
    #4 I've not had success with JTNEF yet, but I'm not sure if it's even still a problem after the workaround for #2. Anyway, that one seems to be infrequent so it's low priority for me.
    #5 As you mention in the other thread: this is a problem with a couple of email clients (Thunderbird and Apple Mail, possibly others) - maybe they are using a common library? Anyway, I'm going to try out the workaround posted in that thread if I can get more specifics.
    It would be nice if the various workarounds could be handled within JavaMail, a global LIBERAL=true setting : ) , although I understand that could be a never-ending project for JavaMail considering the number of vendor problems. Also such workarounds could certainly cause "code entropy" within JavaMail code. Getting the vendor to fix their product also kind of depends on whether or not I have 'business leverage' on the buggy software. In my case, for example, I can apply leverage on virus gateway vendors to fix their product, but not on customers who are sending me incorrectly formatted emails and have the option of going elsewhere for business.
    In any case, thanks for all the help - it has been greatly appreciated.

  • Multipart/report - Missing Start Boundary - MultiPart.getContent()

    I am writing to you in regard to an issue that I have been facing recently, and I wanted to see if the JavaMail developers / community could provide any answers.
    Does JavaMail support the multipart/report MIME specification (RFC 1892)?
    The reason I ask, is that I have seen a strong correlation between errors in JavaMail and this content....
    I am getting Missing Start Boundary exceptions when I execute this code on a message that has this Mime Type in it, (multipart/report)
    mp = (Multipart)part.getContent();
    count = mp.getCount(); // THIS IS WHAT THROWS THE ERROR
    An example of this message header, would be
    X-Atlas-MailScanner-From: [email protected]
    Content-Type: multipart/report; report-type=delivery-status;
    boundary="==IFJRGLKFGIR5607UHRUHIHD"
    ** NOTE HOW BOUNDARY IS SPECIFIED UNLIKE THE OTHER SECTIONS WHICH LEADS ME TO BELIEVE THE MISSING START BOUNDARY EXCEPTION **
    --==IFJRGLKFGIR5607UHRUHIHD
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: base64
    --==IFJRGLKFGIR5607UHRUHIHD
    Content-Type: message/rfc822
    I have seen older posts that talk about other people's problem regarding this Exception; however, have not seen an abstract way for circumventing the issue.
    Any insight/future development intentions/experience in dealing with this issue would be greatly appreciated.
    RR

    I'm getting the same exception on several "bounce" messages I try to access with JavaMail. I believe that some of them are flat-out wrong in their MIME encoding, as there truly is no start boundary. However, some appear to be OK and causing JavaMail to give an exception. Should this be logged as a bug?
    Here's an example similar to yours (I didn't include all the received headers and several addresses are munged):
    <blockquote><i>{noformat}Date: Sat, 19 Apr 2008 06:57:46 -0400
    From: [email protected]
    Subject: Undelivered mail
    To: x
    Message-ID: <[email protected]>
    MIME-Version: 1.0
    Content-Type: multipart/report; report-type=delivery-status;
            boundary="--TKFLZMMSbcaBDNCJdCBMaXGSRbVIAF"
    --TKFLZMMSbcaBDNCJdCBMaXGSRbVIAF<br />
    --> Error description:
    Error-For: [email protected]
    Error-Code: 5.1.1
    Error-Text: No such list.
    Error-End: One error reported.
    --TKFLZMMSbcaBDNCJdCBMaXGSRbVIAF<br />
    Content-Type: message/delivery-status
    Reporting-MTA: dns; LISTS.NETSPACE.ORG
    Final-Recipient: RFC822; [email protected]
    Action: failed
    Status: 5.1.1 (No such list)
    --TKFLZMMSbcaBDNCJdCBMaXGSRbVIAF<br />
    Content-Type: message/rfc822
    Return-Path: <x>
    X-Original-To: [email protected]
    Received: from ppp91-122-170-233.pppoe.avangarddsl.ru (ppp91-122-170-233.pppoe.avangarddsl.ru [91.122.170.233]) by lists.netspace.org (Postfix) with ESMTP id 538527A53A for <[email protected]>; Sat, 19 Apr 2008 06:57:45 -0400 (EDT)
    Received: from [91.122.170.233] by mx1.bne.server-mail.com; Sat, 19 Apr 2008 14:06:15 +0300
    Message-ID: <01c8a226$87bfa580$e9aa7a5b@retentioncal53>
    From: "x" <x>
    To: <[email protected]>
    Subject: The extracts of VPXL are Pueraria tuberose 75 mg, Mucuna pruriens 75 mg, Asteracantha longifolia 75 mg.
    Date: Sat, 19 Apr 2008 14:06:15 +0300
    MIME-Version: 1.0
    Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original
    Content-Transfer-Encoding: 7bit
    X-Priority: 3
    X-MSMail-Priority: Normal
    X-Mailer: Microsoft Outlook Express 6.00.2741.2600
    X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2741.2600
    TKFLZMMSbcaBDNCJdCBMaXGSRbVIAF{noformat}
    </i></blockquote>

  • How can I solve a "org.jvnet.mimepull.MIMEParsingException: Missing start boundary" when using "Page Attachments to Disk"?

    I have built a streaming MTOM enabled web service for downloading large files. I also built a client that uses that service (with MTOM and streaming feature). Everything works, when the client calls the web service directly.
    Then I have set up the OSB, so that I can call the service through the OSB. I have build a Business Service and a Proxy Service. For the Business Service, I use "XOP/MTOM Enabled", "Include Binary Data By Reference" and "Page Attachments to Disk" to prevent the OSB from loading the whole data into memory.
    If I do not use the "Page Attachments to Disk" option, the download works, but I assume everything is loaded into the OSB memory.
    When I use the "Page Attachments to Disk" option, I receive the following error message
    Exception in thread "main" com.sun.xml.ws.fault.ServerSOAPFaultException: Client received SOAP Fault from server: Couldn't create SOAP message due to exception: org.jvnet.mimepull.MIMEParsingException: Missing start boundary Please see the server log to find more detail regarding exact cause of the failure.
        at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:193)
        at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:131)
        at com.sun.xml.ws.client.sei.StubHandler.readResponse(StubHandler.java:253)
        at com.sun.xml.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:203)
        at com.sun.xml.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:290)
        at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
        at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:92)
        at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:161)
        at com.sun.proxy.$Proxy38.fileDownload(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:87)
        at com.sun.proxy.$Proxy39.fileDownload(Unknown Source)
        at largefiletransfer_osb_client.MtomClientDownload.main(MtomClientDownload.java:59)
    Why do I get this exception and how can I solve the issue?
    Additional Infos:
    OS: Windows 7 64bit
    Tool: JDeveloper BPM Suite 12.1.3.0.0
    WebService: HTTP + SOAP + MTOM + Streaming

    I have built a streaming MTOM enabled web service for downloading large files. I also built a client that uses that service (with MTOM and streaming feature). Everything works, when the client calls the web service directly.
    Then I have set up the OSB, so that I can call the service through the OSB. I have build a Business Service and a Proxy Service. For the Business Service, I use "XOP/MTOM Enabled", "Include Binary Data By Reference" and "Page Attachments to Disk" to prevent the OSB from loading the whole data into memory.
    If I do not use the "Page Attachments to Disk" option, the download works, but I assume everything is loaded into the OSB memory.
    When I use the "Page Attachments to Disk" option, I receive the following error message
    Exception in thread "main" com.sun.xml.ws.fault.ServerSOAPFaultException: Client received SOAP Fault from server: Couldn't create SOAP message due to exception: org.jvnet.mimepull.MIMEParsingException: Missing start boundary Please see the server log to find more detail regarding exact cause of the failure.
        at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:193)
        at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:131)
        at com.sun.xml.ws.client.sei.StubHandler.readResponse(StubHandler.java:253)
        at com.sun.xml.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:203)
        at com.sun.xml.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:290)
        at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
        at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:92)
        at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:161)
        at com.sun.proxy.$Proxy38.fileDownload(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:87)
        at com.sun.proxy.$Proxy39.fileDownload(Unknown Source)
        at largefiletransfer_osb_client.MtomClientDownload.main(MtomClientDownload.java:59)
    Why do I get this exception and how can I solve the issue?
    Additional Infos:
    OS: Windows 7 64bit
    Tool: JDeveloper BPM Suite 12.1.3.0.0
    WebService: HTTP + SOAP + MTOM + Streaming

  • .MessagingException - Missing start boundary when loading a mail twice

    Hi!
    I have found a very interesting behaviour. When parsing a multipart mail twice, there is an error "javax.mail.MessagingException: Missing start boundary". This happens for every multipart mail which is fetched via POP3 and seems to be independant of both POP3 Server and the mail client the message was built with.
    Environment:
    debian linux, amd64, java 1.6
    latest javamail from https://hg.kenai.com/hg/javamail~mercurial
    Test program:
    import java.io.*;
    import javax.mail.*;
    public class Mailtest {
         private final static void loadMail(Part p) throws Exception{
              Object content = p.getContent();
              if (content instanceof Multipart) {
                   Multipart mp = (Multipart) content;
                   int cnt = mp.getCount();
                   for (int u=0;u<cnt;u++) {
                        loadMail(mp.getBodyPart(u));
         public final static void main(String[] args) throws Exception {
              //System.setProperty("mail.mime.cachemultipart", "true");
              java.util.Properties props = new java.util.Properties();
              Session mailSession = Session.getInstance(props, null);
              Store store = mailSession.getStore("pop3");
              store.connect("pop3srv", 110, "username", "pwd");
              Folder folder = store.getFolder("INBOX");
              folder.open(Folder.READ_WRITE);
              Message[] msgs = folder.getMessages();
              for (int i=0;i<msgs.length;i++) {
                   /*if (msgs[i] instanceof com.sun.mail.pop3.POP3Message) {
                        System.out.println("inputstream");
                        InputStream in = msgs.getDataHandler().getInputStream();
                        in.close();
                   System.out.println("i=" + i + " try = 1");
                   loadMail(msgs[i]);
                   System.out.println("i=" + i + " try = 2");
                   loadMail(msgs[i]);     
    Output:
    i=0 try = 1
    i=0 try = 2
    Exception in thread "main" javax.mail.MessagingException: Missing start boundary
    at javax.mail.internet.MimeMultipart.parsebm(MimeMultipart.java:882)
    at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:503)
    at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:244)
    at testapp.Mailtest.loadMail(Mailtest.java:11)
    at testapp.Mailtest.main(Mailtest.java:38)
    Java Result: 1
    I thought that the 2 code blocks which are commented might be a workaround, but nothing changed if both blocks are active.
    BTW: What is "mail.mime.multipart.bmparse" supposed to do?

    Yes, thank you, that's a bug introduced in the (not yet final) JavaMail 1.4.4 release.
    I've fixed it. I'll push the fix soon.
    mail.mime.multipart.bmparse is a property to control whether the old (slow) multipart parser
    is used, or the new (fast) Boyer-Moore multipart parser is used.

  • Javax.mail.MessagingException: Missing start boundary

    I use the following code creates a Mime file
    MimeMultipart mmp = new MimeMultipart();
                   MimeBodyPart mbp = null;
                   // add rootpart
                   mbp = new MimeBodyPart();
                   mbp.setContentID("[email protected]");
                   mbp.setDataHandler(new DataHandler(new FileDataSource(args[0])));
                   mmp.addBodyPart(mbp);
                   // add attachment info
                   for(int i = 1; i < args.length; i = i+2){
                        ByteArrayOutputStream baos = new ByteArrayOutputStream();
                        GZIPOutputStream gos = new GZIPOutputStream(baos);
                        FileInputStream fis = new FileInputStream(args[i+1]);
                        byte[] bytes = new byte[1024];
                        int len;
                        while((len = fis.read(bytes, 0, 1024)) > 0){
                             gos.write(bytes, 0, len);
                        fis.close();
                        gos.close();
                        baos.close();
                        InternetHeaders ih = new InternetHeaders();
                        ih.addHeader("Content-ID", args);
                        mbp = new MimeBodyPart(ih, baos.toByteArray());
                        mmp.addBodyPart(mbp);
                   String CarriageReturn = String.valueOf(CARRIAGE_RETURN);
                   String lineFeed = String.valueOf(LINE_FEED);
                   String horizontaltab = String.valueOf(HORIZONTAL_TAB);
                   FileOutputStream fos = new FileOutputStream(args[0] + ".mime");
                   StringBuffer msgParam = new StringBuffer();
                   msgParam.append("MIME-Version: 1.0");
                   msgParam.append(CarriageReturn);
                   msgParam.append(lineFeed);
                   msgParam.append("Content-Type: ");
                   msgParam.append(mmp.getContentType().replaceAll(CarriageReturn,"").replaceAll(lineFeed,"").replaceAll(horizontaltab,""));
                   msgParam.append("; start=\"<[email protected]>\"");
                   msgParam.append(CarriageReturn);
                   msgParam.append(lineFeed);
                   msgParam.append(CarriageReturn);
                   msgParam.append(lineFeed);
                   msgParam.append(CarriageReturn);
                   msgParam.append(lineFeed);
                   fos.write(msgParam.toString().getBytes());
                   mmp.writeTo(fos);
                   fos.close();
    I can correctly read the mime file at windows OS,but in linux OS i got the following error Message:
    2010/11/19 11:53:40     K101J2EED1     fatal     0041EBFC124735B5B67FFA9F4B3B09961KD1     例外=[javax.mail.MessagingException: Missing start boundary]     
    sun.reflect.GeneratedMethodAccessor303.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:301)
    org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    $Proxy28.execute(Unknown Source)
    org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    jp.terasoluna.fw.web.struts.action.RequestProcessorEx.process(RequestProcessorEx.java:149)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:675)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:324)
    jp.co.nttdata.erc.sys.app.extended.ExtendedFilter.doFilter(ExtendedFilter.java:163)
    org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183)
    org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:424)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:324)
    jp.co.nttdata.erc.sys.app.extended.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:174)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:424)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:324)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:379)
    com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    com.hitachi.software.web.catalina.core.LinkedPipeline.invoke(LinkedPipeline.java:475)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:983)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:349)
    com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    com.hitachi.software.web.tcg.ThreadControlGroupValve.invoke(ThreadControlGroupValve.java:82)
    com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    com.hitachi.software.ejb.management.mbean.web.RequestStatisticsValve.invoke(RequestStatisticsValve.java:72)
    com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:188)
    com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    com.hitachi.software.web.catalina.core.StandardSessionValve.invoke(StandardSessionValve.java:96)
    com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    com.hitachi.software.web.catalina.core.LinkedPipeline.invoke(LinkedPipeline.java:475)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:983)
    org.apache.catalina.core.StandardContext.invoke(StandardContext.java:3928)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:261)
    com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:197)
    com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    com.hitachi.software.web.catalina.core.LinkedPipeline.invoke(LinkedPipeline.java:475)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:983)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    com.hitachi.software.web.catalina.core.ValveWrapper.invokeNext(LinkedPipeline.java:672)
    com.hitachi.software.web.catalina.core.LinkedPipeline.invoke(LinkedPipeline.java:475)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:983)
    org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:700)
    org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:959)
    java.lang.Thread.run(Thread.java:620)
    Edited by: chengen on Nov 24, 2010 8:26 PM
    Edited by: chengen on Nov 24, 2010 9:25 PM

    I can correctly read the mime file at windows OS,but in linux OS i got the following error Message:That would suggest one or more of the following.
    1. An end of line problem. Something is wrong with your use of CR/LF.
    2. A line length problem (brief look suggests a 998 limit.)
    3. One reader is more lenient than the other. This goes back to 1 and 2.

  • How to handle exception

    I have catch some exception ,but i don't know how to handle them. I means that if a caller call my method, the caller how to know exception .
    This is my codes:
    public byte[] encrypt(String algth,byte[] obj,Key key){
         byte[] data=null;
         try{
         Cipher cipher = Cipher.getInstance(algth);//encrypted secretkey
         cipher.init(Cipher.ENCRYPT_MODE,key);
         data=cipher.doFinal(obj);
    }catch(NoSuchAlgorithmException e){
    }catch (NoSuchPaddingException e) {
    }catch(InvalidKeyException e){
    }catch(IllegalBlockSizeException e){
    }catch(BadPaddingException e){
    return data;
    Can you tell me how to handle NoSuchAlgorithmException ,NoSuchPaddingException,InvalidKeyException and so on

    you dont. you're stuffed. If there's 'NoSuchPadding' or NoSuchAlgorithm, or the encryption fails (the other 3), nothing you can do at that point will change that fact.
    2 options.
    return null, and check the return value every time you call the function
    throw an exception, either the exception caught, or one of your own design with information pertinent to your application.

  • ReportDocument.ExportToStream raises "Missing Parameter Values" exception

    Hi,
    I have a web app built using VS 2008 which runs many reports developed in CR 2008. Most of these reports take parameters and many have embedded subreports. Many of the reports can either be viewed directly or e-mailed. For the latter, I use ReportDocument.ExportToStream(ExportFormatType.PortableDocFormat) to export a PDF file which then gets attached to the e-mail.
    One set of reports works fine when viewed directly, but raises a "Missing Parameter Values" exception when I try to generate the PDF.  All the other reports, seemingly similar in most respects, including the number and type of parameters, work fine when calling ExportToStream.
    Here is the really strange part: the exception is spurious. I wrapped the whole thing in a try/catch block to better examine the exception, hoping to find which parameter value is actually missing.  I could not identify the missing parameter value, but once I handled the exception, the report runs fine and converts to PDF.
    Any hints as to what could be causing this problem?  It seems like a really bad hack to solve the problem using a try/catch in this way.
    Thanks.
    Dan

    Thanks for the quick response. Your code was very instructive, but did not help yet.  Here is what I have:
    (This response is too long for a single post, so I will split it and finish in the next post.)
    ReportDocument rptDoc = new ReportDocument();
    rptDoc.Load(strReportSourceFolder + strReportName + ".rpt");
    rptDoc.SetParameterValue("ClientID", lngKeyFieldID);
    rptDoc.SetParameterValue("Role", "Client");
    This is followed by an amazing chunk of code, provided to me by a guy at SAP Tech Support, who said it was necessary to pass database credentials programatically.  It iterates the tables in the ReportDocument and individually sets the LogonInfo. (I say "amazing" because it astounds me you have to jump through such hoops for something that should be routine and easy.)  The commented lines are just to help in debugging.
    ConnectionInfo conn = new ConnectionInfo();
    conn.ServerName = "myServer";
    conn.DatabaseName = "myDB";
    conn.UserID = "myUserID";
    conn.Password = "myPassword";
    Tables tables = rptDoc.Database.Tables;
    foreach (Table table in tables)
      //string str= table.TestConnectivity().ToString());
      TableLogOnInfo tableLogonInfo = table.LogOnInfo;
      tableLogonInfo.ConnectionInfo = conn;
      table.ApplyLogOnInfo(tableLogonInfo);
      //table.Location = table.Location;                        
    This is followed by the viewer stuff:
    CrystalReportViewer1.DisplayGroupTree = false;
    CrystalReportViewer1.DisplayToolbar = true;
    CrystalReportViewer1.HasToggleGroupTreeButton = false;
    CrystalReportViewer1.HasToggleParameterPanelButton = false;
    CrystalReportViewer1.Page.Title = strReportName;
    CrystalReportViewer1.ReportSource = rptDoc;
    Up to here, it works fine, displaying the report.  If the report is also to be e-mailed, the following is executed:
    if (bEmail)
      //  export to PDF, then mail that
      SmtpClient client = new SmtpClient();
      MailAddress from = new MailAddress(ConfigurationManager.AppSettings["ReportMailFrom"].ToString());
      MailMessage message = new MailMessage();
      message.From = from;
      message.SubjectEncoding = System.Text.Encoding.UTF8;
      message.Subject = "E-mail BackOffice report: " + strReportName;
      try
        foreach(ParameterField field in rptDoc.ParameterFields)
          Logger.LogEvent("test", "", field.ToString(), "Trace", null, true, true);
          Logger.LogEvent("test", "", "Name: " + field.Name, "Trace", null, false, false);
          Logger.LogEvent("test", "", "PromptText: " + field.PromptText, "Trace", null, false, false);
          Logger.LogEvent("test", "", "IsOptionalPrompt: " + field.IsOptionalPrompt, "Trace", null, false, false);
        MemoryStream memStream = (MemoryStream)rptDoc.ExportToStream(ExportFormatType.PortableDocFormat);
        Attachment data = new Attachment(memStream, MediaTypeNames.Application.Pdf);
        ContentDisposition disposition = data.ContentDisposition;
        disposition.CreationDate = DateTime.Now;
        disposition.ModificationDate = DateTime.Now;
        disposition.FileName = strReportName + ".pdf";
        disposition.DispositionType = DispositionTypeNames.Attachment;
        message.Attachments.Add(data);
      catch (Exception ex)
        Logger.LogEvent("error", "Page_Load", strReportName + " Exception: " + ex.Message, "Trace", null, true, true);
      //  ...  do the rest of the stuff to create & send the e-mail
    (The rest of this message will be in the following post.  Sorry it is so long.)

  • XL Reporter Error - Error Starting Excel! Cause: (Retrieve Excel Interface)

    Hi all experts,
    My customer is running SAP B1 8.8 PL13, with MS Office 2003.
    One of the workstation is encountering XL Reporter error when trying to generate XL Reports.
    Error starting Excel! Cause: (Retrieve Excel Interface) Automation error
    Library not registered.
    I have tried checking the Excel Macro security setting, COM-Addins, changing Excel.exe.config file to use .NET Framework 1.1. But the error still persists.
    I have also tried uninstall SAP B1 client, remove SAP folder, the reinstall B1 client again, but the error still exist.
    Any other idea except reformatting PC?
    Thanks,
    Taw-Fey Tan

    Hi Julie,
    There seems to be 2 COM-Addins in Excel.
    SAP Business One
    SAP Business One  XL Reporter
    I am unable to delete the first one while keepint the second. Not sure why it keeps coming back and reappear itself.
    Taw-Fey Tan

  • Firefox 5.0 is supposed to have a separaret Twitter tab, but I noticed today that that tab is missing. What is causing this problem?

    Firefox version 5.0 has a separate Twitter tab built into this web browser. However, today I have been having problems with launching the Firefox browser. An error message appears, after attempting to launch the browser, which states that the Firefox browser is already running, and that the process needs to be closed or that the computer needs to be restarted. After restarting my computer and launching the Firefox browser, I noticed that the built-in Twitter tab ( near the upper left-hand corner of the browser ) was missing. What is causing these problems?

    I'm pretty sure that Firefox version 5.0 has a built-in Twitter tab. Whatever the case may be, I downloaded Firefox version 5.0.1 this morning. I learned that if you right-click on a tab, that a menu box will appear on the screen. One of the options in that menu box is "Pin as App Tab." If I go to the http://twitter.com web site, and then right-click on the corresponding Twitter tab, and then select "Pin as App Tab," then a small Twitter tab will appear to the right of the orange-and-white "Firefox" tab ( in the upper left-hand corner of the Firefox web browser screen ). Then I can click on that Twitter tab and go directly to the http://twitter.com web site. However, when I exit the Firefox version 5.0.1 web browser, and then immediately re-launch it, the separate Twitter tab is gone. Is there any way, within Firefox version 5.0.1, that I can make the separate Twitter tab permanent after selecting "Pin as App Tab"? Thank you for your assistance regarding this matter.
    ''Edited by a moderator due to inappropriate content.''

  • Why is the "Empty Trash" option missing? All I have is "Secure Empty Trash" which takes a considerable amount of time.

    Why is the “Empty Trash” option missing? All I have is “Secure Empty Trash” which takes a considerable amount of time.

    check your finder preferences.

  • Imac frozen at blue screen after i went into disk utilities and cleaned my free space. I tried holding down T key as it reboots and i get a message. Start up disk full empty it how can one emptie it if you cant get past the blue screen

    Imac frozen at blue screen after i went into disk utilities and cleaned  free space.
    I tried holding down T key as it reboots
    and i get a message. Start up disk full empty it how can one emptie it if you cant get past the blue screen?
    to make matters worse we bought the IMAC of amazon uk on the 4/07/011 so what can we do?
    please remember how frustrating it is when asking for help when the helper telling you to type something on the screen when its frozen
    Tell us when you can type some instuctions to the software how do you get to the doss prompt so to speak to do this
    Thanks

    i tried all this thanks
    i can not get past blue screen and message Your disk is full it needs to be emptied Please not I cant proceed past this message.
    no matter what you tell me
    Am i right ok in thinking that
    when i went into disk utilities and chose to clean my free space i left it over one hour to do its stuff
    i came back and there was no progress bar just the box so i quit the program and when i opened  mac mail the system just froze  i forced quit mail rebooted and blue screen death
    Now when free space is being cleaned is it the same as windows dose the utility write lots of 0 on the hard drive then rebbot its self to free the space
    basicly is my hard drive full of 00000  is this why im getting this message  because the process was interupted
    I need to know if i need outside help i bought the computer on line on  amazon uk  what dose one do next

  • Weblogic./SOA server not getting started-BPEL Exception @ startup

    Hi All,
    Environment:
    Weblogic /SOA 11.1.1.4 is installed on my Windows machine with 3GB RAM.
    I installed the development mode and i have not configured my node manager.I just used to start the admin server and it automatically starts the managed SOA server.May be this is a new feature with 11g.
    The server was running fine till last week and i was doing my SOA practice as per 'SOA Getting Started ' book.But today morning when i restarted my system and started the server,i am gettign the below error:
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4281)
    at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:67
    9)
    at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(Deliver
    yService.java:654)
    at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDe
    liveryBean.java:293)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJo
    inpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
    dInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
    dInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocatio
    nInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.
    java:94)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
    3)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
    il.java:413)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterc
    eptor.java:81)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsIntercep
    tor.java:112)
    at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.ja
    va:105)
    at sun.reflect.GeneratedMethodAccessor839.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJo
    inpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorI
    nterceptor.invoke(JeeInterceptorInterceptor.java:69)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
    dInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntrodu
    ctionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntrodu
    ctionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
    dInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisit
    orImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.c
    allback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentIntercepto
    r.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
    dInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocat
    ionInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
    dInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntrodu
    ctionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntrodu
    ctionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho
    dInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopPr
    oxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy281.handleInvoke(Unknown Source)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDe
    liveryLocalBeanImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(Sess
    ionLocalMethodInvoker.java:39)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDe
    liveryLocalBeanImpl.handleInvoke(Unknown Source)
    at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage
    Handler.handle(InvokeInstanceMessageHandler.java:35)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
    hHelper.java:140)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatc
    hTask.java:88)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTas
    k.java:64)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
    utor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:908)
    at java.lang.Thread.run(Thread.java:619)
    >
    <Apr 27, 2011 12:04:34 PM AST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-00
    0000> <Failed to handle dispatch message ... exception ORABPEL-05002
    Message handle error.
    error while attempting to process the message "com.collaxa.cube.engine.dispatch.
    message.invoke.InvokeInstanceMessage"; the reported exception is: Fault not hand
    led.
    failure to handle a fault thrown from a scope, by any blocks in the scope chain.
    This exception occurred because the fault thrown in the BPEL flow was not handle
    d by any fault handlers and reached the top-level scope.
    A top-level fault handler should be added to the flow to handle faults not caugh
    t from within the flow.
    This error contained an exception thrown by the message handler.
    Check the exception trace in the log (with logging level set to debug mode).
    ORABPEL-05002
    Message handle error.
    error while attempting to process the message "com.collaxa.cube.engine.dispatch.
    message.invoke.InvokeInstanceMessage"; the reported exception is: Fault not hand
    led.
    failure to handle a fault thrown from a scope, by any blocks in the scope chain.
    This exception occurred because the fault thrown in the BPEL flow was not handle
    d by any fault handlers and reached the top-level scope.
    A top-level fault handler should be added to the flow to handle faults not caugh
    t from within the flow.
    This error contained an exception thrown by the message handler.
    Check the exception trace in the log (with logging level set to debug mode).
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
    hHelper.java:207)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatc
    hTask.java:88)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTas
    k.java:64)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
    utor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:908)
    at java.lang.Thread.run(Thread.java:619)
    Before this error,I am able to see'STARTING' message from admin server but after sometime i get the below error.I waiting for 30 minutes and tried to access the console but no use.
    I beleive ,this error is coming from one of the bpel components before i restarted my machine.is there any way to undeploy all my instaled SOA composite projects offline.Because,i am not able to start the server and i get this error at the server start up itslef.
    Thank you for your time and kind help !!
    Regards,
    Karthik B
    Edited by: Karthik Balakrishnan on Apr 29, 2011 1:42 PM

    Generally this error should not stop server. Carefully check the server startup log and see if there are other errors as well. Post them here. You may consider mailing your server startup log to my id.
    Regards,
    Anuj

Maybe you are looking for

  • Purchase Order for Leased Asset

    Hello, I want to create an Purchase order for leased asset and want to make the payment for that. It will be helpfull for me if you can tell the config setting required for that and the sequence of Transactions for completing the cycle for the same.

  • My MBP 2011 can't detect microphone, why?

    My internal microphone works perfectly fine but when I insert an external microphone, my MBP fails to detect it.  When I go to System Preferences>Sound>Input, nothing changes in the "Line In" area when I plug in my microphone.  When I try to speak in

  • LOGO ATTACHMENT IN WEBI REPORT

    how can you attach the logo in webi report? thanks in advanced, krishna

  • Portlet to Portlet Problem : listening portlet not updating

    Having trouble with an Adaptive Portlet. I have a broadcaster that when selecting a link in a data grid will pass and ID to the Listening portlet and display info based on that passed ID. (nothing hard). This code works fine in our development enviro

  • Better Filter VI?

    I am working on a VI to read voltage inputs from a USB 6210 that vary from +/- 5 mV. I understand I will have noise, but there are instances where that noise can get up to +/- 1mV. It usually last for only a few milliseconds before settling down back