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

Execute bootstrap after jersey application initialized #3

Open
fno2010 opened this issue Nov 5, 2017 · 1 comment
Open

Execute bootstrap after jersey application initialized #3

fno2010 opened this issue Nov 5, 2017 · 1 comment

Comments

@fno2010
Copy link
Member

fno2010 commented Nov 5, 2017

Currently, there is some bootstrap code (for orchestrator registration) in the construction function of jersey application. This code may be loaded before the jersey application finishes its initialization. We need to make it executed after the application initialized.

This Q & A in stackoverflow may help us: https://stackoverflow.com/questions/7449165/jersey-initialization-code-after-webapp-is-fully-started.

@fno2010
Copy link
Member Author

fno2010 commented Nov 5, 2017

It is not enough to execute bootstrap code after jersey servlet initialized. We need to execute bootstrap code after jetty server fully started (TCP port ready to listen).

@fno2010 fno2010 closed this as completed in 4b814d6 Nov 5, 2017
fno2010 added a commit that referenced this issue Nov 5, 2017
@fno2010 fno2010 reopened this Nov 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant