Skip navigation
Currently Being Moderated

EmailReceiver Qpac testing-tab

Oct 19, 2005 4:38 AM

Im testing the LC workflow 7.0. Im using the EmailReceiver QPAC to receive a Email from a pop3 account, when I go to test-tab of the QPAC and test it, the response is No provider for pop3
The pop3 server Im connecting to works fine when testing for other applications.
The text on the test-tab says that I may need to explicitly add the Javamail and Activation jars to the PADs classpath for this tab to work correctly.
How do I do that?
I have the files (javamail.jar and activation.jar), but dont know what to do with them

Soren
 
Replies
  • Currently Being Moderated
    Oct 19, 2005 7:44 AM   in reply to Guest
    Try dropping them in the /lib folder under workflow designer.

    H.
     
    |
    Mark as:
  • Currently Being Moderated
    Oct 19, 2005 9:43 PM   in reply to Guest
    Unfortunately Hubert's suggestion doesn't work. The Designer executable (unfortunately) does not automatically pick up any jars that exist in the lib directory.

    There is a relatively simple workaround, that is described in a document that you can download from our web site.

    Please go to: http://www.avoka.com/avoka/qpac_library.shtml, and download the SQLPlus QPAC. (You'll need to register.)
    In that zip file is a document called AddingJarsToTheDesignerClasspath.pdf - please follow the instructions there, and let me know if you have any problems.

    Once you've set up the Designer.exe file, simply drop the javamail jars (activation.jar, javamail.jar, and pop3.jar) into the extras directory.

    Howard

    Howard Treisman
    Avoka Technologies
    Specializing in Custom QPAC development and LiveCycle Solutions
    http://www.avoka.com/avoka/qpac_library.shtml
     
    |
    Mark as:
  • Currently Being Moderated
    Oct 20, 2005 3:01 AM   in reply to Guest
    Glad to hear that everything is working.
    There are some known issues with the EmailReceiver, specifically with extracting attachments.
    If you have any problems, please let us know (support@avoka.com), and we'll send you a patch.

    Regards,
    howard
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 8, 2005 9:50 AM   in reply to Guest
    Where do I find the javamail.jar and activation.jar files?
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 8, 2005 11:48 AM   in reply to Guest
    Also, When I try to open the Designer.exe file I get this:
    "Error in Java Launcher. Error occurred while attempting to find Java class"
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 8, 2005 1:28 PM   in reply to Guest
    Hi Matt

    The easiest way to get hold of the jar files is to open the emailreceiver.jar file using something like Winzip - you'll find the files in there. Or you can get them from:
    http://java.sun.com/products/javamail/downloads/index.html

    The error you're getting says that the launcher can't find the Java class. Try DesignerC.exe, it might tell you the exact class. The problem might may be that you've put Designer.exe in the wrong directory, or that Designer.lap has the wrong contents. It could also be a java version issue.

    Designer.lap should contain something like:
    janel.main.class=com.adobe.workflow.tools.processdesigner.PAD
    -Djava.class.path=.\qlc\
    janel.classpath.jars.dir=.\lib
    janel.classpath.jars.dir=.\JBoss-lib
    janel.classpath.jars.dir=.\extras
    janel.jvm.path=..\_jvm\bin\client\jvm.dll

    The last line may need to be changed depending on the location of your VM.

    You can get janel help at:
    http://sourceforge.net/docman/display_doc.php?docid=19235&group_id=908 99

    Howard
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 12, 2005 12:43 PM   in reply to Guest
    Sorry to be a pain, but, I downloaded the JavaMail API 1.3.3 and unzipped it but I cant find a file specifically named JavaMail.jar. I see a mail.jar or mailapi.jar. I this what I need?
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 12, 2005 5:43 PM   in reply to Guest
    Hi Matt

    (No worries - I should have been more specific in my instructions... :-)

    You need the following jars:
    mailapi.jar
    pop3.jar
    smtp.jar
    imap.jar

    You also need activation.jar, which you can download from:
    http://java.sun.com/products/javabeans/glasgow/jaf.html

    Howard
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 13, 2005 6:56 AM   in reply to Guest
    Howard, Thanks for the help, you da man.

    Matt
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 15, 2005 10:14 AM   in reply to Guest
    Have another problem... Has anyone tried to connect this Qpac up to an exchange server? I keep getting this error:

    Connecting to mail server...
    Exception: Logon failure: unknown user name or bad password.
    Closing...

    I have tried a couple of accounts that I know work. Does anyone have an Idea I could try?
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 16, 2005 6:55 AM   in reply to Guest
    Can you post the JBoss log file? That will provide detailed information about the problem.

    Scott
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 16, 2005 6:56 AM   in reply to Guest
    More specifically, the file server.log from the jboss\server\all\logs directory

    Scott
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 16, 2005 3:14 PM   in reply to Guest
    Hi

    I believe the problem is that Exchange requires a fairly strange username. You need to specify:

    \nt-domain\domain-user-name\email-account-name

    Exchange uses the nt-domain, domain-user-name and password to authenticate you with the domain. It then uses email-account-name as the specific email account you're going to open.

    The nt-domain, domain-user-name and password are the usual settings you use when you log into Windows.

    The email-account-name is usually, but not necessarily the "name" part of your email address. ie the bit before the @. I've never found out a way to work out what your account name is other than a) trying b) asking you Exchange admin. If you do find a way of doing this, please let me know.

    Please let me know if this works.

    Howard
    http://www.avoka.com
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 19, 2005 6:40 AM   in reply to Guest
    I had the domain\user but I did not have the email account after it. It looks like I got passed the "unknown user name or bad password" error but am getting a protocol error now. I am going to check the the Exchange adim to see what is going on over there. Thanks for all the help.

    javax.mail.AuthenticationFailedException: Protocol error.
    at com.sun.mail.pop3.POP3Store.protocolConnect
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 19, 2005 10:44 AM   in reply to Guest
    Off the top of my head I cannot remember the names of the protocals, but I know there is one that MS Exchange can be configured to use for authentication that JavaMail cannot work with (I believe it is MS specific). The QPAC uses the JavaMail API, so that could be the issue. Your admin would be able to confirm for you what protocals are being used.

    Chris
    Adobe Enterprise Developer Support
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 19, 2005 10:48 AM   in reply to Guest
    Oh, it's the Integrated Windows Authetication protocal. If your exchange server is set up to use that, then JavaMail will not be able to authenticate with it and it could cause the problem you are seeing.

    Chris
    Adobe Enterprise Developer Support
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 19, 2005 12:49 PM   in reply to Guest
    Hi

    It looks like the problem is that you're apparently trying to connect to Exchange using the POP3 protocol, but Exchange by default uses IMAP. Make sure that you have IMAP selected on the first tab of the QPAC.

    Howard
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 20, 2005 4:19 AM   in reply to Guest
    Hi

    I found a way to determine the Exchange account name.
    In Outlook, click on the Address book, and do a search for the person whose account you want to read. When you find the person, double click, and it will bring up a bunch of information about that account. It's the "alias" field you want.

    Howard
     
    |
    Mark as:
  • Currently Being Moderated
    Jun 26, 2006 8:26 AM   in reply to Guest
    Hi,
    I'm using the email receiver QPAc to try to initiate a workflow on the arrival of an email on a give mailbox. Those emails are containing a PD document as attachment.
    I have set all parameters and all to be able to test the settings and I'm able to connect to exchange and to find the first email.
    However This email contains a PDF document as attachment, but the result printed in the test tab is Attachments:0.
    I have tried to set mimetype to Application/* or to Application/pdf or to empty, I have let "Name contains" empty or set it to *, but nothing change the situation: The QPAc doesn't see any attachment in my email...
    Is it a known issue? Does somebody have some advices to help me to solve this problem?

    Thanks

    Denis
     
    |
    Mark as:
  • Currently Being Moderated
    Jun 29, 2006 5:41 AM   in reply to Guest
    Hi
    Are you using the latest version of the QPAC from SDK 703?
    It's best to set the mimetype and name to blank, then it will find any attachment.
    Some things to try...
    Are you 100% sure that the email does actually have an attachment?
    Try sending the email in different formats, such as plain text, html, and rtf. Try sending multiple attachments, of different types. Try using a different mail client if possible. Try using a pop server rather than an exchange server, just to test whether the problem is with what you're doing, or with the server.
    If you're still having trouble, post the full results of what you're getting on the Test tab to this forum, and we'll try to take a closer look.
    Howard
    http://www.avoka.com
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 25, 2006 11:22 PM   in reply to Guest
    Hello,
    I imported the needed files as it is told here to be able to run test tab. It seems it is working. However, I always get this message :

    Connecting to mail server...
    No message found
    Closing...

    I am sending a new mail for the email receiver to catch it. However, it
    does not. What is wrong with it ?
    (I have configured the email addres from component properties.)

    Any help will be great.
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)