We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 events and runAs annotation is not working on glassfish. So the deployment will fail if the runAs annotation is not disabled by ejb-jar.xml
... <session> <ejb-name>SnapshotService</ejb-name> <ejb-class>org.imixs.archive.core.SnapshotService</ejb-class> <session-type>Stateless</session-type> <security-identity> <use-caller-identity></use-caller-identity> </security-identity> </session> ...
See discussion here: payara/Payara#3415 (comment)
Solution: The best solution seems to separate the onSave event in a CDI bean which is itself injecting an EJB with a runAs annotation.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
CDI events and runAs annotation is not working on glassfish. So the deployment will fail if the runAs annotation is not disabled by ejb-jar.xml
See discussion here: payara/Payara#3415 (comment)
Solution:
The best solution seems to separate the onSave event in a CDI bean which is itself injecting an EJB with a runAs annotation.
The text was updated successfully, but these errors were encountered: