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

Quickstart ejb-security-interceptors is not deployable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.CR1
    • 7.1.0.ER2
    • Quickstarts
    • None

      Upon attempting to deploy the quickstart the way it is documented in readme by mvn clean install wildfly:deploy, the following error is produced by Maven:

      [mjurc@tigris ejb-security-interceptors]$ mvn clean install wildfly:deploy
      [INFO] <<< wildfly-maven-plugin:1.2.0.Alpha6:deploy (default-cli) < package @ ejb-security-interceptors <<<
      [INFO] 
      [INFO] 
      [INFO] --- wildfly-maven-plugin:1.2.0.Alpha6:deploy (default-cli) @ ejb-security-interceptors ---
      Jul 18, 2017 2:48:38 PM org.jboss.remoting3.EndpointImpl <clinit>
      INFO: JBoss Remoting version 5.0.0.CR1
      Jul 18, 2017 2:48:38 PM org.xnio.Xnio <clinit>
      INFO: XNIO version 3.5.0.CR1
      Jul 18, 2017 2:48:38 PM org.xnio.nio.NioXnio <clinit>
      INFO: XNIO NIO Implementation Version 3.5.0.CR1
      Jul 18, 2017 2:48:38 PM org.wildfly.security.Version <clinit>
      INFO: ELY00001: WildFly Elytron version 1.1.0.Beta54
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 3.841 s
      [INFO] Finished at: 2017-07-18T14:48:39+02:00
      [INFO] Final Memory: 41M/602M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.2.0.Alpha6:deploy (default-cli) on project ejb-security-interceptors: Failed to execute goal deploy: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"ejb-security-interceptors.jar\".INSTALL" => "WFLYSRV0153: Failed to process phase INSTALL of deployment \"ejb-security-interceptors.jar\"
      [ERROR]     Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEE0024: Could not configure component SecuredEJB
      [ERROR]     Caused by: java.lang.RuntimeException: WFLYEE0028: Could not load interceptor class org.jboss.as.quickstarts.ejb_security_interceptors.Sjb-name>
      [ERROR]             tor
      [ERROR]     Caused by: java.lang.ClassNotFoundException: org.jboss.as.quickstarts.ejb_security_interceptors.Sjb-name>
      [ERROR]             tor from [Module \"deployment.ejb-security-interceptors.jar\" from Service Module Loader]"},"WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"ejb-security-interceptors.jar\".beanmanager","jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB","jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB"],"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB.InstanceName is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB]","jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB.Validator is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB]","jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB.ValidatorFactory is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB]","jboss.deployment.unit.\"ejb-security-interceptors.jar\".batch.environment is missing [jboss.deployment.unit.\"ejb-security-interceptors.jar\".beanmanager]","jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB.Validator is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB]","jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB.ValidatorFactory is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB]","jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB.InAppClientContainer is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB]","jboss.deployment.unit.\"ejb-security-interceptors.jar\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"ejb-security-interceptors.jar\".beanmanager]","jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB.InstanceName is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB]","jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB.InAppClientContainer is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB]"]}}}
      [ERROR] -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      

      The server log produces the following message:

      server.log
      14:48:39,046 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "ejb-security-interceptors.jar" (runtime-name: "ejb-security-interceptors.jar")
      14:48:39,084 WARN  [org.jboss.as.dependency.deprecated] (MSC service thread 1-8) WFLYSRV0221: Deployment "deployment.ejb-security-interceptors.jar" is using a deprecated module ("org.jboss.as.core-security-api") which may be removed in future versions without notice.
      14:48:39,084 WARN  [org.jboss.as.dependency.deprecated] (MSC service thread 1-8) WFLYSRV0221: Deployment "deployment.ejb-security-interceptors.jar" is using a deprecated module ("org.jboss.as.security-api") which may be removed in future versions without notice.
      14:48:39,088 INFO  [org.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0003: Processing weld deployment ejb-security-interceptors.jar
      14:48:39,092 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-2) WFLYEJB0473: JNDI bindings for session bean named 'SecuredEJB' in deployment unit 'deployment "ejb-security-interceptors.jar"' are as follows:
      
      	java:global/ejb-security-interceptors/SecuredEJB!org.jboss.as.quickstarts.ejb_security_interceptors.SecuredEJBRemote
      	java:app/ejb-security-interceptors/SecuredEJB!org.jboss.as.quickstarts.ejb_security_interceptors.SecuredEJBRemote
      	java:module/SecuredEJB!org.jboss.as.quickstarts.ejb_security_interceptors.SecuredEJBRemote
      	java:jboss/exported/ejb-security-interceptors/SecuredEJB!org.jboss.as.quickstarts.ejb_security_interceptors.SecuredEJBRemote
      	java:global/ejb-security-interceptors/SecuredEJB
      	java:app/ejb-security-interceptors/SecuredEJB
      	java:module/SecuredEJB
      
      14:48:39,092 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-2) WFLYEJB0473: JNDI bindings for session bean named 'IntermediateEJB' in deployment unit 'deployment "ejb-security-interceptors.jar"' are as follows:
      
      	java:global/ejb-security-interceptors/IntermediateEJB!org.jboss.as.quickstarts.ejb_security_interceptors.IntermediateEJBRemote
      	java:app/ejb-security-interceptors/IntermediateEJB!org.jboss.as.quickstarts.ejb_security_interceptors.IntermediateEJBRemote
      	java:module/IntermediateEJB!org.jboss.as.quickstarts.ejb_security_interceptors.IntermediateEJBRemote
      	java:jboss/exported/ejb-security-interceptors/IntermediateEJB!org.jboss.as.quickstarts.ejb_security_interceptors.IntermediateEJBRemote
      	java:global/ejb-security-interceptors/IntermediateEJB
      	java:app/ejb-security-interceptors/IntermediateEJB
      	java:module/IntermediateEJB
      
      14:48:39,097 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.unit."ejb-security-interceptors.jar".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."ejb-security-interceptors.jar".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment "ejb-security-interceptors.jar"
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:172)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEE0024: Could not configure component SecuredEJB
      	at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:106)
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
      	... 5 more
      Caused by: java.lang.RuntimeException: WFLYEE0028: Could not load interceptor class org.jboss.as.quickstarts.ejb_security_interceptors.Sjb-name>
                  tor
      	at org.jboss.as.ejb3.component.EJBContainerInterceptorsViewConfigurator.doConfigure(EJBContainerInterceptorsViewConfigurator.java:126)
      	at org.jboss.as.ejb3.component.EJBContainerInterceptorsViewConfigurator.configure(EJBContainerInterceptorsViewConfigurator.java:102)
      	at org.jboss.as.ee.component.DefaultComponentViewConfigurator.configure(DefaultComponentViewConfigurator.java:67)
      	at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:92)
      	... 6 more
      Caused by: java.lang.ClassNotFoundException: org.jboss.as.quickstarts.ejb_security_interceptors.Sjb-name>
                  tor from [Module "deployment.ejb-security-interceptors.jar" from Service Module Loader]
      	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
      	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
      	at java.lang.Class.forName0(Native Method)
      	at java.lang.Class.forName(Class.java:348)
      	at org.jboss.as.ee.utils.ClassLoadingUtils.loadClass(ClassLoadingUtils.java:21)
      	at org.jboss.as.ejb3.component.EJBContainerInterceptorsViewConfigurator.doConfigure(EJBContainerInterceptorsViewConfigurator.java:124)
      	... 9 more
      
      14:48:39,099 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 6) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "ejb-security-interceptors.jar")]) - failure description: {
          "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"ejb-security-interceptors.jar\".INSTALL" => "WFLYSRV0153: Failed to process phase INSTALL of deployment \"ejb-security-interceptors.jar\"
          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEE0024: Could not configure component SecuredEJB
          Caused by: java.lang.RuntimeException: WFLYEE0028: Could not load interceptor class org.jboss.as.quickstarts.ejb_security_interceptors.Sjb-name>
                  tor
          Caused by: java.lang.ClassNotFoundException: org.jboss.as.quickstarts.ejb_security_interceptors.Sjb-name>
                  tor from [Module \"deployment.ejb-security-interceptors.jar\" from Service Module Loader]"},
          "WFLYCTL0412: Required services that are not installed:" => [
              "jboss.deployment.unit.\"ejb-security-interceptors.jar\".beanmanager",
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB",
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB"
          ],
          "WFLYCTL0180: Services with missing/unavailable dependencies" => [
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB.InstanceName is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB]",
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB.Validator is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB]",
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB.ValidatorFactory is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB]",
              "jboss.deployment.unit.\"ejb-security-interceptors.jar\".batch.environment is missing [jboss.deployment.unit.\"ejb-security-interceptors.jar\".beanmanager]",
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB.Validator is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB]",
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB.ValidatorFactory is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB]",
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB.InAppClientContainer is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB]",
              "jboss.deployment.unit.\"ejb-security-interceptors.jar\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"ejb-security-interceptors.jar\".beanmanager]",
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB.InstanceName is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB]",
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB.InAppClientContainer is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB]"
          ]
      }
      14:48:39,100 ERROR [org.jboss.as.server] (management-handler-thread - 6) WFLYSRV0021: Deploy of deployment "ejb-security-interceptors.jar" was rolled back with the following failure message: 
      {
          "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"ejb-security-interceptors.jar\".INSTALL" => "WFLYSRV0153: Failed to process phase INSTALL of deployment \"ejb-security-interceptors.jar\"
          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEE0024: Could not configure component SecuredEJB
          Caused by: java.lang.RuntimeException: WFLYEE0028: Could not load interceptor class org.jboss.as.quickstarts.ejb_security_interceptors.Sjb-name>
                  tor
          Caused by: java.lang.ClassNotFoundException: org.jboss.as.quickstarts.ejb_security_interceptors.Sjb-name>
                  tor from [Module \"deployment.ejb-security-interceptors.jar\" from Service Module Loader]"},
          "WFLYCTL0412: Required services that are not installed:" => [
              "jboss.deployment.unit.\"ejb-security-interceptors.jar\".beanmanager",
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB",
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB"
          ],
          "WFLYCTL0180: Services with missing/unavailable dependencies" => [
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB.InstanceName is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB]",
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB.Validator is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB]",
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB.ValidatorFactory is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB]",
              "jboss.deployment.unit.\"ejb-security-interceptors.jar\".batch.environment is missing [jboss.deployment.unit.\"ejb-security-interceptors.jar\".beanmanager]",
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB.Validator is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB]",
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB.ValidatorFactory is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB]",
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB.InAppClientContainer is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB]",
              "jboss.deployment.unit.\"ejb-security-interceptors.jar\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"ejb-security-interceptors.jar\".beanmanager]",
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB.InstanceName is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.SecuredEJB]",
              "jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB.InAppClientContainer is missing [jboss.naming.context.java.comp.ejb-security-interceptors.ejb-security-interceptors.IntermediateEJB]"
          ]
      }
      14:48:39,104 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0028: Stopped deployment ejb-security-interceptors.jar (runtime-name: ejb-security-interceptors.jar) in 4ms
      

            tomazcerar Tomaž Cerar (Inactive)
            mjurc@redhat.com Michal Jurc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: