Hi
I have been struggling with this for 2 days, any help would be appreciated:
I have set up my BV to receive and send emails. But it isn't able to connect to the smtp mail server or says that authentication failed (see server log output below).
I have read through all the email posts on the forum (three times each) and tried the following:
I have published the app and it still doesn't work
I have set up a mail client on the same server and have been able to successfully send and receive from this using the same details as in AwareIM SystemSettings
I have loaded the CRM sample app with my smtp SystemSettings - doesn't work either
It's a Linux (Ubuntu 9.04) server, using Gnome desktop. I'm on Aware V4.8 Build 1280 (still the evaluation version if that makes a difference).
Thanks
Rod.
Output from server log:
2010-01-14 15:05:40,155 ERROR Invoicing#admin -Unable to start e-mail channel for business space BASTestDomainInvoicing. It is possible that SystemSettings object is not initialised.
2010-01-14 15:05:40,155 ERROR Invoicing#admin -Unable to start e-mail channel for business space BASTestDomainInvoicing. It is possible that SystemSettings object is not initialised.
INFO: Calling System.runFinalizersOnExit (true)
INFO: Default locale for machine is en_AU
INFO: Default timezone for machine is GMT+10:00
INFO: Property E-mail_NOTIF_1.LocaleISOLanguageCode set to 'en'
INFO: Property E-mail_NOTIF_1.LocaleISOCountryCode set to 'AU'
WARN: Retaining default locale
INFO: Property E-mail_NOTIF_1.TimeZone set to 'GMT+10:00'
WARN: Retaining default timezone
INFO: Property E-mail_NOTIF_1.Logging.LoggingTimeInfo set to 'true'
INFO: Property E-mail_NOTIF_1.Logging.LoggingThreadInfo set to 'false'
INFO: Property E-mail_NOTIF_1.Logging.LoggingPackageInfo set to 'false'
INFO: Property E-mail_NOTIF_1.Logging.RemoteLogSetting set to 'FATAL'
INFO: Checking RemoteLogger
INFO: Logger status=OutputLogger status: loggingTimeInfo = true loggingThreadInfo = false loggingPackageInfo = false logLevel for [DEFAULT] is [INFO]
INFO: Property E-mail_NOTIF_1.LogStdout set to 'false'
INFO: E-mail_NOTIF_1 creating Controller as instance of com.bas.openadaptor.SingleSourceCtrler
INFO: E-mail_NOTIF_1 Initializing Controller
TRACE: Constructing SimpleController
INFO: E-mail_NOTIF_1.Controller setting propsPrefix to E-mail_NOTIF_1.Controller
INFO: E-mail_NOTIF_1.Controller Creating Security Manager
INFO: E-mail_NOTIF_1.Controller No Security Policy in use
TRACE: SimpleController E-mail_NOTIF_1.Controller init complete
INFO: E-mail_NOTIF_1 creating PipelineController as instance of org.openadaptor.adaptor.STPipelineController
INFO: No timeout for component initialization.
TRACE: SimpleComponent TS init complete
TRACE: SimpleComponent QS init complete
TRACE: AbstractWriter QS init complete
TRACE: org.openadaptor.adaptor.jms.JMSSink propsPrefix=E-mail_NOTIF_1.QS
TRACE: org.openadaptor.adaptor.jms.JMSSink RetryLimit=-1
TRACE: org.openadaptor.adaptor.jms.JMSSink RetryDelay=100000
TRACE: org.openadaptor.adaptor.jms.JMSSink MessageType=Object
INFO: org.openadaptor.adaptor.jms.JMSSink Initialising JMS Queue/Topic E-mail_NOTIF_1.QS
TRACE: org.openadaptor.adaptor.jms.JMSPublisher propsPrefix=E-mail_NOTIF_1.QS.Publisher
TRACE: org.openadaptor.adaptor.jms.JMSPublisher MessageMode=Queue
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JNDI_PROVIDER_URL=jnp://localhost:9650/
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JMDI_FACTORY=org.jnp.interfaces.NamingContextFactory
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JMS_QUEUE_FACTORY=ConnectionFactory
TRACE: org.openadaptor.adaptor.jms.JMSPublisher JMS_QUEUE=queue/notifinqueue
TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.ClientID=null
TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.OverrideExistingClientID=false
TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.Transacted=true
TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.DeliveryMode=2
TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.Priority=5
TRACE: org.openadaptor.adaptor.jms.JMSPublisher Publisher.TimeToLive=0
TRACE: org.openadaptor.adaptor.jms.JMSPublisher - establishing JMS connection
TRACE: your JMS vendor implementation of QueueConnectionFactory.createQueueConnection() returns a class which is an instance of TopicConnection as well as an instance of QueueConnection
INFO: org.openadaptor.adaptor.jms.JMSSink Initialisation succeeded for Queue/Topic notifinqueue
INFO: E-mail_NOTIF_1.Controller linking TS to QS
INFO: E-mail_NOTIF_1.Controller running
TRACE: E-mail_NOTIF_1.Controller - Starting thread for Source TS
INFO: TS running in callback mode
INFO: Calling System.runFinalizersOnExit (true)
INFO: Default locale for machine is en_AU
INFO: Default timezone for machine is GMT+10:00
INFO: Property E-mail_NOTIF_1_Ack.LocaleISOLanguageCode set to 'en'
INFO: Property E-mail_NOTIF_1_Ack.LocaleISOCountryCode set to 'AU'
WARN: Retaining default locale
INFO: Property E-mail_NOTIF_1_Ack.TimeZone set to 'GMT+10:00'
WARN: Retaining default timezone
INFO: Property E-mail_NOTIF_1_Ack.Logging.LoggingTimeInfo set to 'true'
INFO: Property E-mail_NOTIF_1_Ack.Logging.LoggingThreadInfo set to 'false'
INFO: Property E-mail_NOTIF_1_Ack.Logging.LoggingPackageInfo set to 'false'
INFO: Property E-mail_NOTIF_1_Ack.Logging.RemoteLogSetting set to 'FATAL'
INFO: Checking RemoteLogger
INFO: Logger status=OutputLogger status: loggingTimeInfo = true loggingThreadInfo = false loggingPackageInfo = false logLevel for [DEFAULT] is [INFO]
INFO: Property E-mail_NOTIF_1_Ack.LogStdout set to 'false'
INFO: E-mail_NOTIF_1_Ack creating Controller as instance of org.openadaptor.adaptor.SimpleController
INFO: E-mail_NOTIF_1_Ack Initializing Controller
TRACE: Constructing SimpleController
INFO: E-mail_NOTIF_1_Ack.Controller setting propsPrefix to E-mail_NOTIF_1_Ack.Controller
INFO: E-mail_NOTIF_1_Ack.Controller Creating Security Manager
INFO: E-mail_NOTIF_1_Ack.Controller No Security Policy in use
TRACE: SimpleController E-mail_NOTIF_1_Ack.Controller init complete
INFO: E-mail_NOTIF_1_Ack creating PipelineController as instance of org.openadaptor.adaptor.STPipelineController
INFO: No timeout for component initialization.
TRACE: SimpleComponent TS init complete
TRACE: org.openadaptor.adaptor.jms.JMSSource propsPrefix=E-mail_NOTIF_1_Ack.TS
TRACE: org.openadaptor.adaptor.jms.JMSSource RetryLimit=-1
TRACE: org.openadaptor.adaptor.jms.JMSSource RetryDelay=100000
INFO: org.openadaptor.adaptor.jms.JMSSource Initialising JMS Queue/Topic Listener E-mail_NOTIF_1_Ack.TS
2010-01-14 15:05:40,264 ERROR -Unable to connect to remote host mail.hatchconsulting.com.au (UnknownHostException). The server may be down or there is no Internet connection mail.hatchconsulting.com.au
TRACE: your JMS vendor implementation of TopicConnectionFactory.createTopicConnection() returns a class which is an instance of QueueConnection as well as an instance of TopicConnection
INFO: org.openadaptor.adaptor.jms.JMSSource Initialisation succeeded for Queue/Topic notifouttopic
TRACE: SimpleComponent AS init complete
TRACE: AbstractWriter AS init complete
INFO: E-mail_NOTIF_1_Ack.Controller linking TS to AS
INFO: E-mail_NOTIF_1_Ack.Controller running
TRACE: E-mail_NOTIF_1_Ack.Controller - Starting thread for Source TS
INFO: TS running in listen mode
INFO: org.openadaptor.adaptor.jms.JMSSource Start processing JMS Queue/Topic notifouttopic
2010-01-14 15:05:46,240 ERROR Invoicing#admin -Unable to start e-mail channel for business space Invoicing. It is possible that SystemSettings object is not initialised.
2010-01-14 15:05:46,240 ERROR Invoicing#admin -Unable to start e-mail channel for business space Invoicing. It is possible that SystemSettings object is not initialised.
2010-01-14 15:06:25,253 ERROR -Unable to connect to remote host mail.hatchconsulting.com.au (UnknownHostException). The server may be down or there is no Internet connection mail.hatchconsulting.com.au
Send failed exception thrown Sending failed;
nested exception is:
class javax.mail.AuthenticationFailedException
Next exception is javax.mail.AuthenticationFailedExceptionnull
2010-01-14 15:09:31,933 ERROR -Unable to connect to remote host mail.hatchconsulting.com.au
javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:264)
at javax.mail.Service.connect(Service.java:134)
at javax.mail.Service.connect(Service.java:86)
at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:95)
at javax.mail.Transport.send0(Transport.java:162)
at javax.mail.Transport.send(Transport.java:80)
at com.bas.basserver.iopipes.EmailSink.a(Unknown Source)
at com.bas.basserver.iopipes.EmailSink.do(Unknown Source)
at com.bas.basserver.iopipes.EmailSink.access$100(Unknown Source)
at com.bas.basserver.iopipes.EmailSink$c.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Send failed exception thrown Sending failed;
nested exception is:
class javax.mail.MessagingException: Unknown SMTP host: mail.hatchconsulting.com.au;
nested exception is:
java.net.UnknownHostException: mail.hatchconsulting.com.au
Next exception is javax.mail.MessagingExceptionUnknown SMTP host: mail.hatchconsulting.com.au;
nested exception is:
java.net.UnknownHostException: mail.hatchconsulting.com.au
Next next exception is java.net.UnknownHostExceptionmail.hatchconsulting.com.au
Send failed exception thrown Sending failed;
nested exception is:
class javax.mail.AuthenticationFailedException
Next exception is javax.mail.AuthenticationFailedExceptionnull
2010-01-14 15:10:06,923 ERROR -Unable to connect to remote host mail.hatchconsulting.com.au
javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:264)
at javax.mail.Service.connect(Service.java:134)
at javax.mail.Service.connect(Service.java:86)
at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:95)
at javax.mail.Transport.send0(Transport.java:162)
at javax.mail.Transport.send(Transport.java:80)
at com.bas.basserver.iopipes.EmailSink.a(Unknown Source)
at com.bas.basserver.iopipes.EmailSink.do(Unknown Source)
at com.bas.basserver.iopipes.EmailSink.access$100(Unknown Source)
at com.bas.basserver.iopipes.EmailSink$c.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Send failed exception thrown Sending failed;
nested exception is:
class javax.mail.AuthenticationFailedException
Next exception is javax.mail.AuthenticationFailedExceptionnull
2010-01-14 15:10:07,468 ERROR -Unable to connect to remote host mail.hatchconsulting.com.au
javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:264)
at javax.mail.Service.connect(Service.java:134)
at javax.mail.Service.connect(Service.java:86)
at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:95)
at javax.mail.Transport.send0(Transport.java:162)
at javax.mail.Transport.send(Transport.java:80)
at com.bas.basserver.iopipes.EmailSink.a(Unknown Source)
at com.bas.basserver.iopipes.EmailSink.do(Unknown Source)
at com.bas.basserver.iopipes.EmailSink.access$100(Unknown Source)
at com.bas.basserver.iopipes.EmailSink$c.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Send failed exception thrown Sending failed;
nested exception is:
class javax.mail.MessagingException: Unknown SMTP host: mail.hatchconsulting.com.au;
nested exception is:
java.net.UnknownHostException: mail.hatchconsulting.com.au
Next exception is javax.mail.MessagingExceptionUnknown SMTP host: mail.hatchconsulting.com.au;
nested exception is:
java.net.UnknownHostException: mail.hatchconsulting.com.au
Next next exception is java.net.UnknownHostExceptionmail.hatchconsulting.com.au
2010-01-14 15:10:07,494 ERROR -Email was not sent. Remote server may be down or there is no connection. The system will try to re-send the e-mail when connection is up.
2010-01-14 15:11:40,727 Invoicing#admin -17
2010-01-14 15:11:40,727 Invoicing#admin -17
2010-01-14 15:11:40,728 Invoicing#admin -20 Executing process TestSendEmail with parameters: Customer:4
2010-01-14 15:11:40,733 Invoicing#admin -29 Started evaluation of rules
2010-01-14 15:11:40,733 Invoicing#admin -22 Evaluating rule 'Send Email Invoice' SEND testemail TO Customer
2010-01-14 15:11:40,734 Invoicing#admin -2 Adding action SEND testemail TO Customer to the agenda
2010-01-14 15:11:40,734 Invoicing#admin -16 Finished rule evaluation
2010-01-14 15:11:40,734 Invoicing#admin -16 Finished evaluation of rules
2010-01-14 15:11:40,734 Invoicing#admin -15 Executing action SEND testemail TO Customer
2010-01-14 15:11:40,735 Invoicing#admin -17
2010-01-14 15:11:40,739 Invoicing#admin -17
2010-01-14 15:11:40,739 Invoicing#admin -24 Starting execution of rules when creating notification testemail
2010-01-14 15:11:40,741 Invoicing#admin -29 Started evaluation of rules
2010-01-14 15:11:40,741 Invoicing#admin -22 Evaluating rule 'Initial value for testemail.Subject' If testemail.Subject IS UNDEFINED Then testemail.Subject=What is this
2010-01-14 15:11:40,742 Invoicing#admin -6 Evaluating condition testemail.Subject IS UNDEFINED
2010-01-14 15:11:40,742 Invoicing#admin -8 Condition evaluated to true: <UNDEFINED>
2010-01-14 15:11:40,742 Invoicing#admin -2 Adding action testemail.Subject=What is this to the agenda
2010-01-14 15:11:40,742 Invoicing#admin -16 Finished rule evaluation
2010-01-14 15:11:40,742 Invoicing#admin -22 Evaluating rule 'Initial value for testemail.Message' If testemail.Message IS UNDEFINED Then testemail.Message='Hello there rocketman'
2010-01-14 15:11:40,743 Invoicing#admin -6 Evaluating condition testemail.Message IS UNDEFINED
2010-01-14 15:11:40,743 Invoicing#admin -8 Condition evaluated to true: <UNDEFINED>
2010-01-14 15:11:40,743 Invoicing#admin -2 Adding action testemail.Message='Hello there rocketman' to the agenda
2010-01-14 15:11:40,743 Invoicing#admin -16 Finished rule evaluation
2010-01-14 15:11:40,744 Invoicing#admin -16 Finished evaluation of rules
2010-01-14 15:11:40,744 Invoicing#admin -15 Executing action testemail.Subject=What is this
2010-01-14 15:11:40,744 Invoicing#admin -4 Subject=What is this
2010-01-14 15:11:40,744 Invoicing#admin -16 Finished executing action testemail.Subject=What is this
2010-01-14 15:11:40,745 Invoicing#admin -25 Started evaluation of rules after data has been changed by the actions
2010-01-14 15:11:40,745 Invoicing#admin -6 Checking rule Initial value for testemail.Subject
2010-01-14 15:11:40,749 Invoicing#admin -6 Evaluating condition testemail.Subject IS UNDEFINED
2010-01-14 15:11:40,749 Invoicing#admin -7 Condition evaluated to false: What is this
2010-01-14 15:11:40,750 Invoicing#admin -6 Checking rule Initial value for testemail.Message
2010-01-14 15:11:40,750 Invoicing#admin -16 Finished evaluation of rules after data has been changed by the actions
2010-01-14 15:11:40,750 Invoicing#admin -15 Executing action testemail.Message='Hello there rocketman'
2010-01-14 15:11:40,750 Invoicing#admin -4 Message=Hello there rocketman
2010-01-14 15:11:40,750 Invoicing#admin -16 Finished executing action testemail.Message='Hello there rocketman'
2010-01-14 15:11:40,751 Invoicing#admin -25 Started evaluation of rules after data has been changed by the actions
2010-01-14 15:11:40,751 Invoicing#admin -6 Checking rule Initial value for testemail.Subject
2010-01-14 15:11:40,751 Invoicing#admin -6 Checking rule Initial value for testemail.Message
2010-01-14 15:11:40,751 Invoicing#admin -6 Evaluating condition testemail.Message IS UNDEFINED
2010-01-14 15:11:40,752 Invoicing#admin -7 Condition evaluated to false: Hello there rocketman
2010-01-14 15:11:40,752 Invoicing#admin -16 Finished evaluation of rules after data has been changed by the actions
2010-01-14 15:11:40,752 Invoicing#admin -16 Finished execution of rules when creating notification testemail
2010-01-14 15:11:40,752 Invoicing#admin -17
2010-01-14 15:11:40,752 Invoicing#admin -17
2010-01-14 15:11:40,753 Invoicing#admin -16 Finished executing action SEND testemail TO Customer
2010-01-14 15:11:40,753 Invoicing#admin -16 Finished executing process TestSendEmail
2010-01-14 15:11:40,753 Invoicing#admin -17
2010-01-14 15:11:40,753 Invoicing#admin -17
Send failed exception thrown Sending failed;
nested exception is:
class javax.mail.MessagingException: Unknown SMTP host: mail.hatchconsulting.com.au;
nested exception is:
java.net.UnknownHostException: mail.hatchconsulting.com.au
Next exception is javax.mail.MessagingExceptionUnknown SMTP host: mail.hatchconsulting.com.au;
nested exception is:
java.net.UnknownHostException: mail.hatchconsulting.com.au
Next next exception is java.net.UnknownHostExceptionmail.hatchconsulting.com.au