airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ishara RANATUNGA <newair...@gmail.com>
Subject Re: Error while executing Airavata in an ec-2 instance
Date Thu, 17 Oct 2013 19:02:13 GMT
Hi,

Thanks for the replies. I also checked with elastic IP . but wonder why am
I getting error with private IP anyway.
 Here is the error I got at Xbaya.

org.apache.airavata.ws.monitor.MonitorException: Failed to subscribe.
at org.apache.airavata.ws.monitor.WsmgClient.subscribe(WsmgClient.java:97)
at org.apache.airavata.ws.monitor.Monitor.subscribe(Monitor.java:227)
at org.apache.airavata.ws.monitor.Monitor.start(Monitor.java:109)
at
org.apache.airavata.xbaya.ui.experiment.WorkflowInterpreterLaunchWindow$3.run(WorkflowInterpreterLaunchWindow.java:332)
Caused by: org.apache.airavata.wsmg.client.MsgBrokerClientException: unable
to create msgbox
at
org.apache.airavata.wsmg.client.msgbox.MsgboxHandler.createPullMsgBox(MsgboxHandler.java:45)
at
org.apache.airavata.wsmg.client.CommonMsgBrokerClient.createPullMsgBox(CommonMsgBrokerClient.java:117)
at
org.apache.airavata.wsmg.client.WseMsgBrokerClient.createPullMsgBox(WseMsgBrokerClient.java:40)
at org.apache.airavata.ws.monitor.WsmgClient.subscribe(WsmgClient.java:89)
... 3 more
Caused by: org.apache.axis2.AxisFault: The host did not accept the
connection within timeout of 20000 ms
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:203)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:540)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:521)
at
org.apache.airavata.wsmg.msgbox.client.CreateMsgBox.execute(CreateMsgBox.java:72)
at
org.apache.airavata.wsmg.msgbox.client.MsgBoxClient.createMessageBox(MsgBoxClient.java:46)
at
org.apache.airavata.wsmg.client.msgbox.MsgboxHandler.createPullMsgBox(MsgboxHandler.java:43)
... 6 more
Caused by: org.apache.commons.httpclient.ConnectTimeoutException: The host
did not accept the connection within timeout of 20000 ms
at
org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:155)
at
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
at
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
at
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
... 18 more
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at
java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:75)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
... 27 more

..........................................................................................................................................................................



And here are the screen shots of the console output of xbaya.

1) http://imagebin.org/273918

2) http://imagebin.org/273919

3) http://imagebin.org/273920

4) http://imagebin.org/273921

5) http://imagebin.org/273922


------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



Thank You !





On Fri, Oct 18, 2013 at 12:01 AM, Lahiru Gunathilake <glahiru@gmail.com>wrote:

> Can you please send us the full stack trace... Information in this link is
> not very clear to look in to the issue.
>
>
> Regards
> Lahiru
>
>
> On Thu, Oct 17, 2013 at 6:42 AM, Ishara RANATUNGA <newair007@gmail.com>wrote:
>
>> Hi,
>>
>> I tried to run Airavata Server on Amazon EC-2 instance and tried to
>> execute a workflow via xbaya that is started locally. I gave public DNS as
>> the host when I configured Airavata registry.
>> And when executing the workflow I gave public DNS as the host (replacing
>> localhost) of GFac url.
>> And kept workflow interpreter url as it is. Although I could load
>> registry I got following error when executing the workflow.
>>
>> http://imagebin.org/273875
>>
>> Your help is really appreciated.
>>
>>
>> Thank You !
>>
>>
>>
>
>
>
> --
> System Analyst Programmer
> PTI Lab
> Indiana University
>

Mime
View raw message