Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
Description
I have multimodule project ear containing war and jar. I have configured plugin just in ear module as can be seen in attachment s2i.zip. Locally build is OK. Server is provisioned and deployment deployed. Same on OpenShift. But on OpenShift there is another step "Installing server" looking for server in /tmp/src/target/server, but it is not there. It is in /tmp/src/ear/target/server
[INFO] Deploying /tmp/src/ear/target/../../deployments/eap-s2i.ear [disconnected /] embed-server --server-config=standalone.xml WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.wildfly.extension.elytron.SSLDefinitions (jar:file:/tmp/src/ear/target/server/modules/system/layers/base/org/wildfly/extension/elytron/main/wildfly-elytron-integration-18.0.0.Final.jar!/) to method com.sun.net.ssl.internal.ssl.Provider.isFIPS() WARNING: Please consider reporting this to the maintainers of org.wildfly.extension.elytron.SSLDefinitions WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [standalone@embedded /] deploy /tmp/src/ear/target/../../deployments/eap-s2i.ear --name=eap-s2i.ear --runtime-name=eap-s2i.ear [standalone@embedded /] stop-embedded-server [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for JBoss EAP Quickstart: ejb-in-ear 1.0.0-SNAPSHOT: [INFO] [INFO] JBoss EAP Quickstart: ejb-in-ear ................... SUCCESS [ 0.006 s] [INFO] JBoss EAP Quickstart: ejb-in-ear - ejb ............. SUCCESS [ 13.462 s] [INFO] JBoss EAP Quickstart: ejb-in-ear - web ............. SUCCESS [ 2.332 s] [INFO] JBoss EAP Quickstart: ejb-in-ear - ear ............. SUCCESS [ 45.753 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:03 min [INFO] Finished at: 2022-01-11T17:29:11Z [INFO] ------------------------------------------------------------------------ Installing server. S2I_SOURCE_DIR /tmp/src, ARTIFACT DIRS target /tmp/src content: deployments ear ejb parent-eap pom.xml web /tmp/src/target content: ls: cannot access '/tmp/src/target': No such file or directory [0;31mERROR No server provisioned found in /tmp/src/target/server. Exiting.[0m error: build error: error building at STEP "RUN /usr/local/s2i/assemble": error while running runtime: exit status 1
How should be this situation handled properly?
Attachments
Issue Links
- is documented by
-
WFWIP-431 [WildFly s2i V2] Track issues to document in Migration guide
- Open