Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-562

Error deploying PicketLink AngularJS Quickstart in WildFly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • PLINK_2.7.0.Beta2
    • PLINK_2.7.0.Beta1
    • QUICKSTARTS
    • None
    • Workaround Exists
    • Hide

      (01:33:26 PM) pedroigor: open both:
      (01:33:27 PM) pedroigor: 1) org.jboss.as.quickstarts.picketlink.angularjs.security.model.IdentityModelManager
      (01:33:37 PM) pedroigor: 2)
      (01:33:38 PM) pedroigor: org.jboss.as.quickstarts.picketlink.angularjs.security.service.LogoutService
      (01:33:45 PM) pedroigor: you'll see a :
      (01:34:01 PM) pedroigor: @Inject
      (01:34:01 PM) pedroigor: private Token.Provider tokenProvider;
      (01:34:05 PM) pedroigor: right ?
      (01:34:16 PM) lynx-r: yes
      (01:34:26 PM) pedroigor: try changing this field to:
      (01:34:33 PM) pedroigor: @Inject
      (01:34:33 PM) pedroigor: private Token.Provider<JWSToken> tokenProvider;
      (01:34:40 PM) pedroigor: in both classes
      (01:34:54 PM) pedroigor: and deploy again ..

      Show
      (01:33:26 PM) pedroigor: open both: (01:33:27 PM) pedroigor: 1) org.jboss.as.quickstarts.picketlink.angularjs.security.model.IdentityModelManager (01:33:37 PM) pedroigor: 2) (01:33:38 PM) pedroigor: org.jboss.as.quickstarts.picketlink.angularjs.security.service.LogoutService (01:33:45 PM) pedroigor: you'll see a : (01:34:01 PM) pedroigor: @Inject (01:34:01 PM) pedroigor: private Token.Provider tokenProvider; (01:34:05 PM) pedroigor: right ? (01:34:16 PM) lynx-r: yes (01:34:26 PM) pedroigor: try changing this field to: (01:34:33 PM) pedroigor: @Inject (01:34:33 PM) pedroigor: private Token.Provider<JWSToken> tokenProvider; (01:34:40 PM) pedroigor: in both classes (01:34:54 PM) pedroigor: and deploy again ..

      We changed the JWSTokenProvider to be an EJB and this is causing deployment issues in WildFly.

      Other beans that are injecting the JWSTokenProvider must be defined as follows:

      @Inject
      private Token.Provider<JWSToken> tokenProvider;
      

      When deploying in JBoss EAP, everything looks fine. The issue is only in WildFly.

              psilva@redhat.com Pedro Igor Craveiro
              psilva@redhat.com Pedro Igor Craveiro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: