OpenLiberty / guide-mongodb-intro

A guide on how to persist data in your microservices to MongoDB, a document-oriented NoSQL database.
https://openliberty.io/guides/mongodb-intro.html
Other
3 stars 4 forks source link

README update #79

Closed AustinSeto closed 2 years ago

AustinSeto commented 3 years ago
AustinSeto commented 3 years ago

Get following error running cloud hosted version of guide from finish directory, I expect a similar error would occur running the static version locally.

[INFO] [ERROR   ] 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.
[INFO] [ERROR   ] 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.
[INFO] [WARNING ] CWWKF0046W: The configuration includes an incompatible combination of features. As a result, the feature manager did not install any features.

Seems to be a compatibility issue between cdi-2.0 feature and the passwordUtilities-1.0 feature.

AustinSeto commented 3 years ago

Saw mentioned on Slack that including the jca-1.7 feature is a workaround for previously mentioned incompatibility issue

AustinSeto commented 3 years ago

Getting a 502 Bad Gateway when trying to access application on skills network, no issue running locally on my own machine.

Running curl localhost:9080/openapi can still access the details from OpenAPI. So I don't think it's a problem of the application itself not working.