[scxml] SCXML model thread-safe?

2011-07-05 Thread Dario D
Is the SCXML model thread-safe? We're considering to parse the SCXML files on application startup and then store the resulting SCXML models in a cache where multiple threads will access them. Should we expect any inconsistencies? Note that executors will not be cached, and a new executor will be

Re: [sanselan]

2011-07-05 Thread Damjan Jovanovic
On Mon, Jul 4, 2011 at 11:21 PM, shadab sha...@student.chalmers.se wrote: Hi I get the exception could not read the block when I try to get metadata from images. java.io.IOException: Could not read block (block start: 31742, block length: 53177352, data length: 25713).    at

Re: [scxml] SCXML model thread-safe?

2011-07-05 Thread Rahul Akolkar
On Tue, Jul 5, 2011 at 3:37 AM, Dario D darac1...@gmail.com wrote: Is the SCXML model thread-safe? We're considering to parse the SCXML files on application startup and then store the resulting SCXML models in a cache where multiple threads will access them. Should we expect any

Re: [math] Polygon intersection vertices outside original polygon

2011-07-05 Thread Curtis Jensen
On Mon, Jul 4, 2011 at 2:00 PM, Curtis Jensen cur...@the-jensens.orgwrote: I'm using the RegonFactory.intersection method to get the intersection of polygons. However, I'm getting points that are outside of one of the original polygons. See example below. Am I misinterpreting what the

Re: [math] Polygon intersection vertices outside original polygon

2011-07-05 Thread luc . maisonobe
- Curtis Jensen cur...@the-jensens.org a écrit : On Mon, Jul 4, 2011 at 2:00 PM, Curtis Jensen cur...@the-jensens.orgwrote: I'm using the RegonFactory.intersection method to get the intersection of polygons. However, I'm getting points that are outside of one of the original

[email] Email attachment is inline for some reason

2011-07-05 Thread David Hoffer
I have a strange problem. I've used commons-email for a while now with good success but now all of the sudden it isn't working right and I don't know why. The emails have 3 problems: 1. Although I attach a file to the email as an attachment it is received inline as base64 encoded text. I.e. my

Re: [scxml] SCXML model thread-safe?

2011-07-05 Thread Dario D
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 the same custom action object simultaneously. Am I correct? 2011/7/5