[ 
https://issues.apache.org/jira/browse/AIRAVATA-855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13658865#comment-13658865
 ] 

Amila Jayasekara commented on AIRAVATA-855:
-------------------------------------------

Hi Raman,

1 - This is fixed.

2. - Our current approach is not 100% correct. The idea is to store passwords 
also as credentials and retrieve it from credential store. I wanted to make 
credential store work even with the properties file as we are hurrying for the 
ultra scan deployment. We do not show this as a error. This is just a warning. 
If you are concerned about long stack trace I can remove it. But still the 
warning should be there.

3. Well I do not think error is misleading. If error is misleading then it has 
to come from jdbc driver for mysql. I do not craft any error messages. I get 
error directly from SQL API. Please attach your log file.
                
>  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

Reply via email to