You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "Amila Jayasekara (JIRA)" <ji...@apache.org> on 2013/12/26 17:26:51 UTC

[jira] [Created] (AIRAVATA-975) Wrong exception given when certificate path is configured incorrectly

Amila Jayasekara created AIRAVATA-975:
-----------------------------------------

             Summary: Wrong exception given when certificate path is configured incorrectly
                 Key: AIRAVATA-975
                 URL: https://issues.apache.org/jira/browse/AIRAVATA-975
             Project: Airavata
          Issue Type: Bug
          Components: GFac
    Affects Versions: 0.10
         Environment: Ubuntu/Linux
            Reporter: Amila Jayasekara


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



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)