|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
ErrorHandler example not emailing?Hi all,
I'm in the process of learning Mule and going through the examples in 2.0.1. The first couple examples worked great. So, I set up the ErrorHandler test including the ant step to download all the supporting jars. When I run it, no matter which exception I copy to the "in" folder, it only creates an item in the "exception" folder. Even though I configured a valid email address and MTA, it doesn't seem to be attempting to send an email. Or, at least I never get one. The mail.log shows no connections except for my own manual "telnet localhost smtp", which works fine. Is the error-config.xml perhaps configured wrong that it doesn't hand off the FatalException to the FatalHandler? I apologize in advance as I am struggling to comprehend the finer nuances of how to configure Mule. I've spent a couple hours trying to glean what may be out of place. In spite of making a few changes that might have looked out of place, nothing seems to work. :) Any advice would be greatly appreciated! Are there any books that I can buy to minimize the learning curve? Support groups? 12-step programs?! :) Piko |
|
|
RE: ErrorHandler example not emailing?Hi,
What is your configuration for the SMTP connector? Could this be a permissions issue? HTH Antoine Borg, Senior Consultant | Tel: +356 21334457 | Fax: +356 21 334156 ricston Ltd., Lincoln, 7 Ferdinand Grech Street, Lija LJA1142, MALTA email: antoine.borg@... | blog: blog.ricston.com | web: ricston.com -----Original Message----- From: Andrew McLaughlin [mailto:andrew@...] Sent: Saturday, May 17, 2008 7:58 AM To: user@... Subject: [mule-user] ErrorHandler example not emailing? Hi all, I'm in the process of learning Mule and going through the examples in 2.0.1. The first couple examples worked great. So, I set up the ErrorHandler test including the ant step to download all the supporting jars. When I run it, no matter which exception I copy to the "in" folder, it only creates an item in the "exception" folder. Even though I configured a valid email address and MTA, it doesn't seem to be attempting to send an email. Or, at least I never get one. The mail.log shows no connections except for my own manual "telnet localhost smtp", which works fine. Is the error-config.xml perhaps configured wrong that it doesn't hand off the FatalException to the FatalHandler? I apologize in advance as I am struggling to comprehend the finer nuances of how to configure Mule. I've spent a couple hours trying to glean what may be out of place. In spite of making a few changes that might have looked out of place, nothing seems to work. :) Any advice would be greatly appreciated! Are there any books that I can buy to minimize the learning curve? Support groups? 12-step programs?! :) Piko -- View this message in context: http://www.nabble.com/ErrorHandler-example-not-emailing--tp17288475p17288475 .html Sent from the Mule - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
RE: ErrorHandler example not emailing?Hi Antoine,
Yeah, I already had tested the MTA and it works fine. If I "telnet localhost smtp" it answers and allows me to send an email. In looking at the mule logs it appears to not be handing off to the appropriate FatalHandler that would have sent an email. So, it begs the question, does the ErrorHandler example have a typo in the config? I wish I could read the config file easier, but this is all quite Greek to me at this point. Is anyone else getting the ErrorHandler example working? Andrew
|
|
|
RE: ErrorHandler example not emailing?Hi,
I've taken a quick look at the errorHandler code - can you post the content of your email.properties file? Perhaps there's something there .... A Antoine Borg, Senior Consultant | Tel: +356 21334457 | Fax: +356 21 334156 ricston Ltd., Lincoln, 7 Ferdinand Grech Street, Lija LJA1142, MALTA email: antoine.borg@... | blog: blog.ricston.com | web: ricston.com -----Original Message----- From: Andrew McLaughlin [mailto:andrew@...] Sent: Monday, May 19, 2008 8:57 PM To: user@... Subject: RE: [mule-user] ErrorHandler example not emailing? Hi Antoine, Yeah, I already had tested the MTA and it works fine. If I "telnet localhost smtp" it answers and allows me to send an email. In looking at the mule logs it appears to not be handing off to the appropriate FatalHandler that would have sent an email. So, it begs the question, does the ErrorHandler example have a typo in the config? I wish I could read the config file easier, but this is all quite Greek to me at this point. Is anyone else getting the ErrorHandler example working? Andrew Antoine Borg wrote: > > Hi, > > > What is your configuration for the SMTP connector? Could this be a > permissions issue? > > HTH > > > Antoine Borg, Senior Consultant | Tel: +356 21334457 | Fax: +356 21 > 334156 ricston Ltd., Lincoln, 7 Ferdinand Grech Street, Lija LJA1142, > MALTA > email: antoine.borg@... | blog: blog.ricston.com | web: > ricston.com > > -----Original Message----- > From: Andrew McLaughlin [mailto:andrew@...] > Sent: Saturday, May 17, 2008 7:58 AM > To: user@... > Subject: [mule-user] ErrorHandler example not emailing? > > > Hi all, > > I'm in the process of learning Mule and going through the examples in > 2.0.1. > The first couple examples worked great. So, I set up the ErrorHandler > test including the ant step to download all the supporting jars. When > I run it, no matter which exception I copy to the "in" folder, it only > creates an item in the "exception" folder. Even though I configured a > valid email address and MTA, it doesn't seem to be attempting to send > an email. Or, at least I never get one. The mail.log shows no > connections except for my own manual "telnet localhost smtp", which > works fine. > > Is the error-config.xml perhaps configured wrong that it doesn't hand > off the FatalException to the FatalHandler? I apologize in advance as > I am struggling to comprehend the finer nuances of how to configure > Mule. I've spent a couple hours trying to glean what may be out of > place. In spite of making a few changes that might have looked out of > place, nothing seems to work. :) > > Any advice would be greatly appreciated! Are there any books that I > can buy to minimize the learning curve? Support groups? 12-step > programs?! :) > > Piko > -- > View this message in context: > http://www.nabble.com/ErrorHandler-example-not-emailing--tp17288475p17 > 288475 > .html > Sent from the Mule - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > > -- View this message in context: http://www.nabble.com/ErrorHandler-example-not-emailing--tp17288475p17325623 .html Sent from the Mule - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
RE: ErrorHandler example not emailing?Here's the contents of my email.properties:
Looks pretty straightforward. Strange thing is, my local MTA on localhost is never called. Not even a hello. Does this example work on your machine?! Andrew
|
|
|
Re: ErrorHandler example not emailing?Can you enable debug logging for Mule? This should turn on javamail's session debugging.
Andrew |
|
|
Re: ErrorHandler example not emailing?Sure, how do I turn that on? :)
Andrew
|
|
|
Re: ErrorHandler example not emailing?Check the $MULE_HOME/conf/log4j.properties and change org.mule 's category to DEBUG. There was a doc for this, but I'm a bit busy atm to browse for it.
HTH, Andrew On Wed, May 21, 2008 at 5:44 PM, Andrew McLaughlin <andrew@...> wrote:
|
|
|
Re: ErrorHandler example not emailing?Here's a log dump showing all debug after copying in the FatalException.xml file from "out" to "in". I can see quite a few references to "smtp" and it appears that it can't find any of the properties items that it needs. Perhaps I have MULE_HOME set wrong? I currently have that set to ~/mule-2.0.1
TIA! Andrew Can you enable debug logging for Mule? This should turn on javamail's session debugging. Andrew |
|
|
RE: ErrorHandler example not emailing?Hi,
Going back to this post of yours - I'm assuming that localhost does have an SMTP server running that does not require authentication right? If this is not the case, your properties file would be incomplete. Also, is the SMTP server configured to only accept addresses that are valid? I've seen this before and if this is the case, mule-alert@localhost may be causing problems. HTH Antoine Borg, Senior Consultant | Tel: +356 21334457 | Fax: +356 21 334156 ricston Ltd., Lincoln, 7 Ferdinand Grech Street, Lija LJA1142, MALTA email: antoine.borg@... | blog: blog.ricston.com | web: ricston.com -----Original Message----- From: Andrew McLaughlin [mailto:andrew@...] Sent: Wednesday, May 21, 2008 8:16 PM To: user@... Subject: RE: [mule-user] ErrorHandler example not emailing? Here's the contents of my email.properties: > # > # Properties used to compose a message to the Mule administrator # > > # Substitute e-mail headers as appropriate > email.toAddress=andrew@... > email.fromAddress=mule-alert@localhost > email.subject=Mule Alert > > # Configure properties for your outgoing mail server as needed. > smtp.host=localhost > smtp.port=25 > smtp.username= > smtp.password= > Looks pretty straightforward. Strange thing is, my local MTA on localhost is never called. Not even a hello. Does this example work on your machine?! Andrew Hi, I've taken a quick look at the errorHandler code - can you post the content of your email.properties file? Perhaps there's something there .... A Antoine Borg, Senior Consultant | Tel: +356 21334457 | Fax: +356 21 334156 ricston Ltd., Lincoln, 7 Ferdinand Grech Street, Lija LJA1142, MALTA email: antoine.borg@... | blog: blog.ricston.com | web: ricston.com -- View this message in context: http://www.nabble.com/ErrorHandler-example-not-emailing--tp17288475p17367220 .html Sent from the Mule - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
RE: ErrorHandler example not emailing?Hi Antoine,
I wish it were that easy. The MTA on localhost works fine. I use it all the time is my primary outgoing. Mule isn't even trying to connect to it, according to the mail.log. Most important question is: Is this example working for you (or anyone else)?! Thanks, Andrew
|
| Free Forum Powered by Nabble | Forum Help |