Hitachi Vantara Pentaho Community Forums
Results 1 to 9 of 9

Thread: Mail

  1. #1
    Join Date
    Nov 2007
    Posts
    18

    Question Mail

    Hi Dears,
    I try to send Email by using Mail Plug-IN and i need to attach zip file i put it in tmp folder in windows because spoon presume you but your zip file in tmp folder, but i hava the following problem :

    Unable to close attachement zip file archive : java.util.zip.ZipException: ZIP file must have at least one entr
    y

    can you help me please
    thank you

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    It probably means that you had no files to attach. Can you verify this? Run with debugging set to the highest level e.g.

    Regards,
    Sven

  3. #3
    Join Date
    Nov 2007
    Posts
    18

    Red face There Exist

    No Dear there exist files inside the zip file and after the exception occurred spoon damage the zip file and the size of the file equal to zero

  4. #4
    Join Date
    Nov 2007
    Posts
    18

    Wink Don't Forget

    don't forget i used kettle Version 2.5.2

  5. #5
    Join Date
    May 2006
    Posts
    4,882

    Default

    Dooh ... it will zip the files you have in the results to the zip file you specify... if you have no files in your result and your output zip already exists...

    Regards,
    Sven

  6. #6
    Join Date
    Nov 2007
    Posts
    18

    Question ooh

    So can you help me with visual example how i can attach

  7. #7
    Join Date
    May 2006
    Posts
    4,882

    Default

    Make an extra transformation using:
    - get files step (selecting the files you want to zip)
    - copy files to result

    Take the current job you have:
    - execute the transformation above via a trans job entry and on the options of that job entry switch off clear result files
    - in mail job entry attach general and select a zipfilename

    Regards,
    Sven

  8. #8
    Join Date
    Nov 2007
    Posts
    18

    Default Dear

    Can you help me with real example

  9. #9
    Join Date
    Nov 2007
    Posts
    18

    Default Thanks

    I solved what i need

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.