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
Updating MicroProfile versions on server.xml causes issues with install manager #19860
Comments
After resolving the features which are needed, the If When building the install lists, I think we need to trace down the entire dependency tree, build the list and finally remove any features which are already installed. This bug has always been present but is being exposed now because we are making greater use of tolerates, particularly in our internal features, to support EE8 and EE9+ without making multiple public features. |
I was also able to easily reproduce this by:
The featureUtility did not install any of the internal.ee-9.0.mf feature files so the server fails to start because they are not found. |
@Azquelt or @Emily-Jiang plz update the description using the bug report template |
All the relevant info needed to diagnose the problem was included in the description, why does it need to match the template now that the problem is fixed? |
@Azquelt because it is a release bug and is linked from the fix list for 22.0.0.2. |
I see the "incompatible combination of features" when I try to lauch openliberty 22.0.0.8 in docker:
Any suggestions? Any additional information I could provide? |
Is this the same scenario or something else? What does your server.xml and Dockerfile look like? |
server.xml:
docker-compose.yml:
|
I assume you pasted the wrong thing for the docker content since it is the same as the server.xml output. |
Sorry, you are right. I updated my post. |
1: use start.micropropfile.io to create.an app
2. update pom.xml with microrpofile version to 5.0 and server.xml to microProfile-5.0 on server.xml for both service-a and service-b
3. used transformer to transform all of the sources to jakarta
4. start my new jakarta app using mvn clean liberty:dev
5. got the following error
[INFO] [ERROR ] CWWKF0044E: The cdi-3.0 and io.openliberty.distributedMapInternal-1.0 features cannot be loaded at the same time. The cdi-3.0 feature of Jakarta EE 9 is incompatible with the io.openliberty.distributedMapInternal-1.0 feature of Java EE 6. The microProfile-5.0 and microProfile-5.0 configured features include an incompatible combination of features. Your configuration is not supported. Update the configuration to use features that support either the Jakarta EE or Java EE programming models, but not both.
[INFO] [WARNING ] CWWKF0046W: The configuration includes an incompatible combination of features. As a result, the feature manager did not install any features.
The text was updated successfully, but these errors were encountered: