Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting AsTeRICS Ergo twice starts two instances #22

Open
deinhofer opened this issue Sep 12, 2017 · 0 comments
Open

Starting AsTeRICS Ergo twice starts two instances #22

deinhofer opened this issue Sep 12, 2017 · 0 comments

Comments

@deinhofer
Copy link
Contributor

Problem

When double clicking the AsTeRICS Ergo icon twice, two intances of the ARE are started. The second instance won't be able to register the ports for the ACS connection and the webservices and also won't be able to open the FS20 device. The web client should still work because it should continue to communicate with the first instance.
Nevertheless, not all consequences are clear and as the ARE conceptually works as a server, there should only be one instance per application.

Solution
Maybe this should be fixed in the AsTERICS master branch. Either in the Java part or in the start script.
Several variants might be interesting:

  1. Show an error message and stop second instance again
  2. Connect to first instance, hand over autostart model and close second instance silently
  3. Detect if other instance is running and close second instance silently.
  4. Create two start links:
    a) Start Asterics Ergo Server
    b) Start Asterics Ergo Webpage
@deinhofer deinhofer added this to the Version 4.0, 11/2017 milestone Sep 12, 2017
@deinhofer deinhofer self-assigned this Sep 12, 2017
@klues klues removed this from the Version 4.0, 11/2017 milestone Nov 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants