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
Running app in OpenShift fails because of classpath set after jar #15416
Comments
/cc @geoand |
@iocanel this sounds like one for you :) |
AFAIK, So |
Yeah for sure. @iocanel we've mentioned that before haven't we? |
#15076 seems related |
#15076 fixes the As mentioned above, there is no point in setting @iocanel I'd send a PR, unless you want to do it yourself? |
@ppalaga: sure go ahead! |
Thanks, sent #15670 |
…rkusio#15416 (cherry picked from commit e260424)
…rkusio#15416 (cherry picked from commit e260424)
Describe the bug
Using quarkus-openshift plugin to deploy quarkus app i can see in deploymentconfig
I think the problem comes from https://github.com/quarkusio/quarkus/blob/master/extensions/container-image/container-image-s2i/deployment/src/main/java/io/quarkus/container/image/s2i/deployment/S2iProcessor.java#L110.
Expected behavior
The correct order (alteast from java --help) is
java [options] -jar <jarfile> [args...]
where-cp
is in[options]
.Actual behavior
Wrong sequence leads to a problem in pod
To Reproduce
Link to a small reproducer (preferably a Maven project if the issue is not Gradle-specific).
Or attach an archive containing the reproducer to the issue.
Steps to reproduce the behavior:
1.
2.
3.
Configuration
# Add your application.properties here, if applicable.
Screenshots
(If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
uname -a
orver
:java -version
:mvnw --version
orgradlew --version
):Additional context
(Add any other context about the problem here.)
The text was updated successfully, but these errors were encountered: