Rajan Bansal [
http://community.jboss.org/people/rajan01] created the discussion
"530 5.7.1 Client was not authenticated"
To view the discussion, visit:
http://community.jboss.org/message/603127#603127
--------------------------------------------------------------
I am calling the jBPM process, in which it sends the mail, And I configure tha mail jbpm
mail host in the *jbpm.cfg.xml* as under:
<?xml version="1.0" encoding="UTF-8"?>
<jbpm-configuration>
<string name="jbpm.mail.smtp.host" value="172.25.15.4" />
</jbpm-configuration>
and my SMTP server Ip is 172.25.15.4
and i got the following error:
Inside the Node Handler execute method....// It calls the handlers execute method
Exception in thread "main" org.jbpm.JbpmException: couldn't send email
at org.jbpm.mail.Mail.send(Mail.java:149)
at org.jbpm.mail.Mail.send(Mail.java:113)
at org.jbpm.mail.Mail.execute(Mail.java:63)
at org.jbpm.graph.def.Action.execute(Action.java:122)
at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:255)
at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:220)
at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:190)
at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:174)
at org.jbpm.graph.def.Node.leave(Node.java:381)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$d02de78a.leave(<generated>)
at org.jbpm.graph.exe.Token.signal(Token.java:194)
at org.jbpm.graph.exe.Token.signal(Token.java:139)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$7cbc8e1e.signal(<generated>)
at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:270)
at
com.sample.initiator.ProcessInitiator.signalProcessInstance(ProcessInitiator.java:126)
at com.sample.initiator.StartProcessOne.main(StartProcessOne.java:11)
Caused by: javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.MessagingException: 530 5.7.1 Client was not authenticated
at javax.mail.Transport.send0(Transport.java:218)
at javax.mail.Transport.send(Transport.java:80)
at org.jbpm.mail.Mail.send(Mail.java:147)
... 25 more
And plz tell me how do i check the SMTP server ip given to me is correct or not..
Thanks
Rajan
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/603127#603127]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]