Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-14534

[GSS](7.1.z) DefaultJMSConnectionFactory not found after switching to elytron and removing picketbox subsystem

    Details

    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      Hide

      ./bin/jboss-cli.sh --file=docs/examples/enable-elytron.cli
      ./bin/jboss-cli.sh --file=docs/examples/remove-picketbox.cli

      cp ejb-security.jar standalone/deployments

      1. start a profile with Messaging such as standalone-full.xml
        ./bin/standalone.sh -c standalone-full.xml
      Show
      ./bin/jboss-cli.sh --file=docs/examples/enable-elytron.cli ./bin/jboss-cli.sh --file=docs/examples/remove-picketbox.cli cp ejb-security.jar standalone/deployments start a profile with Messaging such as standalone-full.xml ./bin/standalone.sh -c standalone-full.xml
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Remove the jms-connection-factory from the ee subsystem default-bindings

      Show
      Remove the jms-connection-factory from the ee subsystem default-bindings
    • Sprint:
      EAP 7.1.3

      Description

      After running the enable-elytron.cli and removing the old
      picketbox security subsystem, the deployment fails as
      it cannot find java:jboss/DefaultJMSConnectionFactory.
      java:jboss/DefaultJMSConnectionFactory is defined in the messaging
      subsystem and the ee default-bindings.

      Removing it from the ee default-bindings lets the app deploy, but it looks like there is some
      issue as it should be bound and no errors/warnings being logged.

       2018-04-02 12:15:36,593 ERROR
      [org.jboss.as.controller.management-operation] (Controller Boot Thread)
      WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" =>
      "ejb-security.jar")]) - failure description: {
           "WFLYCTL0412: Required services that are not installed:" =>
      ["jboss.naming.context.java.jboss.DefaultJMSConnectionFactory"],
           "WFLYCTL0180: Services with missing/unavailable dependencies" =>
      ["jboss.naming.context.java.comp.ejb-security.ejb-security.SecuredEJB.DefaultJMSConnectionFactory
      is missing [jboss.naming.context.java.jboss.DefaultJMSConnectionFactory]"]
      }
      2018-04-02 12:15:36,603 INFO  [org.jboss.as.server] (ServerService
      Thread Pool -- 42) WFLYSRV0010: Deployed "ejb-security.jar"
      (runtime-name : "ejb-security.jar")
      2018-04-02 12:15:36,607 INFO  [org.jboss.as.controller] (Controller Boot
      Thread) WFLYCTL0183: Service status report
      WFLYCTL0184:    New missing/unsatisfied dependencies:
             service
      jboss.naming.context.java.jboss.DefaultJMSConnectionFactory (missing)
      dependents: [service
      jboss.naming.context.java.comp.ejb-security.ejb-security.SecuredEJB.DefaultJMSConnectionFactory]
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ivassile Ilia Vassilev
                  Reporter:
                  bmaxwell Brad Maxwell
                  Tester:
                  Daniel Cihak
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  11 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: