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

Trouble with the Liberty OpenAPI feature #2461

Closed
lmsurpre opened this issue Jun 3, 2021 · 3 comments
Closed

Trouble with the Liberty OpenAPI feature #2461

lmsurpre opened this issue Jun 3, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@lmsurpre
Copy link
Member

lmsurpre commented Jun 3, 2021

Describe the bug
During startup of the docker image, I'm seeing the following:

CWWKO1661E: An error occurred when processing application fhir-server-webapp and an OpenAPI document was not produced. The error was: java.lang.IllegalStateException: SROAP00001: Model already initialized.

Environment
main

To Reproduce
Steps to reproduce the behavior:

  1. checkout main, build the project, build the docker image
  2. docker run

Expected behavior
No errors during startup

Additional context
It doesn't prevent the server from starting but does seem to prevent the OpenAPI feature from working

@lmsurpre lmsurpre added the bug Something isn't working label Jun 3, 2021
@prb112
Copy link
Contributor

prb112 commented Jun 3, 2021

Might be related... OpenLiberty/open-liberty#16764

@lmsurpre lmsurpre self-assigned this Jun 3, 2021
lmsurpre added a commit that referenced this issue Jun 3, 2021
Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
lmsurpre added a commit that referenced this issue Jun 3, 2021
Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
@lmsurpre
Copy link
Member Author

lmsurpre commented Jun 3, 2021

Yep, I think thats it. I upgraded to Liberty 21.0.0.5 and the issue seems to have gone away.

lmsurpre added a commit that referenced this issue Jun 3, 2021
issue #2461 - upgrade to liberty 21.0.0.5
@lmsurpre
Copy link
Member Author

lmsurpre commented Jun 4, 2021

This log message is no longer in the output and I confirmed that the openapi/ui endpoint is operational after startup, no further QA needed on this one.

@lmsurpre lmsurpre closed this as completed Jun 4, 2021
@lmsurpre lmsurpre added this to the Sprint 2021-08 milestone Jun 4, 2021
tbieste pushed a commit that referenced this issue Jun 9, 2021
Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
tbieste pushed a commit that referenced this issue Jun 9, 2021
issue #2461 - upgrade to liberty 21.0.0.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants