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

Application hangs for a long time trying to start elasticsearch when JAVA_HOME is incorrect #445

Closed
alshain opened this issue Jun 20, 2018 · 2 comments
Assignees

Comments

@alshain
Copy link
Contributor

alshain commented Jun 20, 2018

Gentics Mesh Version, operating system, or hardware.

mesh-demo-0.21.3

Operating System

Windows

JVM

Oracle JDK 1.8.0_151

Problem

While starting the application, elasticsearch could not be launched because java.exe wasn't found (my JAVA_HOME pointed to an uninstalled JDK)

Expected behaviour and actual behaviour

Actual: the crash was detected and logged, the software waited for elasticsearch (which couldn't be started) to come online

Expected: The software shouldn't wait for elasticsearch to come online but terminate instead.

@Jotschi
Copy link
Contributor

Jotschi commented Jun 20, 2018

Thanks for the report. This issue should be resolved with the next release. We however plan to deprecate the embedded ES in the near future and provide ES support as a plugin.

@Jotschi Jotschi self-assigned this Jun 20, 2018
@Jotschi Jotschi closed this as completed in 1741edc Jul 9, 2018
@Jotschi
Copy link
Contributor

Jotschi commented Jul 9, 2018

Fix was released in 0.21.4

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