Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: monicashishodia on March 21, 2017, 03:42:26 pm

Title: Fails to initiate EA when trying to access it from window service
Post by: monicashishodia on March 21, 2017, 03:42:26 pm
HI All

I have developed a window service which is trying to initiate EA instance and execute certain actions using this instance. But I am not able to initiate this instance. Since it's an exe and windows service run in isolated mode and does not have access to initialize exe, so i have done changes in Window service code, making it calling exes (i have tried with few basics such as cmd.exe, notepad.exe).The service is able to call these exe but still not able to start EA. The instance never initializes.

What is it that i am doing wrong?

Any help is highly appreciated.

Regards,
Monica
Title: Re: Fails to initiate EA when trying to access it from window service
Post by: Uffe on March 21, 2017, 07:30:40 pm
Hi Monica,

EA requires an interactive session. This trips up everyone who tries to write server-side automation for EA, and I'm guessing that's what's going on here as well.

There are some hacks out there to work around this limitation, which may work or not depending on the OS version you're using, but there's no right and proper way of doing it. It's been discussed many times, but Sparx has not indicated any willingness to address this problem.

In sympathy,


/Uffe
Title: Re: Fails to initiate EA when trying to access it from window service
Post by: monicashishodia on March 22, 2017, 04:04:00 pm
Thanks Uffe for clearing the doubt.