Uploaded image for project: 'Archiva'
  1. Archiva
  2. MRM-2013

Unable to install WAR in GlassFish 5.1.0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.4
    • Fix Version/s: None
    • Component/s: system
    • Labels:
    • Environment:
      FreeBSD 11.3

      Description

      Failed to deploy archiva's war file in GlassFish 5.0.1, even after following the configuration instructions located inĀ https://cwiki.apache.org/confluence/display/ARCHIVA/Archiva+on+GlassFish+with+mySQL
      GlassFish log shows:

      [2020-04-23T14:15:43.647-0400] [glassfish 5.1] [SEVERE] [NCLS-CORE-00026] [javax.enterprise.system.core] [tid: _ThreadID=61 _ThreadName=AutoDeployer] [timeMillis: 1587665743647] [levelValue: 1000] [[
      Exception during lifecycle processing
      org.glassfish.deployment.common.DeploymentException: CDI deployment failure:Exception List with 2 exceptions:
      Exception 0 :
      org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type Injector with qualifiers @Default
      at injection point [BackedAnnotatedParameter] Parameter 1 of [BackedAnnotatedMethod] @Inject org.eclipse.sisu.locators.DefaultBeanLocator.autoPublish(Injector)
      at org.eclipse.sisu.locators.DefaultBeanLocator.autoPublish(DefaultBeanLocator.java:194)

      at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:375)
      at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:287)
      at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:140)
      at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:161)
      at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:518)
      at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:504)
      at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:479)
      at org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:481)
      at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:90)
      at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:206)
      at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:107)
      at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:304)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:472)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:195)
      at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:467)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:516)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:512)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:360)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:511)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:542)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:534)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:360)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:533)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1441)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:86)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1823)
      at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:140)
      at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573)
      at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:460)
      at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:388)
      at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:379)
      at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:209)
      at java.util.TimerThread.mainLoop(Timer.java:555)
      at java.util.TimerThread.run(Timer.java:505)
      Exception 1 :
      org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type Injector with qualifiers @Default
      at injection point [BackedAnnotatedField] @Inject private org.eclipse.sisu.binders.TypeConverterMap.injector
      at org.eclipse.sisu.binders.TypeConverterMap.injector(TypeConverterMap.java:0)

      at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:375)
      at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:287)
      at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:140)
      at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:161)
      at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:518)
      at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:504)
      at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:479)
      at org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:481)
      at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:90)
      at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:206)
      at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:107)
      at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:304)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:472)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:195)
      at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:467)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:516)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:512)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:360)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:511)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:542)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:534)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:360)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:533)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1441)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:86)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1823)
      at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:140)
      at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573)
      at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:460)
      at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:388)
      at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:379)
      at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:209)
      at java.util.TimerThread.mainLoop(Timer.java:555)
      at java.util.TimerThread.run(Timer.java:505)

      at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:215)
      at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:107)
      at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:304)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:472)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:195)
      at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:467)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:516)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:512)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:360)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:511)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:542)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:534)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:360)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:533)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1441)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:86)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1823)
      at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:140)
      at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573)
      at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:460)
      at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:388)
      at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:379)
      at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:209)
      at java.util.TimerThread.mainLoop(Timer.java:555)
      at java.util.TimerThread.run(Timer.java:505)
      Caused by: org.jboss.weld.exceptions.DeploymentException: Exception List with 2 exceptions:
      Exception 0 :
      org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type Injector with qualifiers @Default
      at injection point [BackedAnnotatedParameter] Parameter 1 of [BackedAnnotatedMethod] @Inject org.eclipse.sisu.locators.DefaultBeanLocator.autoPublish(Injector)
      at org.eclipse.sisu.locators.DefaultBeanLocator.autoPublish(DefaultBeanLocator.java:194)

      at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:375)
      at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:287)
      at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:140)
      at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:161)
      at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:518)
      at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:504)
      at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:479)
      at org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:481)
      at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:90)
      at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:206)
      at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:107)
      at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:304)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:472)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:195)
      at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:467)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:516)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:512)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:360)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:511)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:542)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:534)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:360)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:533)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1441)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:86)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1823)
      at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:140)
      at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573)
      at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:460)
      at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:388)
      at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:379)
      at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:209)
      at java.util.TimerThread.mainLoop(Timer.java:555)
      at java.util.TimerThread.run(Timer.java:505)
      Exception 1 :
      org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type Injector with qualifiers @Default
      at injection point [BackedAnnotatedField] @Inject private org.eclipse.sisu.binders.TypeConverterMap.injector
      at org.eclipse.sisu.binders.TypeConverterMap.injector(TypeConverterMap.java:0)

      at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:375)
      at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:287)
      at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:140)
      at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:161)
      at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:518)
      at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:504)
      at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:479)
      at org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:481)
      at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:90)
      at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:206)
      at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:107)
      at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:304)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:472)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:195)
      at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:467)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:516)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:512)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:360)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:511)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:542)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:534)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:360)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:533)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1441)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:86)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1823)
      at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:140)
      at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573)
      at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:460)
      at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:388)
      at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:379)
      at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:209)
      at java.util.TimerThread.mainLoop(Timer.java:555)
      at java.util.TimerThread.run(Timer.java:505)

      at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:510)
      at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:479)
      at org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:481)
      at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:90)
      at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:206)
      ... 26 more
      ]]

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              MarceloRuiz Marcelo Ruiz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: