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

Problems with autoPasswordUtilities1.0 using Java EE 6 #17843

Open
x8-ball opened this issue Jul 14, 2021 · 1 comment
Open

Problems with autoPasswordUtilities1.0 using Java EE 6 #17843

x8-ball opened this issue Jul 14, 2021 · 1 comment
Assignees
Labels
bug This bug is not present in a released version of Open Liberty Needs member attention

Comments

@x8-ball
Copy link

x8-ball commented Jul 14, 2021

Describe the bug
Hi, I'm having some problems getting my project to run. The Problem is PasswordUtilities1.0 using Java EE 6.

CWWKF0047E: The io.openliberty.mpCompatible-4.0 and com.ibm.websphere.appserver.javax.connector-1.6 features cannot be loaded at the same time. The io.openliberty.mpCompatible-4.0 feature of Java EE 8 is incompatible with the com.ibm.websphere.appserver.javax.connector-1.6 feature of Java EE 6. The configuration includes an incompatible combination of Java EE features that is not supported. The mpConfig-2.0 and io.openliberty.autoPasswordUtilities1.0.javaee configured features include an incompatible combination of features. Your configuration is not supported. Update the configuration to use compatible versions of the configured features that support the Java EE 8 or Java EE 6 programming models.

CWWKF0033E: The singleton features com.ibm.websphere.appserver.javax.connector.internal-1.7 and com.ibm.websphere.appserver.javax.connector.internal-1.6 cannot be loaded at the same time. The configured features cdi-2.0 and io.openliberty.autoPasswordUtilities1.0.javaee include one or more features that cause the conflict. Your configuration is not supported; update server.xml to remove incompatible features.

CWWKF0046W: The configuration includes an incompatible combination of features. As a result, the feature manager did not install any features.

Steps to Reproduce
Using below features with below version should reproduce problem.

Expected behavior
No Problems building server.xml

Diagnostic information:

  • OpenLiberty Version: (Open Liberty 21.0.0.7/wlp-1.0.54.cl210720210629-1900) on OpenJDK 64-Bit Server VM, version 11.0.11+9-Ubuntu-0ubuntu2.20.04 (en)

  • Java Version:
    openjdk version "11.0.11" 2021-04-20
    OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
    OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode)

  • server.xml configuration :

    cdi-2.0
    ssl-1.0
    mpConfig-2.0
    passwordUtilities-1.0
    beanValidation-2.0
    jaxrs-2.1
    mpOpenAPI-2.0

Additional context
Thanks to @tjwatson adding jca-1.7 to features fixxes problem

@x8-ball x8-ball added the bug This bug is not present in a released version of Open Liberty label Jul 14, 2021
@jhanders34 jhanders34 linked a pull request Jul 14, 2021 that will close this issue
@jjiwooLim
Copy link
Contributor

There was a small change in 21.0.0.7 for featureUtiliity that affected how plugins resolve features. It will be fixed by OpenLiberty/ci.common#277 and will be released by the end of the month.

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 Needs member attention
Projects
None yet
Development

No branches or pull requests

4 participants