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

Example "Microprofile Hello World Explicit" is broken #1317

Closed
tomas-langer opened this issue Jan 22, 2020 · 1 comment · Fixed by #1371
Closed

Example "Microprofile Hello World Explicit" is broken #1317

tomas-langer opened this issue Jan 22, 2020 · 1 comment · Fixed by #1371
Assignees
Labels
2.x Issues for 2.x version branch bug Something isn't working cdi CDI P1

Comments

@tomas-langer
Copy link
Member

The port we get from ServerCdiExtension is always 0.
This seems to be caused by obtaining a different instance of ServerCdiExtension from BeanManager than the one that starts the server.

Location in project: examples/microprofile/hello-world-explicit

@tomas-langer tomas-langer added bug Something isn't working cdi CDI 2.x Issues for 2.x version branch labels Jan 22, 2020
@tomas-langer
Copy link
Member Author

To start the example, the following configuration must be added to application.yaml:

mp:
  initializer:
    allow: true
    warn: false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Issues for 2.x version branch bug Something isn't working cdi CDI P1
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants