java.lang.IllegalArgumentException: There is no such alias [aptredevo_pwd] from token [${ALIAS=aptredevo_pwd}] defined in the default store for this domain. An admin interface like "asadmin create-password-alias" should be used to create the alias first.

Oracle Community | Mephysto | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Glassfish Open Source Edition 4 (build 89), password alias issue

    Oracle Community | 3 years ago | Mephysto
    java.lang.IllegalArgumentException: There is no such alias [aptredevo_pwd] from token [${ALIAS=aptredevo_pwd}] defined in the default store for this domain. An admin interface like "asadmin create-password-alias" should be used to create the alias first.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      There is no such alias [aptredevo_pwd] from token [${ALIAS=aptredevo_pwd}] defined in the default store for this domain. An admin interface like "asadmin create-password-alias" should be used to create the alias first.

      at org.glassfish.internal.api.RelativePathResolver.getRealPasswordFromAlias()
    2. Private APIs of Glassfish
      RelativePathResolver.getRealPasswordFromAlias
      1. org.glassfish.internal.api.RelativePathResolver.getRealPasswordFromAlias(RelativePathResolver.java:373)
      1 frame
    3. Connectors Runtime
      ConnectorRuntime.pingConnectionPool
      1. com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.getDefaultResourcePrincipal(ConnectorConnectionPoolAdminServiceImpl.java:793)
      2. com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.getDefaultResourcePrincipal(ConnectorConnectionPoolAdminServiceImpl.java:763)
      3. com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.getUnpooledConnection(ConnectorConnectionPoolAdminServiceImpl.java:677)
      4. com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.testConnectionPool(ConnectorConnectionPoolAdminServiceImpl.java:425)
      5. com.sun.enterprise.connectors.ConnectorRuntime.pingConnectionPool(ConnectorRuntime.java:1162)
      5 frames
    4. Embedded GlassFish Web
      PingConnectionPool.execute
      1. org.glassfish.connectors.admin.cli.PingConnectionPool.execute(PingConnectionPool.java:143)
      1 frame
    5. Kernel Classes
      CommandRunnerImpl$2$1.run
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:527)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:523)
      2 frames
    6. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:356)
      2 frames
    7. Kernel Classes
      CommandRunnerImpl$ExecutionContext.execute
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:522)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:546)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1423)
      4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108)
      5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1762)
      6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1674)
      6 frames
    8. GlassFish Admin
      TemplateCommandGetResource.processGetLegacyFormat
      1. org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:235)
      2. org.glassfish.admin.rest.resources.TemplateExecCommand.executeCommandLegacyFormat(TemplateExecCommand.java:161)
      3. org.glassfish.admin.rest.resources.TemplateCommandGetResource.processGetLegacyFormat(TemplateCommandGetResource.java:75)
      3 frames