Re: [email] Email attachment is inline for some reason

2011-07-06 Thread Siegfried Goeschl
Hi David, that sound a little bit strange - can you have a look at the JUnit tests? There is an EmailLiveTest which allows sending real emails with a bit of tinkering - I suggest to have a look at the test, configure them to send test emails to your email account and then double-check your

Re: [email] Email attachment is inline for some reason

2011-07-06 Thread James Carman
Are you sure you have a clean classpath? Sent from my Android device. Please excuse typos and brevity. On Jul 6, 2011 8:12 AM, David Hoffer dhoff...@gmail.com wrote: I've had another email failure this time it's usage with no attachment. I'll paste the code below. It's dropping the

Re: [email] Email attachment is inline for some reason

2011-07-06 Thread Siegfried Goeschl
More specifically - do you have the geronimo mail libraries in your classpath? Cheers, Siegfried Goeschl On 06.07.11 14:28, James Carman wrote: Are you sure you have a clean classpath? Sent from my Android device. Please excuse typos and brevity. On Jul 6, 2011 8:12 AM, David

Re: [email] Email attachment is inline for some reason

2011-07-06 Thread David Hoffer
I didn't think so at first...but yes I do have geronimo-javamail_1.4_spec-1.3.jar geronimo-activation_1.1_spec-1.0.2.jar plus a bunch of other geronimo-xxx jars. I'm not sure where these came from but I do use CXF (web service) so I'm guessing geronimo is used by CXF. Also I have

Re: [email] Email attachment is inline for some reason

2011-07-06 Thread David Hoffer
Or can/should I configure commons-email to use geronimo? -Dave On Wed, Jul 6, 2011 at 7:25 AM, David Hoffer dhoff...@gmail.com wrote: I didn't think so at first...but yes I do have geronimo-javamail_1.4_spec-1.3.jar geronimo-activation_1.1_spec-1.0.2.jar plus a bunch of other geronimo-xxx

Re: [email] Email attachment is inline for some reason

2011-07-06 Thread Siegfried Goeschl
Hi David, this is a common issue coming up regularly (and the FAQ section is somehow missing on the deployed site which addresses the problem), e.g. see http://brightdadson.blogspot.com/2010/06/if-you-are-working-on-spring-web.html I would recommend to exclude all geronimo specs jars for

Re: [email] Email attachment is inline for some reason

2011-07-06 Thread Siegfried Goeschl
Hi David, the following snippet might help if you update it accordingly - this are the exclude I'm using for one of my projects. If it works please don't hesitate to send a success message - we all love to hear when something works ... ;-) Cheers, Siegfried Goeschl !-- Apache CXF --

[ANNOUNCE] Apache Commons Digester 3.0 released!

2011-07-06 Thread Simone Tripodi
The Apache Commons team is pleased to announce the Apache Commons Digester 3.0 release! The Apache Commons Digester package lets you configure an XML to Java object mapping module which triggers certain actions called rules whenever a particular pattern of nested XML elements is recognized. The

Re: [scxml] SCXML model thread-safe?

2011-07-06 Thread Rahul Akolkar
On Wed, Jul 6, 2011 at 12:48 AM, Dario D darac1...@gmail.com wrote: Thank you Rahul. In regards to custom actions in such usage case, from what we've seen, a new instance of the custom action class is created on each execution of the action. This makes it impossible for two threads to access

Re: [email] Email attachment is inline for some reason

2011-07-06 Thread David Hoffer
Yes, with this changed it works great! Thanks for your help! -Dave On Wed, Jul 6, 2011 at 8:07 AM, Siegfried Goeschl siegfried.goes...@it20one.at wrote: Hi David, the following snippet might help if you update it accordingly - this are the exclude I'm using for one of my projects. If it

Re: [jexl] JEXL Secure Sandbox

2011-07-06 Thread henrib
Hi Sarel; This is very interesting; I'm also evaluating options to implement sandboxed evaluation. 1. The white-list classes could be addressed by (adding code to) filter which classes can be instantiated (a pattern matching on the full class name or even further, a JEXL expression to use as a

Re: [jexl] Differences between Expression, Script and Unified

2011-07-06 Thread henrib
Added your precisions to o.a.c.JEXL package.html in trunk. Thanks again. -- View this message in context: http://apache-commons.680414.n4.nabble.com/jexl-Differences-between-Expression-Script-and-Unified-tp3626808p3650547.html Sent from the Commons - User mailing list archive at Nabble.com.

Fwd: About org.apache.commons.lang.time.DateUtils.getFragmentInHours () method

2011-07-06 Thread Gary Gregory
Begin forwarded message: From: lupeng0527 lupeng0...@163.commailto:lupeng0...@163.com Date: July 6, 2011 21:53:55 EDT To: sergek ser...@lokitech.commailto:ser...@lokitech.com, ggregory ggreg...@seagullsw.commailto:ggreg...@seagullsw.com Subject: About