You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by Chathuri Wimalasena <ka...@gmail.com> on 2014/12/16 21:03:10 UTC

[DISCUSS] Apache Airavata release 0.14 RC1

Discussion thread for vote on Apache Airavata 0.14 release candidate.

If you have any questions or feedback or to post results of validating
the release, please reply to this thread. Once you verify the release,
please post your vote to the VOTE thread.

For reference, the Apache release guide  -
http://www.apache.org/dev/release.html

Some tips to validate the release before you vote:

* Download the binary version and run the XBaya Quick Start tutorial
<https://cwiki.apache.org/confluence/display/AIRAVATA/XBAYA+Quick-Start+Tutorial>
as described in README
* Download the source files from compressed files and release tag and
build (which includes tests).
* Verify the distribution for the required LICENSE and NOTICE files
* Verify if all the staged files are signed and the signature is verifiable.
* Verify if the signing key in the project's KEYS file is hosted on a
public server

Thanks for your time in validating the release and voting,

Chathuri
(On Behalf of Airavata PMC)

Re: [DISCUSS] Apache Airavata release 0.14 RC1

Posted by Lahiru Gunathilake <gl...@gmail.com>.
Hi Chathuri,

I did go through the quick-start tutorial and worked for me, except XBaya
is misbehaving during registry connection and I get an unremovable dialog
which stays in the middle of Xbaya.

I think if XBaya is not our highest important things we can mention this in
the documentation and the release note and proceed the release.

Lahiru

On Mon, Dec 22, 2014 at 10:31 AM, Chathuri Wimalasena <ka...@gmail.com>
wrote:

> Hi Sachith,
>
> Seems the database is not created in your case. Can you check whether
> default port (1527) is open ?
>
> On Sun, Dec 21, 2014 at 2:37 PM, Sachith Withana <sw...@gmail.com>
> wrote:
>
>> Hi all,
>>
>> When I tried to run the Airavata Server I got the following error? Any
>> idea on how to fix it?
>>
>>
>> 15175  airavata_data  INFO   [main] openjpa.Runtime - Starting OpenJPA
>> 2.2.0
>>
>> [ERROR] Cannot create PoolableConnectionFactory (Schema 'AIRAVATA' does
>> not exist)
>>
>> <openjpa-2.2.0-r422266:1244990 fatal general error>
>> org.apache.openjpa.persistence.PersistenceException: Cannot create
>> PoolableConnectionFactory (Schema 'AIRAVATA' does not exist)
>>
>> at
>> org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:102)
>>
>> at
>> org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurationImpl.java:603)
>>
>> at
>> org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepository.java:1510)
>>
>> at
>> org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:518)
>>
>> at
>> org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:443)
>>
>> at
>> org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:104)
>>
>> at
>> org.apache.openjpa.conf.MetaDataRepositoryValue.instantiate(MetaDataRepositoryValue.java:68)
>>
>> at
>> org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83)
>>
>> at
>> org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:968)
>>
>> at
>> org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:959)
>>
>> at
>> org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:638)
>>
>> at
>> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:203)
>>
>> at
>> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
>>
>> at
>> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227)
>>
>> at
>> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:154)
>>
>> at
>> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:60)
>>
>> at
>> org.apache.airavata.persistance.registry.jpa.ResourceUtils.getEntityManager(ResourceUtils.java:73)
>>
>> at
>> org.apache.airavata.persistance.registry.jpa.ResourceUtils.isGatewayExist(ResourceUtils.java:215)
>>
>> at
>> org.apache.airavata.persistance.registry.jpa.impl.RegistryImpl.<init>(RegistryImpl.java:49)
>>
>> at
>> org.apache.airavata.orchestrator.cpi.impl.AbstractOrchestrator.<init>(AbstractOrchestrator.java:102)
>>
>> at
>> org.apache.airavata.orchestrator.cpi.impl.SimpleOrchestratorImpl.<init>(SimpleOrchestratorImpl.java:49)
>>
>> at
>> org.apache.airavata.orchestrator.server.OrchestratorServerHandler.<init>(OrchestratorServerHandler.java:147)
>>
>> at
>> org.apache.airavata.orchestrator.server.OrchestratorServer.start(OrchestratorServer.java:114)
>>
>> at
>> org.apache.airavata.server.ServerMain.startAllServers(ServerMain.java:297)
>>
>> at
>> org.apache.airavata.server.ServerMain.performServerStart(ServerMain.java:146)
>>
>> at org.apache.airavata.server.ServerMain.main(ServerMain.java:129)
>>
>> Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create
>> PoolableConnectionFactory (Schema 'AIRAVATA' does not exist)
>>
>> at
>> org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
>>
>> at
>> org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
>>
>> at
>> org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
>>
>> at
>> org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110)
>>
>> at
>> org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:87)
>>
>>
>>
>> On Sun, Dec 21, 2014 at 12:28 AM, Supun Nakandala <
>> supun.nakandala@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> I was able to run the XBaya Quick Start tutorial successfully using the
>>> binary version of the server and the XBaya. But in the console of the XBaya
>>> I get the following exceptions. I am using Ubuntu 12.04 machine and runs
>>> rabbitmq-server_3.4.2-1
>>> <http://www.rabbitmq.com/releases/rabbitmq-server/v3.4.2/rabbitmq-server_3.4.2-1_all.deb>
>>>  locally.
>>>
>>> [INFO] connected to rabbitmq: amqp://guest@127.0.0.1:5672/ for
>>> airavata_rabbitmq_exchange
>>> [INFO] Settings loaded from
>>> jar:file:/home/supun/Downloads/apache-airavata-xbaya-gui-0.14/lib/airavata-client-configuration-0.14.jar!/airavata-client.properties
>>> [INFO] Setting Java trust store to aiaravata.jks
>>> Add event triggered
>>> Add event triggered
>>> Add event triggered
>>> Add event triggered
>>> Add event triggered
>>> Add event triggered
>>> Add event triggered
>>> Add event triggered
>>> Add event triggered
>>> Add event triggered
>>> Add event triggered
>>> Add event triggered
>>> Add event triggered
>>> [ERROR] could not un-bind queue: amq.gen-elfr8dt5Eoe07mAsxD3kaQ for
>>> exchange airavata_rabbitmq_exchange
>>> [WARN] Failed to find the subscriber for experiment id:
>>> _exp_11_5740fc12-f8b6-430a-8234-1a59c609d185_exp_11_5740fc12-f8b6-430a-8234-1a59c609d185.*_amq.gen-elfr8dt5Eoe07mAsxD3kaQ
>>> org.apache.airavata.common.exception.AiravataException: could not
>>> un-bind queue: amq.gen-elfr8dt5Eoe07mAsxD3kaQ for exchange
>>> airavata_rabbitmq_exchange
>>> at
>>> org.apache.airavata.messaging.core.impl.RabbitMQConsumer.stopListen(RabbitMQConsumer.java:216)
>>> at
>>> org.apache.airavata.xbaya.messaging.Monitor.unsubscribe(Monitor.java:243)
>>> at
>>> org.apache.airavata.xbaya.messaging.Monitor$NotificationMessageHandler.onMessage(Monitor.java:211)
>>> at
>>> org.apache.airavata.messaging.core.impl.RabbitMQConsumer$2.handleDelivery(RabbitMQConsumer.java:188)
>>> at
>>> com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:140)
>>> at
>>> com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:85)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>> at java.lang.Thread.run(Thread.java:744)
>>> Caused by: java.io.IOException
>>> at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:106)
>>> at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:102)
>>> at
>>> com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:124)
>>> at com.rabbitmq.client.impl.ChannelN.queueDelete(ChannelN.java:815)
>>> at com.rabbitmq.client.impl.ChannelN.queueDelete(ChannelN.java:61)
>>> at
>>> org.apache.airavata.messaging.core.impl.RabbitMQConsumer.stopListen(RabbitMQConsumer.java:212)
>>> ... 8 more
>>> Caused by: com.rabbitmq.client.ShutdownSignalException: channel error;
>>> protocol method: #method<channel.close>(reply-code=406,
>>> reply-text=PRECONDITION_FAILED - queue 'amq.gen-elfr8dt5Eoe07mAsxD3kaQ' in
>>> vhost '/' in use, class-id=50, method-id=40)
>>> at
>>> com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:67)
>>> at
>>> com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:33)
>>> at
>>> com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:343)
>>> at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:216)
>>> at
>>> com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:118)
>>> ... 11 more
>>> Caused by: com.rabbitmq.client.ShutdownSignalException: channel error;
>>> protocol method: #method<channel.close>(reply-code=406,
>>> reply-text=PRECONDITION_FAILED - queue 'amq.gen-elfr8dt5Eoe07mAsxD3kaQ' in
>>> vhost '/' in use, class-id=50, method-id=40)
>>> at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:478)
>>> at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:315)
>>> at
>>> com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:144)
>>> at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:91)
>>> at
>>> com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:550)
>>> ... 1 more
>>> Add event triggered
>>>
>>>
>>> On Wed, Dec 17, 2014 at 1:33 AM, Chathuri Wimalasena <
>>> kamalasini@gmail.com> wrote:
>>>
>>>> Discussion thread for vote on Apache Airavata 0.14 release candidate.
>>>>
>>>> If you have any questions or feedback or to post results of validating the release, please reply to this thread. Once you verify the release, please post your vote to the VOTE thread.
>>>>
>>>> For reference, the Apache release guide  - http://www.apache.org/dev/release.html
>>>>
>>>> Some tips to validate the release before you vote:
>>>>
>>>> * Download the binary version and run the XBaya Quick Start tutorial <https://cwiki.apache.org/confluence/display/AIRAVATA/XBAYA+Quick-Start+Tutorial> as described in README
>>>> * Download the source files from compressed files and release tag and build (which includes tests).
>>>> * Verify the distribution for the required LICENSE and NOTICE files
>>>> * Verify if all the staged files are signed and the signature is verifiable.
>>>> * Verify if the signing key in the project's KEYS file is hosted on a public server
>>>>
>>>> Thanks for your time in validating the release and voting,
>>>>
>>>> Chathuri
>>>> (On Behalf of Airavata PMC)
>>>>
>>>
>>>
>>>
>>> --
>>> Thank you
>>> Supun Nakandala
>>> Dept. Computer Science and Engineering
>>> University of Moratuwa
>>>
>>
>>
>>
>> --
>> Thanks,
>> Sachith Withana
>>
>>
>


-- 
Research Assistant
Science Gateways Group
Indiana University

Re: [DISCUSS] Apache Airavata release 0.14 RC1

Posted by Chathuri Wimalasena <ka...@gmail.com>.
Hi Sachith,

Seems the database is not created in your case. Can you check whether
default port (1527) is open ?

On Sun, Dec 21, 2014 at 2:37 PM, Sachith Withana <sw...@gmail.com>
wrote:

> Hi all,
>
> When I tried to run the Airavata Server I got the following error? Any
> idea on how to fix it?
>
>
> 15175  airavata_data  INFO   [main] openjpa.Runtime - Starting OpenJPA
> 2.2.0
>
> [ERROR] Cannot create PoolableConnectionFactory (Schema 'AIRAVATA' does
> not exist)
>
> <openjpa-2.2.0-r422266:1244990 fatal general error>
> org.apache.openjpa.persistence.PersistenceException: Cannot create
> PoolableConnectionFactory (Schema 'AIRAVATA' does not exist)
>
> at
> org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:102)
>
> at
> org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurationImpl.java:603)
>
> at
> org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepository.java:1510)
>
> at
> org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:518)
>
> at
> org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:443)
>
> at
> org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:104)
>
> at
> org.apache.openjpa.conf.MetaDataRepositoryValue.instantiate(MetaDataRepositoryValue.java:68)
>
> at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83)
>
> at
> org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:968)
>
> at
> org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:959)
>
> at
> org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:638)
>
> at
> org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:203)
>
> at
> org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
>
> at
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227)
>
> at
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:154)
>
> at
> org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:60)
>
> at
> org.apache.airavata.persistance.registry.jpa.ResourceUtils.getEntityManager(ResourceUtils.java:73)
>
> at
> org.apache.airavata.persistance.registry.jpa.ResourceUtils.isGatewayExist(ResourceUtils.java:215)
>
> at
> org.apache.airavata.persistance.registry.jpa.impl.RegistryImpl.<init>(RegistryImpl.java:49)
>
> at
> org.apache.airavata.orchestrator.cpi.impl.AbstractOrchestrator.<init>(AbstractOrchestrator.java:102)
>
> at
> org.apache.airavata.orchestrator.cpi.impl.SimpleOrchestratorImpl.<init>(SimpleOrchestratorImpl.java:49)
>
> at
> org.apache.airavata.orchestrator.server.OrchestratorServerHandler.<init>(OrchestratorServerHandler.java:147)
>
> at
> org.apache.airavata.orchestrator.server.OrchestratorServer.start(OrchestratorServer.java:114)
>
> at
> org.apache.airavata.server.ServerMain.startAllServers(ServerMain.java:297)
>
> at
> org.apache.airavata.server.ServerMain.performServerStart(ServerMain.java:146)
>
> at org.apache.airavata.server.ServerMain.main(ServerMain.java:129)
>
> Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create
> PoolableConnectionFactory (Schema 'AIRAVATA' does not exist)
>
> at
> org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
>
> at
> org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
>
> at
> org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
>
> at
> org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110)
>
> at
> org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:87)
>
>
>
> On Sun, Dec 21, 2014 at 12:28 AM, Supun Nakandala <
> supun.nakandala@gmail.com> wrote:
>
>> Hi All,
>>
>> I was able to run the XBaya Quick Start tutorial successfully using the
>> binary version of the server and the XBaya. But in the console of the XBaya
>> I get the following exceptions. I am using Ubuntu 12.04 machine and runs
>> rabbitmq-server_3.4.2-1
>> <http://www.rabbitmq.com/releases/rabbitmq-server/v3.4.2/rabbitmq-server_3.4.2-1_all.deb>
>>  locally.
>>
>> [INFO] connected to rabbitmq: amqp://guest@127.0.0.1:5672/ for
>> airavata_rabbitmq_exchange
>> [INFO] Settings loaded from
>> jar:file:/home/supun/Downloads/apache-airavata-xbaya-gui-0.14/lib/airavata-client-configuration-0.14.jar!/airavata-client.properties
>> [INFO] Setting Java trust store to aiaravata.jks
>> Add event triggered
>> Add event triggered
>> Add event triggered
>> Add event triggered
>> Add event triggered
>> Add event triggered
>> Add event triggered
>> Add event triggered
>> Add event triggered
>> Add event triggered
>> Add event triggered
>> Add event triggered
>> Add event triggered
>> [ERROR] could not un-bind queue: amq.gen-elfr8dt5Eoe07mAsxD3kaQ for
>> exchange airavata_rabbitmq_exchange
>> [WARN] Failed to find the subscriber for experiment id:
>> _exp_11_5740fc12-f8b6-430a-8234-1a59c609d185_exp_11_5740fc12-f8b6-430a-8234-1a59c609d185.*_amq.gen-elfr8dt5Eoe07mAsxD3kaQ
>> org.apache.airavata.common.exception.AiravataException: could not un-bind
>> queue: amq.gen-elfr8dt5Eoe07mAsxD3kaQ for exchange
>> airavata_rabbitmq_exchange
>> at
>> org.apache.airavata.messaging.core.impl.RabbitMQConsumer.stopListen(RabbitMQConsumer.java:216)
>> at
>> org.apache.airavata.xbaya.messaging.Monitor.unsubscribe(Monitor.java:243)
>> at
>> org.apache.airavata.xbaya.messaging.Monitor$NotificationMessageHandler.onMessage(Monitor.java:211)
>> at
>> org.apache.airavata.messaging.core.impl.RabbitMQConsumer$2.handleDelivery(RabbitMQConsumer.java:188)
>> at
>> com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:140)
>> at
>> com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:85)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at java.lang.Thread.run(Thread.java:744)
>> Caused by: java.io.IOException
>> at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:106)
>> at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:102)
>> at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:124)
>> at com.rabbitmq.client.impl.ChannelN.queueDelete(ChannelN.java:815)
>> at com.rabbitmq.client.impl.ChannelN.queueDelete(ChannelN.java:61)
>> at
>> org.apache.airavata.messaging.core.impl.RabbitMQConsumer.stopListen(RabbitMQConsumer.java:212)
>> ... 8 more
>> Caused by: com.rabbitmq.client.ShutdownSignalException: channel error;
>> protocol method: #method<channel.close>(reply-code=406,
>> reply-text=PRECONDITION_FAILED - queue 'amq.gen-elfr8dt5Eoe07mAsxD3kaQ' in
>> vhost '/' in use, class-id=50, method-id=40)
>> at
>> com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:67)
>> at
>> com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:33)
>> at
>> com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:343)
>> at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:216)
>> at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:118)
>> ... 11 more
>> Caused by: com.rabbitmq.client.ShutdownSignalException: channel error;
>> protocol method: #method<channel.close>(reply-code=406,
>> reply-text=PRECONDITION_FAILED - queue 'amq.gen-elfr8dt5Eoe07mAsxD3kaQ' in
>> vhost '/' in use, class-id=50, method-id=40)
>> at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:478)
>> at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:315)
>> at
>> com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:144)
>> at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:91)
>> at
>> com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:550)
>> ... 1 more
>> Add event triggered
>>
>>
>> On Wed, Dec 17, 2014 at 1:33 AM, Chathuri Wimalasena <
>> kamalasini@gmail.com> wrote:
>>
>>> Discussion thread for vote on Apache Airavata 0.14 release candidate.
>>>
>>> If you have any questions or feedback or to post results of validating the release, please reply to this thread. Once you verify the release, please post your vote to the VOTE thread.
>>>
>>> For reference, the Apache release guide  - http://www.apache.org/dev/release.html
>>>
>>> Some tips to validate the release before you vote:
>>>
>>> * Download the binary version and run the XBaya Quick Start tutorial <https://cwiki.apache.org/confluence/display/AIRAVATA/XBAYA+Quick-Start+Tutorial> as described in README
>>> * Download the source files from compressed files and release tag and build (which includes tests).
>>> * Verify the distribution for the required LICENSE and NOTICE files
>>> * Verify if all the staged files are signed and the signature is verifiable.
>>> * Verify if the signing key in the project's KEYS file is hosted on a public server
>>>
>>> Thanks for your time in validating the release and voting,
>>>
>>> Chathuri
>>> (On Behalf of Airavata PMC)
>>>
>>
>>
>>
>> --
>> Thank you
>> Supun Nakandala
>> Dept. Computer Science and Engineering
>> University of Moratuwa
>>
>
>
>
> --
> Thanks,
> Sachith Withana
>
>

Re: [DISCUSS] Apache Airavata release 0.14 RC1

Posted by Sachith Withana <sw...@gmail.com>.
Hi all,

When I tried to run the Airavata Server I got the following error? Any idea
on how to fix it?


15175  airavata_data  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.2.0

[ERROR] Cannot create PoolableConnectionFactory (Schema 'AIRAVATA' does not
exist)

<openjpa-2.2.0-r422266:1244990 fatal general error>
org.apache.openjpa.persistence.PersistenceException: Cannot create
PoolableConnectionFactory (Schema 'AIRAVATA' does not exist)

at
org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:102)

at
org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurationImpl.java:603)

at
org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepository.java:1510)

at
org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:518)

at
org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:443)

at org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:104)

at
org.apache.openjpa.conf.MetaDataRepositoryValue.instantiate(MetaDataRepositoryValue.java:68)

at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83)

at
org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:968)

at
org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:959)

at
org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:638)

at
org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:203)

at
org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)

at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227)

at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:154)

at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:60)

at
org.apache.airavata.persistance.registry.jpa.ResourceUtils.getEntityManager(ResourceUtils.java:73)

at
org.apache.airavata.persistance.registry.jpa.ResourceUtils.isGatewayExist(ResourceUtils.java:215)

at
org.apache.airavata.persistance.registry.jpa.impl.RegistryImpl.<init>(RegistryImpl.java:49)

at
org.apache.airavata.orchestrator.cpi.impl.AbstractOrchestrator.<init>(AbstractOrchestrator.java:102)

at
org.apache.airavata.orchestrator.cpi.impl.SimpleOrchestratorImpl.<init>(SimpleOrchestratorImpl.java:49)

at
org.apache.airavata.orchestrator.server.OrchestratorServerHandler.<init>(OrchestratorServerHandler.java:147)

at
org.apache.airavata.orchestrator.server.OrchestratorServer.start(OrchestratorServer.java:114)

at
org.apache.airavata.server.ServerMain.startAllServers(ServerMain.java:297)

at
org.apache.airavata.server.ServerMain.performServerStart(ServerMain.java:146)

at org.apache.airavata.server.ServerMain.main(ServerMain.java:129)

Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory (Schema 'AIRAVATA' does not exist)

at
org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)

at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)

at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)

at
org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110)

at
org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:87)



On Sun, Dec 21, 2014 at 12:28 AM, Supun Nakandala <supun.nakandala@gmail.com
> wrote:

> Hi All,
>
> I was able to run the XBaya Quick Start tutorial successfully using the
> binary version of the server and the XBaya. But in the console of the XBaya
> I get the following exceptions. I am using Ubuntu 12.04 machine and runs
> rabbitmq-server_3.4.2-1
> <http://www.rabbitmq.com/releases/rabbitmq-server/v3.4.2/rabbitmq-server_3.4.2-1_all.deb>
>  locally.
>
> [INFO] connected to rabbitmq: amqp://guest@127.0.0.1:5672/ for
> airavata_rabbitmq_exchange
> [INFO] Settings loaded from
> jar:file:/home/supun/Downloads/apache-airavata-xbaya-gui-0.14/lib/airavata-client-configuration-0.14.jar!/airavata-client.properties
> [INFO] Setting Java trust store to aiaravata.jks
> Add event triggered
> Add event triggered
> Add event triggered
> Add event triggered
> Add event triggered
> Add event triggered
> Add event triggered
> Add event triggered
> Add event triggered
> Add event triggered
> Add event triggered
> Add event triggered
> Add event triggered
> [ERROR] could not un-bind queue: amq.gen-elfr8dt5Eoe07mAsxD3kaQ for
> exchange airavata_rabbitmq_exchange
> [WARN] Failed to find the subscriber for experiment id:
> _exp_11_5740fc12-f8b6-430a-8234-1a59c609d185_exp_11_5740fc12-f8b6-430a-8234-1a59c609d185.*_amq.gen-elfr8dt5Eoe07mAsxD3kaQ
> org.apache.airavata.common.exception.AiravataException: could not un-bind
> queue: amq.gen-elfr8dt5Eoe07mAsxD3kaQ for exchange
> airavata_rabbitmq_exchange
> at
> org.apache.airavata.messaging.core.impl.RabbitMQConsumer.stopListen(RabbitMQConsumer.java:216)
> at
> org.apache.airavata.xbaya.messaging.Monitor.unsubscribe(Monitor.java:243)
> at
> org.apache.airavata.xbaya.messaging.Monitor$NotificationMessageHandler.onMessage(Monitor.java:211)
> at
> org.apache.airavata.messaging.core.impl.RabbitMQConsumer$2.handleDelivery(RabbitMQConsumer.java:188)
> at
> com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:140)
> at
> com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:85)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:744)
> Caused by: java.io.IOException
> at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:106)
> at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:102)
> at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:124)
> at com.rabbitmq.client.impl.ChannelN.queueDelete(ChannelN.java:815)
> at com.rabbitmq.client.impl.ChannelN.queueDelete(ChannelN.java:61)
> at
> org.apache.airavata.messaging.core.impl.RabbitMQConsumer.stopListen(RabbitMQConsumer.java:212)
> ... 8 more
> Caused by: com.rabbitmq.client.ShutdownSignalException: channel error;
> protocol method: #method<channel.close>(reply-code=406,
> reply-text=PRECONDITION_FAILED - queue 'amq.gen-elfr8dt5Eoe07mAsxD3kaQ' in
> vhost '/' in use, class-id=50, method-id=40)
> at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:67)
> at
> com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:33)
> at
> com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:343)
> at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:216)
> at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:118)
> ... 11 more
> Caused by: com.rabbitmq.client.ShutdownSignalException: channel error;
> protocol method: #method<channel.close>(reply-code=406,
> reply-text=PRECONDITION_FAILED - queue 'amq.gen-elfr8dt5Eoe07mAsxD3kaQ' in
> vhost '/' in use, class-id=50, method-id=40)
> at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:478)
> at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:315)
> at
> com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:144)
> at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:91)
> at
> com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:550)
> ... 1 more
> Add event triggered
>
>
> On Wed, Dec 17, 2014 at 1:33 AM, Chathuri Wimalasena <kamalasini@gmail.com
> > wrote:
>
>> Discussion thread for vote on Apache Airavata 0.14 release candidate.
>>
>> If you have any questions or feedback or to post results of validating the release, please reply to this thread. Once you verify the release, please post your vote to the VOTE thread.
>>
>> For reference, the Apache release guide  - http://www.apache.org/dev/release.html
>>
>> Some tips to validate the release before you vote:
>>
>> * Download the binary version and run the XBaya Quick Start tutorial <https://cwiki.apache.org/confluence/display/AIRAVATA/XBAYA+Quick-Start+Tutorial> as described in README
>> * Download the source files from compressed files and release tag and build (which includes tests).
>> * Verify the distribution for the required LICENSE and NOTICE files
>> * Verify if all the staged files are signed and the signature is verifiable.
>> * Verify if the signing key in the project's KEYS file is hosted on a public server
>>
>> Thanks for your time in validating the release and voting,
>>
>> Chathuri
>> (On Behalf of Airavata PMC)
>>
>
>
>
> --
> Thank you
> Supun Nakandala
> Dept. Computer Science and Engineering
> University of Moratuwa
>



-- 
Thanks,
Sachith Withana

Re: [DISCUSS] Apache Airavata release 0.14 RC1

Posted by Supun Nakandala <su...@gmail.com>.
Hi All,

I was able to run the XBaya Quick Start tutorial successfully using the
binary version of the server and the XBaya. But in the console of the XBaya
I get the following exceptions. I am using Ubuntu 12.04 machine and runs
rabbitmq-server_3.4.2-1
<http://www.rabbitmq.com/releases/rabbitmq-server/v3.4.2/rabbitmq-server_3.4.2-1_all.deb>
 locally.

[INFO] connected to rabbitmq: amqp://guest@127.0.0.1:5672/ for
airavata_rabbitmq_exchange
[INFO] Settings loaded from
jar:file:/home/supun/Downloads/apache-airavata-xbaya-gui-0.14/lib/airavata-client-configuration-0.14.jar!/airavata-client.properties
[INFO] Setting Java trust store to aiaravata.jks
Add event triggered
Add event triggered
Add event triggered
Add event triggered
Add event triggered
Add event triggered
Add event triggered
Add event triggered
Add event triggered
Add event triggered
Add event triggered
Add event triggered
Add event triggered
[ERROR] could not un-bind queue: amq.gen-elfr8dt5Eoe07mAsxD3kaQ for
exchange airavata_rabbitmq_exchange
[WARN] Failed to find the subscriber for experiment id:
_exp_11_5740fc12-f8b6-430a-8234-1a59c609d185_exp_11_5740fc12-f8b6-430a-8234-1a59c609d185.*_amq.gen-elfr8dt5Eoe07mAsxD3kaQ
org.apache.airavata.common.exception.AiravataException: could not un-bind
queue: amq.gen-elfr8dt5Eoe07mAsxD3kaQ for exchange
airavata_rabbitmq_exchange
at
org.apache.airavata.messaging.core.impl.RabbitMQConsumer.stopListen(RabbitMQConsumer.java:216)
at org.apache.airavata.xbaya.messaging.Monitor.unsubscribe(Monitor.java:243)
at
org.apache.airavata.xbaya.messaging.Monitor$NotificationMessageHandler.onMessage(Monitor.java:211)
at
org.apache.airavata.messaging.core.impl.RabbitMQConsumer$2.handleDelivery(RabbitMQConsumer.java:188)
at
com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:140)
at
com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:85)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.io.IOException
at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:106)
at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:102)
at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:124)
at com.rabbitmq.client.impl.ChannelN.queueDelete(ChannelN.java:815)
at com.rabbitmq.client.impl.ChannelN.queueDelete(ChannelN.java:61)
at
org.apache.airavata.messaging.core.impl.RabbitMQConsumer.stopListen(RabbitMQConsumer.java:212)
... 8 more
Caused by: com.rabbitmq.client.ShutdownSignalException: channel error;
protocol method: #method<channel.close>(reply-code=406,
reply-text=PRECONDITION_FAILED - queue 'amq.gen-elfr8dt5Eoe07mAsxD3kaQ' in
vhost '/' in use, class-id=50, method-id=40)
at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:67)
at
com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:33)
at
com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:343)
at com.rabbitmq.client.impl.AMQChannel.privateRpc(AMQChannel.java:216)
at com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc(AMQChannel.java:118)
... 11 more
Caused by: com.rabbitmq.client.ShutdownSignalException: channel error;
protocol method: #method<channel.close>(reply-code=406,
reply-text=PRECONDITION_FAILED - queue 'amq.gen-elfr8dt5Eoe07mAsxD3kaQ' in
vhost '/' in use, class-id=50, method-id=40)
at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:478)
at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:315)
at
com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:144)
at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:91)
at
com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:550)
... 1 more
Add event triggered


On Wed, Dec 17, 2014 at 1:33 AM, Chathuri Wimalasena <ka...@gmail.com>
wrote:

> Discussion thread for vote on Apache Airavata 0.14 release candidate.
>
> If you have any questions or feedback or to post results of validating the release, please reply to this thread. Once you verify the release, please post your vote to the VOTE thread.
>
> For reference, the Apache release guide  - http://www.apache.org/dev/release.html
>
> Some tips to validate the release before you vote:
>
> * Download the binary version and run the XBaya Quick Start tutorial <https://cwiki.apache.org/confluence/display/AIRAVATA/XBAYA+Quick-Start+Tutorial> as described in README
> * Download the source files from compressed files and release tag and build (which includes tests).
> * Verify the distribution for the required LICENSE and NOTICE files
> * Verify if all the staged files are signed and the signature is verifiable.
> * Verify if the signing key in the project's KEYS file is hosted on a public server
>
> Thanks for your time in validating the release and voting,
>
> Chathuri
> (On Behalf of Airavata PMC)
>



-- 
Thank you
Supun Nakandala
Dept. Computer Science and Engineering
University of Moratuwa

Re: [DISCUSS] Apache Airavata release 0.14 RC1

Posted by Marlon Pierce <ma...@iu.edu>.
I think we've seen enough errors on the RC1 to cancel the vote and fix 
with an RC2.  Any objections?

Marlon

On 12/23/14, 1:20 AM, Lahiru Gunathilake wrote:
> Hi Devs,
>
> I tried to run a sample java code and got following errors in the server
> and client.
>
> Server
>
>
> 39  appcatalog_data  INFO   [pool-1-thread-1] openjpa.jdbc.JDBC - Using
> dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache
> Derby 10.9.1.0 - (1344872) ,Apache Derby Network Client JDBC Driver
> 10.9.1.0 - (1344872)).
>
> [ERROR] Error while retrieving application interface
> 'Echo_0018dc21-9359-4063-9672-6ad15a24294d
>
> javax.persistence.NoResultException: Query "SELECT p FROM
> ApplicationInterface p WHERE p.interfaceID =:param0" selected no result,
> but expected unique result.
>
> at
> org.apache.openjpa.persistence.QueryImpl.getSingleResult(QueryImpl.java:332)
>
> at
> org.apache.aiaravata.application.catalog.data.resources.AppInterfaceResource.get(AppInterfaceResource.java:122)
>
> at
> org.apache.aiaravata.application.catalog.data.impl.ApplicationInterfaceImpl.getApplicationInterface(ApplicationInterfaceImpl.java:269)
>
> at
> org.apache.airavata.api.server.handler.AiravataServerHandler.getAvailableAppInterfaceComputeResources(AiravataServerHandler.java:1657)
>
> at
> org.apache.airavata.api.Airavata$Processor$getAvailableAppInterfaceComputeResources.getResult(Airavata.java:9709)
>
> at
> org.apache.airavata.api.Airavata$Processor$getAvailableAppInterfaceComputeResources.getResult(Airavata.java:9693)
>
> at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>
> at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>
> at
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:225)
>
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>
> at java.lang.Thread.run(Thread.java:745)
>
> [ERROR] Id:Echo_0018dc21-9359-4063-9672-6ad15a24294d : Error while saving
> compute resource...
>
> org.airavata.appcatalog.cpi.AppCatalogException:
> javax.persistence.NoResultException: Query "SELECT p FROM
> ApplicationInterface p WHERE p.interfaceID =:param0" selected no result,
> but expected unique result.
>
> at
> org.apache.aiaravata.application.catalog.data.impl.ApplicationInterfaceImpl.getApplicationInterface(ApplicationInterfaceImpl.java:272)
>
> at
> org.apache.airavata.api.server.handler.AiravataServerHandler.getAvailableAppInterfaceComputeResources(AiravataServerHandler.java:1657)
>
> at
> org.apache.airavata.api.Airavata$Processor$getAvailableAppInterfaceComputeResources.getResult(Airavata.java:9709)
>
> at
> org.apache.airavata.api.Airavata$Processor$getAvailableAppInterfaceComputeResources.getResult(Airavata.java:9693)
>
> at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>
> at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>
> at
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:225)
>
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>
> at java.lang.Thread.run(Thread.java:745)
>
> Caused by: javax.persistence.NoResultException: Query "SELECT p FROM
> ApplicationInterface p WHERE p.interfaceID =:param0" selected no result,
> but expected unique result.
>
> at
> org.apache.openjpa.persistence.QueryImpl.getSingleResult(QueryImpl.java:332)
>
> at
> org.apache.aiaravata.application.catalog.data.resources.AppInterfaceResource.get(AppInterfaceResource.java:122)
>
> at
> org.apache.aiaravata.application.catalog.data.impl.ApplicationInterfaceImpl.getApplicationInterface(ApplicationInterfaceImpl.java:269)
>
> ... 9 more
>
>
>
>
> Client
>
> API version is 0.14.0
>
> 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.createEchoExperimentForTrestles(CreateLaunchExperiment.java:205)
>
> at
> org.apache.airavata.client.samples.CreateLaunchExperiment.createAndLaunchExp(CreateLaunchExperiment.java:98)
>
> at
> org.apache.airavata.client.samples.CreateLaunchExperiment.main(CreateLaunchExperiment.java:85)
>
> 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)
>
> [ERROR] Error occured while creating the experiment...
>
> [ERROR] Error while connecting with server
>
>
> On Mon, Dec 22, 2014 at 4:57 PM, Shameera Rathnayaka <shameerainfo@gmail.com
>> wrote:
>> Hi Chathuri,
>>
>> I could able to run samples using XBaya, But got the same issue what supun
>> has mentioned in the XBaya console will work on that. Tag and source
>> distribution build with clean repo.
>>
>> There is small change we need to do in README , In "How to test and run
>> samples" section it says following,we need to replace this with correct
>> instructions.
>>
>> * To walk through Airavata features, follow "Airavata in Five Minutes"
>> tutorial at
>> http://airavata.apache.org/documentation/tutorials/airavata-in-5-minutes.html
>>
>> * For intermediate level Airavata features, follow "Airavata in Ten
>> Minutes" tutorial at
>> http://airavata.apache.org/documentation/tutorials/airavata-in-10-minutes.html
>>
>> On Tue, Dec 16, 2014 at 3:03 PM, Chathuri Wimalasena <kamalasini@gmail.com
>>> wrote:
>>>
>>> Discussion thread for vote on Apache Airavata 0.14 release candidate.
>>>
>>> If you have any questions or feedback or to post results of validating the release, please reply to this thread. Once you verify the release, please post your vote to the VOTE thread.
>>>
>>> For reference, the Apache release guide  - http://www.apache.org/dev/release.html
>>>
>>> Some tips to validate the release before you vote:
>>>
>>> * Download the binary version and run the XBaya Quick Start tutorial <https://cwiki.apache.org/confluence/display/AIRAVATA/XBAYA+Quick-Start+Tutorial> as described in README
>>> * Download the source files from compressed files and release tag and build (which includes tests).
>>> * Verify the distribution for the required LICENSE and NOTICE files
>>> * Verify if all the staged files are signed and the signature is verifiable.
>>> * Verify if the signing key in the project's KEYS file is hosted on a public server
>>>
>>> Thanks for your time in validating the release and voting,
>>>
>>> Chathuri
>>> (On Behalf of Airavata PMC)
>>>
>>
>> --
>> Best Regards,
>> Shameera Rathnayaka.
>>
>> email: shameera AT apache.org , shameerainfo AT gmail.com
>> Blog : http://shameerarathnayaka.blogspot.com/
>>
>
>


Re: [DISCUSS] Apache Airavata release 0.14 RC1

Posted by Lahiru Gunathilake <gl...@gmail.com>.
Hi Devs,

I tried to run a sample java code and got following errors in the server
and client.

Server


39  appcatalog_data  INFO   [pool-1-thread-1] openjpa.jdbc.JDBC - Using
dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache
Derby 10.9.1.0 - (1344872) ,Apache Derby Network Client JDBC Driver
10.9.1.0 - (1344872)).

[ERROR] Error while retrieving application interface
'Echo_0018dc21-9359-4063-9672-6ad15a24294d

javax.persistence.NoResultException: Query "SELECT p FROM
ApplicationInterface p WHERE p.interfaceID =:param0" selected no result,
but expected unique result.

at
org.apache.openjpa.persistence.QueryImpl.getSingleResult(QueryImpl.java:332)

at
org.apache.aiaravata.application.catalog.data.resources.AppInterfaceResource.get(AppInterfaceResource.java:122)

at
org.apache.aiaravata.application.catalog.data.impl.ApplicationInterfaceImpl.getApplicationInterface(ApplicationInterfaceImpl.java:269)

at
org.apache.airavata.api.server.handler.AiravataServerHandler.getAvailableAppInterfaceComputeResources(AiravataServerHandler.java:1657)

at
org.apache.airavata.api.Airavata$Processor$getAvailableAppInterfaceComputeResources.getResult(Airavata.java:9709)

at
org.apache.airavata.api.Airavata$Processor$getAvailableAppInterfaceComputeResources.getResult(Airavata.java:9693)

at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)

at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)

at
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:225)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

[ERROR] Id:Echo_0018dc21-9359-4063-9672-6ad15a24294d : Error while saving
compute resource...

org.airavata.appcatalog.cpi.AppCatalogException:
javax.persistence.NoResultException: Query "SELECT p FROM
ApplicationInterface p WHERE p.interfaceID =:param0" selected no result,
but expected unique result.

at
org.apache.aiaravata.application.catalog.data.impl.ApplicationInterfaceImpl.getApplicationInterface(ApplicationInterfaceImpl.java:272)

at
org.apache.airavata.api.server.handler.AiravataServerHandler.getAvailableAppInterfaceComputeResources(AiravataServerHandler.java:1657)

at
org.apache.airavata.api.Airavata$Processor$getAvailableAppInterfaceComputeResources.getResult(Airavata.java:9709)

at
org.apache.airavata.api.Airavata$Processor$getAvailableAppInterfaceComputeResources.getResult(Airavata.java:9693)

at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)

at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)

at
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:225)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

Caused by: javax.persistence.NoResultException: Query "SELECT p FROM
ApplicationInterface p WHERE p.interfaceID =:param0" selected no result,
but expected unique result.

at
org.apache.openjpa.persistence.QueryImpl.getSingleResult(QueryImpl.java:332)

at
org.apache.aiaravata.application.catalog.data.resources.AppInterfaceResource.get(AppInterfaceResource.java:122)

at
org.apache.aiaravata.application.catalog.data.impl.ApplicationInterfaceImpl.getApplicationInterface(ApplicationInterfaceImpl.java:269)

... 9 more




Client

API version is 0.14.0

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.createEchoExperimentForTrestles(CreateLaunchExperiment.java:205)

at
org.apache.airavata.client.samples.CreateLaunchExperiment.createAndLaunchExp(CreateLaunchExperiment.java:98)

at
org.apache.airavata.client.samples.CreateLaunchExperiment.main(CreateLaunchExperiment.java:85)

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)

[ERROR] Error occured while creating the experiment...

[ERROR] Error while connecting with server


On Mon, Dec 22, 2014 at 4:57 PM, Shameera Rathnayaka <shameerainfo@gmail.com
> wrote:

> Hi Chathuri,
>
> I could able to run samples using XBaya, But got the same issue what supun
> has mentioned in the XBaya console will work on that. Tag and source
> distribution build with clean repo.
>
> There is small change we need to do in README , In "How to test and run
> samples" section it says following,we need to replace this with correct
> instructions.
>
> * To walk through Airavata features, follow "Airavata in Five Minutes"
> tutorial at
> http://airavata.apache.org/documentation/tutorials/airavata-in-5-minutes.html
>
> * For intermediate level Airavata features, follow "Airavata in Ten
> Minutes" tutorial at
> http://airavata.apache.org/documentation/tutorials/airavata-in-10-minutes.html
>
> On Tue, Dec 16, 2014 at 3:03 PM, Chathuri Wimalasena <kamalasini@gmail.com
> > wrote:
>>
>> Discussion thread for vote on Apache Airavata 0.14 release candidate.
>>
>> If you have any questions or feedback or to post results of validating the release, please reply to this thread. Once you verify the release, please post your vote to the VOTE thread.
>>
>> For reference, the Apache release guide  - http://www.apache.org/dev/release.html
>>
>> Some tips to validate the release before you vote:
>>
>> * Download the binary version and run the XBaya Quick Start tutorial <https://cwiki.apache.org/confluence/display/AIRAVATA/XBAYA+Quick-Start+Tutorial> as described in README
>> * Download the source files from compressed files and release tag and build (which includes tests).
>> * Verify the distribution for the required LICENSE and NOTICE files
>> * Verify if all the staged files are signed and the signature is verifiable.
>> * Verify if the signing key in the project's KEYS file is hosted on a public server
>>
>> Thanks for your time in validating the release and voting,
>>
>> Chathuri
>> (On Behalf of Airavata PMC)
>>
>
>
> --
> Best Regards,
> Shameera Rathnayaka.
>
> email: shameera AT apache.org , shameerainfo AT gmail.com
> Blog : http://shameerarathnayaka.blogspot.com/
>



-- 
Research Assistant
Science Gateways Group
Indiana University

Re: [DISCUSS] Apache Airavata release 0.14 RC1

Posted by Shameera Rathnayaka <sh...@gmail.com>.
Hi Chathuri,

I could able to run samples using XBaya, But got the same issue what supun
has mentioned in the XBaya console will work on that. Tag and source
distribution build with clean repo.

There is small change we need to do in README , In "How to test and run
samples" section it says following,we need to replace this with correct
instructions.

* To walk through Airavata features, follow "Airavata in Five Minutes"
tutorial at
http://airavata.apache.org/documentation/tutorials/airavata-in-5-minutes.html

* For intermediate level Airavata features, follow "Airavata in Ten
Minutes" tutorial at
http://airavata.apache.org/documentation/tutorials/airavata-in-10-minutes.html

On Tue, Dec 16, 2014 at 3:03 PM, Chathuri Wimalasena <ka...@gmail.com>
wrote:
>
> Discussion thread for vote on Apache Airavata 0.14 release candidate.
>
> If you have any questions or feedback or to post results of validating the release, please reply to this thread. Once you verify the release, please post your vote to the VOTE thread.
>
> For reference, the Apache release guide  - http://www.apache.org/dev/release.html
>
> Some tips to validate the release before you vote:
>
> * Download the binary version and run the XBaya Quick Start tutorial <https://cwiki.apache.org/confluence/display/AIRAVATA/XBAYA+Quick-Start+Tutorial> as described in README
> * Download the source files from compressed files and release tag and build (which includes tests).
> * Verify the distribution for the required LICENSE and NOTICE files
> * Verify if all the staged files are signed and the signature is verifiable.
> * Verify if the signing key in the project's KEYS file is hosted on a public server
>
> Thanks for your time in validating the release and voting,
>
> Chathuri
> (On Behalf of Airavata PMC)
>


-- 
Best Regards,
Shameera Rathnayaka.

email: shameera AT apache.org , shameerainfo AT gmail.com
Blog : http://shameerarathnayaka.blogspot.com/