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 fails to start because of java.lang.IllegalStateException: Configuration pid com.ibm.ws.app.manager_23 was deleted. #9986

Closed
aguibert opened this issue Dec 2, 2019 · 1 comment · Fixed by #11261
Assignees
Labels
bug This bug is not present in a released version of Open Liberty in:Kernel/Bootstrap regression This bug is for something that worked in a past release, but no longer does release bug This bug is present in a released version of Open Liberty release:20004

Comments

@aguibert
Copy link
Contributor

aguibert commented Dec 2, 2019

Describe the bug
While starting an OpenLiberty docker image with a dropin app in it, app start failed with the following issue:

    [ERROR   ] CWWKE0701E: FrameworkEvent ERROR java.lang.IllegalStateException: Configuration pid com.ibm.ws.app.manager_23 was deleted.
    	at com.ibm.ws.config.admin.internal.ExtendedConfigurationImpl.exceptionIfDeleted(ExtendedConfigurationImpl.java:666)
    	at [internal classes]
     Event:org.osgi.framework.FrameworkEvent[source=com.ibm.ws.config_1.0.34.cl191120191031-0300 [9]] 

Since this happened inside Docker in a TravisCI build I do not have further logs or FFDC.

Steps to Reproduce
Intermittent issue. Can attempt to reproduce by doing:

  1. Clone the MicroShed Testing repo: https://github.com/MicroShed/microshed-testing
  2. Run the test: ./gradlew :microshed-testing-liberty-app:test

Expected behavior
App should start successfully each time.

Diagnostic information:

  • OpenLiberty Version: Open Liberty 19.0.0.11/wlp-1.0.34.cl191120191031-0300
  • Java Version: Eclipse OpenJ9 VM, version 1.8.0_232-b09
  • Docker image: openliberty/open-liberty:full-java8-openj9-ubi
  • server.xml configuration:
<server>

    <featureManager>
        <feature>jaxrs-2.1</feature>
        <feature>jsonb-1.0</feature>
        <feature>mpHealth-2.0</feature>
        <feature>mpConfig-1.3</feature>
        <feature>mpRestClient-1.1</feature>
        <feature>beanValidation-2.0</feature>
        <feature>cdi-2.0</feature>
    </featureManager>

    <!-- no other config, dropin app is used -->
        
</server>

Additional context
Dockerfile is generated but equates to:

FROM openliberty/open-liberty:full-java8-openj9-ubi
COPY src/main/liberty/config /config/
RUN configure.sh
ADD build/libs/myservice.war /config/dropins
@aguibert aguibert added bug This bug is not present in a released version of Open Liberty release bug This bug is present in a released version of Open Liberty in:Kernel/Bootstrap labels Dec 2, 2019
@aguibert
Copy link
Contributor Author

aguibert commented Dec 2, 2019

This issue appears to be very similar to: #8238
However, issue #8238 was delivered in 19008 and this issue is still occurring in 190011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This bug is not present in a released version of Open Liberty in:Kernel/Bootstrap regression This bug is for something that worked in a past release, but no longer does release bug This bug is present in a released version of Open Liberty release:20004
Projects
None yet
3 participants