-
Notifications
You must be signed in to change notification settings - Fork 301
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
CDI deployment failure at Payara Micro #3281
Comments
Hi, I tried to reproduce your issue with Payara Micro 5.183 but without success. I have created a project containing an endpoint, a CDI application scoped bean and an interceptor (activated within beans.xml).
The application deploys fine and interceptor is called. Can you create a small reproducer for use to investigate this further. Thank you very much |
Hi, Sorry, my investigation was not enough. @interceptor with @priority annotation makes this failure. Interceptor
Resource
|
Thanks for the clarification and I can confirm I can reproduce the issue. The development engineers will have a look why it fails when using the @priority. Thanks for reporting this issue. Best regards |
Hi @I2Qi, A PR is present to fix the issue here: #3375. Just to clarify the issue however, the interceptor you have declared above is not only an interceptor, but an interceptor binding. What this means is that every single class annotated with As the PR has been made, I'll close this issue. Feel free to reopen it if you have any queries. Hope this helps, Matt |
Hi, |
Description
Unable to deploy application on Payara Micro because of CDI deplyment failure.
Excepted Outcome
It seems that fish.payara.microprofile.metrics.cdi.producer.MetricProducer should not be final class.
I saw that final class is unproxyable bean type in CDI specification.
Current Outcome
In deployment of my application, below error occurs.
Steps to reproduce (Only for bug reports)
Use @interceptors annotation, and start payara micro.
Environment
The text was updated successfully, but these errors were encountered: