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

Che 7 java-maven stack is not fully functional on che.openshift.io #13383

Closed
ibuziuk opened this issue May 21, 2019 · 4 comments
Closed

Che 7 java-maven stack is not fully functional on che.openshift.io #13383

ibuziuk opened this issue May 21, 2019 · 4 comments
Assignees
Labels
kind/bug Outline of a bug - must adhere to the bug report template.

Comments

@ibuziuk
Copy link
Member

ibuziuk commented May 21, 2019

Description

The following PR adds che 7 java-maven stack to che.openshift.io redhat-developer/rh-che#1420

However, stack itself is not fully functional. It works with basic console-java sample, but not with vertx-http-booster. Basically, the build command works just fine, but run command fails with the following error:

[INFO] SEVERE: Failed to create the vert.x instance
[INFO] java.lang.IllegalStateException: Failed to create cache dir
[INFO] at io.vertx.core.file.impl.FileResolver.setupCacheDir(FileResolver.java:333)
[INFO] at io.vertx.core.file.impl.FileResolver.(FileResolver.java:88)
[INFO] at io.vertx.core.impl.VertxImpl.(VertxImpl.java:168)
[INFO] at io.vertx.core.impl.VertxImpl.vertx(VertxImpl.java:93)
[INFO] at io.vertx.core.impl.VertxFactoryImpl.vertx(VertxFactoryImpl.java:38)
[INFO] at io.vertx.core.Vertx.vertx(Vertx.java:85)
[INFO] at io.vertx.core.impl.launcher.commands.ClasspathHandler.create(ClasspathHandler.java:113)
[INFO] at io.vertx.core.impl.launcher.commands.BareCommand.startVertx(BareCommand.java:276)
[INFO] at io.vertx.core.impl.launcher.commands.BareCommand.run(BareCommand.java:191)
[INFO] at io.vertx.core.impl.launcher.commands.RunCommand.run(RunCommand.java:249)
[INFO] at io.vertx.core.impl.launcher.VertxCommandLauncher.execute(VertxCommandLauncher.java:226)
[INFO] at io.vertx.core.impl.launcher.VertxCommandLauncher.dispatch(VertxCommandLauncher.java:361)
[INFO] at io.vertx.core.impl.launcher.VertxCommandLauncher.dispatch(VertxCommandLauncher.java:324)
[INFO] at io.vertx.core.Launcher.main(Launcher.java:45)

Reproduction Steps

  • create and start workspace on che.openshift.io using che 7 java-maven stack with vertx-http-booster
  • execute build command - all works just fine
  • execute run command
    ERROR:

image

OS and version:
che.openshift.io 7 Beta4

Diagnostics:

@ibuziuk ibuziuk added kind/bug Outline of a bug - must adhere to the bug report template. team/osio labels May 21, 2019
@ibuziuk
Copy link
Member Author

ibuziuk commented May 22, 2019

Health Check Booster seems to work fine on che.openshift.io:
image

@tsmaeder
Copy link
Contributor

Maybe user.home is not set up correctly in the image we're using?

@ibuziuk ibuziuk self-assigned this Aug 8, 2019
@ibuziuk
Copy link
Member Author

ibuziuk commented Aug 30, 2019

should be closed once Hosted Che is updated to Che 7 GA - redhat-developer/rh-che#1490

@ibuziuk
Copy link
Member Author

ibuziuk commented Sep 24, 2019

7.1.0 is running on production. Closing

@ibuziuk ibuziuk closed this as completed Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

No branches or pull requests

3 participants