airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chathuri Wimalasena <kamalas...@gmail.com>
Subject Re: Test failure in Airavata API Server
Date Sat, 16 May 2015 17:01:38 GMT
Hi Hasini,

RabbitMQ is a needed component now. If you are trying to run airavata, you
need to have rabbitMQ server running.

Thanks..
Chathuri

On Sat, May 16, 2015 at 2:59 AM, Hasini Gunasinghe <hasi7786@gmail.com>
wrote:

> Hi Supun,
>
> Thank you for the quick fix. Yes, It has fixed the test failure during
> build time.
>
> Thanks & Best Regards,
> Hasini.
>
> On Sat, May 16, 2015 at 2:23 AM, Supun Nakandala <
> supun.nakandala@gmail.com> wrote:
>
>> Hi Hasini,
>>
>> Recently a test class was added (AiravataServerHandlerTest) which is
>> causing this issue. But you don't need to run rabbitmq unless you are using
>> the XBaya gui. So I have added a quick fix to code base. Can you try
>> building after fetching the new changes.
>>
>> On Sat, May 16, 2015 at 11:02 AM, Hasini Gunasinghe <hasi7786@gmail.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> I got the following test failure [1] while building the source code.
>>> When I tried to find the issue, it seemed to me that at the
>>> initialization of the AiravataServerHandler, it tries to obtain a
>>> connection to RabbitMQ sever, which is not running in my machine.
>>> Do we need to have RabbitMQ running during the build time as well?
>>>
>>> I appreciate any insight on getting over this test failure. Please let
>>> me know if I have missed something.
>>>
>>> [1] [INFO] connection failed to rabbitmq: null for
>>> airavata_rabbitmq_exchange
>>> [ERROR] could not open channel for exchange airavata_rabbitmq_exchange
>>> [ERROR] Failed to load the publisher from the publisher class property:
>>> org.apache.airavata.messaging.core.impl.RabbitMQStatusPublisher
>>> java.lang.Exception: could not open channel for exchange
>>> airavata_rabbitmq_exchange
>>>     at
>>> org.apache.airavata.messaging.core.impl.RabbitMQProducer.open(RabbitMQProducer.java:123)
>>>     at
>>> org.apache.airavata.messaging.core.impl.RabbitMQStatusPublisher.<init>(RabbitMQStatusPublisher.java:56)
>>>     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>>> Method)
>>>     at
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>>>     at
>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>>     at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
>>>     at java.lang.Class.newInstance(Class.java:442)
>>>     at
>>> org.apache.airavata.messaging.core.PublisherFactory.createActivityPublisher(PublisherFactory.java:43)
>>>     at
>>> org.apache.airavata.api.server.handler.AiravataServerHandler.<init>(AiravataServerHandler.java:77)
>>>     at
>>> org.apache.airavata.api.server.handler.AiravataServerHandlerTest.setupBeforeClass(AiravataServerHandlerTest.java:53)
>>>
>>>
>>> Thanks & Best Regards,
>>> Hasini.
>>>
>>
>>
>>
>> --
>> Thank you
>> Supun Nakandala
>> Dept. Computer Science and Engineering
>> University of Moratuwa
>>
>
>

Mime
View raw message