airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pamidighantam, Sudhakar" <pamid...@iu.edu>
Subject Re: Running an XBaya experiment issue (api - 0.15.0)
Date Tue, 26 May 2015 18:30:31 GMT
Shameera:
Is there a plan to update XBaya anytime soon to make it compatible with Airavata server and
update the document accordingly.

Thanks,
Sudhakar.
On May 26, 2015, at 1:22 PM, Shameera Rathnayaka <shameerainfo@gmail.com<mailto:shameerainfo@gmail.com>>
wrote:

Hi Mevan,

With the latest improvements, XBaya is in out of date, We put some effort to get it back in
action but again we lost XBaya compatibility with rapid code changes in latest trunk. If you
like to try XBaya I would suggest try with Airavata 0.14 release code. here is the doc https://cwiki.apache.org/confluence/display/AIRAVATA/Tutorial+07+-+XBAYA+Quick-Start<https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_AIRAVATA_Tutorial-2B07-2B-2D-2BXBAYA-2BQuick-2DStart&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=7_-LbDwTKOoIiO4P4OLfUTX6lSdjys9jh2AJ7sBl9ag&m=5xIRpADPCb53cL3qLeV11x5m2kspe224PsINrUHqEsA&s=3awruwqa4BBIzeqjNvMv3MHCb-SFHc4ZfZlbYWvAdnU&e=>

We removed wsdl functionality from XBaya because now airavata server doesn't have that functionality.

The reason for "gateway ID sample is not exist", in samples we are registering applications
under gateway id "sample" and that is the default gateway configured in $AIRAVATA_HOME/bin/airavata-server.properties
file. Every request should associate with a valid gateway Id. When absent of gateway Id we
use this default gateway Id.

Above mentioned tutorials are now outdated. Those are not working with latest trunk.

Thanks,
Shameera.


On Mon, May 25, 2015 at 12:39 PM, Mevan Alles <mevan.alles@gmail.com<mailto:mevan.alles@gmail.com>>
wrote:
Hi Devs,
Need small help with few things.

1.
Submitting an XBaya experiment in local environment.

For setting up the project I've referred to the tutorials found here [1], [2] and the documents
found on old email thread [3]. and I'm unable to import a service wsdl as explained in there
as I do not see an option in XBaya UI to import a service from WSDL. Are the instructions
different for the newest build ?

2.
Using airavata-client-sdk/java-client-samples to launch an experiment locally

When setting up the registry from XBaya I used to see an error in server console similar to
"gateway ID sample is not exist".
For the gateway ID error I've been playing around with java-client-samples module in airavata-client-sdks
and used createGateway() method to make a gateway named "sample" and the error went away.
However createAndLaunchExp() method gives an error as follows.

[ERROR] Error while connecting with server
AiravataSystemException(airavataErrorType:INTERNAL_ERROR, message:Error while saving compute
resource. More info : javax.persistence.NoResultException: Query "SELECT p FROM ApplicationInterface
p WHERE p.interfaceID =:param0" selected no result, but expected unique result.)
at org.apache.airavata.client.samples.CreateLaunchExperiment.createExperimentEchoForLocalHost(CreateLaunchExperiment.java:920)
at org.apache.airavata.client.samples.CreateLaunchExperiment.createAndLaunchExp(CreateLaunchExperiment.java:180)
at org.apache.airavata.client.samples.CreateLaunchExperiment.main(CreateLaunchExperiment.java:100)
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:497)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)

Prior to this I executed registerApplications() and copied over the echoAppId from output
of this when running createAndLaunchExp()

Can somebody point me to the right direction ?

My airavata-api server (p:8930) and rabbitmq-server (p:default) are running locally and I'm
using the latest code for build [commit - 86994f6]. The only error in api-server console I
see is

[ERROR] The Credential Store Server did not start!!!


[1] - https://airavata.apache.org/documentation/tutorials/airavata-in-10-minutes.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__airavata.apache.org_documentation_tutorials_airavata-2Din-2D10-2Dminutes.html&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=7_-LbDwTKOoIiO4P4OLfUTX6lSdjys9jh2AJ7sBl9ag&m=5xIRpADPCb53cL3qLeV11x5m2kspe224PsINrUHqEsA&s=eju11UeMgeXu96j6rkLufFrs1qw996RZ5Wsx9oWv59A&e=>
[2] - https://airavata.apache.org/documentation/tutorials/airavata-in-5-minutes.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__airavata.apache.org_documentation_tutorials_airavata-2Din-2D5-2Dminutes.html&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=7_-LbDwTKOoIiO4P4OLfUTX6lSdjys9jh2AJ7sBl9ag&m=5xIRpADPCb53cL3qLeV11x5m2kspe224PsINrUHqEsA&s=XOXCfoZ3Kx6qAW3WJPXf6NugYYw_2Tsm37cpDHA_DrY&e=>
[3] - http://markmail.org/message/oklijjqipwzaepjh<https://urldefense.proofpoint.com/v2/url?u=http-3A__markmail.org_message_oklijjqipwzaepjh&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=7_-LbDwTKOoIiO4P4OLfUTX6lSdjys9jh2AJ7sBl9ag&m=5xIRpADPCb53cL3qLeV11x5m2kspe224PsINrUHqEsA&s=SkGbW7IJezr75Sd427XVQsLOkgycFnXGGkiLmd-3AAM&e=>


Thanks,
Mevan



--
Best Regards,
Shameera Rathnayaka.

email: shameera AT apache.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__apache.org&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=7_-LbDwTKOoIiO4P4OLfUTX6lSdjys9jh2AJ7sBl9ag&m=5xIRpADPCb53cL3qLeV11x5m2kspe224PsINrUHqEsA&s=HthOmc7K-qY7dh_GNEPMw3jcrA6yonRbqRCkQ0_9ENY&e=>
, shameerainfo AT gmail.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__gmail.com&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=7_-LbDwTKOoIiO4P4OLfUTX6lSdjys9jh2AJ7sBl9ag&m=5xIRpADPCb53cL3qLeV11x5m2kspe224PsINrUHqEsA&s=z_B_8zC6stV6DIwieSRajUqDXEqLdkLSd3981eOc11c&e=>
Blog : http://shameerarathnayaka.blogspot.com/<https://urldefense.proofpoint.com/v2/url?u=http-3A__shameerarathnayaka.blogspot.com_&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=7_-LbDwTKOoIiO4P4OLfUTX6lSdjys9jh2AJ7sBl9ag&m=5xIRpADPCb53cL3qLeV11x5m2kspe224PsINrUHqEsA&s=IdjYEEnq6_sxfyDid9w3NRELTc5oSkyL395beiWZE4I&e=>


Mime
View raw message