Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-975

Wrong exception given when certificate path is configured incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10
    • 0.13
    • GFac
    • None
    • Ubuntu/Linux

    Description

      When certificate path is not configured correctly following exception is given. But it has no information about the incorrect certificate path, better error handling needs to be done.

      DriverClassName=org.apache.derby.jdbc.ClientDriver,Url=jdbc:derby://localhost:1527/persistent_data;create=true;user=airavata;password=airavata,Username=airavata,Password=airavata,validationQuery=SELECT 1 from Configuration,MaxActive=10,MaxIdle=5,MinIdle=2,MaxWait=60000,testWhileIdle=true,testOnBorrow=true
      42 airavata_data INFO [http-bio-8080-exec-3] openjpa.Runtime - Starting OpenJPA 2.2.0
      129 airavata_data INFO [http-bio-8080-exec-3] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.9.1.0 - (1344872) ,Apache Derby Network Client JDBC Driver 10.9.1.0 - (1344872)).
      913 airavata_data WARN [http-bio-8080-exec-3] openjpa.jdbc.Schema - Existing column "USER_NAME" on table "ADMIN.Users" is incompatible with the same column in the given schema definition. Existing column:
      Full Name: Users.USER_NAME
      Type: varchar
      Size: 256
      Default: null
      Not Null: true
      Given column:
      Full Name: Users.user_name
      Type: varchar
      Size: 255
      Default: null
      Not Null: true

      913 airavata_data WARN [http-bio-8080-exec-3] openjpa.jdbc.Schema - Existing column "PASSWORD" on table "ADMIN.Users" is incompatible with the same column in the given schema definition. Existing column:
      Full Name: Users.PASSWORD
      Type: varchar
      Size: 256
      Default: null
      Not Null: true
      Given column:
      Full Name: Users.password
      Type: varchar
      Size: 255
      Default: null
      Not Null: false

      [INFO] Experiment launched :Echo_80da948a-41ee-48b1-985a-ef6af4c8224b
      [ERROR] Index: 0, Size: 0
      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
      at java.util.ArrayList.RangeCheck(ArrayList.java:547)
      at java.util.ArrayList.get(ArrayList.java:322)
      at org.apache.airavata.gfac.scheduler.impl.SimpleHostScheduler.schedule(SimpleHostScheduler.java:31)
      at org.apache.airavata.xbaya.invoker.EmbeddedGFacInvoker.invoke(EmbeddedGFacInvoker.java:290)
      at org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.handleWSComponent(WorkflowInterpreter.java:749)
      at org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.executeDynamically(WorkflowInterpreter.java:569)
      at org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.access$000(WorkflowInterpreter.java:117)
      at org.apache.airavata.xbaya.interpretor.WorkflowInterpreter$1.run(WorkflowInterpreter.java:235)
      [ERROR] Index: 0, Size: 0
      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
      at java.util.ArrayList.RangeCheck(ArrayList.java:547)
      at java.util.ArrayList.get(ArrayList.java:322)
      at org.apache.airavata.gfac.scheduler.impl.SimpleHostScheduler.schedule(SimpleHostScheduler.java:31)
      at org.apache.airavata.xbaya.invoker.EmbeddedGFacInvoker.invoke(EmbeddedGFacInvoker.java:290)
      at org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.handleWSComponent(WorkflowInterpreter.java:749)
      at org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.executeDynamically(WorkflowInterpreter.java:569)
      at org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.access$000(WorkflowInterpreter.java:117)
      at org.apache.airavata.xbaya.interpretor.WorkflowInterpreter$1.run(WorkflowInterpreter.java:235)
      [ERROR] Error execution workflow Node : Echo_invoke

      Attachments

        Activity

          People

            Unassigned Unassigned
            amilaj Amila Jayasekara
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: