Oracle: Invalid operation on a closed object / Connection must be open for this operation

411 views
Skip to first unread message

Tibert

unread,
Jun 13, 2024, 3:49:25 AM6/13/24
to Migrated By Firefly

Hi everyone,

We have recently encountered some intermittent errors during our business processes, specifically when using the "short business" process style as described in the Firefly Migration documentation (https://doc.fireflymigration.com/writing-shorter-code-using-the-businessprocess-class.html).

The errors we are seeing are:

Invalid operation on a closed object/ at Firefly.Box.Data.MonitoredDatabaseRunnerClass.myMonitorStrategy.<>c__DisplayClass9_0.b__0()

and

Connection must be open for this operation/ at Firefly.Box.Data.MonitoredDatabaseRunnerClass.myMonitorStrategy.<>c__DisplayClass9_0.b__0()

These errors do not appear all the time, but they occur sporadically. Our processes run a couple of times per minute to process files.

Has anyone else experienced similar issues or have any insights into what might be causing these errors? Any guidance on how to resolve them would be greatly appreciated.

Thank you!

Noam Honig

unread,
Jun 13, 2024, 4:22:50 AM6/13/24
to Tibert, Migrated By Firefly
This error indicates that something closes (disposes) your connection before this business process is run.

It could be some using statement that you've written with the basic connection - or a database disconnection for another reason and this is just the next error you get after something you've run caused the database to disconnect.

I don't think it's related to "short" way of using BP

Noam Honig  
Founder & CEO


--
You received this message because you are subscribed to the Google Groups "Migrated By Firefly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to migrated-by-fir...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/migrated-by-firefly/8cc4e840-8ba1-43ef-b5a2-44f300ad87bcn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages