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 <[email protected]>
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 <
> [email protected]> 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://[email protected]: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 <
>> [email protected]> 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
>
>

Reply via email to