Category : open-liberty

Problem Deploying OpenLibertyApplication rewrites the /config/server.xml specified in the container image What did you do? Changed port in springboot project for open liberty in src/main/liberty/config/server.xml Docker build copies this server.xml to /config/server.xml (Docker pull-ing the image to my local shows the correct updated /config/server.xml) Deployed the new image using the OpenLibertyApplication supported by Open Liberty ..

Read more

I have a problem with my application using JavaEE8, Openliberty 21.0.0.5 and Microprofile 4.0 inside a docker container. I cannot set the mpConfig-2.0-introduced mp.config.profile from "outside" the image. My setup is as follows: microprofile-config.properties microprofile-config-dev.properties microprofile-config-prod.properties inside src/main/resources/META-INF/ Features are correctly activated inside server.xml and are installed correctly on startup. <featureManager onError="WARN"> <feature>microProfile-4.0</feature> <feature>javaee-8.0</feature> </featureManager> ..

Read more

When executing the command: docker run <image-name>. Getting the error permission denied. Docker file contain Chmod and Chown commands with root user. Working on windows 7 platform and confirm the issue with specific to this docker file permissions. Please check the warning for building the docker image. Permission Denied Error: docker run liberty-sample /bin/bash: /local/web/Liberty/eu-wlp/admin/liberty.sh: ..

Read more

I am trying to run a jee batch application. It works fine in my local machine but when I am trying to run the same jee application in a docker container, I am getting the below exception in joblogs com.ibm.jbatch.container.exception.BatchContainerRuntimeException: Failure in Read-Process-Write Loop 89 at com.ibm.jbatch.container.controller.impl.ChunkStepControllerImpl.invokeChunk(ChunkStepControllerImpl.java:704) 90 at com.ibm.jbatch.container.controller.impl.ChunkStepControllerImpl.invokeCoreStep(ChunkStepControllerImpl.java:795) 91 at com.ibm.jbatch.container.controller.impl.BaseStepControllerImpl.execute(BaseStepControllerImpl.java:295) 92 at ..

Read more

I have created my own Docker image using following Dockerfile:- FROM open-liberty:webProfile8 COPY mysample.war /config/dropins/ COPY server.xml /config/ Docker image got generated with some warning:- Successfully built cc05c3d94adf Successfully tagged sampleopenlibty:latest SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will ..

Read more