I have made changes to URL. Sharing server runs now, but when I run Java
Client, I get following exception -
5744 airavata-sharing-registry WARN [pool-1-thread-2] openjpa.Enhance -
This configuration disallows runtime optimization, but the following listed
types were not enhanced at build time or at class load time with a
javaagent: "
org.apache.airavata.sharing.registry.db.entities.DomainEntity".
This operation cannot be performed while a Transaction is active.
org.apache.openjpa.persistence.InvalidStateException: This operation cannot
be performed while a Transaction is active.
at org.apache.openjpa.kernel.BrokerImpl.close(BrokerImpl.java:4353)
at
org.apache.openjpa.kernel.DelegatingBroker.close(DelegatingBroker.java:1354)
at
org.apache.openjpa.persistence.EntityManagerImpl.close(EntityManagerImpl.java:1307)
at
org.apache.airavata.sharing.registry.db.repositories.AbstractRepository.execute(AbstractRepository.java:160)
at
org.apache.airavata.sharing.registry.db.repositories.AbstractRepository.get(AbstractRepository.java:88)
at
org.apache.airavata.sharing.registry.server.SharingRegistryServerHandler.createDomain(SharingRegistryServerHandler.java:54)
at
org.apache.airavata.sharing.registry.service.cpi.SharingRegistryService$Processor$createDomain.getResult(SharingRegistryService.java:3817)
at
org.apache.airavata.sharing.registry.service.cpi.SharingRegistryService$Processor$createDomain.getResult(SharingRegistryService.java:3801)
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:286)
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)
Best,
Shubham
On Tue, Nov 28, 2017 at 12:44 PM, Shubham Kumar <[email protected]>
wrote:
> The url is set as -
> rabbitmq.broker.url=amqp://airavata:[email protected]:5672/messaging
>
> On Sun, Nov 26, 2017 at 7:08 PM, Christie, Marcus Aaron <[email protected]>
> wrote:
>
>> Shubham,
>>
>> What’s the ‘rabbitmq.broker.url’ property set to in
>> airavata-server.properties?
>>
>> Thanks,
>>
>> Marcus
>>
>> > On Nov 25, 2017, at 2:35 PM, Shubham Kumar <[email protected]>
>> wrote:
>> >
>> > Hi Dev,
>> >
>> > I have made changes in thrift file sharing_cpi in local repo. I have
>> created a simple Java client that gets group visibility of a test group.
>> > When I try to run Sharing server in Netbeans IDE locally on Win 7 , I
>> am getting following error -
>> >
>> > Error - RabbitMQ connection issue for exchange : db.event.exchange
>> > Error starting sharing service. Error setting up DB event services.
>> >
>> > I have RabbitMQ service running and MYSQL running on Windows.
>> >
>> > Best,
>> > Shubham
>>
>>
>