airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raminderjeet Singh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRAVATA-855) Error retrieving credentials for community user.gateway - nulltoken id - null - Warning message
Date Wed, 15 May 2013 20:41:16 GMT
Raminderjeet Singh created AIRAVATA-855:
-------------------------------------------

             Summary:  Error retrieving credentials for community user.gateway - nulltoken
id - null - Warning message
                 Key: AIRAVATA-855
                 URL: https://issues.apache.org/jira/browse/AIRAVATA-855
             Project: Airavata
          Issue Type: Bug
          Components: GFac, Security
    Affects Versions: 0.8
            Reporter: Raminderjeet Singh


I am getting " Error retrieving credentials for community user.gateway - nulltoken id - null"
warning message multiple times for a single job running in Airavata. My job works fine but
this warning messages is logged multiple time to the catalina.out. 

I have 3 concerns regarding this message: 

1. Why we are calling credential store multiple times for a single request? We should call
it one from GFAC API or Airavata API and pass the credential to required places. We can use
SecurityContext in GFAC  to shared it with handlers and providers. 

2. As we have both the options to use credential store and property file (in current version),
we need not to show the warning all the time. We should make this configurable by some flag.
This is really important for GFAC unit test cases to pass without any warning message. 

3. Cause of the warning is misleading "Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:
Table 'us3airavata.credentials' doesn't exist". I already have the table but not the credential
but the error is misleading.  

I will attach the log file for more information. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message