airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chathuri Wimalasena <kamalas...@gmail.com>
Subject How to run airavata with new APIToken changes
Date Tue, 02 Jun 2015 20:39:40 GMT
Hi Hasini,

What are the steps to run airavata server with new APIToken changes. Is
there a way we can disable the token for simple test cases ?

When I try registerApplications from CreateLaunchExperiment class, I'm
getting following error.

Exception in thread "main" org.apache.thrift.protocol.TProtocolException:
Required field 'authzToken' was not present! Struct:
getAPIVersion_args(authzToken:null)
at
org.apache.airavata.api.Airavata$getAPIVersion_args.validate(Airavata.java:23451)
at
org.apache.airavata.api.Airavata$getAPIVersion_args$getAPIVersion_argsStandardScheme.write(Airavata.java:23514)
at
org.apache.airavata.api.Airavata$getAPIVersion_args$getAPIVersion_argsStandardScheme.write(Airavata.java:23481)
at
org.apache.airavata.api.Airavata$getAPIVersion_args.write(Airavata.java:23429)
at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:63)
at
org.apache.airavata.api.Airavata$Client.send_getAPIVersion(Airavata.java:2106)
at org.apache.airavata.api.Airavata$Client.getAPIVersion(Airavata.java:2098)
at
org.apache.airavata.client.samples.CreateLaunchExperiment.main(CreateLaunchExperiment.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)

Thanks..
Chathuri

Mime
View raw message