java.lang.Exception: Failed to create user : message PlainTextActionReporterFAILUREorg.jvnet.hk2.component.UnsatisfiedDependencyException: injection failed on com.sun.enterprise.security.cli.CreateFileUser.userpassword with class java.lang.StringDescription: create-file-user commandCannot find userpassword in create-file-user command model, file a bug Usage: create-file-user [--authrealmname <authrealm_name>] [--target target] [--groups user_groups[:user_groups]*] [-?|--help[=<help(default:false)>]] username

Oracle Community | nickdegraeve | 6 years ago
  1. 0

    Embedded Glassfish and security questions

    Oracle Community | 6 years ago | nickdegraeve
    java.lang.Exception: Failed to create user : message PlainTextActionReporterFAILUREorg.jvnet.hk2.component.UnsatisfiedDependencyException: injection failed on com.sun.enterprise.security.cli.CreateFileUser.userpassword with class java.lang.StringDescription: create-file-user commandCannot find userpassword in create-file-user command model, file a bug Usage: create-file-user [--authrealmname <authrealm_name>] [--target target] [--groups user_groups[:user_groups]*] [-?|--help[=<help(default:false)>]] username
  2. 0

    virtualization plugin, dependency injection and OSGI

    Oracle Community | 5 years ago | piotr.tempes
    org.jvnet.hk2.component.UnsatisfiedDependencyException: injection failed on org.glassfish.virtualization.config.Virtualization$VirtResolver.virtualizations with interface org.glassfish.virtualization.config.Virtualizations
  3. 0

    virtualization plugin, dependency injection and OSGI

    Oracle Community | 5 years ago | piotr.tempes
    org.jvnet.hk2.component.UnsatisfiedDependencyException: injection > failed on > org.glassfish.virtualization.config.Virtualization$VirtResolver.virtualizations > > with interface org.glassfish.virtualization.config.Virtualizations > org.jvnet.hk2.component.UnsatisfiedDependencyException: injection > failed on > org.glassfish.virtualization.config.Virtualization$VirtResolver.virtualizations > > with interface org.glassfish.virtualization.config.Virtualizations > at > org.jvnet.hk2.component.InjectionManager.syncDoInject(InjectionManager.java:211) > > at > org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:107) > > at > com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:127) > > at > com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:117) > > at > com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:84) > > at > com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67) > > at > com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:141) > > at > com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:135) > >
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jvnet.hk2.component.UnsatisfiedDependencyException

      injection failed on com.sun.enterprise.security.cli.CreateFileUser.userpassword with class java.lang.String

      at org.jvnet.hk2.component.InjectionManager.inject()
    2. HK2 Implementation Utilities
      InjectionManager.inject
      1. org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:155)
      2. org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:78)
      2 frames
    3. Kernel Classes
      CommandRunnerImpl$ExecutionContext.execute
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl.injectParameters(CommandRunnerImpl.java:259)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:885)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
      4. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247)
      5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
      5 frames
    4. admin-cli
      CommandExecutorImpl.run
      1. com.sun.enterprise.admin.cli.embeddable.CommandExecutorImpl.executeCommand(CommandExecutorImpl.java:118)
      2. com.sun.enterprise.admin.cli.embeddable.CommandExecutorImpl.run(CommandExecutorImpl.java:85)
      2 frames
    5. test.ejb
      TestCase.setup
      1. test.ejb.TestCase.setup(TestCase.java:25)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    7. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
      5. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      6. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      6 frames
    8. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
      1 frame
    9. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
      5 frames