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

Sample application for Payara Microshed JWT (microshed-testing-jaxrs-mpjwt) is not working #274

Open
resingulm opened this issue Jun 28, 2021 · 0 comments
Labels
is:bug Something isn't working

Comments

@resingulm
Copy link

Describe the bug
Sample application for Payara Microshed JWT (microshed-testing-jaxrs-mpjwt) is not working

To Reproduce
Edit Dockerfile to configure Payara

FROM payara/micro:5.193
CMD ["--deploymentDir", "/opt/payara/deployments", "--noCluster"]
ADD build/libs/myservice.war /opt/payara/deployments

comment out OpenLiberty in Dockerfile

OpenLiberty

#FROM openliberty/open-liberty:full-java8-openj9-ubi
#COPY src/main/liberty/config /config/
#ADD build/libs/myservice.war /config/dropins/

Expected behavior
grade build works; tests are executed successfully

System information:

  • OS: Mac
  • Java Version: Java 11.0.4
  • MicroShed Testing Version: [e.g. 0.4.2]

ext.currentVersion = '0.9.2-SNAPSHOT'
ext.lastRelease = '0.9.1'

Additional context
First Exception shown is

Exception during lifecycle processing
org.glassfish.deployment.common.DeploymentException: CDI deployment failure:WELD-001408: Unsatisfied dependencies for type JsonWebToken with qualifiers @default
at injection point [BackedAnnotatedField] @Inject org.example.app.SecuredService.callerPrincipal
at org.example.app.SecuredService.callerPrincipal(SecuredService.java:0)
WELD-001408: Unsatisfied dependencies for type JsonWebToken with qualifiers @default

@resingulm resingulm added the is:bug Something isn't working label Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant