Transaction not successfully started

Hello All,

I have a scheduled task that loops over a recordset and performs operations
using ORM (updates the record, and saves it).

Sometimes the task will get about halfway through the records successfully
and then starts throwing an exception “Transaction not successfully
started”. What’s strange is that even though I am sending the stack trace
to myself when this happens, I don’t seem to get any additional information
about the error (email with dump(e) is blank). Additionally, nothing is
logged in the exception.log (maybe because I am catching the exception).

Any ideas on how to proceed with troubleshooting would be appreciated.

Thanks!

Seth

Seth, see if something in here
helps: http://stackoverflow.com/questions/5155039/hibernate-transaction-not-successfully-started

I always search with “hibernate” when searching for ORM related errors
because Lucee is just a thin wrapper around hibernate. If you see how
people solve their hibernate issues, that usually points the same way as to
what you can do in Lucee to fix.On Wednesday, December 28, 2016 at 2:28:40 PM UTC-5, Seth Johnson wrote:

Hello All,

I have a scheduled task that loops over a recordset and performs
operations using ORM (updates the record, and saves it).

Sometimes the task will get about halfway through the records successfully
and then starts throwing an exception “Transaction not successfully
started”. What’s strange is that even though I am sending the stack trace
to myself when this happens, I don’t seem to get any additional information
about the error (email with dump(e) is blank). Additionally, nothing is
logged in the exception.log (maybe because I am catching the exception).

Any ideas on how to proceed with troubleshooting would be appreciated.

Thanks!

Seth