Hi,

John Sisson wrote:
Hello
We have a Java gui client that manages a pool of oo documents (xp +
oo.1.1..3) and executes oo-Basic macros on them via a UNO XDispatch
interface. We also have Java robotic processes that need to do the same.

While we can serialize attempts to execute macros in a single client (or
robotic) process, there is the chance that two robotic processes on the
same machine, sharing the same soffice.exe instance will attempt to
launch oo-basic macros on their documents simultaneously. The
documentation implies that this will cause oo-basic to fail.

- is this so?
  - will XDispatch try to launch a basic macro on behalf of one client
while another is running on behalf of another client?

- is there any defense against this?
  - I imagine it would require some mutexes in the heart of the oo side
of XDispatch

to be secure i would suggest that you create an office pool and that use one office for one robotic process. Everything else will probably result in a deadlock or failure.


Juergen


thank you john sisson

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to