Error in configuring email connector

1
0
-1

I am new to Bonita and my experience in web programming is very limited so please walk me through like an Elementary student :). I am task to create a web portal using this application and I'm stuck in this situation. The process is: A client will login and submit a request and when the request is submitted there will be a non human process to send a notification message to the assign person. The message contains all the info on the submitted request of the client to the assign person.

when I start to configure the email connector and test the process it gives me an error: Error thrown:

java.lang.reflect.InvocationTargetException org.bonitasoft.engine.bpm.connector.ConnectorExecutionException: USERNAME=install | org.bonitasoft.engine.core.connector.exception.SConnectorException: org.bonitasoft.engine.connector.exception.SConnectorException: java.util.concurrent.ExecutionException: org.bonitasoft.engine.connector.exception.SConnectorException: org.bonitasoft.engine.connector.ConnectorException: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I am using Bonita 6.5.2 - Community Edition.

Comments

Submitted by Sean McP on Wed, 06/03/2015 - 17:33

Are you using Portal or Studio when testing this?

This looks like a security issue (quite common) because your attaching to SSL - first thing you need to do is change GMAIL to allow access for a non-secure connector (BonitaSoft)

You should also make sure you are not going through a Proxy as this does create a problem (but not this one).

regards

Submitted by DudeFisher on Fri, 06/05/2015 - 03:24

Thank you for the response,

I think there still need to configure in our network. I don't know if we're using proxy so I think other solution is to test this in a local mail server, so forget about my previous question. So I install software for local mail server, the problem is I got successful connection but no output. Can you advice what is the problem on my setup?

Here is the message: "For unserializable output, you can transform it into a serializable object using the output expression editor.

Connector execution is successful but has no output"

-I used the studio in testing the connection "the 'Test' button". -I used MailEnable for local mail server

thanks :)

Submitted by Sean McP on Fri, 06/05/2015 - 05:52

Somewhere in your connector you are missing something. I would create a new connector using hard-coded values first them convert them to variables etc. That way easy to find the issue,

regards

ps hMailServer makes a great test email server.

No answers yet.
Notifications