airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marlon Pierce <marpi...@iu.edu>
Subject Re: [GSoC] Executing PHP client Samples through Local Airavata Server
Date Fri, 13 Jun 2014 15:29:01 GMT
Can you connect to localhost:8080 by other means (like "telnet localhost 
8080"). It could be a network configuration issue.

Marlon

On 6/13/14, 11:25 AM, Nadeem Anjum wrote:
> Hello Everyone,
>
> I need to execute php client samples through my local airavata server. What
> should be done to achieve this?
>
> I have tried by changing airavata-client-properties.ini and
> setting AIRAVATA_SERVER = "localhost", AIRAVATA_PORT = 8080.
>
> However, I get the following exception on executing any php file like
> createProject.php
>
> PHP Fatal error:  Uncaught exception
> 'Thrift\\Exception\\TTransportException' with message 'TSocket: Could not
> write 2 bytes localhost:8080' in
> /var/www/html/nadeemtest/output/html5/ajax/lib/Thrift/Transport/TSocket.php:299\nStack
> trace:\n#0
> /var/www/html/nadeemtest/output/html5/ajax/lib/Thrift/Protocol/TBinaryProtocol.php(135):
> Thrift\\Transport\\TSocket->write('??', 2)\n#1
> /var/www/html/nadeemtest/output/html5/ajax/lib/Thrift/Protocol/TBinaryProtocol.php(78):
> Thrift\\Protocol\\TBinaryProtocol->writeI16(1)\n#2
> /var/www/html/nadeemtest/output/html5/ajax/lib/Airavata/Model/Workspace/Types.php(291):
> Thrift\\Protocol\\TBinaryProtocol->writeFieldBegin('projectID', 11, 1)\n#3
> /var/www/html/nadeemtest/output/html5/ajax/lib/Airavata/API/Airavata.php(1736):
> Airavata\\Model\\Workspace\\Project->write(Object(Thrift\\Protocol\\TBinaryProtocol))\n#4
> /var/www/html/nadeemtest/output/html5/ajax/lib/Airavata/API/Airavata.php(134):
> Airavata\\API\\Airavata_createProject_args->write(Object(Thrift\\Protocol\\TBinaryProtocol))\n#5
> /var/www/html/nadeemtest/output/html5/aj in
> /var/www/html/nadeemtest/output/html5/ajax/lib/Thrift/Transport/TSocket.php
> on line 299, referer: http://localhost/html/nadeemtest/output/html5/
>
> Any suggestions on how to deal with this exception will be helpful.
>
> Thanks & Regards,
> Nadeem.
>


Mime
View raw message