Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-5389

JDV 6.4 Quickstart examples not working with certain passwords

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Explained
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Quick Starts
    • Labels:
      None
    • Environment:

      JDV 6.4 installer
      JDV 6.4 Maven repository
      Apache Maven 3.5.0
      JRE - OpenJDK Runtime Environment (build 1.8.0_161-b14)
      JDK - jdk1.8.0_112
      RHEL Workstation 7.4

    • Steps to Reproduce:
      Hide

      1) Install the jboss-dv-6.4.0-installer.jar file using java-jar jboss-dv-6.4.0-installer.jar

      • Use pa$$w0rd for all passwords
        2) Install the maven repository
        3) Go to EAP6.4.0/quickstarts directory
        4) Run mvn clean install
        5) go to dynamicvdb-dataroles and follow the Readme file and create users and run cli scripts
      • Use pa$$w0rd as password for all users created
        6) Change your working directory to ${JBOSS_HOME}/quickstarts/simpleclient"
        7) Use the simpleclient example to run the following queries:
        mvn exec:java -Dvdb="portfolio-dataroles" -Dsql="select * from product" -Dusername="user" -Dpassword="pa$$w0rd"
        8) Error is seen
        [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli) on project simpleclient: An exception occured while executing the Java class. null: InvocationTargetException: TEIID50072 The username "user" and/or password and/or payload token could not be authenticated by security domain teiid-security. -> [Help 1]
      Show
      1) Install the jboss-dv-6.4.0-installer.jar file using java-jar jboss-dv-6.4.0-installer.jar Use pa$$w0rd for all passwords 2) Install the maven repository 3) Go to EAP6.4.0/quickstarts directory 4) Run mvn clean install 5) go to dynamicvdb-dataroles and follow the Readme file and create users and run cli scripts Use pa$$w0rd as password for all users created 6) Change your working directory to ${JBOSS_HOME}/quickstarts/simpleclient" 7) Use the simpleclient example to run the following queries: mvn exec:java -Dvdb="portfolio-dataroles" -Dsql="select * from product" -Dusername="user" -Dpassword="pa$$w0rd" 8) Error is seen [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli) on project simpleclient: An exception occured while executing the Java class. null: InvocationTargetException: TEIID50072 The username "user" and/or password and/or payload token could not be authenticated by security domain teiid-security. -> [Help 1]
    • Affects:
      Interactive Demo/Tutorial, Compatibility/Configuration, User Experience

      Description

      When executing the quickstart examples - dynamicvdb-dataroles and dynamicvdb-datafederation, certain application user's passwords were not working and constantly gave exception

      for any username (eg teiidUser, user, admin etc) and password =pa$$w0rd, always got below error

      [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java (default-cli) on project simpleclient: An exception occured while executing the Java class. null: InvocationTargetException: TEIID50072 The username "teiidUser" and/or password and/or payload token could not be authenticated by security domain teiid-security. -> [Help 1]

      When using any username (eg teiidUser, user, admin etc) and password =redhat1!, always got below error at bash level

      bash: !": event not found

      Only when I changed the password to redhat*23, I was able to execute the quickstart examples.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                van.halbert Van Halbert
                Reporter:
                aljain Alpa Jain
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: